profile/ivi/dlt-daemon.git
10 years agofix1 sandbox/kthierry/yocto-build
Kévin THIERRY [Thu, 14 Aug 2014 12:55:24 +0000 (14:55 +0200)]
fix1

Change-Id: Ica929085416c7093cbda8d6f76f018a9a75ec684
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoClean spec file for Yocto compatibility
Kévin THIERRY [Thu, 14 Aug 2014 09:50:29 +0000 (11:50 +0200)]
Clean spec file for Yocto compatibility

* Add the "-p" option to mkdir.
* Set a valid group tag.
* Add license in package dlt-daemon.
* Remove executable bits to non binary files.

Change-Id: I4625f3d1cf295542564bd1d3bbc139435c20c7d2
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoNew upstream release (v2.11.0) accepted/tizen/ivi/20140811.124034 submit/tizen_ivi/20140811.112134
Mikko Ylinen [Mon, 11 Aug 2014 11:15:00 +0000 (14:15 +0300)]
New upstream release (v2.11.0)

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoUpdate .changes file
Mikko Ylinen [Tue, 3 Dec 2013 08:02:35 +0000 (10:02 +0200)]
Update .changes file

Change-Id: Ia4137fe97b0938e3d1abefad3bcdce38f7818aa5
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoMake Tizen ECUId = TIZ1
Mikko Ylinen [Thu, 28 Nov 2013 12:30:01 +0000 (14:30 +0200)]
Make Tizen ECUId = TIZ1

Change-Id: Ie65101d0e342ca0a7e030bf1eb1ba0794f67a284
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoEnable Journal in dlt-system.conf
Mikko Ylinen [Thu, 28 Nov 2013 12:28:28 +0000 (14:28 +0200)]
Enable Journal in dlt-system.conf

Change-Id: Id31d16c0b7f20d8326b632cf92b4dfa68358f84a
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoRun dlt-daemon and dlt-system as root
Mikko Ylinen [Thu, 28 Nov 2013 12:25:13 +0000 (14:25 +0200)]
Run dlt-daemon and dlt-system as root

Tizen does not (yet) have user 'genivi' added. Run dlt-daemon
and dlt-system services as root until then.

Change-Id: Iad90215b9051c8de474200dfaa598085f591e6c8
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoInitial Tizen release (dlt-daemon 1.2.9 upstream)
Mikko Ylinen [Mon, 21 Oct 2013 10:59:04 +0000 (13:59 +0300)]
Initial Tizen release (dlt-daemon 1.2.9 upstream)

Change-Id: I12ba90051c9de006cf85812f20538d04544981c1
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoAdd .gbs.conf
Mikko Ylinen [Fri, 18 Oct 2013 12:15:13 +0000 (15:15 +0300)]
Add .gbs.conf

Change-Id: I6c242f2da97bccd754305ef87dbc8bc73989b3a8
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoAdd tizen packaging files
Mikko Ylinen [Fri, 18 Oct 2013 12:14:56 +0000 (15:14 +0300)]
Add tizen packaging files

Change-Id: Ic548724277658515ea29ed0076d8a1fd0da2244f
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
10 years agoFixed dbus trace only showing signals upstream v2.11.0
Alexander Wenzel [Thu, 3 Jul 2014 12:40:25 +0000 (14:40 +0200)]
Fixed dbus trace only showing signals

10 years agoPrepared alpha release v2.11.0
Alexander Wenzel [Wed, 11 Jun 2014 08:31:11 +0000 (10:31 +0200)]
Prepared alpha release v2.11.0

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoEnable dbus trace when adaptor starts up.
Alexander Wenzel [Wed, 11 Jun 2014 06:48:44 +0000 (08:48 +0200)]
Enable dbus trace when adaptor starts up.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoAdded configuration of dbus filter.
Alexander Wenzel [Tue, 10 Jun 2014 15:43:09 +0000 (17:43 +0200)]
Added configuration of dbus filter.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed segmented messages arguments to standard.
Alexander Wenzel [Tue, 10 Jun 2014 10:01:18 +0000 (12:01 +0200)]
Fixed segmented messages arguments to standard.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFirst implementation of DLT DBus adapter.
Alexander Wenzel [Fri, 6 Jun 2014 10:44:27 +0000 (12:44 +0200)]
First implementation of DLT DBus adapter.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoDLT_CSTRING implementation non verbose mode.
Alexander Wenzel [Mon, 19 May 2014 12:23:55 +0000 (14:23 +0200)]
DLT_CSTRING implementation non verbose mode.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoAdded new examples which can be manually build against DLt library.
Alexander Wenzel [Thu, 15 May 2014 08:47:05 +0000 (10:47 +0200)]
Added new examples which can be manually build against DLt library.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoSend ECU Id if enabled and added library API to change.
Alexander Wenzel [Tue, 13 May 2014 15:06:31 +0000 (17:06 +0200)]
Send ECU Id if enabled and added library API to change.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoSend timestamp can be disabled by new API.
Alexander Wenzel [Tue, 13 May 2014 12:05:54 +0000 (14:05 +0200)]
Send timestamp can be disabled by new API.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoSend session/process id by default and add configuration API.
Alexander Wenzel [Tue, 13 May 2014 10:53:36 +0000 (12:53 +0200)]
Send session/process id by default and add configuration API.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoSend extended header in non verbose mode by default and add new API to change setting.
Alexander Wenzel [Tue, 13 May 2014 10:30:09 +0000 (12:30 +0200)]
Send extended header in non verbose mode by default and add new API to change setting.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoMake daemon buffer size configurable
Alexander Wenzel [Tue, 13 May 2014 09:09:59 +0000 (11:09 +0200)]
Make daemon buffer size configurable

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoBug 184 - /tmp/dltpipes directory does not exist before dlt-daemon is started, loggin... v2.10.0
Alexander Wenzel [Wed, 2 Apr 2014 12:46:59 +0000 (14:46 +0200)]
Bug 184 - /tmp/dltpipes directory does not exist before dlt-daemon is started, logging disabled

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed missing variable declaration when systemd not enabled. v2.10.0_rc1
Alexander Wenzel [Thu, 27 Mar 2014 11:16:08 +0000 (12:16 +0100)]
Fixed missing variable declaration when systemd not enabled.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoUpdated version number and release notes.
Alexander Wenzel [Thu, 27 Mar 2014 07:56:27 +0000 (08:56 +0100)]
Updated version number and release notes.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed: all possible malloc, sprintf and strcpy problems
Alexander Wenzel [Wed, 26 Mar 2014 15:42:26 +0000 (16:42 +0100)]
Fixed: all possible malloc, sprintf and strcpy problems

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed: Creation of dltpipes directory is too late.
Alexander Wenzel [Wed, 26 Mar 2014 08:53:03 +0000 (09:53 +0100)]
Fixed: Creation of dltpipes directory is too late.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoUpdated authors information.
Alexander Wenzel [Tue, 1 Apr 2014 08:10:23 +0000 (10:10 +0200)]
Updated authors information.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoCygwin port: cygwin patch, signal handling patch and cppcheck and install lib dll...
Alexander Wenzel [Tue, 25 Mar 2014 12:24:52 +0000 (13:24 +0100)]
Cygwin port: cygwin patch, signal handling patch and cppcheck and install lib dll to correct location on Windows. Originally from Mikko Rapeli <mikko.rapeli@bmw.de>.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed compiler warnings with 32Bit gcc compiler.
Alexander Wenzel [Tue, 18 Mar 2014 11:06:39 +0000 (12:06 +0100)]
Fixed compiler warnings with 32Bit gcc compiler.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed: Fixed offline trace and new send functions issues
Alexander Wenzel [Tue, 18 Mar 2014 10:29:08 +0000 (11:29 +0100)]
Fixed: Fixed offline trace and new send functions issues

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed: Bug 172 - DLT system crashes because of wrong journald adaptor implementation
Alexander Wenzel [Tue, 18 Mar 2014 08:58:02 +0000 (09:58 +0100)]
Fixed: Bug 172 - DLT system crashes because of wrong journald adaptor implementation

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoDLT Common API Wrapper.
Alexander Wenzel [Fri, 14 Mar 2014 06:49:23 +0000 (07:49 +0100)]
DLT Common API Wrapper.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoRemoved dlt_free from example and test applications, already called from exit handler.
Alexander Wenzel [Mon, 27 Jan 2014 09:18:14 +0000 (10:18 +0100)]
Removed dlt_free from example and test applications, already called from exit handler.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed missing dlt_receiver_remove in dlt_daemon_process_user_xxx functions.
Alexander Wenzel [Mon, 27 Jan 2014 09:06:39 +0000 (10:06 +0100)]
Fixed missing dlt_receiver_remove in dlt_daemon_process_user_xxx functions.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoUse LIB_SUFFIX as lib installation path.
Alexander Wenzel [Mon, 27 Jan 2014 07:54:26 +0000 (08:54 +0100)]
Use LIB_SUFFIX as lib installation path.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed serial port not working anymore.
Alexander Wenzel [Thu, 23 Jan 2014 12:39:29 +0000 (13:39 +0100)]
Fixed serial port not working anymore.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoAdded log output of created socket/port In init phase 2 - socket creation
Christian Muck [Fri, 10 Jan 2014 12:58:56 +0000 (13:58 +0100)]
Added log output of created socket/port In init phase 2 - socket creation

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoDefined return value for dlt_message_read().
Alexander Wenzel [Fri, 10 Jan 2014 06:06:19 +0000 (07:06 +0100)]
Defined return value for dlt_message_read().

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoCleanup of send return values. Further cleanup of send restructure.
Alexander Wenzel [Thu, 19 Dec 2013 09:18:03 +0000 (10:18 +0100)]
Cleanup of send return values. Further cleanup of send restructure.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoMoved daemon client functions to new source file.
Alexander Wenzel [Wed, 18 Dec 2013 08:46:02 +0000 (09:46 +0100)]
Moved daemon client functions to new source file.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoCentralised send function to client. Introduced connection state to dlt daemon.
Alexander Wenzel [Wed, 18 Dec 2013 07:39:27 +0000 (08:39 +0100)]
Centralised send function to client. Introduced connection state to dlt daemon.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoRemoved check of double registration of contexts in user library, already checked...
Alexander Wenzel [Mon, 16 Dec 2013 12:58:09 +0000 (13:58 +0100)]
Removed check of double registration of contexts in user library, already checked by daemon.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoWhen using DLT in console mode on a 64-bit machine, timestamps are corrupted due...
Alexander Wenzel [Mon, 16 Dec 2013 09:22:08 +0000 (10:22 +0100)]
When using DLT in console mode on a 64-bit machine, timestamps are corrupted due to an address of a 32-bit value being cast to a 64-bit pointer.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoBug 3 - Cmake does not check for zlib for dlt-daemon compilation.
Alexander Wenzel [Mon, 16 Dec 2013 09:12:37 +0000 (10:12 +0100)]
Bug 3 - Cmake does not check for zlib for dlt-daemon compilation.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoAdded new control message timezone.
Alexander Wenzel [Mon, 9 Dec 2013 12:52:31 +0000 (13:52 +0100)]
Added new control message timezone.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed deadlock after wrong merge..
Alexander Wenzel [Fri, 6 Dec 2013 11:10:05 +0000 (12:10 +0100)]
Fixed deadlock after wrong merge..

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFix potential buffer overflow in offline trace.
Alexander Wenzel [Fri, 6 Dec 2013 09:11:43 +0000 (10:11 +0100)]
Fix potential buffer overflow in offline trace.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFix deadlock in dlt_user_log_reattach_to_daemon(void).
Alexander Wenzel [Fri, 6 Dec 2013 08:04:21 +0000 (09:04 +0100)]
Fix deadlock in dlt_user_log_reattach_to_daemon(void).

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFixed possible crash when runtime configurations files are corrupted.
Alexander Wenzel [Fri, 6 Dec 2013 07:10:14 +0000 (08:10 +0100)]
Fixed possible crash when runtime configurations files are corrupted.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoEnvironement variables added to configure internal logging in library.
Alexander Wenzel [Mon, 2 Dec 2013 12:35:30 +0000 (13:35 +0100)]
Environement variables added to configure internal logging in library.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoReduce Timeout between filetransfer packets.
Alexander Wenzel [Mon, 2 Dec 2013 10:47:38 +0000 (11:47 +0100)]
Reduce Timeout between filetransfer packets.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoClose socket when send fails.
Alexander Wenzel [Mon, 2 Dec 2013 10:38:31 +0000 (11:38 +0100)]
Close socket when send fails.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoReplace threads by timing fds for ecu version, timing packets and watchdog.
Alexander Wenzel [Mon, 2 Dec 2013 09:30:00 +0000 (10:30 +0100)]
Replace threads by timing fds for ecu version, timing packets and watchdog.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoAdded conntection info and unregister context control messages.
Alexander Wenzel [Mon, 2 Dec 2013 08:02:28 +0000 (09:02 +0100)]
Added conntection info and unregister context control messages.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoConfigurable Timeout on send.
Alexander Wenzel [Fri, 29 Nov 2013 11:21:24 +0000 (12:21 +0100)]
Configurable Timeout on send.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoAdded further checks to dlt_buffer.
Alexander Wenzel [Fri, 29 Nov 2013 07:44:53 +0000 (08:44 +0100)]
Added further checks to dlt_buffer.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoatexit handler fix.
Alexander Wenzel [Fri, 29 Nov 2013 07:19:30 +0000 (08:19 +0100)]
atexit handler fix.

Conflicts:
src/lib/dlt_user.c

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoAdd threadnames to libdlt threads.
Alexander Wenzel [Tue, 26 Nov 2013 13:57:39 +0000 (14:57 +0100)]
Add threadnames to libdlt threads.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoSecurity fix on DLT pipes.
Alexander Wenzel [Tue, 26 Nov 2013 13:54:58 +0000 (14:54 +0100)]
Security fix on DLT pipes.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoReduce usage of SEM_LOCK in application library and reset pointers.
Alexander Wenzel [Thu, 28 Nov 2013 06:49:56 +0000 (07:49 +0100)]
Reduce usage of SEM_LOCK in application library and reset pointers.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoPrepare Alpha Release v2.9.2
Alexander Wenzel [Thu, 24 Oct 2013 14:26:50 +0000 (16:26 +0200)]
Prepare Alpha Release v2.9.2

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFix: Systemd Journal Adapter provides corrupted output.
Alexander Wenzel [Thu, 24 Oct 2013 14:11:44 +0000 (16:11 +0200)]
Fix: Systemd Journal Adapter provides corrupted output.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFix: Install Example service file only when example enabled
Alexander Wenzel [Thu, 24 Oct 2013 07:46:47 +0000 (09:46 +0200)]
Fix: Install Example service file only when example enabled

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoRelease of new stable version v2.9.1 v2.9.1
Alexander Wenzel [Fri, 18 Oct 2013 10:36:28 +0000 (12:36 +0200)]
Release of new stable version v2.9.1

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoAdded cmake installation path to systemd service files installation.
Alexander Wenzel [Fri, 18 Oct 2013 08:32:25 +0000 (10:32 +0200)]
Added cmake installation path to systemd service files installation.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoAdded additional command line commands.
Alexander Wenzel [Fri, 11 Oct 2013 15:28:43 +0000 (17:28 +0200)]
Added additional command line commands.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoAdded command line commands set log level and set trace status.
Alexander Wenzel [Fri, 11 Oct 2013 14:31:49 +0000 (16:31 +0200)]
Added command line commands set log level and set trace status.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoImplementation of command line tool dlt-control.
Alexander Wenzel [Fri, 11 Oct 2013 11:36:19 +0000 (13:36 +0200)]
Implementation of command line tool dlt-control.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFix file transfer bug.
Stefan Seefeld [Fri, 6 Sep 2013 16:04:03 +0000 (12:04 -0400)]
Fix file transfer bug.

Signed-off-by: Stefan Seefeld <stefan@codesourcery.com>
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFixed Lint warnings in DLT log parameters macros.
Alexander Wenzel [Wed, 11 Sep 2013 11:10:30 +0000 (13:10 +0200)]
Fixed Lint warnings in DLT log parameters macros.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoChanges after review.
Alexander Wenzel [Wed, 7 Aug 2013 12:10:15 +0000 (14:10 +0200)]
Changes after review.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoBug 44 - Don't print "Buffer full" message from DLT daemon for each trace.
Alexander Wenzel [Fri, 2 Aug 2013 07:37:51 +0000 (09:37 +0200)]
Bug 44 - Don't print "Buffer full" message from DLT daemon for each trace.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoYocto fix in build builds.
Alexander Wenzel [Wed, 31 Jul 2013 08:42:38 +0000 (10:42 +0200)]
Yocto fix in build builds.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFixed security issue in dlt-system-shell regarding strncpy.
Alexander Wenzel [Thu, 25 Jul 2013 15:02:42 +0000 (17:02 +0200)]
Fixed security issue in dlt-system-shell regarding strncpy.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFixed: Security Issue by Command Injection in DLT System.
Alexander Wenzel [Thu, 25 Jul 2013 13:28:54 +0000 (15:28 +0200)]
Fixed: Security Issue by Command Injection in DLT System.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoChanges after review of journal implementation.
Alexander Wenzel [Thu, 25 Jul 2013 11:01:31 +0000 (13:01 +0200)]
Changes after review of journal implementation.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agosystemd/CMakeLists: Remove SYSTEMD_CONFIGURATIONS_FILES_DIR existance check.
Noor [Tue, 11 Jun 2013 12:05:42 +0000 (17:05 +0500)]
systemd/CMakeLists: Remove SYSTEMD_CONFIGURATIONS_FILES_DIR existance check.

* During cross-compilation on ubuntu 10.04 the if condition checks the exitance
  of SYSTEMD_CONFIGURATIONS_FILES_DIR on host machine. It should not check host
  folders during cross-compilation. It results in no service file is installed
  even systemd is enabled during cross-compilation. Remove that if condition
  and its corresponding else condition.

Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoBug 85 - Include of dlt.h leads to compiler warning.
Alexander Wenzel [Wed, 24 Jul 2013 12:16:42 +0000 (14:16 +0200)]
Bug 85 - Include of dlt.h leads to compiler warning.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoBug 84 - Adding utf8 support to dlt-daemon, dlt-viewer. Modified patch, originally...
Alexander Wenzel [Wed, 24 Jul 2013 09:26:21 +0000 (11:26 +0200)]
Bug 84 - Adding utf8 support to dlt-daemon, dlt-viewer. Modified patch, originally provided by Stefan Vacek.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoBeautify output of journal logging.
Alexander Wenzel [Thu, 18 Jul 2013 11:21:57 +0000 (13:21 +0200)]
Beautify output of journal logging.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoAdded options for journal logging.
Alexander Wenzel [Wed, 17 Jul 2013 14:57:33 +0000 (16:57 +0200)]
Added options for journal logging.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFirst version of journal support.
Alexander Wenzel [Fri, 28 Jun 2013 14:18:18 +0000 (16:18 +0200)]
First version of journal support.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoadded function names in case of Failed to queue resending
Simon Brandner [Thu, 23 May 2013 09:02:37 +0000 (11:02 +0200)]
added function names in case of Failed to queue resending

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFixed dlt-test-multi-process with fudge set to 0
Simon Brandner [Thu, 23 May 2013 07:58:58 +0000 (09:58 +0200)]
Fixed dlt-test-multi-process with fudge set to 0

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agospec file does not package man files when cmake is run with -DWITH_DOC=OFF
Simon Brandner [Wed, 20 Mar 2013 12:11:36 +0000 (13:11 +0100)]
spec file does not package man files when cmake is run with -DWITH_DOC=OFF

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agomade the APID strings in dlt-test-multi-process counting from 00-99
Simon Brandner [Thu, 28 Mar 2013 10:36:33 +0000 (11:36 +0100)]
made the APID strings in dlt-test-multi-process counting from 00-99

made all strerror output in user lib in one line with error message to avoid mixed up line multithreading conditions

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agocoverity: add a check variable for get size function
Simon Brandner [Tue, 5 Feb 2013 13:18:48 +0000 (14:18 +0100)]
coverity: add a check variable for get size function

Conflicts:

src/lib/dlt_filetransfer.c
src/system/dlt-system-filetransfer.c

fixed merge problem for getFileSerialNumber

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoremoved closure of daemonized file descriptor pointing to /dev/null
Simon Brandner [Thu, 25 Apr 2013 11:29:21 +0000 (13:29 +0200)]
removed closure of daemonized file descriptor pointing to /dev/null

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoInvalid Sock is set to -1 instead 0 (stdin). Consequent error handling in fseek failu...
Simon Brandner [Thu, 25 Apr 2013 11:25:35 +0000 (13:25 +0200)]
Invalid Sock is set to -1 instead 0 (stdin). Consequent error handling in fseek failure cases

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoRemoved possible recursive call of dlt_user_log_file_errorMessage. Added some return...
Simon Brandner [Tue, 19 Mar 2013 13:24:37 +0000 (14:24 +0100)]
Removed possible recursive call of dlt_user_log_file_errorMessage. Added some return value checks for system calls (stat,fseek) and error logging in those cases.

Conflicts:

src/lib/dlt_filetransfer.c

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoadded DLT_SEM_LOCK around init of dlt user buffer
Simon Brandner [Mon, 18 Mar 2013 12:54:00 +0000 (13:54 +0100)]
added DLT_SEM_LOCK around init of dlt user buffer

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoadded length check for paths of files to be transferred
Simon Brandner [Mon, 18 Mar 2013 12:52:42 +0000 (13:52 +0100)]
added length check for paths of files to be transferred

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agosome coverity fixes
Simon Brandner [Tue, 5 Feb 2013 13:16:10 +0000 (14:16 +0100)]
some coverity fixes

fixed some merge problems

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoSemaphores and Pointer passing insteasd by value and otehr coverity issue fixes
Simon Brandner [Mon, 28 Jan 2013 11:14:06 +0000 (12:14 +0100)]
Semaphores and Pointer passing insteasd by value and otehr coverity issue fixes

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFixed corruption of transferred filenames because of variable ID-length in unique_nam...
Simon Brandner [Mon, 29 Apr 2013 11:07:34 +0000 (13:07 +0200)]
Fixed corruption of transferred filenames because of variable ID-length in unique_name creation by prepending zeros

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agofixed filetransfer stopping because of invalid dirnames.
Simon Brandner [Mon, 29 Apr 2013 10:32:57 +0000 (12:32 +0200)]
fixed filetransfer stopping because of invalid dirnames.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoadded creation date and a simple hash on the file name for to improve the uniqueness...
Simon Brandner [Thu, 21 Mar 2013 13:29:33 +0000 (14:29 +0100)]
added creation date and a simple hash on the file name for to improve the uniqueness of getFileSerialNumber

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoAdd HowTo Debug documentation
Lassi Marttala [Mon, 18 Feb 2013 10:10:48 +0000 (11:10 +0100)]
Add HowTo Debug documentation

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>