69 Commits

Author SHA1 Message Date
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
Stanislav Angelovic
7378cea833 Bump up project version 2019-01-10 13:54:02 +01:00
Stanislav Angelovic
2526546432 Remove Eclipse project file 2019-01-10 13:52:35 +01:00
Stanislav Angelovič
9c0e98c580 Introduce support for some common D-Bus annotations (#30)
* Add ability to declare property behavior on PropertyChanged signal

* Add support for Method.NoReply annotation (WIP)

* Add support for common annotations/flags
2019-01-10 08:47:59 +01:00
Stanislav Angelovič
2c78e08d19 Remove warnings-related compiler options from CMakeLists (#31) 2019-01-06 22:16:13 +01:00
Stanislav Angelovič
97372155a6 Update ChangeLog for v0.3.3 v0.3.3 2018-12-29 01:02:36 +01:00
Stanislav Angelovič
1def4e247a Add note on thread-safety of Variant and its const methods 2018-12-29 00:59:31 +01:00
Stanislav Angelovič
d764afec93 Little fixes in tutorial code samples
Fixes #24
2018-12-24 15:43:01 +01:00
Jeremy Prater
eb58d2fa52 - Rewind Message prior to access for peekValueType.
Fixes #8

(cherry picked from commit f8bed4b0faa2c0a2bc7037f3a55105060d56dbdb)
2018-12-24 15:30:55 +01:00
Stanislav Angelovič
a6bb8c070e Switch from autotools to CMake build system (#23)
* Switch from autotools to CMake

* CMake: require at least cmake 3.8

* cmake: updates for tests
v0.3.2
2018-09-26 09:28:10 +02:00
Lukas Durfina
108c33faac stub-generator: fixed issue when <arg> in <method> does not have "name" property 2018-08-24 16:39:31 +02:00
sangelovic
ec06462713 Add missing constructor overload for ProxyInterfaces 2018-08-06 22:58:36 +02:00
Stanislav Angelovič
234145cade Clarify proxy and connection stuff in case of ProxyInterfaces 2018-08-06 22:52:38 +02:00
Stanislav Angelovič
e971f95bad Clarify system/session connection on proxy creation 2018-08-06 22:34:08 +02:00
Lukas Durfina
4f5dfbc301 Updated changelog for v0.3.1 v0.3.1 2018-07-24 13:03:53 +02:00
Stanislav Angelovič
fa878e594c Be explicit on apply function from sdbus namespace (#17) 2018-07-24 12:55:33 +02:00
Stanislav Angelovič
d3d698f02a Fix CPU hog on async methods: Clear the event descriptor by reading from it (#16) 2018-07-24 12:54:31 +02:00
Stanislav Angelovič
d8fd053714 Introduce support for asynchronous server-side methods (#12)
* Add preliminary changes for async server methods

* Refactor the Message concept and break it into distinctive types

* Continue working on async server methods (high-level API mainly)

* Continue developing support for async server

* Finishing async server methods

* Finishing async server methods (fixing tests & cleaning up)

* A little code cleaning

* Add unit tests for type traits of free functions

* Support for generating async server methods in stub headers

* Update ChangeLog for v0.3.0

* Update the tutorial with how to use async server-side methods

* Update the TOC in sdbus-c++ tutorial

* Update numbering in TOC

* Remove unnecessary code

* Final cleanups
v0.3.0
2018-07-02 11:22:00 +02:00
Stanislav Angelovic
b041f76bfc Update changelog for v0.2.6 v0.2.6 2018-06-24 21:27:58 +02:00
Stanislav Angelovic
f1ff05cb6f Bump up micro revision number 2018-06-22 12:36:14 +02:00
Stanislav Angelovič
44be60555d Merge pull request #11 from lukasdurfina/fix-memory-leak
Fix leak in Message due to missing unref of sd_bus_message
2018-06-19 12:18:55 +02:00
Lukas Durfina
dfdc6b153e Message: fix missing release of sd_bus_message 2018-06-19 08:56:28 +02:00
Stanislav Angelovic
fd3799dbc3 Fix sdbus::Struct initialization problem in newer compilers - use make_struct v0.2.5 2018-06-06 11:49:02 +02:00
Stanislav Angelovič
24b2f2bda3 Update ChangeLog for v0.2.5 2018-06-05 14:09:35 +00:00
Stanislav Angelovič
d40fdf1b1c Merge pull request #10 from marek-szanyi/feature/fix_gcc_compiling
Among inherited c-tors, provide explicit Struct c-tor from tuple, since that is needed according to the standard
2018-06-05 16:04:35 +02:00
Marek Szanyi
a395adbecf Change in logic when constructor is available 2018-06-05 15:52:59 +02:00
Marek Szanyi
dafd7a791a Provide compiler specific ctor for Struct 2018-05-29 13:36:49 +02:00
Stanislav Angelovic
83ae4cf5ae Bump up micro revision number 2018-05-25 20:48:56 +02:00
Stanislav Angelovic
b535198571 Little code cleanups and refactorings 2018-05-25 20:48:20 +02:00
Stanislav Angelovic
d68be891ee Revert modification for clang, for now it fails on gcc v0.2.4 2018-03-15 17:16:23 +01:00