Commit Graph

208 Commits

Author SHA1 Message Date
Benjamin Kaufmann
63bbb07ef0 Fixup for 00d0837d98
* Add PendingAsyncCall return value to all relevant overloads of
  IProxy::callMethod().
2020-04-08 16:41:29 +02:00
sangelovic
00d0837d98 Introduce support for cancellable async calls 2020-04-04 16:30:56 +02:00
sangelovic
e91bedd4cb Fix #92: CallData race condition in Proxy::callMethod 2020-04-02 20:46:38 +02:00
Oliver Tappe
dc66efbbcb Fix #93: Get signals working for multiple proxies.
* Proxy::sdbus_signal_handler() needs to return 0 instead of 1 in
  order to allow multiple proxies listening to a signal all being
  triggered.
* Add test for emitting a signal to multiple proxies on same
  connection.
2020-03-26 21:19:18 +01:00
Stanislav Angelovič
a23aadbe5e Fix required CMake version to v3.13
Fixes #86
2020-02-14 14:31:14 +01:00
Viliam Lejcik
ae57c6760b sdbus-c++-xml2cpp: fixed file existence condition
fixes issue: https://github.com/Kistler-Group/sdbus-cpp/issues/83
2020-02-04 12:18:50 +01:00
Stanislav Angelovič
21820f7529 Update using-sdbus-c++.md 2020-02-02 23:03:24 +01:00
sangelovic
3a4f343fb9 Provide better names to event loop-related IConnection methods v0.8.1 2020-02-02 22:22:26 +01:00
sangelovic
dee6adce02 Bump revision up to v0.8.1 2020-02-02 02:31:39 +01:00
sangelovic
3e68fee4cd Switch to more modern CMake 2020-02-02 02:29:32 +01:00
sangelovic
8dfd29b0f0 Fix clang-9 warnings 2020-02-01 23:26:27 +01:00
Stanislav Angelovič
db71707be4 Update tutorial for for full use of C++17 2020-02-01 23:03:44 +01:00
Stanislav Angelovič
c9583f2887 Update README for full usage of C++17 2020-02-01 23:01:09 +01:00
sangelovic
975f1bf07f Switch to fully supported C++17 2020-02-01 22:58:34 +01:00
sangelovic
d591b69f92 Bump revision up to 0.8.0 v0.8.0 2020-02-01 13:56:13 +01:00
Stanislav Angelovič
49586001d6 Try to better explain the design and how to use connections in objects and proxies 2020-02-01 13:38:51 +01:00
Stanislav Angelovič
aa8e9123de Update the tutorial for new method parameter names feature 2020-02-01 12:38:39 +01:00
sangelovic
eade6a0e44 Add support for method and signal parameter names in introspection 2020-02-01 12:38:39 +01:00
sangelovic
10977c6137 Bump revision up to 0.7.8 v0.7.8 2020-01-25 23:38:54 +01:00
sangelovic
1e455b8ef3 Fix inline variable since in v0.7 version line we still support gcc 6 2020-01-25 22:31:41 +01:00
sangelovic
75709e31f1 Fix sporadic race condition between Variant and underlying bus
The underlying bus was thread_local, but the design assumption that Variants built on top of that instance won't outlive the thread was incorrect. In stress tests, Variants were moved (and this is completely legal) to a different thread.
2020-01-25 22:31:41 +01:00
Stanislav Angelovič
245db893b8 Remove obsolete section on Yocto recipes for sdbus-c++ 2020-01-23 16:58:48 +01:00
Stanislav Angelovič
477c5dd714 Update section on Yocto recipes for sdbus-c++ 2020-01-23 16:57:42 +01:00
sangelovic
b25534013f Fix lock_guard variable declaration (don't yet use newer C++17 features) v0.7.7 2020-01-19 19:17:04 +01:00
sangelovic
68b5eac9e9 Bump revision up to 0.7.7 2020-01-19 18:59:36 +01:00
sangelovic
4310a3bd17 Little fix of order of destruction in stress tests 2020-01-19 18:57:14 +01:00
sangelovic
f41d9bc395 Fix issue of event loop thread and synchronous method call thread polling on the same D-Bus connection
Synchronous D-Bus method calls are now done in terms of blocking asynchronous calls.
2020-01-19 18:51:19 +01:00
sangelovic
5121d46eed Bump revision up to 0.7.6 v0.7.6 2020-01-05 22:49:26 +01:00
Stanislav Angelovic
121ed1a975 Fix clang-8 compilation errors and warnings 2020-01-05 12:52:37 +01:00
sangelovic
cc495811f9 Bump revision up to 0.7.5 v0.7.5 2019-11-10 17:43:14 +01:00
sangelovic
839bc13625 Make Connection const-correct and fix integration tests build error 2019-11-10 17:40:33 +01:00
Bruno Marchand
5fe0f503ca Add a method to retrieve the unique name of a connection 2019-11-10 17:34:57 +01:00
sangelovic
d50a15b2a2 Move C++17 uncaught_exceptions to public API 2019-11-10 17:31:58 +01:00
sangelovic
3a76e9c120 Bump revision up to 0.7.4 v0.7.4 2019-11-03 20:40:13 +01:00
sangelovic
304b69dd8b Use tag dispatching to construct various types of Connection, refactor Connection unit tests 2019-11-03 20:30:52 +01:00
Jay
099bc857ad Add support for opening a connection to a remote system bus using ssh (#77) 2019-11-03 20:21:39 +01:00
lubo-svk
c139110112 Add support for custom timeout value for D-Bus method calls (#72) 2019-11-03 13:54:13 +01:00
sangelovic
e7155c5506 Bump revision up to 0.7.3 v0.7.3 2019-10-13 15:39:32 +02:00
sangelovic
0f7de608ac Little code cleanup 2019-10-11 16:04:37 +02:00
sangelovic
c6d4d2710f Skip GetMachineId test when /etc/machine-id is not available 2019-10-11 15:56:00 +02:00
hogliux
0440dcb15b Added ability to integrate with foreign event loops 2019-10-08 22:09:05 +02:00
sangelovic
e30ce194ab Add getSenderName method to Message 2019-10-06 11:28:16 +02:00
Stanislav Angelovič
8dea11bac6 Add note on solving potential getent-related Yocto errors 2019-07-09 18:29:58 +02:00
Stanislav Angelovic
750dab3927 Bump revision up to 0.7.2 v0.7.2 2019-07-08 10:01:11 +02:00
Stanislav Angelovic
bf35157a4a Comment out unused parameter 2019-07-08 09:58:22 +02:00
Stanislav Angelovič
a09362f79a Switch from plain UnixFd to owning UnixFd (#69) 2019-07-08 09:53:53 +02:00
Stanislav Angelovič
c264f83e83 Fix Yocto chapter level in the tutorial 2019-06-12 15:03:26 +02:00
Stanislav Angelovič
71adb5cf30 Add notes on sdbus-c++ Yocto recipes to the tutorial 2019-06-12 15:02:01 +02:00
sangelovic
00177a7e4c Bump revision up to 0.7.1 v0.7.1 2019-06-12 09:18:55 +02:00
Stanislav Angelovic
9826d28f51 Add missing Factory friend to Message subclasses 2019-06-11 20:29:45 +02:00