Commit Graph

98 Commits

Author SHA1 Message Date
sangelovic
ee30375cfc Use official release of googletest (v1.8.1) rather than master 2019-04-12 21:42:33 +02:00
sangelovic
06ca6539f3 Make sure googletest is always built as a static lib and never installed as part of sdbus-c++ 2019-04-12 21:30:07 +02:00
sangelovic
ed0745c83a Only install doxy docs if they were generated 2019-04-12 20:27:54 +02:00
sangelovic
93b6e5237a Clean up some names (rename classes, methods, files)
* ConvenienceClasses.h/.inl/.cpp -> ConvenienceApiClasses.h/.inl/.cpp
  * IObjectProxy class -> IProxy
  * Interfaces class -> AdaptorInterfaces
  * Interfaces.h -> split into AdaptorInterfaces.h and ProxyInterfaces.h
  * createObjectProxy() method -> createProxy()
2019-04-09 21:28:07 +02:00
sangelovic
e7c78460cf Bump revision up to 0.5.3 v0.5.3 2019-04-09 20:56:33 +02:00
sangelovic
f5da0dabcb Fix race condition between worker threads and adaptor destructor in stress tests 2019-04-08 21:16:32 +02:00
sangelovic
c9ef1849cd Add two missing headers in test/CMakeLists.txt 2019-04-07 21:16:47 +02:00
Stanislav Angelovic
d154022205 Extend stress tests with dynamic object creation and destruction in multiple threads 2019-04-04 20:39:31 +02:00
Stanislav Angelovic
94fd3c88d8 Add getConnection() method to IObject so we ask Object about its connection 2019-04-04 20:39:03 +02:00
sangelovic
a919058d13 Bump up revision to 0.5.2 v0.5.2 2019-04-03 00:17:31 +02:00
sangelovic
08945acbc4 Simplify and unify callback design for both sync and async methods 2019-04-03 00:05:20 +02:00
Stanislav Angelovič
5673a9bcf2 Update section on async D-Bus methods in sdbus-c++ tutorial v0.5.1 2019-03-30 10:10:55 +01:00
sangelovic
b46fb170ea Bump up revision to 0.5.1 2019-03-29 22:28:58 +01:00
sangelovic
878ce6fa5c Update doxygen documentation as well as tutorial 2019-03-29 22:23:25 +01:00
sangelovic
461ac241c8 Introduce doxygen documentation 2019-03-29 21:50:08 +01:00
Stanislav Angelovic
a5692c08ea Rename sdbus-c++ stub code generator to more consistent sdbus-c++-xml2cpp 2019-03-28 19:15:48 +01:00
Stanislav Angelovic
4fd2479b06 Don't build tests by default 2019-03-28 19:11:37 +01:00
Stanislav Angelovic
581e849534 Update README: Add documentation of sdbus-c++ CMake flags 2019-03-28 19:10:30 +01:00
Stanislav Angelovic
63637b639f Make CMakeLists.txt cleaner and more flexible 2019-03-28 18:47:49 +01:00
Stanislav Angelovic
fc60700e1b Rename test executables for consistency 2019-03-28 18:25:31 +01:00
Stanislav Angelovic
a04ab9f445 Bump revision up to 0.5.0, a big step in maturing sdbus-c++ v0.5.0 2019-03-28 16:08:58 +01:00
Stanislav Angelovic
1c4abab3e4 Remove executable bit erroneously set on source files 2019-03-27 17:53:31 +01:00
Stanislav Angelovic
d489eee9c0 Revise and update the tutorial for redesigned sdbus-c++ parts 2019-03-27 17:34:41 +01:00
Stanislav Angelovic
cbf2218301 Remove unnecessary forward declarations from Message.h 2019-03-27 14:41:30 +01:00
Stanislav Angelovic
6f79c5bf14 Add stress tests for sdbus-c++ 2019-03-26 08:59:50 +01:00
Stanislav Angelovic
7c968e78cb Fix missing <algorithm> include for std::generate_n in performance tests 2019-03-25 20:30:37 +01:00
Stanislav Angelovič
fd7be39dd4 Re-design sdbus-c++ approach to connections (#47)
Fixes #33 , among others
2019-03-25 16:28:31 +01:00
Stanislav Angelovic
26c6ea8730 Fix gcc 6.3 issue in Connection unit test 2019-03-25 16:08:43 +01:00
Stanislav Angelovič
663df31398 Introduce support for asynchronous D-Bus method calls on the client side (#42)
Fixes #32
2019-03-25 14:45:48 +01:00
sangelovic
004f158817 Bump up revision to 0.4.3 v0.4.3 2019-03-24 22:18:48 +01:00
sangelovic
ab407aa8c8 Fix interface names and object paths in integration tests 2019-03-24 20:18:29 +01:00
sangelovic
bb2bf5811b Add SdBus interface to proper namespace 2019-03-20 18:52:05 +01:00
sangelovic
41a10d644f Make code a bit cleaner and more consistent 2019-03-19 20:11:18 +01:00
sangelovic
b9ce1ca3ce Remove unnecessary copy-construction when making SdBus 2019-03-18 21:28:17 +01:00
Stanislav Angelovič
850e211dca Merge pull request #39 from ardazishvili/testing
Add separation layer from sd-bus to improve isolation in unit testing
2019-03-18 21:05:07 +01:00
ardazishvili
2b83d7ca2d Mock sdbus lib, add unit tests of Connection class.
Introduce mock of sdbus library through extracting its interface. Set up unit tests of Connection class through injection of sdbusMock to constructor. Clients of Connections class should use fabrics instead.
2019-03-17 18:02:47 +03:00
sangelovic
8c76e3ef8b Bump up revision to 0.4.2 v0.4.2 2019-03-15 12:09:55 +01:00
Stanislav Angelovič
a6d0b62ff5 Add sdbus-c++ performance tests (#41)
* Introduce simple method call and signal-based manual performance tests

* Put perftests in proper place

* Remove unnecessary CMakeLists file
2019-03-15 11:34:25 +01:00
Stanislav Angelovič
757cc44381 Merge pull request #40 from Kistler-Group/generate-config-version-file
cmake: generate config version file
2019-03-15 11:26:37 +01:00
Lukas Durfina
6dbcbbfa98 cmake: generate config version file 2019-03-14 11:08:42 +01:00
sangelovic
b813680192 Allow ObjectPath and Signature be created from std::string 2019-02-19 08:57:24 +01:00
Roman Ardazishvili
84b15776a3 Add systemd and dbus configuration, e.g. to run samples in 'Using sdbus-c++ library' 2019-02-04 21:22:49 +01:00
Stanislav Angelovič
8c5c774727 Minor fix 2019-01-25 20:02:58 +01:00
sangelovic
cd1efd66a5 Add essential information to doxy comments of ProxyInterfaces constructors 2019-01-25 19:59:09 +01:00
Stanislav Angelovič
fad81e7659 Be more clear on the different behavior of proxy factory overloads 2019-01-25 19:50:06 +01:00
sangelovic
1dafd6262c Add essential information to doxy comments of createObjectProxy 2019-01-25 19:24:20 +01:00
Stanislav Angelovic
0b27f222c4 Fix stub generator C++ standard back to 14 v0.4.1 2019-01-16 20:55:17 +01:00
Stanislav Angelovic
58895d2730 Bump revision up to 0.4.1 2019-01-16 20:01:05 +01:00
Stanislav Angelovic
d957948274 Transform constexpr member to a getter method because of different odr-usage rules in different compilers 2019-01-16 19:58:26 +01:00
Stanislav Angelovic
47fad7dd63 Remove obsolete autotools stuff from the tutorial v0.4.0 2019-01-10 13:59:05 +01:00