突突兔
ebd797e4bc
examples: Fix usage of deprecated RPC exports API ( #236 )
16.2.1
2023-10-09 13:14:27 +02:00
Ole André Vadla Ravnås
3e489dff85
device: Add unpair()
2023-10-09 13:12:04 +02:00
Yotam
1d35663c97
Merge pull request #230 from yotamN/feature/async-exports
...
Add async variant to rpc calls
2023-02-03 20:14:17 +02:00
Yotam Nachum
fb86c3aa37
Add async variant to rpc calls
2023-02-03 20:13:19 +02:00
Yotam
1b1e345191
Merge pull request #224 from yotamN/feature/signal_type_hinting
...
core: Add specific signals type hinting
2023-01-14 16:53:21 +02:00
Yotam Nachum
ddcfbcf25d
setup: Move setuptools requirment to pyproject.toml
...
PEP 517 specify a new format for build systems and PEP 518 specify how
we should require packages for our build system. Setuptools support PEP
517 so we should use it that way.
2023-01-14 15:15:59 +02:00
Yotam Nachum
b203e4bbca
core: Add specific signals type hinting
2023-01-14 15:15:17 +02:00
Ole André Vadla Ravnås
b236764ef0
_frida: Fix assigned-but-not-used warnings
...
When building without assertions.
2022-11-07 23:18:36 +01:00
Ole André Vadla Ravnås
1ef5f900c4
_frida: Support UNIX socket addresses everywhere
...
Now that latest GLib supports it.
2022-11-07 23:17:31 +01:00
Ole André Vadla Ravnås
833bf3a333
meson: Add missing dependency on gio-unix
...
We were piggybacking on frida-core depending on this, but we really
shouldn't have.
2022-10-18 20:00:46 +02:00
Ole André Vadla Ravnås
a9de87367d
setup: Assume non-universal devkit build on macOS
...
The setuptools build system typically builds a universal binary, but
that requires downloading multiple devkits and combining them. The user
may still elect to do that by setting _PYTHON_HOST_PLATFORM, but by
default we assume that a non-universal build is desired.
2022-10-08 12:48:13 +02:00
Ole André Vadla Ravnås
2d933bc368
setup: Fix computed sdist version metadata
...
By reviving our old logic that extracted it from PKG-INFO.
2022-10-08 12:10:56 +02:00
Ole André Vadla Ravnås
92522348e0
extension: Fix the UnixSocketAddress include guard
2022-10-06 23:49:23 +02:00
Ole André Vadla Ravnås
5d3c23bfda
extension: Remove useless symbol versioning
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
146b7474e0
extension: Require Python >= 3.7
...
As we already require it at the higher level, anyway.
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
de8b4c5b99
meson: Remove some forgotten Python 2.x remnants
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
89c8a17442
extension: Add missing cast
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
457c4ab417
extension: Add support for building from source
...
So we can support environments for which wheels cannot be uploaded to
PyPI, such as Termux on Android.
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
f8ba250318
setup: Move from codecs.open() to open()
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
5952d91055
setup: Tweak style of the config
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
74cc6dde2f
docs: Improve the README
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
6470583f8b
core: Avoid using Python's union syntax
...
So we don't depend on Python >= 3.10.
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
acafa09a82
Tell setuptools that we are using the limited API
2022-10-06 22:50:50 +02:00
Ole André Vadla Ravnås
d57e503ca0
Tell bdist_wheel that we are using the limited API
2022-10-06 14:32:08 +02:00
Ole André Vadla Ravnås
1dcc59800d
Fix incorrect parameter name in function prototype
2022-10-06 14:24:07 +02:00
Ole André Vadla Ravnås
389b23b9b5
msvs: Move to the new PythonLocation property
2022-10-06 14:15:41 +02:00
dependabot[bot]
d66367a228
examples: Bump web_client dependencies ( #219 )
2022-10-06 14:15:13 +02:00
Ole André Vadla Ravnås
2269a323bb
Move to the stable Python C API
...
So it doesn't become a nightmare to distribute wheels.
2022-10-06 14:13:46 +02:00
Ole André Vadla Ravnås
f10bd17644
Fix typo in comment
2022-10-06 14:13:46 +02:00
Ole André Vadla Ravnås
b2391c7ae9
Rename and simplify remaining MSVS project files
2022-09-27 12:01:46 +02:00
Yotam Nachum
b82a9436a0
Remove old Visual Studio python 2 project files
2022-09-24 19:02:41 +03:00
Yotam Nachum
64b4b85298
Add _frida stub file to package data
2022-09-24 19:02:17 +03:00
Yotam
6e08dbb2cc
Merge pull request #220 from yotamN/fix/type-hinting
...
Fix type hinting
2022-09-24 18:59:05 +03:00
Yotam Nachum
64670182fe
Add Mypy to CI
2022-09-24 18:57:27 +03:00
Yotam Nachum
4f5c83fd09
Fix type hinting
2022-09-24 18:54:10 +03:00
Orip
2c805431bd
Remove PEP503 parser and egg downloader from setup.py
2022-09-21 20:20:26 +02:00
Yotam
85e7cb9b94
Merge pull request #217 from yotamN/feature/linting
...
Add pyflakes to CI
2022-09-17 19:32:24 +03:00
Yotam Nachum
aa80aac2b0
Add pyflakes to CI
2022-09-17 18:59:00 +03:00
Yotam Nachum
c0d8bc7cad
Remove unused variables
2022-09-17 18:59:00 +03:00
Yotam
a264326074
Merge pull request #193 from yotamN/feature/deprecate-python2
...
Deprecate Python 2
2022-09-17 17:45:26 +03:00
Orip
102373d50d
Remove python2 support from the tests
2022-09-12 20:59:52 +03:00
Yotam Nachum
f251da8807
Add GitHub actions
2022-09-12 20:59:52 +03:00
Orip
32e3def2a1
Fix Device.get_bus
...
The Previous implementation called the `_Device.get_bus` method which doesn't exist
2022-09-12 20:59:52 +03:00
Yotam Nachum
600d68a982
Add _frida type hinting
2022-09-12 20:59:52 +03:00
Yotam Nachum
af23dd92f2
Add docstrings
2022-09-12 20:59:52 +03:00
Yotam Nachum
057d901c06
Add type hinting
...
Lots of functions were using *args and **kwargs that were kind of
useless with type hinting, so I explicitly named every possible argument
and its type. It breaks backward compatibility (sort of) because you can
pass nonsense arguments anymore.
2022-09-12 20:59:52 +03:00
Yotam Nachum
fc00ac2b75
Automatically format code with Black and Isort
2022-09-12 20:59:52 +03:00
Orip
32df9f05b2
Use bytes literals instead of encode method
2022-09-12 20:59:52 +03:00
Yotam Nachum
c4785c3f7c
Use f-strings
...
f-strings is a new, shorter alternative to `.format` method that was
introduced in Python 3.6.
2022-09-12 20:59:52 +03:00
Yotam Nachum
a89af5355f
Use print as function instead of keyword
2022-09-12 20:59:52 +03:00