84 Commits

Author SHA1 Message Date
J. Nick Koston
e0aeeacf8d
feat: improve unmarshall performance for SignatureType (#436) 2025-03-23 00:41:06 -10:00
J. Nick Koston
1988984398
chore: add benchmark for interfaces added message (#432) 2025-03-22 15:57:16 -10:00
J. Nick Koston
1802f35ce9
chore: add socket unmarshall benchmark (#428)
* chore: add socket unmarshall benchmark

* chore: bench multiple messages
2025-03-22 14:35:37 -10:00
pre-commit-ci[bot]
bfc8151005
chore(pre-commit.ci): pre-commit autoupdate (#427)
* chore(pre-commit.ci): pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.0 → v0.11.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.0...v0.11.0)

* chore(pre-commit.ci): auto fixes

* chore: fix violations

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-03-17 11:01:24 -10:00
J. Nick Koston
7e4cab6778
fix: upgrade to ruff 0.1.0 and fix violations (#422) 2025-03-13 13:12:13 -10:00
J. Nick Koston
f64eb58573
fix: correct size of uint32 with cython (#415)
* chore: add more coverage for big endian systems

* chore: add more coverage for big endian systems

* chore: fix overflow

* fix: should have been unsigned int
2025-03-06 14:13:00 -10:00
J. Nick Koston
4fcdbed1e5
fix: ensure proxy object tasks do not get garbage collected prematurely (#409) 2025-03-06 14:08:34 -10:00
J. Nick Koston
2bad648c61
chore: enable some more ruff rules (#414) 2025-03-06 12:49:12 -10:00
J. Nick Koston
a589651511
chore: sort imports (#413) 2025-03-06 12:27:01 -10:00
J. Nick Koston
a56381a7a1
chore: remove unused boilerplate cruft (#411) 2025-03-06 11:43:06 -10:00
J. Nick Koston
0adab935e3
fix: correctly handle big endian data (#405) 2025-03-06 11:07:33 -10:00
J. Nick Koston
ed38f690f5
chore: add more coverage for marshall (#406) 2025-03-05 18:59:05 -10:00
J. Nick Koston
bfd48a3a38
feat: add support for finding message handlers when interface is None (#403) 2025-03-05 14:41:40 -10:00
J. Nick Koston
996659e1b5
feat: refactor service bus handler lookup to avoid linear searches (#400) 2025-03-05 13:28:00 -10:00
dependabot[bot]
9ad38730d5
chore(deps-dev): bump pytest from 7.4.4 to 8.3.4 (#334)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-21 17:47:00 -10:00
black_desk
5b61869bae
feat(introspect): implement annotations (#359)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-15 10:22:24 -10:00
black_desk
f58f1a6466
fix: void validate arguments/properties name (#358) 2025-01-15 10:18:37 -10:00
pre-commit-ci[bot]
e006a1e861
chore(pre-commit.ci): pre-commit autoupdate (#365)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 08:48:02 -10:00
J. Nick Koston
1164ca55dd
chore: add marshall benchmark (#353) 2025-01-07 12:38:20 -10:00
J. Nick Koston
41162618d4
fix: race in test_tcp_connection_with_forwarding (#350) 2025-01-07 12:25:40 -10:00
J. Nick Koston
5bf90b9fb1
chore: add codspeed benchmarks (#340) 2025-01-07 10:52:53 -10:00
J. Nick Koston
eda37061c4
chore: switch to ruff (#339)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 09:37:35 -10:00
J. Nick Koston
42a786b23f
chore: drop Python 3.8 support as it has reached EOL (#338)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 09:22:28 -10:00
J. Nick Koston
45c0e7491d
feat: python 3.13 support (#291) 2024-08-21 07:19:07 -05:00
J. Nick Koston
fa48bc025c
chore: drop python 3.7 support (#284) 2024-06-26 07:44:20 +02:00
J. Nick Koston
be68a79c52
fix: clear exception flag on disconnect future if its also sent to handlers (#281) 2024-05-20 11:37:31 -10:00
mriemensberger
7da5d44caa
fix: introspection bogus child paths (#280) 2024-05-08 14:56:13 -05:00
Stefan Agner
c6a8301704
feat: make ErrorType enums compare as strings (#269)
The DBusError exception stores the error type as string. This makes the
exception not directly compare to the ErrorType members (for example
DBusError(ErrorType.FAILED, "").type != ErrorType.FAILED). This makes
ErrorType also a string to make this comparision work.
2023-11-22 09:26:11 +01:00
J. Nick Koston
0ccb7c5d87
feat: add support for tuples to the marshaller (#267) 2023-11-10 08:46:37 -06:00
J. Nick Koston
e634fc2c70
fix: send reply test failure with cython (#265) 2023-11-07 15:09:22 -06:00
J. Nick Koston
4de31a3646
fix: marshall multi-byte strings correctly (#261) 2023-10-04 12:37:39 -05:00
J. Nick Koston
f9e5d1d020
chore: add more unmarshall tests (#260) 2023-10-04 12:27:49 -05:00
J. Nick Koston
4d3b666564
chore: add more unmarshall tests (#259) 2023-10-04 12:17:53 -05:00
J. Nick Koston
370791da86
fix: clean up address parsing and tests (#244) 2023-09-08 18:33:53 -05:00
Noel Remy
14f52f216d
fix: handling of None messages from notify callback (#236)
Co-authored-by: Remy Noel <remy.noel@blade-group.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-07 10:55:12 -05:00
J. Nick Koston
6f6f5f86c0
fix: handle multiple flag bits when unmarshalling (#241) 2023-09-07 10:16:07 -05:00
J. Nick Koston
0386dc2322
chore: add test coverage for issue 239 (#240) 2023-09-07 09:54:18 -05:00
J. Nick Koston
d12266ddef
fix: avoid cythonizing SendReply (#232) 2023-08-24 09:28:53 -05:00
J. Nick Koston
ed5c87f492
chore: add more coverage for send_reply (#231) 2023-08-24 08:40:20 -05:00
J. Nick Koston
a8b9e721d5
chore: add send_reply tests (#230) 2023-08-24 08:25:11 -05:00
Noel Remy
5d6f90ba32
fix: subpath bad matching (#202)
Co-authored-by: Remy Noel <remy.noel@blade-group.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-17 15:11:38 -05:00
J. Nick Koston
8e7432d31b
feat: speed up to processing bluez passive data (#221) 2023-08-09 00:44:33 -10:00
Jim Duchek
6c2412f4ca
fix: spelling of dbus_fast.auth.AuthAnnonymous to dbus_fast.auth.AuthAnonymous (#220) 2023-08-05 10:41:09 -10:00
J. Nick Koston
c933be7095
fix: avoid double buffering when using asyncio reader without negotiate_unix_fd (#213) 2023-07-27 22:46:29 -05:00
J. Nick Koston
c755193ee0
feat: initial cpython 3.12 support (#207) 2023-07-24 10:51:22 -05:00
mvn23
4939ef80e5
feat: add support for EXTERNAL auth without uid (#193) 2023-01-07 09:46:55 -10:00
Kai
091c262e27
feat: allow hardcoding uid in auth (#189)
Closes https://github.com/Bluetooth-Devices/dbus-fast/issues/188
2022-12-23 08:47:22 -10:00
J. Nick Koston
5b0d9d024a
chore: add passive unmarshall benchmark (#185) 2022-12-09 08:37:38 -10:00
J. Nick Koston
b23086b25d
chore: disable some more tests that segfault under py3.10 (#179) 2022-12-08 13:33:52 -10:00
J. Nick Koston
2fa7cdb156
chore: disable one more flakey glib test on py3.10 (#174) 2022-12-06 13:45:16 -10:00