Mikko Ylinen [Wed, 13 Aug 2014 10:31:53 +0000 (13:31 +0300)]
Add .changes file with initial release notes
Change-Id: I7d392ba349887726429f76438369b05cf4a5515e
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Mikko Ylinen [Wed, 13 Aug 2014 10:26:58 +0000 (13:26 +0300)]
Add a workaround to DBusMessage.cpp build failure
CommonAPI-DBus depends on a DBus patch that is not (yet) applied in Tizen.
Stub out the problematic DBus functions but make it via a build config
option.
Add README.Tizen to explain the steps to build a modified dbus and
CommonAPI-DBus using that with GBS.
Change-Id: I161f2a2a617c18ec343508b86af57f898186d75c
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Mikko Ylinen [Wed, 13 Aug 2014 10:18:46 +0000 (13:18 +0300)]
Add tizen packaging files
Change-Id: I0652f90b0c83e222aab0f6a8525e07643520f560
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Mikko Ylinen [Wed, 13 Aug 2014 10:14:33 +0000 (13:14 +0300)]
Add .gbs.conf
Change-Id: I158d799a02d1f00d4ce03093526b5b60085d83a9
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Juergen Gehring [Thu, 12 Jun 2014 09:05:04 +0000 (11:05 +0200)]
Added NEWS file for release 2.1.6
Juergen Gehring [Thu, 8 May 2014 14:12:30 +0000 (16:12 +0200)]
Merge branch 'master' of https://asc-repo.bmwgroup.net/gerrit/ascgit017.CommonAPI-D-Bus
Juergen Gehring [Thu, 8 May 2014 14:11:41 +0000 (16:11 +0200)]
Commented out disabled connection test.
Stefan Laner [Tue, 22 Apr 2014 13:15:05 +0000 (15:15 +0200)]
fixed unsubscribe mechanism in DBusEvent and added additional tests for
Broadcasts
Stefan Laner [Wed, 9 Apr 2014 08:36:46 +0000 (10:36 +0200)]
removed compile warnings in DBusBraodcastTest
Stefan Laner [Wed, 9 Apr 2014 08:13:41 +0000 (10:13 +0200)]
Bugfix: DBusEvent does only remove its own subscriptions on unsubscribe
/ destroy and not all subscriptions for that signal anymore
Juergen Gehring [Tue, 15 Apr 2014 15:16:13 +0000 (17:16 +0200)]
Merge branch 'master' of https://asc-repo.bmwgroup.net/gerrit/ascgit017.CommonAPI-D-Bus
Juergen Gehring [Tue, 15 Apr 2014 14:54:12 +0000 (16:54 +0200)]
Documentation cleanup.
Michael Bauer [Tue, 15 Apr 2014 14:52:35 +0000 (16:52 +0200)]
Temporarily removing DBusBroadcastTest.cpp from .sln as the test fails with an assertion Debug error
Michael Bauer [Mon, 14 Apr 2014 12:12:48 +0000 (14:12 +0200)]
fixed compilation problem in DBusBroadcastTest.cpp on Windows
Juergen Gehring [Mon, 14 Apr 2014 09:44:17 +0000 (11:44 +0200)]
License for pugixml added.
Jürgen Gehring [Mon, 14 Apr 2014 09:41:50 +0000 (11:41 +0200)]
Merge "improved DBusBroadcastTest and DBusLoadTest"
Markus Freutsmiedl [Mon, 14 Apr 2014 08:22:53 +0000 (10:22 +0200)]
Project settings in project files reworked.
Release build is possible now.
Information about dbus-1.dll added in README.
Markus Freutsmiedl [Fri, 11 Apr 2014 16:11:50 +0000 (18:11 +0200)]
Project settings in project files reworked.
Additional information added for windows part in readme.
Stefan Laner [Wed, 9 Apr 2014 13:53:09 +0000 (15:53 +0200)]
improved DBusBroadcastTest and DBusLoadTest
Change-Id: I413fd262a1c965f8c915180d092408f56f57356e
Michael Bauer [Mon, 7 Apr 2014 10:46:51 +0000 (12:46 +0200)]
pushed wait time in DBusServiceRegistryTest.SubscribeBeforeConnectWorks to 5 seconds, to avoid timing issues on windows
Michael Bauer [Fri, 4 Apr 2014 11:53:54 +0000 (13:53 +0200)]
removing VERBOSE command line flags
Michael Bauer [Fri, 4 Apr 2014 10:44:09 +0000 (12:44 +0200)]
making Unittests.vcxproj compile and adapting README to tell developer how he is able to run UnitTests.exe
Michael Bauer [Fri, 4 Apr 2014 10:23:45 +0000 (12:23 +0200)]
modified vcxproj file of UnitTests to now use environment variables and relative paths, adapted build execution order in .sln
Michael Bauer [Fri, 4 Apr 2014 09:47:47 +0000 (11:47 +0200)]
modified vcxproj file of CommonAPI-DBus to now use environment variables and relative paths, adapted README accordingly
Stefan Laner [Fri, 28 Mar 2014 09:30:31 +0000 (10:30 +0100)]
added unit tests for broadcast subscriptions. renamed unit test
DBusSelectiveBroadcastTest to DBusBroadcastTest
Stefan Laner [Thu, 13 Mar 2014 13:15:28 +0000 (14:15 +0100)]
Implemented stub support for org.freedesktop.DBus.Properties
Change-Id: I75abc2e75643ff8da51795787970d55cf4e470c2
Juergen Gehring [Mon, 10 Mar 2014 11:58:57 +0000 (12:58 +0100)]
Better CMake support in pc file for examples, adapted git config files for windows files
Patrick Sattler [Tue, 11 Mar 2014 13:15:20 +0000 (14:15 +0100)]
Some minor changes in the configure script
- added the option --with-loose-version-check to the configure script
(GLIPCI-216)
- more informative warning in configure.ac for missing glib
Change-Id: I6bcd845616b136b7e748875e5a46c7bfada3d858
Stefan Laner [Wed, 19 Mar 2014 15:12:34 +0000 (16:12 +0100)]
increased library interface revision number
Patrick Sattler [Mon, 10 Mar 2014 16:39:29 +0000 (17:39 +0100)]
Added a test to control if it isnt possible to access the Stubadapter
-added also the generated files from the updated generator
Change-Id: I0cb0a025167d5945dec6c6ecb7d814cf6c5982c1
Patrick Sattler [Mon, 10 Mar 2014 12:38:10 +0000 (13:38 +0100)]
Fixed a compile warning
Philip Rauwolf [Fri, 29 Nov 2013 16:26:38 +0000 (17:26 +0100)]
Removed fulfilling of purely internal promises in ServiceRegistry.
Relevant code parts in DBusServiceRegistry.cpp were tagged with "fulfill
all open promises on object path resolution". Removed as it seemed to be
unnecessary and required error handling to be enabled, which may well
not be the case in context of the HMI.
Change-Id: Icddad61f50cbd8fccaeab0c6782b4966bd7b2505
Stefan Laner [Fri, 7 Mar 2014 18:41:32 +0000 (19:41 +0100)]
fix for GENIVI bug 164 "Interface names starting with org.freedesktop.*
are ignored"
Stefan Laner [Mon, 3 Mar 2014 11:01:58 +0000 (12:01 +0100)]
All public inline functions arn't anymore inline
- methods with templates excluded
Stefan Laner [Fri, 28 Feb 2014 17:25:03 +0000 (18:25 +0100)]
Timeout for introspection call in DBusServiceRegistry set to default
value
Patrick Sattler [Tue, 18 Feb 2014 13:51:07 +0000 (14:51 +0100)]
Fixed some compile warnings
Change-Id: I2a35fc2adc0c3e2484a1be260da20d0a4ab92ed6
Stefan Laner [Mon, 24 Feb 2014 08:57:40 +0000 (09:57 +0100)]
Windows support, fixed attribute handling with inherited interfaces
Change-Id: I8c0248d25f267333878166dbab790e4ffa353e54
Patrick Sattler [Mon, 17 Feb 2014 11:15:29 +0000 (12:15 +0100)]
Changed doxygen title to GENIVI IPC Common API DBus C++ and increased
required CommonAPI version to 2.1.6
Change-Id: Ib0671cf3bff7913c5f8516cf759065534d7dbcfd
Stefan Laner [Fri, 31 Jan 2014 13:23:23 +0000 (14:23 +0100)]
increased version number to 2.1.5 and regenerated code for test fidl
files with 2.1.5 code generators
Arnaud Fietzke [Mon, 11 Nov 2013 13:22:29 +0000 (14:22 +0100)]
LoadTest using async calls
Change-Id: Ib58ab810586bd13261da4cea2d30461f34bdf667
Stefan Laner [Mon, 9 Dec 2013 18:21:37 +0000 (19:21 +0100)]
Extended DBusManagedTest
Change-Id: I62457137eff21850744ed22058e119a4a850160e
Stefan Laner [Wed, 4 Dec 2013 18:57:20 +0000 (19:57 +0100)]
Broke shared_ptr cycle between generated stub, DBusStubAdapter and
DBusStubAdapterHelper by using a weak_ptr. Also removed some cout calls
in tests and updated generated code for tests.
Change-Id: I54399dabeedb2960b91df36772d64d1efc6030d6
Stefan Laner [Thu, 28 Nov 2013 17:41:45 +0000 (18:41 +0100)]
Fixed bug that prevents proxy connections from being destroyed because
of a circular dependency between DBusConnection and DBusServiceRegistry.
Also removed bug that prevented ServiceRegistry-callbacks from being
deregistered correctly. Extended tests, some formatting issues, fixed
one spelling error.
Change-Id: I6cf2148375f4c086e60f0ad642415056bd808759
Stefan Laner [Wed, 27 Nov 2013 10:01:23 +0000 (11:01 +0100)]
Merged fix for inherited interfaces and version attribute. Regenerated
code.
Change-Id: I555557d42f1849d6ac517b24b88c974f3d1536ae
Stefan Laner [Sat, 23 Nov 2013 00:14:27 +0000 (01:14 +0100)]
Fix for inherited interfaces and tests for that including generated code
Arnaud Fietzke [Thu, 21 Nov 2013 09:16:41 +0000 (10:16 +0100)]
Fix for GLIPCI-165.
Once resumeDispatching() is called,
readWriteDispatch() may dispatch the
reply, causing replyAsyncHandler to
be deleted.
Also added a test to check whether
sync and async calls may be mixed.
Change-Id: I15954e1e1190cbdea01aef871dac763cc06479ef
Stefan Laner [Thu, 14 Nov 2013 01:09:54 +0000 (02:09 +0100)]
Fixed interfaceVersion attribute and added test for that
Stefan Laner [Mon, 11 Nov 2013 18:55:26 +0000 (19:55 +0100)]
removed test which does not compile because code generator does not
allow to define that anymore.
Stefan Laner [Mon, 11 Nov 2013 18:53:51 +0000 (19:53 +0100)]
Revert "added missing type / method in fidl-files for tests updated generated code"
This reverts commit
aacc7b4ffd70271c534156b1a063bd2b883410c9.
Stefan Laner [Mon, 11 Nov 2013 17:59:37 +0000 (18:59 +0100)]
added missing type / method in fidl-files for tests
updated generated code
Stefan Laner [Mon, 11 Nov 2013 14:54:39 +0000 (15:54 +0100)]
added test for two managers for the same interface
extended test for sending structs that have a map with enum key as
member
Change-Id: Ib245bf1a9132c1494513d4e8eee512a2eca68449
Johannes Schanda [Mon, 11 Nov 2013 12:22:01 +0000 (13:22 +0100)]
Update version to 2.1.4
Juergen Gehring [Tue, 5 Nov 2013 16:44:53 +0000 (17:44 +0100)]
Add missing return statement
Philip Rauwolf [Wed, 30 Oct 2013 09:19:46 +0000 (10:19 +0100)]
Removed merging relics
Stefan Laner [Thu, 24 Oct 2013 17:57:58 +0000 (19:57 +0200)]
Fixed (de-)serialization of polymorphic structs.
Added unit test for polymorphic structs.
Change-Id: I577a94e3d14ff13a6a3ef56802cbf78c4f26b52c
Philip Rauwolf [Tue, 29 Oct 2013 15:39:46 +0000 (16:39 +0100)]
Re-generated code
Stefan Laner [Tue, 29 Oct 2013 09:21:54 +0000 (10:21 +0100)]
added struct containing a map with enum key to
DerivedTypeCollection.fidl and regenerated code for tests
Philip Rauwolf [Wed, 2 Oct 2013 16:54:41 +0000 (18:54 +0200)]
Removed limitation on Managed Services
It now is possible to register more than one manager interface for a
given D-Bus object path. Also did some random fixes and improvements
wherever I saw them.
Change-Id: I6616ef0bf9e46de99e1fb326f9038545af8af324
Johannes Schanda [Wed, 23 Oct 2013 15:53:56 +0000 (17:53 +0200)]
Fix include dir to be only major.minor version
Stefan Laner [Wed, 23 Oct 2013 11:38:16 +0000 (13:38 +0200)]
Fixed issue in (de-)serialization of arrays of maps.
Added convenience method to DBusTestUtils for printing a DBusMessage.
Philip Rauwolf [Wed, 16 Oct 2013 09:00:07 +0000 (11:00 +0200)]
Added micro version and check on it
Johannes Schanda [Wed, 9 Oct 2013 09:57:11 +0000 (11:57 +0200)]
Deprecated facotry-based registration for stubs fixed
Stefan Laner [Wed, 2 Oct 2013 16:14:33 +0000 (18:14 +0200)]
Fixed Bug in DemoMainLoop implementation and a corresponding test.
Poll on wakeFd now really blocks if wakeup was not called yet.
Johannes Schanda [Tue, 1 Oct 2013 12:40:59 +0000 (14:40 +0200)]
Correct packaging issues
Philip Rauwolf [Mon, 30 Sep 2013 13:44:33 +0000 (15:44 +0200)]
Marked commented test as DISABLED so that it is not forgotten entirely.
Philip Rauwolf [Thu, 26 Sep 2013 09:22:02 +0000 (11:22 +0200)]
Prevented crash on unanticipated name changes
DBusServiceRegistry now can cope with reversed order of NameOwnerChanged
signals. Also, as a side effect, now it copes well with name transfers.
Tests for both were added, though the test for the first issue requires
one private member of the ServiceRegistry to be public and therefore is
commented.
On the road one small performance improvement and some formatting issues
were tackled.
Johannes Schanda [Tue, 17 Sep 2013 11:58:27 +0000 (13:58 +0200)]
Add managed services
- Add proxy manager for controling client side of managed proxies
- Add object manager for controling managed stubs
- rework service registry and serviec publishing to use same code paths
as managed objects
- Unmanaged objects are now managed by the "/" object manager
- Connection names are now only claimed after all object are activated
- isAvailableBlocking public api on proxies
- Proxies now require init to be called to allow for immediate callbacks
on availability form the registry
- Changed default commonp address transformation to use object path as
base of instance
- Fix issues with selective
- Add pugixml for xml parsing to properly understand introspection
ressponses
- adds creating factory to objects held by proxy and stub adapter so
that childeren can be safely constructed
Change-Id: I8f2e660043d5e0348933513d39f332b7032288b1
Philip Rauwolf [Fri, 13 Sep 2013 16:51:47 +0000 (18:51 +0200)]
Added version information to MiddlewareInfo.
The version information used for compilation is taken from the version
given in the Makefile.am.
Philip Rauwolf [Mon, 16 Sep 2013 15:36:44 +0000 (17:36 +0200)]
Revert "Install pugixml header where needed"
This reverts commit
167eb533d7ed8af7b977f8e26508cb233fdb76a9.
Johannes Schanda [Fri, 13 Sep 2013 16:12:44 +0000 (18:12 +0200)]
Fix incorrect transmission of selective signals
Johannes Schanda [Fri, 13 Sep 2013 15:05:34 +0000 (17:05 +0200)]
Install pugixml header where needed
Johannes Schanda [Fri, 13 Sep 2013 13:29:30 +0000 (15:29 +0200)]
Makefile rule doc for all documentation
Johannes Schanda [Fri, 6 Sep 2013 14:11:42 +0000 (16:11 +0200)]
Corrected bug in ObservableReadony attributes
- Observable attribute must always pass through the out signature, so
add to readony attribute
Philip Rauwolf [Tue, 10 Sep 2013 13:33:03 +0000 (15:33 +0200)]
Fixed some subtle bugs.
Two pointers to temporaries, one testcase, plus the possibility to
destruct the Connection from within the handling of timed out calls.
Johannes Schanda [Thu, 5 Sep 2013 15:07:10 +0000 (17:07 +0200)]
Update library api version number for 2.1
Johannes Schanda [Thu, 5 Sep 2013 12:52:41 +0000 (14:52 +0200)]
Doxygen main page description
Stefan Laner [Fri, 9 Aug 2013 09:12:07 +0000 (11:12 +0200)]
Added support for selective broadcasts
-Add subclass for event to support additional API for selective
-StubAdapter handles all management, only callbacks exposed
Change-Id: I2af3c6bcc8b6d0cfd7362eeed7d518a57cf804c6
Johannes Schanda [Tue, 27 Aug 2013 16:03:33 +0000 (18:03 +0200)]
Merge "Fixed logic error in tests on dynamic loading"
Philip Rauwolf [Fri, 23 Aug 2013 14:03:33 +0000 (16:03 +0200)]
Fixed logic error in tests on dynamic loading
Result of this fix was the fix of the actual proceedings of the dynamic
loading mechanism in CommonAPI.
Johannes Schanda [Fri, 23 Aug 2013 13:36:18 +0000 (15:36 +0200)]
Works correctly on GCC 4.8
Johannes Schanda [Thu, 22 Aug 2013 14:08:54 +0000 (16:08 +0200)]
Linker flags in pkgconfig ensure all symbols
Change-Id: Idc938f91b1ad33fee21f3cfa03896990327be213
Johannes Schanda [Wed, 7 Aug 2013 14:36:26 +0000 (16:36 +0200)]
Corrected comments with regard to mainloop integration
Manfred Bathelt [Wed, 31 Jul 2013 15:03:57 +0000 (08:03 -0700)]
changed project version to 2.1
Aleksandar Kanchev [Wed, 31 Jul 2013 15:07:30 +0000 (17:07 +0200)]
Merge "doc: configured doxygen document generation"
Manfred Bathelt [Wed, 31 Jul 2013 14:43:35 +0000 (07:43 -0700)]
doc: configured doxygen document generation
added excludes for unit tests
excluded murmurhash
excluded namespace "std"
added UML diagrams
Stefan Laner [Wed, 24 Jul 2013 09:58:21 +0000 (11:58 +0200)]
Introduced DBusClientId to identify callers within stubs.
As a prerequisite for selective broadcasts one has to identify the
callers on stub side. The CommonAPI::ClientId is used for that. This
commit contains the dbus specific implementation for that concept.
Also introduced unit test for DBusClientId.
Change-Id: I886bc28d656dd715de1c199cc18246a1abc171ab
Aleksandar Kanchev [Wed, 24 Jul 2013 07:49:59 +0000 (09:49 +0200)]
Merge "Introduced dynamic loading and Configuration files for CommonAPI."
Johannes Schanda [Wed, 10 Jul 2013 08:31:03 +0000 (10:31 +0200)]
Check for illegal proxy builds in callbacks
Philip Rauwolf [Tue, 9 Jul 2013 12:24:50 +0000 (14:24 +0200)]
Introduced dynamic loading and Configuration files for CommonAPI.
Introduced possibility to dynamically load generated code for D-Bus at
runtime. Moved parsing of configuration out of AddressTranslator. Added
several unit tests to confirm correctness. Updated generated test files.
gitignore and README updated accordingly.
Change-Id: I44e8ccd904780cb7392fd5ddf82b070759647ad4
Johannes Schanda [Mon, 8 Jul 2013 14:54:02 +0000 (16:54 +0200)]
Fix build error in make check
Philip Rauwolf [Fri, 5 Jul 2013 15:18:35 +0000 (17:18 +0200)]
Improved DBusConnection lifetime and timeout handling for async calls.
Problem was that if some calls never returned, they indirectly kept
a shared_ptr to the Connection for the rest of the program lifetime. The
current workaround in DBusServiceRegistry handled the issue from
application perspective, but did not destroy the libdbus pending calls.
Change-Id: Iacabacec8367924bacf9698211e3f2b63c804dd5
Philip Rauwolf [Mon, 1 Jul 2013 09:35:54 +0000 (11:35 +0200)]
Fixed Demo Mainloop
Philip Rauwolf [Mon, 1 Jul 2013 09:34:16 +0000 (11:34 +0200)]
Re-generated test sources
Philip Rauwolf [Tue, 25 Jun 2013 08:32:06 +0000 (10:32 +0200)]
Removed unnecessary API
Philip Rauwolf [Mon, 24 Jun 2013 12:19:41 +0000 (14:19 +0200)]
Added runtime check that mainloop context is initialized
Stefan Laner [Mon, 17 Jun 2013 14:09:25 +0000 (16:09 +0200)]
Named factory creation
Extended factory creation to use the CommonAPI-D-Bus configuration file.
Change-Id: Iea1fa10df8ebfde88fd891540f60e1cffce58889
Johannes Schanda [Mon, 17 Jun 2013 13:54:39 +0000 (15:54 +0200)]
Clean up registered names on disconnect
Johannes Schanda [Mon, 17 Jun 2013 09:53:18 +0000 (11:53 +0200)]
Add compile guard macro
- Sets a macro preventing inclusion of internal files
- Adds makefile defenition to enable build
- Chnage tests to compile with macro compile guard
Johannes Schanda [Tue, 11 Jun 2013 15:34:44 +0000 (17:34 +0200)]
Multiple connection names from one factory
- Corrects the obsolete check for multiple connection name claims when
registering stubs
- Moves claimedNames set in to DBusConnection
- DBusConnection now handles whether or not it needs to claim or release
names, users can safely call the provided methods without external
checks
- when releasing the last stub using a particular connection name, the
name is released also
Philip Rauwolf [Mon, 10 Jun 2013 14:07:21 +0000 (16:07 +0200)]
Removed commented code