profile/ivi/common-api-dbus-runtime.git
9 years agoPackaging: add missing de pendency to pkgconfig 25/28125/1 accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0_ivi accepted/tizen_ivi devel/ivi tizen tizen_3.0.m14.3_ivi tizen_3.0_ivi accepted/tizen/ivi/20140929.165802 submit/devel/ivi/20160127.051645 submit/tizen_ivi/20140929.111118 tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Kévin THIERRY [Fri, 26 Sep 2014 11:36:54 +0000 (13:36 +0200)]
Packaging: add missing de pendency to pkgconfig

Change-Id: Ibf9eb2f48a1989ddec9b6b37c94ecec6124ef844
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agoAdd .changes file with initial release notes accepted/tizen/ivi/20140814.202022 submit/tizen_ivi/20140813.104307
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>
9 years agoAdd a workaround to DBusMessage.cpp build failure
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>
9 years agoAdd tizen packaging files
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>
9 years agoAdd .gbs.conf
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>
9 years agoAdded NEWS file for release 2.1.6 upstream 2.1.6
Juergen Gehring [Thu, 12 Jun 2014 09:05:04 +0000 (11:05 +0200)]
Added NEWS file for release 2.1.6

10 years agoMerge branch 'master' of https://asc-repo.bmwgroup.net/gerrit/ascgit017.CommonAPI...
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

10 years agoCommented out disabled connection test.
Juergen Gehring [Thu, 8 May 2014 14:11:41 +0000 (16:11 +0200)]
Commented out disabled connection test.

10 years agofixed unsubscribe mechanism in DBusEvent and added additional tests for 2.1.6-rc0
Stefan Laner [Tue, 22 Apr 2014 13:15:05 +0000 (15:15 +0200)]
fixed unsubscribe mechanism in DBusEvent and added additional tests for
Broadcasts

10 years agoremoved compile warnings in DBusBraodcastTest
Stefan Laner [Wed, 9 Apr 2014 08:36:46 +0000 (10:36 +0200)]
removed compile warnings in DBusBraodcastTest

10 years agoBugfix: DBusEvent does only remove its own subscriptions on unsubscribe
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

10 years agoMerge branch 'master' of https://asc-repo.bmwgroup.net/gerrit/ascgit017.CommonAPI...
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

10 years agoDocumentation cleanup.
Juergen Gehring [Tue, 15 Apr 2014 14:54:12 +0000 (16:54 +0200)]
Documentation cleanup.

10 years agoTemporarily removing DBusBroadcastTest.cpp from .sln as the test fails with an assert...
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

10 years agofixed compilation problem in DBusBroadcastTest.cpp on Windows
Michael Bauer [Mon, 14 Apr 2014 12:12:48 +0000 (14:12 +0200)]
fixed compilation problem in DBusBroadcastTest.cpp on Windows

10 years agoLicense for pugixml added.
Juergen Gehring [Mon, 14 Apr 2014 09:44:17 +0000 (11:44 +0200)]
License for pugixml added.

10 years agoMerge "improved DBusBroadcastTest and DBusLoadTest"
Jürgen Gehring [Mon, 14 Apr 2014 09:41:50 +0000 (11:41 +0200)]
Merge "improved DBusBroadcastTest and DBusLoadTest"

10 years agoProject settings in project files reworked.
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.

10 years agoProject settings in project files reworked.
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.

10 years agoimproved DBusBroadcastTest and DBusLoadTest
Stefan Laner [Wed, 9 Apr 2014 13:53:09 +0000 (15:53 +0200)]
improved DBusBroadcastTest and DBusLoadTest

Change-Id: I413fd262a1c965f8c915180d092408f56f57356e

10 years agopushed wait time in DBusServiceRegistryTest.SubscribeBeforeConnectWorks to 5 seconds...
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

10 years agoremoving VERBOSE command line flags
Michael Bauer [Fri, 4 Apr 2014 11:53:54 +0000 (13:53 +0200)]
removing VERBOSE command line flags

10 years agomaking Unittests.vcxproj compile and adapting README to tell developer how he is...
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

10 years agomodified vcxproj file of UnitTests to now use environment variables and relative...
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

10 years agomodified vcxproj file of CommonAPI-DBus to now use environment variables and relative...
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

10 years agoadded unit tests for broadcast subscriptions. renamed unit test
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

10 years agoImplemented stub support for org.freedesktop.DBus.Properties
Stefan Laner [Thu, 13 Mar 2014 13:15:28 +0000 (14:15 +0100)]
Implemented stub support for org.freedesktop.DBus.Properties

Change-Id: I75abc2e75643ff8da51795787970d55cf4e470c2

10 years agoBetter CMake support in pc file for examples, adapted git config files for windows...
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

10 years agoSome minor changes in the configure script
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

10 years agoincreased library interface revision number
Stefan Laner [Wed, 19 Mar 2014 15:12:34 +0000 (16:12 +0100)]
increased library interface revision number

10 years agoAdded a test to control if it isnt possible to access the Stubadapter
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

10 years agoFixed a compile warning
Patrick Sattler [Mon, 10 Mar 2014 12:38:10 +0000 (13:38 +0100)]
Fixed a compile warning

10 years agoRemoved fulfilling of purely internal promises in ServiceRegistry.
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

10 years agofix for GENIVI bug 164 "Interface names starting with org.freedesktop.*
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"

10 years agoAll public inline functions arn't anymore inline
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

10 years agoTimeout for introspection call in DBusServiceRegistry set to default
Stefan Laner [Fri, 28 Feb 2014 17:25:03 +0000 (18:25 +0100)]
Timeout for introspection call in DBusServiceRegistry set to default
value

10 years agoFixed some compile warnings
Patrick Sattler [Tue, 18 Feb 2014 13:51:07 +0000 (14:51 +0100)]
Fixed some compile warnings

Change-Id: I2a35fc2adc0c3e2484a1be260da20d0a4ab92ed6

10 years agoWindows support, fixed attribute handling with inherited interfaces
Stefan Laner [Mon, 24 Feb 2014 08:57:40 +0000 (09:57 +0100)]
Windows support, fixed attribute handling with inherited interfaces

Change-Id: I8c0248d25f267333878166dbab790e4ffa353e54

10 years agoChanged doxygen title to GENIVI IPC Common API DBus C++ and increased
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

10 years agoincreased version number to 2.1.5 and regenerated code for test fidl 2.1.5
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

10 years agoLoadTest using async calls
Arnaud Fietzke [Mon, 11 Nov 2013 13:22:29 +0000 (14:22 +0100)]
LoadTest using async calls

Change-Id: Ib58ab810586bd13261da4cea2d30461f34bdf667

10 years agoExtended DBusManagedTest
Stefan Laner [Mon, 9 Dec 2013 18:21:37 +0000 (19:21 +0100)]
Extended DBusManagedTest

Change-Id: I62457137eff21850744ed22058e119a4a850160e

10 years agoBroke shared_ptr cycle between generated stub, DBusStubAdapter and
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

10 years agoFixed bug that prevents proxy connections from being destroyed because
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

10 years agoMerged fix for inherited interfaces and version attribute. Regenerated
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

10 years agoFix for inherited interfaces and tests for that including generated code
Stefan Laner [Sat, 23 Nov 2013 00:14:27 +0000 (01:14 +0100)]
Fix for inherited interfaces and tests for that including generated code

10 years agoFix for GLIPCI-165.
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

10 years agoFixed interfaceVersion attribute and added test for that
Stefan Laner [Thu, 14 Nov 2013 01:09:54 +0000 (02:09 +0100)]
Fixed interfaceVersion attribute and added test for that

10 years agoremoved test which does not compile because code generator does not 2.1.4
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.

10 years agoRevert "added missing type / method in fidl-files for tests updated generated code"
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.

10 years agoadded missing type / method in fidl-files for tests
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

10 years agoadded test for two managers for the same interface
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

10 years agoUpdate version to 2.1.4
Johannes Schanda [Mon, 11 Nov 2013 12:22:01 +0000 (13:22 +0100)]
Update version to 2.1.4

10 years agoAdd missing return statement
Juergen Gehring [Tue, 5 Nov 2013 16:44:53 +0000 (17:44 +0100)]
Add missing return statement

10 years agoRemoved merging relics
Philip Rauwolf [Wed, 30 Oct 2013 09:19:46 +0000 (10:19 +0100)]
Removed merging relics

10 years agoFixed (de-)serialization of polymorphic structs.
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

10 years agoRe-generated code
Philip Rauwolf [Tue, 29 Oct 2013 15:39:46 +0000 (16:39 +0100)]
Re-generated code

10 years agoadded struct containing a map with enum key to
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

10 years agoRemoved limitation on Managed Services 2.1.3
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

10 years agoFix include dir to be only major.minor version
Johannes Schanda [Wed, 23 Oct 2013 15:53:56 +0000 (17:53 +0200)]
Fix include dir to be only major.minor version

10 years agoFixed issue in (de-)serialization of arrays of maps.
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.

10 years agoAdded micro version and check on it
Philip Rauwolf [Wed, 16 Oct 2013 09:00:07 +0000 (11:00 +0200)]
Added micro version and check on it

10 years agoDeprecated facotry-based registration for stubs fixed
Johannes Schanda [Wed, 9 Oct 2013 09:57:11 +0000 (11:57 +0200)]
Deprecated facotry-based registration for stubs fixed

10 years agoFixed Bug in DemoMainLoop implementation and a corresponding test.
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.

10 years agoCorrect packaging issues
Johannes Schanda [Tue, 1 Oct 2013 12:40:59 +0000 (14:40 +0200)]
Correct packaging issues

10 years agoMarked commented test as DISABLED so that it is not forgotten entirely.
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.

10 years agoPrevented crash on unanticipated name changes 2.1.1 2.1.2
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.

10 years agoAdd managed services 2.1.0
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

10 years agoAdded version information to MiddlewareInfo.
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.

10 years agoRevert "Install pugixml header where needed"
Philip Rauwolf [Mon, 16 Sep 2013 15:36:44 +0000 (17:36 +0200)]
Revert "Install pugixml header where needed"

This reverts commit 167eb533d7ed8af7b977f8e26508cb233fdb76a9.

10 years agoFix incorrect transmission of selective signals
Johannes Schanda [Fri, 13 Sep 2013 16:12:44 +0000 (18:12 +0200)]
Fix incorrect transmission of selective signals

10 years agoInstall pugixml header where needed
Johannes Schanda [Fri, 13 Sep 2013 15:05:34 +0000 (17:05 +0200)]
Install pugixml header where needed

10 years agoMakefile rule doc for all documentation
Johannes Schanda [Fri, 13 Sep 2013 13:29:30 +0000 (15:29 +0200)]
Makefile rule doc for all documentation

10 years agoCorrected bug in ObservableReadony attributes
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

10 years agoFixed some subtle bugs.
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.

10 years agoUpdate library api version number for 2.1
Johannes Schanda [Thu, 5 Sep 2013 15:07:10 +0000 (17:07 +0200)]
Update library api version number for 2.1

10 years agoDoxygen main page description
Johannes Schanda [Thu, 5 Sep 2013 12:52:41 +0000 (14:52 +0200)]
Doxygen main page description

10 years agoAdded support for selective broadcasts
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

10 years agoMerge "Fixed logic error in tests on dynamic loading"
Johannes Schanda [Tue, 27 Aug 2013 16:03:33 +0000 (18:03 +0200)]
Merge "Fixed logic error in tests on dynamic loading"

10 years agoFixed 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.

10 years agoWorks correctly on GCC 4.8
Johannes Schanda [Fri, 23 Aug 2013 13:36:18 +0000 (15:36 +0200)]
Works correctly on GCC 4.8

10 years agoLinker flags in pkgconfig ensure all symbols
Johannes Schanda [Thu, 22 Aug 2013 14:08:54 +0000 (16:08 +0200)]
Linker flags in pkgconfig ensure all symbols

Change-Id: Idc938f91b1ad33fee21f3cfa03896990327be213

10 years agoCorrected comments with regard to mainloop integration
Johannes Schanda [Wed, 7 Aug 2013 14:36:26 +0000 (16:36 +0200)]
Corrected comments with regard to mainloop integration

10 years agochanged project version to 2.1
Manfred Bathelt [Wed, 31 Jul 2013 15:03:57 +0000 (08:03 -0700)]
changed project version to 2.1

10 years agoMerge "doc: configured doxygen document generation"
Aleksandar Kanchev [Wed, 31 Jul 2013 15:07:30 +0000 (17:07 +0200)]
Merge "doc: configured doxygen document generation"

10 years agodoc: 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

10 years agoIntroduced DBusClientId to identify callers within stubs.
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

10 years agoMerge "Introduced dynamic loading and Configuration files for CommonAPI."
Aleksandar Kanchev [Wed, 24 Jul 2013 07:49:59 +0000 (09:49 +0200)]
Merge "Introduced dynamic loading and Configuration files for CommonAPI."

10 years agoCheck for illegal proxy builds in callbacks 2.1-pre2
Johannes Schanda [Wed, 10 Jul 2013 08:31:03 +0000 (10:31 +0200)]
Check for illegal proxy builds in callbacks

10 years agoIntroduced dynamic loading and Configuration files for CommonAPI.
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

10 years agoFix build error in make check
Johannes Schanda [Mon, 8 Jul 2013 14:54:02 +0000 (16:54 +0200)]
Fix build error in make check

10 years agoImproved DBusConnection lifetime and timeout handling for async calls.
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

10 years agoFixed Demo Mainloop
Philip Rauwolf [Mon, 1 Jul 2013 09:35:54 +0000 (11:35 +0200)]
Fixed Demo Mainloop

10 years agoRe-generated test sources
Philip Rauwolf [Mon, 1 Jul 2013 09:34:16 +0000 (11:34 +0200)]
Re-generated test sources

10 years agoRemoved unnecessary API
Philip Rauwolf [Tue, 25 Jun 2013 08:32:06 +0000 (10:32 +0200)]
Removed unnecessary API

10 years agoAdded runtime check that mainloop context is initialized 2.1-pre1
Philip Rauwolf [Mon, 24 Jun 2013 12:19:41 +0000 (14:19 +0200)]
Added runtime check that mainloop context is initialized

10 years agoNamed factory creation
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

10 years agoClean up registered names on disconnect
Johannes Schanda [Mon, 17 Jun 2013 13:54:39 +0000 (15:54 +0200)]
Clean up registered names on disconnect

10 years agoAdd compile guard macro
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

10 years agoMultiple connection names from one factory
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