Krisztian Litkey [Mon, 12 May 2014 16:20:14 +0000 (19:20 +0300)]
misc: added run-cmake.sh.
Change-Id: Ib3659621be01c116136aa2a53bd78bf87bae1a66
Krisztian Litkey [Fri, 7 Mar 2014 16:04:23 +0000 (18:04 +0200)]
DLT, daemon: don't colorize logs, don't use optional getopt arguments.
Change-Id: I99375a7ca853d0b8e15dab81cfd497e15c734856
Krisztian Litkey [Fri, 7 Mar 2014 16:02:29 +0000 (18:02 +0200)]
Introduce murphy control plugin.
Change-Id: I24e835d7f9da200864a8ebc8a6cabb7d4fd416f1
Kévin THIERRY [Mon, 25 Aug 2014 11:33:33 +0000 (13:33 +0200)]
Clean spec file for Yocto compatibility
* Use "-p" option when creatind a directory to prevent failure when the
directory already exists.
* Use "%__make" and "%make_install" macros.
Change-Id: Idcabdeb6963c988f0c29f5e6bdf1d90acd4a09ea
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Jaska Uimonen [Fri, 14 Feb 2014 09:23:54 +0000 (11:23 +0200)]
updated changelog
Change-Id: Ic6fa8ec53d91e6b424f2a78f2f8dd815e88a52b7
Jaska Uimonen [Thu, 11 Sep 2014 06:26:41 +0000 (09:26 +0300)]
Introduce control dbus plugin
Change-Id: I1b4845b49a41f4e9e11abf90d7a9d084bfc1c5c2
Jaska Uimonen [Thu, 11 Sep 2014 06:00:59 +0000 (09:00 +0300)]
add functions for control interface to use dbus
Change-Id: I68f9853aedd88432d3c7dd996ea205f057563d4d
Alexander Kanavin [Mon, 21 Oct 2013 13:51:44 +0000 (16:51 +0300)]
Add missing include
Alexander Kanavin [Mon, 21 Oct 2013 13:07:25 +0000 (16:07 +0300)]
Added initial .spec file
Alexander Kanavin [Fri, 18 Oct 2013 16:05:53 +0000 (19:05 +0300)]
Add -lrt to linker flags (tizen libc is still at 2.13)
Alexander Kanavin [Fri, 18 Oct 2013 13:19:37 +0000 (16:19 +0300)]
Add .gbs.conf
Christian Linke [Wed, 20 Feb 2013 12:44:22 +0000 (13:44 +0100)]
* just empty lines
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 11 Jul 2014 15:48:10 +0000 (17:48 +0200)]
* fix changes that made commonapi generation not working
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Jens Lorenz [Thu, 10 Jul 2014 08:35:54 +0000 (10:35 +0200)]
Bug #100 - update of interface version numbers and added removed comments
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Aleksandar Donchev [Thu, 10 Jul 2014 08:29:41 +0000 (10:29 +0200)]
* Minor fix for connection id generation.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 9 Jul 2014 10:43:36 +0000 (12:43 +0200)]
*An additional condition appended to the custom comparator needed for map function 'find'.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 25 Jun 2014 13:42:43 +0000 (15:42 +0200)]
* Fixed routingreceiverasync test due a irritating quit without any console output if the libPluginRoutingInterfaceAsync.so is not at the desired file path.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Tue, 24 Jun 2014 08:52:52 +0000 (10:52 +0200)]
* Confirming routing ready state after a second domain has been registered.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 23 Jun 2014 16:44:12 +0000 (18:44 +0200)]
* added documents for compliance update
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Jens Lorenz [Wed, 11 Jun 2014 16:14:58 +0000 (18:14 +0200)]
* Bug #100 - removed projecttypes.h which causes compiling conflicts
Signed-off-by: Jens Lorenz <jlorenz@de.adit-jv.com>
Christian Linke [Tue, 1 Apr 2014 14:24:59 +0000 (16:24 +0200)]
* reworked according to review feedback from Thomas Goering
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 28 Mar 2014 16:07:52 +0000 (17:07 +0100)]
* reverted back projecttypes.h to GENIVI only types.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Fri, 28 Mar 2014 15:34:25 +0000 (16:34 +0100)]
* Some unit tests fixed due issues occured on pocky build systems.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 19 Mar 2014 14:49:43 +0000 (15:49 +0100)]
handle am_error in dltwrapper
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 12 Feb 2014 13:57:34 +0000 (14:57 +0100)]
* Support for automatically generation of common-api sources. Cmake macros adopted to support the common-api generator.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 12 Feb 2014 13:50:15 +0000 (14:50 +0100)]
* Applied gmock_propagate_cxx_flags.patch
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 12 Feb 2014 13:49:32 +0000 (14:49 +0100)]
* Applied routing_send_async_calls.patch
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 12 Feb 2014 13:48:46 +0000 (14:48 +0100)]
* Applied sync_xml_introspection_cpp_handling.patch
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 12 Feb 2014 13:47:54 +0000 (14:47 +0100)]
* Applied dbus_command_interface_changed_for_unit_tests.patch
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 19 Mar 2014 14:06:12 +0000 (15:06 +0100)]
* some adoptions
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Mon, 25 Nov 2013 14:06:13 +0000 (15:06 +0100)]
* Cmake scripts adopted for cross-compilation
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Mon, 11 Nov 2013 12:47:51 +0000 (13:47 +0100)]
* CommonAPI cmake scripts cleaned from redundant dbus linking parameters .
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Tue, 29 Oct 2013 12:55:06 +0000 (13:55 +0100)]
* Bug #127 - appended forgotten methods to the Dbus Command Interface .
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 22 Oct 2013 11:41:12 +0000 (13:41 +0200)]
First commit for Helios
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 16 Oct 2013 15:53:10 +0000 (17:53 +0200)]
* Minor: life cycle old dbus predefined variable removed
Aleksandar Donchev [Wed, 16 Oct 2013 12:44:01 +0000 (14:44 +0200)]
* Bug 123 fixed. Lambda expression compile issues with GCC >= 4.7.x specific compile flags resolved.
Aleksandar Donchev [Wed, 16 Oct 2013 12:33:01 +0000 (14:33 +0200)]
* Bug 61 fixed. The plugins are built as module and SOVERSION is removed.
Aleksandar Donchev [Fri, 11 Oct 2013 14:05:28 +0000 (16:05 +0200)]
* Typo: Dbus address fixed.
* Sources re-generated with the latest generator version .
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Thu, 10 Oct 2013 13:22:57 +0000 (15:22 +0200)]
* Typo: Dbus address fixed.
Aleksandar Donchev [Thu, 10 Oct 2013 08:00:58 +0000 (10:00 +0200)]
* Bug #120. In CAmSerializer fixed the asyncCall function with one ref argument.
Aleksandar Donchev [Mon, 23 Sep 2013 09:03:47 +0000 (11:03 +0200)]
* Every new connection ID is initilized with the next available number.
* Additional tests for ID generation added.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 25 Sep 2013 13:42:47 +0000 (15:42 +0200)]
* made sure that CommonAPI stuff compiles with release 2.1
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 12 Sep 2013 12:38:42 +0000 (14:38 +0200)]
* adopted test to new logic of no change stuff
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 12 Sep 2013 12:06:18 +0000 (14:06 +0200)]
* corrected registerDomain
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Wed, 11 Sep 2013 09:08:57 +0000 (11:08 +0200)]
* Added error handling for all async calls.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 12 Sep 2013 08:59:47 +0000 (10:59 +0200)]
* added some documentation, removed sample project since it seems to addle users. Now the fidls are the matching final the EA version.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Tue, 10 Sep 2013 10:25:37 +0000 (12:25 +0200)]
test ist now working
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 9 Sep 2013 16:40:19 +0000 (18:40 +0200)]
* some naming adoptions & review for GENIVI
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Tue, 3 Sep 2013 16:09:49 +0000 (18:09 +0200)]
* AmMapHanlderTest - added tests for the callbacks in CAmDatabaseObserver.
* An object ID added to the response whenever E_ALREADY_EXISTS is returned in CAmDatabasehandlerMap
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Mon, 2 Sep 2013 09:57:28 +0000 (11:57 +0200)]
*PluginCommandInterfaceCAPI, PluginRoutingInterfaceCAPI, NodeStateCommunicatorCAPI with unit tests first version.
Choosing between DBUS and Common-API via cmake.
CommonAPI - legacy support for DBus properties (Set 1)
Signed-off-by: Christian Linke <christian.linke@bmw.de>
(cherry picked from commit
ea96ef59e29466667c90b506426e2a5a9cdb82d2)
Christian Linke [Mon, 2 Sep 2013 16:05:26 +0000 (18:05 +0200)]
* Prevent infinite loop when iterating over arrays
If the array contains more than one element dbus_message_iter_recurse
will reset the iterator to the beginning on every iteration leading to
an infinite loop.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 2 Sep 2013 11:37:37 +0000 (13:37 +0200)]
Handle cases where readdir() does not return the file type
readdir() does not guarantee that the d_type member is set on all file
systems. This resulted in plugins not being loaded on some platforms as
regular files were not detected.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 2 Sep 2013 09:28:54 +0000 (11:28 +0200)]
* fix for Bug 92 - sinkID wrongly reported to DatabaseObserver
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Tue, 13 Aug 2013 14:52:21 +0000 (16:52 +0200)]
* CAmDatabaseHandlerMap - the main connection now have separate method for id generation.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Tue, 13 Aug 2013 14:04:47 +0000 (16:04 +0200)]
* Refactoring and improvements CAmDatabasehandlerMap ( Ticket #87 )
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 14 Aug 2013 13:28:24 +0000 (15:28 +0200)]
make AM compile with newer libstd
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Muhammad Shakeel [Thu, 18 Jul 2013 10:37:39 +0000 (15:37 +0500)]
Fix for bug 78: AmNodeStateCommunicatorTest throws a runtime exception
- Fixed data type issues
- Fixed some error log messages
- Modified the way for reading XML file
- Explicitly type cast the variables before sending message to
sendLifeCycleRequest interface
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Christian Linke [Fri, 19 Jul 2013 07:12:25 +0000 (09:12 +0200)]
* enhance sleep at beginn of NSM test to be more robust
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 15 Jul 2013 07:20:21 +0000 (09:20 +0200)]
* took over changes for bug 42 since patch did no longer apply cleanly
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Fri, 12 Jul 2013 12:48:46 +0000 (14:48 +0200)]
Fixed define in the map handler header causing compile error for some tests. (ticket #79)
Renamed variable in the CAmTelnetServerTest.cpp
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Wed, 10 Jul 2013 14:21:07 +0000 (16:21 +0200)]
* Creation of database handler through the 'new' opertor replaced.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Wed, 10 Jul 2013 12:42:14 +0000 (14:42 +0200)]
cmake configuration now allows change of inital map sizes
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Wed, 10 Jul 2013 12:15:02 +0000 (14:15 +0200)]
Minor: Access specifier of function changed from protected to public.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Wed, 10 Jul 2013 12:05:44 +0000 (14:05 +0200)]
Created an abstract interface for the database handlers.
Renamed CAmDatabaseHandler to CAmDatabaseHandlerSQLite and CAmMapHandler to CAmDatabaseHandlerMap.
Changed std::map to std::unordered_map.
Added to the cmake configuration a definition, which defines the capacity of the source and sink maps.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Wed, 10 Jul 2013 11:58:50 +0000 (13:58 +0200)]
Renamed CAmDatabaseHandlerInterface to IAmDatabaseHandler,
CAmDatabaseHandler to CAmDatabaseHandlerSQLite,
CAmMapHandler to CAmDatabaseHandlerMap.
std::map changed to std::unordered_map in CAmDatabaseHandlerMap.
Added a cmake definition to the map handler configuration for preallocation of space in the source and sink maps.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksander Donchev [Mon, 8 Jul 2013 09:27:30 +0000 (11:27 +0200)]
Added 'Dump' method to the database handler and to the telnet server (Info -> Dump). Unit tests for the database handler splited into separate file. Base log class added in order to support logging into a file.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 1 Jul 2013 17:06:58 +0000 (19:06 +0200)]
* added possibilty to ask for routing ready state
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 28 Jun 2013 09:02:48 +0000 (11:02 +0200)]
* new naming convention for dbus interfaces.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 26 Jun 2013 16:35:20 +0000 (18:35 +0200)]
* corrected private fix for CAmMapHandler
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 26 Jun 2013 15:31:10 +0000 (17:31 +0200)]
* update documentation and readme
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 26 Jun 2013 15:14:08 +0000 (17:14 +0200)]
* make Telnetserver work with maphandler
* small changes to get cmake script cleaner
* clean up includes of main.cpp
* make DatabaseMaphandler structs private
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 20 Jun 2013 14:21:48 +0000 (16:21 +0200)]
* some adoptins in the routinginterface
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 20 Jun 2013 14:18:54 +0000 (16:18 +0200)]
* remove some warnings
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Fri, 21 Jun 2013 15:21:03 +0000 (17:21 +0200)]
Minor fix for the ID generation of domains, connection and main connections ( # 38 )
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Aleksandar Donchev [Fri, 21 Jun 2013 14:38:56 +0000 (16:38 +0200)]
First version Map implementation of database handler with unit tests ( ticket 38 )
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Wed, 19 Jun 2013 15:05:13 +0000 (17:05 +0200)]
* fix [bug 74] : changesourceDb copy paste error
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Goehring [Wed, 12 Jun 2013 14:09:22 +0000 (16:09 +0200)]
Thomas Göhring: Fix for: Bug 69 - Endless loop in CAmDatabaseHandler::getRoutingTree() on bidirectional gateway
Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
Christian Linke [Thu, 13 Jun 2013 08:55:22 +0000 (10:55 +0200)]
* fixed bug64 genivi.audiomanager.service contains hardcoded "User=christian"
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 13 Jun 2013 08:47:51 +0000 (10:47 +0200)]
* fixed bug54
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 13 Jun 2013 08:40:17 +0000 (10:40 +0200)]
* adds test for bug63 to the database tests
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 11 Jun 2013 12:54:36 +0000 (14:54 +0200)]
* fix for Bug 66 - Wrong Log messages
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 3 Jun 2013 07:34:50 +0000 (09:34 +0200)]
* fixed bug 59 & Bug 63. Removes superfluss comments in DBusWrapper, removes non existing static in Sockethandler
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 7 May 2013 13:11:21 +0000 (15:11 +0200)]
* fix for bug [52]: Dbus wrapper sometimes does not deliver all messages
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Nrusingh Dash [Sat, 2 Mar 2013 05:12:59 +0000 (14:12 +0900)]
D-Bus method hanlers should reply back, even if the return type is void else timeout occurs at client File: PluginRoutingInterfaceDbus/src/IAmRoutingReceiverShadow.cpp Functions: ackConnect, ackDisconnect, ackSetSinkVolume, ackSetSourceState, ackSinkVolumeTick, ackSourceVolumeTick, ackSetSourceVolume, ackSetSinkSoundProperty, ackSetSourceSoundProperty, ackSetSinkSoundProperties, ackSetSourceSoundProperties, ackCrossFading
Signed-off-by: Nrusingh Dash <ndash@jp.adit-jv.com>
Christian Linke [Tue, 5 Mar 2013 13:05:03 +0000 (14:05 +0100)]
* remove checks from controlReceiver. No retries where possible when the routingplugin had problems so therefore the checks needed to be removed
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 5 Mar 2013 12:58:27 +0000 (13:58 +0100)]
* online coding fixed overflow of handles
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 28 Feb 2013 16:44:28 +0000 (17:44 +0100)]
* stability fix because of dbus interface of nsm
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Nrusingh Dash [Tue, 26 Feb 2013 14:56:44 +0000 (23:56 +0900)]
- changed domainData, sourceData, sinkData, gatewayData, crossfaderData to D-Bus Struct - confirmRoutingReady, confirmRoutingRundown, hookDomainRegistrationComplete should reply even return type on D-Bus is void - to parse domainID "getUInt" is used instead of "getInt"
Signed-off-by: Nrusingh Dash <ndash@jp.adit-jv.com>
Christian Linke [Thu, 21 Feb 2013 15:27:56 +0000 (16:27 +0100)]
* Johanne's Bug fix
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Mon, 18 Feb 2013 11:52:43 +0000 (12:52 +0100)]
* add missing include
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Tue, 12 Feb 2013 16:47:31 +0000 (17:47 +0100)]
* calculated delay for mainconnection but forgot to update it. This fixes this.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Goehring [Tue, 12 Feb 2013 12:46:08 +0000 (13:46 +0100)]
CAmDatabaseHandler::enterSourceClassDB does not work in release mode
Signed-off-by: Goehring <Thomas.Goehring@continental-corporation.com>
Christian Linke [Thu, 7 Feb 2013 09:16:56 +0000 (10:16 +0100)]
* enhancing documentation
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 31 Jan 2013 14:19:55 +0000 (15:19 +0100)]
* Added Abstract component compliance description
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 31 Jan 2013 12:43:42 +0000 (13:43 +0100)]
* updated documentation to match foton release
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 18 Jan 2013 13:23:24 +0000 (14:23 +0100)]
* update NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 18 Jan 2013 11:12:32 +0000 (12:12 +0100)]
* fix asyncRoutingTest and NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Fri, 18 Jan 2013 09:25:46 +0000 (10:25 +0100)]
* repair NSM test
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Christian Linke [Thu, 17 Jan 2013 11:47:00 +0000 (12:47 +0100)]
* changes that follow the review comments from Thomas G.
Signed-off-by: Christian Linke <christian.linke@bmw.de>
christian linke [Fri, 11 Jan 2013 12:09:26 +0000 (13:09 +0100)]
* add support to switch dedicated plugins off, fix databasehandler regarding getSourceInfo and getSinkInfo, add and fix tests for database
Signed-off-by: christian linke <christian.linke@bmw.de>