profile/ivi/common-api-dbus-runtime.git
11 years agoIntrospection handling for entire tree of superpaths of a registered object path 2.0.5
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

11 years agoTests for mainloop big data 2.0.4
Philip Rauwolf [Mon, 13 May 2013 14:57:18 +0000 (16:57 +0200)]
Tests for mainloop big data

11 years agoFix test on object path registration
Johannes Schanda [Wed, 15 May 2013 13:29:44 +0000 (15:29 +0200)]
Fix test on object path registration

11 years agoMatch unit tests to revised attribute api
Johannes Schanda [Wed, 15 May 2013 09:28:35 +0000 (11:28 +0200)]
Match unit tests to revised attribute api

11 years agoChange sync attribute getter to match all other sync methods 2.0.3
Johannes Schanda [Fri, 10 May 2013 11:00:57 +0000 (13:00 +0200)]
Change sync attribute getter to match all other sync methods

11 years agoFix compile of main loop unit test
Johannes Schanda [Mon, 6 May 2013 14:07:17 +0000 (16:07 +0200)]
Fix compile of main loop unit test

11 years agoMerge "D-Bus Mainloop Context now only requires a DBusConnection, no longer a DBusPro...
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."

11 years agoMerge "Added Unit Tests and Demo Implementation for Mainloops"
Johannes Schanda [Mon, 6 May 2013 10:09:06 +0000 (12:09 +0200)]
Merge "Added Unit Tests and Demo Implementation for Mainloops"

11 years agoMerge "Added and integrated necessary D-Bus Mainloop Context"
Johannes Schanda [Mon, 6 May 2013 10:08:35 +0000 (12:08 +0200)]
Merge "Added and integrated necessary D-Bus Mainloop Context"

11 years agostream: cleanup getCurrentPosition()
Aleksandar Kanchev [Mon, 6 May 2013 07:59:50 +0000 (09:59 +0200)]
stream: cleanup getCurrentPosition()

11 years agoD-Bus Mainloop Context now only requires a DBusConnection, no longer a
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

11 years agoAdded Unit Tests and Demo Implementation for Mainloops
Philip Rauwolf [Thu, 18 Apr 2013 14:29:52 +0000 (16:29 +0200)]
Added Unit Tests and Demo Implementation for Mainloops

Change-Id: I51d4f076e22053f32c453f8b70edd29e22149d35

11 years agoAdded and integrated necessary D-Bus Mainloop Context
Philip Rauwolf [Thu, 18 Apr 2013 13:35:57 +0000 (15:35 +0200)]
Added and integrated necessary D-Bus Mainloop Context

Change-Id: Ia5c1f4585eabb919a75ec5fdc16c6ba8f053ab6b

11 years agoRemoved std::output in one test
Philip Rauwolf [Tue, 16 Apr 2013 07:55:19 +0000 (09:55 +0200)]
Removed std::output in one test

11 years agoproperly deregister DBusObjectManager
Aleksandar Kanchev [Mon, 15 Apr 2013 09:44:51 +0000 (11:44 +0200)]
properly deregister DBusObjectManager

11 years agomove introspection handling to 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

11 years agoProvide a clean API for setting the object path handler function
Johannes Schanda [Fri, 5 Apr 2013 09:45:12 +0000 (11:45 +0200)]
Provide a clean API for setting the object path handler function

11 years agoAllow custom callbacks for dbus object path registration
Johannes Schanda [Thu, 4 Apr 2013 11:28:31 +0000 (13:28 +0200)]
Allow custom callbacks for dbus object path registration

11 years agoMove objectpath functions to proxy connection, make objectmanager use it
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

11 years agotests: whitespace cleanup
Aleksandar Kanchev [Fri, 22 Mar 2013 11:15:56 +0000 (12:15 +0100)]
tests: whitespace cleanup

11 years agobuild: don't install the internal murmurhash library
Aleksandar Kanchev [Fri, 22 Mar 2013 11:15:42 +0000 (12:15 +0100)]
build: don't install the internal murmurhash library

11 years agoUpdated test files
Philip Rauwolf [Fri, 22 Mar 2013 08:56:23 +0000 (09:56 +0100)]
Updated test files

11 years agobuild: make use of system extensions (_GNU_SOURCE)
Aleksandar Kanchev [Thu, 21 Mar 2013 17:26:55 +0000 (18:26 +0100)]
build: make use of system extensions (_GNU_SOURCE)

11 years agoExtended DBusTestUtils 2.0.2
Philip Rauwolf [Wed, 20 Mar 2013 16:17:03 +0000 (17:17 +0100)]
Extended DBusTestUtils

11 years agoFurther improvement of timing in test cases
Philip Rauwolf [Wed, 20 Mar 2013 16:16:47 +0000 (17:16 +0100)]
Further improvement of timing in test cases

11 years agoRemoved unnecessary timeout and possible source of "simple" failures.
Philip Rauwolf [Wed, 20 Mar 2013 16:15:37 +0000 (17:15 +0100)]
Removed unnecessary timeout and possible source of "simple" failures.

11 years agoUpdated TODO
Philip Rauwolf [Wed, 20 Mar 2013 15:51:54 +0000 (16:51 +0100)]
Updated TODO

11 years agoMoved two declarations to more sensible place and changed order of
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.

11 years agoAdded (commented) test for suspending the dispatch-thread within
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.

11 years agoIncreased responsiveness of DBusServiceRegistry
Philip Rauwolf [Wed, 20 Mar 2013 10:27:35 +0000 (11:27 +0100)]
Increased responsiveness of DBusServiceRegistry

11 years agoBugfix: Prevented concurrent modification within DBusObjectManager
Philip Rauwolf [Wed, 20 Mar 2013 10:26:47 +0000 (11:26 +0100)]
Bugfix: Prevented concurrent modification within DBusObjectManager

11 years agoAdded description and usage of D-Bus address config files to README
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

11 years agoImproved timing and responsiveness of several tests.
Philip Rauwolf [Tue, 19 Mar 2013 09:46:20 +0000 (10:46 +0100)]
Improved timing and responsiveness of several tests.

11 years agoAdded a return of "false" if the dbus connection name could not be
Philip Rauwolf [Tue, 19 Mar 2013 09:44:27 +0000 (10:44 +0100)]
Added a return of "false" if the dbus connection name could not be
accquired.

11 years agoPrevented independent double instantiation of DBusObjectManager and
Philip Rauwolf [Tue, 19 Mar 2013 09:35:39 +0000 (10:35 +0100)]
Prevented independent double instantiation of DBusObjectManager and
DBusServiceRegistry within the DBusConnection. Also prevented access
to the not-yet-instantiated DBusObjectManager member variable of
DBusConnection when an external call arrives "too early".

11 years agoAdded mechanism to suspend dispatching while some blocking call is
Philip Rauwolf [Mon, 18 Mar 2013 11:15:32 +0000 (12:15 +0100)]
Added mechanism to suspend dispatching while some blocking call is
underway.

11 years agoImproved semantics of python fake legacy service
Philip Rauwolf [Mon, 18 Mar 2013 10:08:51 +0000 (11:08 +0100)]
Improved semantics of python fake legacy service

11 years agoEliminated unnecessary mutex in ServiceRegistry (obsolete since locking
Philip Rauwolf [Thu, 14 Mar 2013 13:15:41 +0000 (14:15 +0100)]
Eliminated unnecessary mutex in ServiceRegistry (obsolete since locking
also happens in Event.h, rarely even led to deadlocks)

11 years agoFixed bug that allowed the destructor of a proxy to access invalid 2.0.1
Philip Rauwolf [Wed, 13 Mar 2013 09:48:24 +0000 (10:48 +0100)]
Fixed bug that allowed the destructor of a proxy to access invalid
memory, thus causing segfaults

11 years agoSmall corrections in some tests
Philip Rauwolf [Tue, 12 Mar 2013 15:15:57 +0000 (16:15 +0100)]
Small corrections in some tests

11 years agoIncreased responsiveness of "isAvailableBlocking" by lowering the
Philip Rauwolf [Tue, 12 Mar 2013 15:09:06 +0000 (16:09 +0100)]
Increased responsiveness of "isAvailableBlocking" by lowering the
timeout from 100ms to 2ms

11 years agoUpdated TODO
Philip Rauwolf [Tue, 12 Mar 2013 15:05:43 +0000 (16:05 +0100)]
Updated TODO

11 years agoUpdated DBusConnectionTest to current version of CommonAPI, integrated
Philip Rauwolf [Tue, 12 Mar 2013 15:05:29 +0000 (16:05 +0100)]
Updated DBusConnectionTest to current version of CommonAPI, integrated
it into current test suite

11 years agoadd libtool version-info support
Aleksandar Kanchev [Tue, 12 Mar 2013 11:20:13 +0000 (12:20 +0100)]
add libtool version-info support

11 years agoImproved timing in MultipleConnectionTest
Philip Rauwolf [Mon, 11 Mar 2013 14:31:50 +0000 (15:31 +0100)]
Improved timing in MultipleConnectionTest

11 years agoPrevented dispatch mechanism from returning into an undefined
Philip Rauwolf [Mon, 11 Mar 2013 14:12:26 +0000 (15:12 +0100)]
Prevented dispatch mechanism from returning into an undefined
(already destructed) environment.

11 years agoDBusConnection: Removed unused variable, enabled safe double deletion of
Philip Rauwolf [Mon, 11 Mar 2013 10:20:26 +0000 (11:20 +0100)]
DBusConnection: Removed unused variable, enabled safe double deletion of
signal handlers.

11 years agoSet version 2.0 in package version
Johannes Schanda [Thu, 7 Mar 2013 15:15:47 +0000 (16:15 +0100)]
Set version 2.0 in package version

11 years agoFix two rare segfaults in connection signal and disconnect, gpt_6_1_pre
Johannes Schanda [Wed, 6 Mar 2013 15:35:29 +0000 (16:35 +0100)]
Fix two rare segfaults in connection signal and disconnect,
improve timing in multiple connection test

11 years agoRemoved another potential deadlock that happened during construction of
Philip Rauwolf [Wed, 6 Mar 2013 09:57:46 +0000 (10:57 +0100)]
Removed another potential deadlock that happened during construction of
the serviceRegistry

11 years agoFixed rare deadlock at resolution of non-available services.
Philip Rauwolf [Tue, 5 Mar 2013 15:32:27 +0000 (16:32 +0100)]
Fixed rare deadlock at resolution of non-available services.

11 years agoFixed the previous fix, as it still was possible for a callback-object
Philip Rauwolf [Tue, 5 Mar 2013 09:55:28 +0000 (10:55 +0100)]
Fixed the previous fix, as it still was possible for a callback-object
to operate on a nulled pointer to the stub.

11 years agoPrevented stub from being destroyed while messages are being handled.
Philip Rauwolf [Tue, 5 Mar 2013 09:10:47 +0000 (10:10 +0100)]
Prevented stub from being destroyed while messages are being handled.

11 years agoRemoved dead code
Philip Rauwolf [Tue, 5 Mar 2013 09:08:28 +0000 (10:08 +0100)]
Removed dead code

11 years ago"Remote Errors" now are actually forwarded as such
Philip Rauwolf [Mon, 4 Mar 2013 17:44:33 +0000 (18:44 +0100)]
"Remote Errors" now are actually forwarded as such

11 years agoRemoved shared pointer that prevented destruction of other objects
Philip Rauwolf [Mon, 4 Mar 2013 15:56:18 +0000 (16:56 +0100)]
Removed shared pointer that prevented destruction of other objects

11 years agoPrevented self-joining of the DBusConnection's dispatch thread on
Philip Rauwolf [Mon, 4 Mar 2013 14:56:00 +0000 (15:56 +0100)]
Prevented self-joining of the DBusConnection's dispatch thread on
destruction

11 years agoRemoved debug message
Philip Rauwolf [Fri, 1 Mar 2013 14:37:10 +0000 (15:37 +0100)]
Removed debug message

11 years agoFixed occasional deadlock that occurred when dbus connection got
Philip Rauwolf [Fri, 1 Mar 2013 11:49:35 +0000 (12:49 +0100)]
Fixed occasional deadlock that occurred when dbus connection got
destroyed

11 years agotests: extensive DBusServiceRegistry predefined instance tests
Aleksandar Kanchev [Fri, 1 Mar 2013 10:15:11 +0000 (11:15 +0100)]
tests: extensive DBusServiceRegistry predefined instance tests

11 years agofix DBusServiceRegistry predefined services support
Aleksandar Kanchev [Fri, 1 Mar 2013 10:14:07 +0000 (11:14 +0100)]
fix DBusServiceRegistry predefined services support

11 years agoCorrect deregistration of services in tests
Philip Rauwolf [Fri, 1 Mar 2013 09:58:01 +0000 (10:58 +0100)]
Correct deregistration of services in tests

11 years agoMoved service management down to middleware implementation
Philip Rauwolf [Fri, 1 Mar 2013 09:56:37 +0000 (10:56 +0100)]
Moved service management down to middleware implementation

11 years agoCorrected tests with regards to deregistration of services
Philip Rauwolf [Thu, 28 Feb 2013 18:13:51 +0000 (19:13 +0100)]
Corrected tests with regards to deregistration of services

11 years agoAdded a way to deinitialize running services
Philip Rauwolf [Thu, 28 Feb 2013 18:05:47 +0000 (19:05 +0100)]
Added a way to deinitialize running services

11 years agoSmall adaptions in test-cases for new dependency-structure around
Philip Rauwolf [Thu, 28 Feb 2013 15:50:29 +0000 (16:50 +0100)]
Small adaptions in test-cases for new dependency-structure around
DBusConnection.

11 years agoRemoved the tests referring to the no longer existing
Philip Rauwolf [Thu, 28 Feb 2013 15:49:29 +0000 (16:49 +0100)]
Removed the tests referring to the no longer existing
ServiceStatusEvent, adapted remaining tests in ServiceRegistryTests

11 years agoRemoved ServiceStatusEvent from DBusServiceRegistry. Also removed an
Philip Rauwolf [Thu, 28 Feb 2013 15:41:16 +0000 (16:41 +0100)]
Removed ServiceStatusEvent from DBusServiceRegistry. Also removed an
unused empty constructor.

11 years agoSolved circular dependencies between DBusConnection and
Philip Rauwolf [Thu, 28 Feb 2013 15:39:13 +0000 (16:39 +0100)]
Solved circular dependencies between DBusConnection and
DBusServiceRegistry/DBusObjectManager, removed DBusDaemonProxy entirely
from DBusConnection

11 years agoBroke up circular dependency of DBusDaemonProxy and DBusConnection
Philip Rauwolf [Thu, 28 Feb 2013 10:32:21 +0000 (11:32 +0100)]
Broke up circular dependency of DBusDaemonProxy and DBusConnection

11 years agoAddress Translator rewrite to more efficient implementation
Johannes Schanda [Thu, 28 Feb 2013 10:12:58 +0000 (11:12 +0100)]
Address Translator rewrite to more efficient implementation

11 years agotests: Various timing fixes
Johannes Schanda [Thu, 28 Feb 2013 09:21:19 +0000 (10:21 +0100)]
tests: Various timing fixes

11 years agoCorrect order of include paths
Johannes Schanda [Thu, 28 Feb 2013 08:41:30 +0000 (09:41 +0100)]
Correct order of include paths

11 years agocorrect getAvailableServiceInstances() wait logic
Aleksandar Kanchev [Wed, 27 Feb 2013 18:12:44 +0000 (19:12 +0100)]
correct getAvailableServiceInstances() wait logic

11 years agoadd subscribe/unsubscribe methods for DBusServiceRegistry
Aleksandar Kanchev [Wed, 27 Feb 2013 16:03:42 +0000 (17:03 +0100)]
add subscribe/unsubscribe methods for DBusServiceRegistry

11 years agotests: DBusProxyTest reuse registerTestStub() in ServiceStatus
Aleksandar Kanchev [Wed, 27 Feb 2013 12:54:08 +0000 (13:54 +0100)]
tests: DBusProxyTest reuse registerTestStub() in ServiceStatus

11 years agoFixed broken DBusServiceRegistryTest
Philip Rauwolf [Wed, 27 Feb 2013 12:52:18 +0000 (13:52 +0100)]
Fixed broken DBusServiceRegistryTest

11 years agotests: fix blocking semantic in DBusProxyTest
Aleksandar Kanchev [Tue, 26 Feb 2013 16:23:16 +0000 (17:23 +0100)]
tests: fix blocking semantic in DBusProxyTest

11 years agotests: correct bus name in DBusProxyTest
Aleksandar Kanchev [Mon, 25 Feb 2013 17:27:27 +0000 (18:27 +0100)]
tests: correct bus name in DBusProxyTest

11 years agoregister DBusProxy directly to DBusServiceRegistry
Aleksandar Kanchev [Tue, 26 Feb 2013 16:27:08 +0000 (17:27 +0100)]
register DBusProxy directly to DBusServiceRegistry

not through the event

11 years agorework DBusServiceRegistry semantic
Aleksandar Kanchev [Mon, 25 Feb 2013 11:33:23 +0000 (12:33 +0100)]
rework DBusServiceRegistry semantic

only ask for remote objects when needed to, i.e.
if someone is waiting for an instance to get alive.
Try to expand all connected bus services only on
getAvailableServiceInstances().
The IsReady* logic is removed.

11 years agoDBusConnectionStatusEvent: AVAILABLE on subscribe if isConnected
Aleksandar Kanchev [Fri, 22 Feb 2013 12:42:43 +0000 (13:42 +0100)]
DBusConnectionStatusEvent: AVAILABLE on subscribe if isConnected

Same behaviour as ProxyStatusEvent

11 years agoCorrected length expectation for map-datatypes in OutputStreamTest
Philip Rauwolf [Wed, 27 Feb 2013 09:26:39 +0000 (10:26 +0100)]
Corrected length expectation for map-datatypes in OutputStreamTest

11 years agoEliminated compile time errors in DBusAddressTranslatorTest.cpp
Philip Rauwolf [Tue, 26 Feb 2013 17:25:40 +0000 (18:25 +0100)]
Eliminated compile time errors in DBusAddressTranslatorTest.cpp

11 years agoAdded Test for Proxies: Async Callbacks should be called even if the
Philip Rauwolf [Tue, 26 Feb 2013 17:25:18 +0000 (18:25 +0100)]
Added Test for Proxies: Async Callbacks should be called even if the
proxy is marked as "NOT_AVAILABLE"

11 years agoAdd hash specialization for dbus service tuple
Johannes Schanda [Tue, 26 Feb 2013 16:48:27 +0000 (17:48 +0100)]
Add hash specialization for dbus service tuple

11 years agopredefined service support in config file
Johannes Schanda [Tue, 26 Feb 2013 16:05:12 +0000 (17:05 +0100)]
predefined service support in config file

11 years agoResolve unused variable warnings
Johannes Schanda [Mon, 25 Feb 2013 09:20:19 +0000 (10:20 +0100)]
Resolve unused variable warnings

11 years agotests: extend DBusProxyTest
Aleksandar Kanchev [Fri, 22 Feb 2013 19:00:42 +0000 (20:00 +0100)]
tests: extend DBusProxyTest

disconnect stub after proxy service tests

11 years agofix connect() after disconnect() in DBusConnection
Aleksandar Kanchev [Fri, 22 Feb 2013 18:54:28 +0000 (19:54 +0100)]
fix connect() after disconnect() in DBusConnection

11 years agoAdded Tests for DBusServiceRegistry, added corresponding binary to
Philip Rauwolf [Fri, 22 Feb 2013 18:45:47 +0000 (19:45 +0100)]
Added Tests for DBusServiceRegistry, added corresponding binary to
gitignore

11 years agoStreamlined code
Philip Rauwolf [Fri, 22 Feb 2013 18:45:19 +0000 (19:45 +0100)]
Streamlined code

11 years agoExpanded DBusTestUtils.h
Philip Rauwolf [Fri, 22 Feb 2013 17:22:56 +0000 (18:22 +0100)]
Expanded DBusTestUtils.h

11 years agoFixed alignment error when reading/writing sth AFTER a boolean value
Philip Rauwolf [Fri, 22 Feb 2013 17:14:25 +0000 (18:14 +0100)]
Fixed alignment error when reading/writing sth AFTER a boolean value

11 years agoStatus event must register for all proxies
Johannes Schanda [Fri, 22 Feb 2013 16:25:30 +0000 (17:25 +0100)]
Status event must register for all proxies

11 years agoFixed a bug that occurred when reading/writing map elements
Philip Rauwolf [Fri, 22 Feb 2013 13:36:45 +0000 (14:36 +0100)]
Fixed a bug that occurred when reading/writing map elements

11 years agoOn service not available, callbacks of method calls will be called
Philip Rauwolf [Thu, 21 Feb 2013 16:03:13 +0000 (17:03 +0100)]
On service not available, callbacks of method calls will be called
with the correct callStatus nevertheless.

11 years agoswitch DBusProxy to DBusProxyBase
Aleksandar Kanchev [Fri, 22 Feb 2013 10:09:04 +0000 (11:09 +0100)]
switch DBusProxy to DBusProxyBase

keep the old interface, won't break existing generated code. Simplifies
stuff a bit, since they're already implemented in DBusProxyBase. Adds
continuous tracking of service status for the life time of the proxy
instance.

11 years agoswitch DBusDaemonProxy to DBusProxyBase
Aleksandar Kanchev [Thu, 21 Feb 2013 18:07:45 +0000 (19:07 +0100)]
switch DBusDaemonProxy to DBusProxyBase

use the minimal CommonAPI::Proxy implementation as base class

11 years agoadd DBusProxyBase
Aleksandar Kanchev [Thu, 21 Feb 2013 18:05:30 +0000 (19:05 +0100)]
add DBusProxyBase

incomplete/minimal implementation of CommonAPI::Proxy, which could be
picked up for cases like DBusDaemonProxy, where methods could be
implemented in a static way.