Stefan Laner [Wed, 15 Jan 2014 18:37:56 +0000 (19:37 +0100)]
removed unnecessary library dependency
Stefan Laner [Fri, 20 Dec 2013 16:57:17 +0000 (17:57 +0100)]
new version for handling msvc variadic template bug by using default
attribute extension
Change-Id: I636e0aab4050f516224d5d4120047c37638a0844
Stefan Laner [Fri, 20 Dec 2013 15:08:54 +0000 (16:08 +0100)]
Merge remote-tracking branch 'origin/maintain/2.0' into dev/windows
Stefan Laner [Mon, 9 Dec 2013 23:51:11 +0000 (00:51 +0100)]
Changed version to match with CommonAPI and corresponding
toolchain
Arnaud Fietzke [Thu, 21 Nov 2013 09:16:41 +0000 (10:16 +0100)]
Backport of fix for GLIPCI-165.
Once resumeDispatching() is called,
readWriteDispatch() may dispatch the
reply, causing replyAsyncHandler to
be deleted.
Conflicts:
src/CommonAPI/DBus/DBusConnection.cpp
Stefan Laner [Wed, 23 Oct 2013 15:20:16 +0000 (17:20 +0200)]
updated generated code for tests
Stefan Laner [Tue, 22 Oct 2013 12:59:57 +0000 (14:59 +0200)]
global initializers now created using INITIALIZER macro from
CommonAPI/types.h
Stefan Laner [Tue, 22 Oct 2013 12:52:05 +0000 (14:52 +0200)]
Added visual studio solution file and project files for library and test
Stefan Laner [Tue, 22 Oct 2013 11:56:10 +0000 (13:56 +0200)]
Adopted tests for build with Microsoft Visual Studio
Stefan Laner [Mon, 21 Oct 2013 13:41:50 +0000 (15:41 +0200)]
Adopted sources for build with Microsoft Visual Studio 2013
Philip Rauwolf [Wed, 16 Oct 2013 09:13:30 +0000 (11:13 +0200)]
Matched version for next point release with CommonAPI-D-Bus Tooling and
corrected check on micro version of required CommonAPI
Philip Rauwolf [Wed, 16 Oct 2013 08:05:09 +0000 (10:05 +0200)]
Added micro version and requirement for correct CommonAPI micro version
Stefan Laner [Tue, 15 Oct 2013 13:43:37 +0000 (15:43 +0200)]
Bugfix in DBusInputStreamTest - &-operator on std::string does not
necessarily return a pointer to the contained c string
Johannes Schanda [Wed, 9 Oct 2013 14:34:14 +0000 (16:34 +0200)]
Resolve some bugs for windows VC++ & regenretate test sources
- Chnage inlcudes where needed
- Regenerate test sources
- move some typedefs
- fix a potential error when claiming names for new services
Johannes Schanda [Tue, 1 Oct 2013 12:33:52 +0000 (14:33 +0200)]
Fix packaging details
Johannes Schanda [Thu, 8 Aug 2013 13:56:16 +0000 (15:56 +0200)]
Correct instantiation of internal attribute
Johannes Schanda [Thu, 8 Aug 2013 13:34:07 +0000 (15:34 +0200)]
Fix bug in observable readonly attribute instantiation
Johannes Schanda [Wed, 7 Aug 2013 14:36:26 +0000 (16:36 +0200)]
Corrected comments with regard to mainloop integration
Stefan Laner [Wed, 7 Aug 2013 13:36:44 +0000 (15:36 +0200)]
Removed DBusBenchmarkingTest
Johannes Schanda [Wed, 7 Aug 2013 13:28:23 +0000 (15:28 +0200)]
Backported thread teardown fix
Philip Rauwolf [Wed, 7 Aug 2013 12:54:45 +0000 (14:54 +0200)]
Fixed Demo Mainloop
Conflicts:
src/test/DemoMainLoop.h
Johannes Schanda [Mon, 27 May 2013 09:47:36 +0000 (11:47 +0200)]
Merge branch 'master' into genivi_release
Conflicts:
TODO
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
Philip Rauwolf [Tue, 19 Mar 2013 09:46:20 +0000 (10:46 +0100)]
Improved timing and responsiveness of several tests.
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.
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".
Philip Rauwolf [Mon, 18 Mar 2013 11:15:32 +0000 (12:15 +0100)]
Added mechanism to suspend dispatching while some blocking call is
underway.
Philip Rauwolf [Mon, 18 Mar 2013 10:08:51 +0000 (11:08 +0100)]
Improved semantics of python fake legacy service
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)
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
Philip Rauwolf [Tue, 12 Mar 2013 15:15:57 +0000 (16:15 +0100)]
Small corrections in some tests
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
Philip Rauwolf [Tue, 12 Mar 2013 15:05:43 +0000 (16:05 +0100)]
Updated TODO
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
Aleksandar Kanchev [Tue, 12 Mar 2013 11:20:13 +0000 (12:20 +0100)]
add libtool version-info support
Philip Rauwolf [Mon, 11 Mar 2013 14:31:50 +0000 (15:31 +0100)]
Improved timing in MultipleConnectionTest
Philip Rauwolf [Mon, 11 Mar 2013 14:12:26 +0000 (15:12 +0100)]
Prevented dispatch mechanism from returning into an undefined
(already destructed) environment.
Philip Rauwolf [Mon, 11 Mar 2013 10:20:26 +0000 (11:20 +0100)]
DBusConnection: Removed unused variable, enabled safe double deletion of
signal handlers.
Johannes Schanda [Thu, 7 Mar 2013 15:16:47 +0000 (16:16 +0100)]
Merge branch 'master' into genivi_release
Johannes Schanda [Thu, 7 Mar 2013 15:15:47 +0000 (16:15 +0100)]
Set version 2.0 in package version
Johannes Schanda [Thu, 7 Mar 2013 15:10:48 +0000 (16:10 +0100)]
Merge branch 'master' into genivi_release
Conflicts:
TODO
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
Philip Rauwolf [Wed, 6 Mar 2013 09:57:46 +0000 (10:57 +0100)]
Removed another potential deadlock that happened during construction of
the serviceRegistry
Philip Rauwolf [Tue, 5 Mar 2013 15:32:27 +0000 (16:32 +0100)]
Fixed rare deadlock at resolution of non-available services.
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.
Philip Rauwolf [Tue, 5 Mar 2013 09:10:47 +0000 (10:10 +0100)]
Prevented stub from being destroyed while messages are being handled.
Philip Rauwolf [Tue, 5 Mar 2013 09:08:28 +0000 (10:08 +0100)]
Removed dead code
Philip Rauwolf [Mon, 4 Mar 2013 17:44:33 +0000 (18:44 +0100)]
"Remote Errors" now are actually forwarded as such
Philip Rauwolf [Mon, 4 Mar 2013 15:56:18 +0000 (16:56 +0100)]
Removed shared pointer that prevented destruction of other objects
Philip Rauwolf [Mon, 4 Mar 2013 14:56:00 +0000 (15:56 +0100)]
Prevented self-joining of the DBusConnection's dispatch thread on
destruction
Philip Rauwolf [Fri, 1 Mar 2013 14:37:10 +0000 (15:37 +0100)]
Removed debug message
Philip Rauwolf [Fri, 1 Mar 2013 11:49:35 +0000 (12:49 +0100)]
Fixed occasional deadlock that occurred when dbus connection got
destroyed
Aleksandar Kanchev [Fri, 1 Mar 2013 10:15:11 +0000 (11:15 +0100)]
tests: extensive DBusServiceRegistry predefined instance tests
Aleksandar Kanchev [Fri, 1 Mar 2013 10:14:07 +0000 (11:14 +0100)]
fix DBusServiceRegistry predefined services support
Philip Rauwolf [Fri, 1 Mar 2013 09:58:01 +0000 (10:58 +0100)]
Correct deregistration of services in tests
Philip Rauwolf [Fri, 1 Mar 2013 09:56:37 +0000 (10:56 +0100)]
Moved service management down to middleware implementation
Philip Rauwolf [Thu, 28 Feb 2013 18:13:51 +0000 (19:13 +0100)]
Corrected tests with regards to deregistration of services
Philip Rauwolf [Thu, 28 Feb 2013 18:05:47 +0000 (19:05 +0100)]
Added a way to deinitialize running services
Philip Rauwolf [Thu, 28 Feb 2013 15:50:29 +0000 (16:50 +0100)]
Small adaptions in test-cases for new dependency-structure around
DBusConnection.
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
Philip Rauwolf [Thu, 28 Feb 2013 15:41:16 +0000 (16:41 +0100)]
Removed ServiceStatusEvent from DBusServiceRegistry. Also removed an
unused empty constructor.
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
Philip Rauwolf [Thu, 28 Feb 2013 10:32:21 +0000 (11:32 +0100)]
Broke up circular dependency of DBusDaemonProxy and DBusConnection
Johannes Schanda [Thu, 28 Feb 2013 10:12:58 +0000 (11:12 +0100)]
Address Translator rewrite to more efficient implementation
Johannes Schanda [Thu, 28 Feb 2013 09:21:19 +0000 (10:21 +0100)]
tests: Various timing fixes
Johannes Schanda [Thu, 28 Feb 2013 08:41:30 +0000 (09:41 +0100)]
Correct order of include paths
Aleksandar Kanchev [Wed, 27 Feb 2013 18:12:44 +0000 (19:12 +0100)]
correct getAvailableServiceInstances() wait logic
Aleksandar Kanchev [Wed, 27 Feb 2013 16:03:42 +0000 (17:03 +0100)]
add subscribe/unsubscribe methods for DBusServiceRegistry
Aleksandar Kanchev [Wed, 27 Feb 2013 12:54:08 +0000 (13:54 +0100)]
tests: DBusProxyTest reuse registerTestStub() in ServiceStatus