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
Johannes Schanda [Mon, 10 Jun 2013 13:01:58 +0000 (15:01 +0200)]
Remove internal files
Johannes Schanda [Mon, 10 Jun 2013 12:38:34 +0000 (14:38 +0200)]
Update unit tests
- removes obsolete benchmark tests
- removes known broken main loop test
Johannes Schanda [Mon, 10 Jun 2013 12:28:39 +0000 (14:28 +0200)]
Correct thread teardown failure
-Correct thread teardown failure on smart pointer destruction for
internal dispatch
- Correct incorrect service async functionality due to empty master
service list
Johannes Schanda [Fri, 7 Jun 2013 15:20:06 +0000 (17:20 +0200)]
Correct object path handling for nested trees
Philip Rauwolf [Fri, 7 Jun 2013 08:51:13 +0000 (10:51 +0200)]
Merge changes Ia821835a,I1a2f334b,I8912bdc8
* changes:
tests: refactor to support clang compiler
stream: fix assert logic for signature length
object manager: add explicit map instantiation
Johannes Schanda [Fri, 7 Jun 2013 08:28:28 +0000 (10:28 +0200)]
More build correction of self reference
Aleksandar Kanchev [Thu, 6 Jun 2013 09:55:21 +0000 (11:55 +0200)]
tests: refactor to support clang compiler
Aleksandar Kanchev [Thu, 6 Jun 2013 08:28:23 +0000 (10:28 +0200)]
stream: fix assert logic for signature length
signature length is uint8 so checking for length < 256
will always assert true. This also currects logic when
serializing std::string::length() might have different
size than uint8
Aleksandar Kanchev [Thu, 6 Jun 2013 08:38:17 +0000 (10:38 +0200)]
object manager: add explicit map instantiation
fix clang compiler error by explicitly calling the DBusDaemonProxy::PropertyDictStub()
constructor, while constructing the object path and interface names dictionary.
Philip Rauwolf [Thu, 6 Jun 2013 16:44:00 +0000 (18:44 +0200)]
Extended validation for CommonAPI Addresses
Change-Id: I11b234c167092484851f168c2d449ca2e3d1f0a3
Philip Rauwolf [Thu, 6 Jun 2013 15:21:55 +0000 (17:21 +0200)]
Extended documentation for gtest
Philip Rauwolf [Thu, 6 Jun 2013 15:06:05 +0000 (17:06 +0200)]
Added a basic check on validity of CommonAPI addresses for the
DBusAddressTranslator.
Philip Rauwolf [Thu, 6 Jun 2013 11:24:46 +0000 (13:24 +0200)]
Removed "old" inclusions, added inclusion of "CommonAPI.h" instead.
Philip Rauwolf [Thu, 6 Jun 2013 11:24:16 +0000 (13:24 +0200)]
Further fixing the dispatch-issue in DBusConnection
This time for newer compilers that are more strict at differentiating
references and copies when starting a thread
Johannes Schanda [Thu, 6 Jun 2013 09:26:02 +0000 (11:26 +0200)]
Working client side for legacy dbus attributes as fixed types and unions
in franca
Johannes Schanda [Thu, 6 Jun 2013 09:15:12 +0000 (11:15 +0200)]
Pass saftey pointer to dispatch thread as reference to prevent unwanted
copy in thread holder object
Philip Rauwolf [Tue, 4 Jun 2013 11:15:23 +0000 (13:15 +0200)]
Replaced calls to deprecated part of the Factory interface with the
corresponding newly introduced calls.
Aleksandar Kanchev [Tue, 28 May 2013 14:43:15 +0000 (16:43 +0200)]
add support for polymorphic structs
Implement the CommonAPI interface for SerializablePolymorphicStruct
Philip Rauwolf [Mon, 3 Jun 2013 13:00:11 +0000 (15:00 +0200)]
Integrated the DBusServicePublisher to manage services and added an
interface for asynchronous service discovery in the factory. Dedicated
unit tests for both are included. Additionally, some code cleanup was
done.
Change-Id: I0d3ce3a69832d0ce9525ecfd12008f4bdb0c0e85
Philip Rauwolf [Mon, 3 Jun 2013 11:04:56 +0000 (13:04 +0200)]
Some cleanup
Johannes Schanda [Fri, 17 May 2013 15:23:59 +0000 (17:23 +0200)]
Introspection handling for entire tree of superpaths of a registered object path
Philip Rauwolf [Mon, 13 May 2013 14:57:18 +0000 (16:57 +0200)]
Tests for mainloop big data
Johannes Schanda [Wed, 15 May 2013 13:29:44 +0000 (15:29 +0200)]
Fix test on object path registration
Johannes Schanda [Wed, 15 May 2013 09:28:35 +0000 (11:28 +0200)]
Match unit tests to revised attribute api
Johannes Schanda [Fri, 10 May 2013 11:00:57 +0000 (13:00 +0200)]
Change sync attribute getter to match all other sync methods
Johannes Schanda [Mon, 6 May 2013 14:07:17 +0000 (16:07 +0200)]
Fix compile of main loop unit test
Johannes Schanda [Mon, 6 May 2013 10:09:13 +0000 (12:09 +0200)]
Merge "D-Bus Mainloop Context now only requires a DBusConnection, no longer a DBusProxyConnection."
Johannes Schanda [Mon, 6 May 2013 10:09:06 +0000 (12:09 +0200)]
Merge "Added Unit Tests and Demo Implementation for Mainloops"
Johannes Schanda [Mon, 6 May 2013 10:08:35 +0000 (12:08 +0200)]
Merge "Added and integrated necessary D-Bus Mainloop Context"
Aleksandar Kanchev [Mon, 6 May 2013 07:59:50 +0000 (09:59 +0200)]
stream: cleanup getCurrentPosition()
Philip Rauwolf [Thu, 18 Apr 2013 14:26:49 +0000 (16:26 +0200)]
D-Bus Mainloop Context now only requires a DBusConnection, no longer a
DBusProxyConnection.
Change-Id: Ic93aa97117cbb29ef0fcf467e7df6a0bbf818140
Philip Rauwolf [Thu, 18 Apr 2013 14:29:52 +0000 (16:29 +0200)]
Added Unit Tests and Demo Implementation for Mainloops
Change-Id: I51d4f076e22053f32c453f8b70edd29e22149d35
Philip Rauwolf [Thu, 18 Apr 2013 13:35:57 +0000 (15:35 +0200)]
Added and integrated necessary D-Bus Mainloop Context
Change-Id: Ia5c1f4585eabb919a75ec5fdc16c6ba8f053ab6b
Philip Rauwolf [Tue, 16 Apr 2013 07:55:19 +0000 (09:55 +0200)]
Removed std::output in one test
Aleksandar Kanchev [Mon, 15 Apr 2013 09:44:51 +0000 (11:44 +0200)]
properly deregister DBusObjectManager
Aleksandar Kanchev [Mon, 15 Apr 2013 08:46:32 +0000 (10:46 +0200)]
move introspection handling to DBusObjectManager
introspection on the given object path will now display all registered
interfaces
Johannes Schanda [Fri, 5 Apr 2013 09:45:12 +0000 (11:45 +0200)]
Provide a clean API for setting the object path handler function
Johannes Schanda [Thu, 4 Apr 2013 11:28:31 +0000 (13:28 +0200)]
Allow custom callbacks for dbus object path registration
Johannes Schanda [Thu, 4 Apr 2013 09:37:27 +0000 (11:37 +0200)]
Move objectpath functions to proxy connection, make objectmanager use it
instead of connection
Aleksandar Kanchev [Fri, 22 Mar 2013 11:15:56 +0000 (12:15 +0100)]
tests: whitespace cleanup
Aleksandar Kanchev [Fri, 22 Mar 2013 11:15:42 +0000 (12:15 +0100)]
build: don't install the internal murmurhash library
Philip Rauwolf [Fri, 22 Mar 2013 08:56:23 +0000 (09:56 +0100)]
Updated test files
Aleksandar Kanchev [Thu, 21 Mar 2013 17:26:55 +0000 (18:26 +0100)]
build: make use of system extensions (_GNU_SOURCE)
Philip Rauwolf [Wed, 20 Mar 2013 16:17:03 +0000 (17:17 +0100)]
Extended DBusTestUtils
Philip Rauwolf [Wed, 20 Mar 2013 16:16:47 +0000 (17:16 +0100)]
Further improvement of timing in test cases
Philip Rauwolf [Wed, 20 Mar 2013 16:15:37 +0000 (17:15 +0100)]
Removed unnecessary timeout and possible source of "simple" failures.
Philip Rauwolf [Wed, 20 Mar 2013 15:51:54 +0000 (16:51 +0100)]
Updated TODO
Philip Rauwolf [Wed, 20 Mar 2013 10:31:26 +0000 (11:31 +0100)]
Moved two declarations to more sensible place and changed order of
execution in DBusConnection->disconnect.
Philip Rauwolf [Wed, 20 Mar 2013 10:29:39 +0000 (11:29 +0100)]
Added (commented) test for suspending the dispatch-thread within
DBusConnection to DBusCommunicationTest. Commented, because two
functions in DBusConnection need to be made public for this test to
execute. Also removed unused variable in DBusConnectionTest.
Philip Rauwolf [Wed, 20 Mar 2013 10:27:35 +0000 (11:27 +0100)]
Increased responsiveness of DBusServiceRegistry
Philip Rauwolf [Wed, 20 Mar 2013 10:26:47 +0000 (11:26 +0100)]
Bugfix: Prevented concurrent modification within DBusObjectManager
Philip Rauwolf [Wed, 20 Mar 2013 10:24:17 +0000 (11:24 +0100)]
Added description and usage of D-Bus address config files to README