profile/ivi/dlt-daemon.git
10 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>
10 years agoDocument asynchronous delay in DLT_REGISTER_APP
Lassi Marttala [Mon, 18 Feb 2013 08:48:52 +0000 (09:48 +0100)]
Document asynchronous delay in DLT_REGISTER_APP

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoRegression fix: check ferror/feof when fgets return NULL
Lassi Marttala [Wed, 30 Jan 2013 10:48:35 +0000 (11:48 +0100)]
Regression fix: check ferror/feof when fgets return NULL

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoadded length check for inotify event
Simon Brandner [Fri, 25 Jan 2013 14:52:46 +0000 (15:52 +0100)]
added length check for inotify event

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoClose filehandle on early exists
Lassi Marttala [Fri, 25 Jan 2013 14:02:11 +0000 (15:02 +0100)]
Close filehandle on early exists

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFix compiler warnings
Lassi Marttala [Fri, 25 Jan 2013 12:56:08 +0000 (13:56 +0100)]
Fix compiler warnings

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agomodified filetransfer to be more robust in restarting transfers
Simon Brandner [Fri, 25 Jan 2013 11:23:05 +0000 (12:23 +0100)]
modified filetransfer to be more robust in restarting transfers

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoRemove dangling DLT_SEM_FREE from dlt_user_queue_resend
Lassi Marttala [Thu, 24 Jan 2013 16:12:03 +0000 (17:12 +0100)]
Remove dangling DLT_SEM_FREE from dlt_user_queue_resend

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoUnify ECU version sending functions
Lassi Marttala [Fri, 18 Jan 2013 10:44:02 +0000 (11:44 +0100)]
Unify ECU version sending functions

Review changes:
Lower log level when opening fails. It might be deliberately set to non-existent file.
Give name to period time in ECU version sending

Merge branch 'LM-GSWD-162'

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agofixed possible overflow in dlt-system-filetransfer and missing fclose in dlt_daemon_c...
Simon Brandner [Tue, 8 Jan 2013 14:38:07 +0000 (15:38 +0100)]
fixed possible overflow in dlt-system-filetransfer and missing fclose in dlt_daemon_common

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agofix overflow after ~35 minutes in dlt_uptime function. Should now ocurr after >100 hrs
Simon Brandner [Tue, 18 Dec 2012 09:47:48 +0000 (10:47 +0100)]
fix overflow after ~35 minutes in dlt_uptime function. Should now ocurr after >100 hrs

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFix null pointer crash in dlt_user_log_check_user_message
Lassi Marttala [Mon, 3 Dec 2012 11:32:04 +0000 (12:32 +0100)]
Fix null pointer crash in dlt_user_log_check_user_message

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoWatchdog: Review changes.
Lassi Marttala [Thu, 13 Dec 2012 16:47:34 +0000 (17:47 +0100)]
Watchdog: Review changes.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoWatchdog: Watch the main thread.
Lassi Marttala [Tue, 4 Dec 2012 13:15:09 +0000 (14:15 +0100)]
Watchdog: Watch the main thread.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoappended null termination to version string
Simon Brandner [Thu, 6 Dec 2012 09:18:12 +0000 (10:18 +0100)]
appended null termination to version string

adding closure of socket in syslog_thread and read_socket

fixed missing free of filepath in compressed file transfer

fixed missing closedir in added in send_one error case

fixed missing fclose of src_file in ferror case

dlt-daemon.c fixed missing fclose in ferror case

dlt_common.c using snprintf for filename instead sprintf in dlt_file_open

modified some magix numbers - replaced by limits.h values. added strncpy instead strcpy to make cp more safe. split up a function to avoid coverity complaint when computing size of a write buffer length

dlt_daemon_common: added strncpy instead strcpy to make cp more safe.

Fixes some more Coverity issues in dlt-daemon.c dlt_user.c dlt_common.c and dlt_offline_trace.c.

Conflicts:

src/daemon/dlt-daemon.c
src/lib/dlt_user.c

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoRemoved most warnings caused by: Wunused-but-set-variable flag. Eome were kept, becau...
Simon Brandner [Mon, 3 Dec 2012 16:49:49 +0000 (17:49 +0100)]
Removed most warnings caused by: Wunused-but-set-variable flag. Eome were kept, because they were the nicer variant to eliminate them, or they seemed reserved for an commandline argument

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoParasoft workaround: solve complaints about missing breaks/returns in default part...
Simon Brandner [Fri, 30 Nov 2012 10:53:38 +0000 (11:53 +0100)]
Parasoft workaround: solve complaints about missing breaks/returns in default part of switch statements

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agosplit up dlt_user_trace_network_segmented_thread function to avoid nested loop
Simon Brandner [Thu, 29 Nov 2012 15:38:18 +0000 (16:38 +0100)]
split up dlt_user_trace_network_segmented_thread function to avoid nested loop

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoParasoft: added 2 free s_segmented_data allocations in error case - one detected...
Simon Brandner [Wed, 28 Nov 2012 14:41:42 +0000 (15:41 +0100)]
Parasoft: added 2 free s_segmented_data allocations in error case - one detected by Parasoft, the other seems similar.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
10 years agoFix: Parasoft DLT complaints about missing Null pointer check
Simon Brandner [Wed, 28 Nov 2012 13:06:29 +0000 (14:06 +0100)]
Fix: Parasoft DLT complaints about missing Null pointer check

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoReduce used stack size needed by making resend buffer static.
Alexander Wenzel [Tue, 27 Nov 2012 08:19:40 +0000 (09:19 +0100)]
Reduce used stack size needed by making resend buffer static.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoImprove DLT Cheatsheet
Eckhard Diezel [Tue, 23 Oct 2012 09:03:04 +0000 (11:03 +0200)]
Improve DLT Cheatsheet

Signed-off-by: Eckhard Diezel <external.Eckhard.Diezel@de.bosch.com>
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoUpdate version for 2.10.0
Lassi Marttala [Thu, 25 Oct 2012 12:58:50 +0000 (14:58 +0200)]
Update version for 2.10.0

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoRemoved Eclipse project files and added to ignore list.
Alexander Wenzel [Tue, 23 Oct 2012 11:50:56 +0000 (13:50 +0200)]
Removed Eclipse project files and added to ignore list.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoRelease of new stable version v2.9.0 v2.9.0
Alexander Wenzel [Fri, 12 Oct 2012 19:59:13 +0000 (21:59 +0200)]
Release of new stable version v2.9.0

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoConverted extended network trace document to asciidoc.
Lassi Marttala [Fri, 12 Oct 2012 11:38:15 +0000 (13:38 +0200)]
Converted extended network trace document to asciidoc.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoMoved manual generation from batch file into cmake.
Alexander Wenzel [Fri, 12 Oct 2012 11:14:48 +0000 (13:14 +0200)]
Moved manual generation from batch file into cmake.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoUpdated dlt-filetransfer documentation to asciidoc
Christian Muck [Fri, 12 Oct 2012 08:49:08 +0000 (10:49 +0200)]
Updated dlt-filetransfer documentation to asciidoc

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoModfied documentation using asciibook.
Alexander Wenzel [Thu, 11 Oct 2012 15:39:25 +0000 (17:39 +0200)]
Modfied documentation using asciibook.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoIncreased buffer size of daemon and user library.
Alexander Wenzel [Tue, 9 Oct 2012 15:45:57 +0000 (17:45 +0200)]
Increased buffer size of daemon and user library.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GSWD-12]: Prepare for release. Documents updated.
Lassi Marttala [Mon, 8 Oct 2012 12:56:17 +0000 (14:56 +0200)]
[GSWD-12]: Prepare for release. Documents updated.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-120]: Never block if queue is full.
Lassi Marttala [Mon, 8 Oct 2012 10:48:51 +0000 (12:48 +0200)]
[GDLT-120]: Never block if queue is full.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-137]: Automated resending: Improve init. Use everywhere.
Lassi Marttala [Thu, 4 Oct 2012 07:58:29 +0000 (09:58 +0200)]
[GDLT-137]: Automated resending: Improve init. Use everywhere.

This is a combination of 2 commits. Rest of the commit messages below.

[GDLT-137]: Add resending to all user library places which use buffer.

[GDLT-137]: Delay mq opening. Make it thread safe.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-120]: More precise data sizes. Add automatic tests.
Lassi Marttala [Fri, 28 Sep 2012 14:36:34 +0000 (16:36 +0200)]
[GDLT-120]: More precise data sizes. Add automatic tests.

[GDLT-120]: Fix warnings.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GSWD-85] Added AUTHORS files
Christian Muck [Thu, 27 Sep 2012 12:01:01 +0000 (14:01 +0200)]
[GSWD-85] Added AUTHORS files

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-120]: Segmented Network Trace: Prepare for rewrite.
Lassi Marttala [Wed, 26 Sep 2012 07:35:52 +0000 (09:35 +0200)]
[GDLT-120]: Segmented Network Trace: Prepare for rewrite.

This is a combination of 2 commits. Original descriptions below.

[GDLT-120]: Remove dlt_queue. Only usage replace with POSIX queue.

[GDLT-120]: Improve documentation. Add a note about context having to be
pesistent thorough application lifetime.

[GDLT-120]: Add macro interface.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-137]: Add future resend request when pushed into buffer.
Lassi Marttala [Wed, 26 Sep 2012 07:07:15 +0000 (09:07 +0200)]
[GDLT-137]: Add future resend request when pushed into buffer.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-120]: Improved Network trace. Rewrite to POSIX queue.
Lassi Marttala [Tue, 4 Sep 2012 08:55:46 +0000 (10:55 +0200)]
[GDLT-120]: Improved Network trace. Rewrite to POSIX queue.

This is a squash of multiple commits. The original commit messages follow.

[GDLT-120]: Segmented network trace: Correct error condition checks.

[GDLT-120]: Add documentation for extended network trace

[GDLT-120]: Add dlt_queue. Linked list based dynamic queue.

[GDLT-120]: Recode to using queue for segmented messages

[GDLT-120]: Improved thread start handling. Add error handling.
Remove libm from linkage.

[GDLT-120]: Avoid sending an extraneous empty segment, when size is aligned

[GDLT-120]: More expansive return values from dlt_user_log_send_log

[GDLT-120]: Change default behaviour of dlt_user_trace_network to truncated, instead of discard.

[GDLT-120]: Convert to POSIX queue.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoBigdata refactored. Removed test. Removed from RPM build. v2.8.0
Lassi Marttala [Thu, 23 Aug 2012 06:43:43 +0000 (08:43 +0200)]
Bigdata refactored. Removed test. Removed from RPM build.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-120] Segmentation of larger messages, raw blocks which fit not in a single...
Lassi Marttala [Mon, 30 Jul 2012 15:31:47 +0000 (17:31 +0200)]
[GDLT-120] Segmentation of larger messages, raw blocks which fit not in a single DLT message

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-115]: Encapsulate more macros. Fix things that used macros
Lassi Marttala [Wed, 18 Jul 2012 11:14:51 +0000 (13:14 +0200)]
[GDLT-115]: Encapsulate more macros. Fix things that used macros
incorrectly.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years ago[GDLT-115]: Prevent return value from DLT_REGISTER_APP
Lassi Marttala [Wed, 18 Jul 2012 09:27:50 +0000 (11:27 +0200)]
[GDLT-115]: Prevent return value from DLT_REGISTER_APP

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFix register app and register context was not stored in buffer when FIFO is full...
Alexander Wenzel [Wed, 27 Jun 2012 14:41:34 +0000 (16:41 +0200)]
Fix register app and register context was not stored in buffer when FIFO is full. Other controll messages still not saved in buffer.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoCreate new fifo only when same application registers with different pid.
Alexander Wenzel [Wed, 27 Jun 2012 14:28:11 +0000 (16:28 +0200)]
Create new fifo only when same application registers with different pid.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoDo not register appliction again, if already registered.
Alexander Wenzel [Wed, 27 Jun 2012 13:21:27 +0000 (15:21 +0200)]
Do not register appliction again, if already registered.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoFixed filetransfer not checking buffer fill level.
Alexander Wenzel [Wed, 27 Jun 2012 13:10:53 +0000 (15:10 +0200)]
Fixed filetransfer not checking buffer fill level.

Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
11 years agoAfter stable release v2.7.0 - updated the version information to v2.8.0 Alpha - bugfi...
Christian Muck [Fri, 15 Jun 2012 06:47:24 +0000 (08:47 +0200)]
After stable release v2.7.0 - updated the version information to v2.8.0 Alpha - bugfixes for version v2.7.0 should be done in the bugfix branch v2.7.1

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoRelease of new stable version v2.7.0 v2.7.0
Christian Muck [Fri, 15 Jun 2012 06:44:12 +0000 (08:44 +0200)]
Release of new stable version v2.7.0

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago2.7.0 Delivery prep.
Lassi Marttala [Thu, 14 Jun 2012 15:23:18 +0000 (17:23 +0200)]
2.7.0 Delivery prep.
Document necessary rights for file transfer directories.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoUpdated release notes
Christian Muck [Thu, 14 Jun 2012 07:03:02 +0000 (09:03 +0200)]
Updated release notes

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoFixed compile warnings with unused parameters
Christian Muck [Wed, 13 Jun 2012 21:41:07 +0000 (23:41 +0200)]
Fixed compile warnings with unused parameters

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoUpdated doxygen documentation, readme, man pages and release notes
Christian Muck [Wed, 13 Jun 2012 21:21:00 +0000 (23:21 +0200)]
Updated doxygen documentation, readme, man pages and release notes

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-24]: Fix for a compiler warning.
Lassi Marttala [Wed, 6 Jun 2012 10:30:01 +0000 (12:30 +0200)]
[GDLT-24]: Fix for a compiler warning.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoPreparation of config files for release
Christian Muck [Tue, 5 Jun 2012 18:42:36 +0000 (20:42 +0200)]
Preparation of config files for release

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-94]: Send periodic software version messages.
Lassi Marttala [Tue, 5 Jun 2012 11:11:23 +0000 (13:11 +0200)]
[GDLT-94]: Send periodic software version messages.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GENDLT-26]: Check for description length sanity.
Lassi Marttala [Mon, 4 Jun 2012 13:08:04 +0000 (15:08 +0200)]
[GENDLT-26]: Check for description length sanity.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GENDLT-24]: Crash on invalid injection message.
Lassi Marttala [Mon, 4 Jun 2012 08:50:33 +0000 (10:50 +0200)]
[GENDLT-24]: Crash on invalid injection message.
Check that the size of the injection message is sane.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-93]: Add -Wextra flags for compilation
Lassi Marttala [Mon, 4 Jun 2012 09:53:10 +0000 (11:53 +0200)]
[GDLT-93]: Add -Wextra flags for compilation
Fixed all the warnings that popped up with the new flag.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-90] Implemented systemd watchdog concept in dlt-system
Christian Muck [Mon, 4 Jun 2012 07:08:52 +0000 (09:08 +0200)]
[GDLT-90] Implemented systemd watchdog concept in dlt-system

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoIf compiled for systemd but the system not using systemd, print an internal error
Christian Muck [Sun, 3 Jun 2012 17:02:39 +0000 (19:02 +0200)]
If compiled for systemd but the system not using systemd, print an internal error

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-90] Implemented systemd watchdog concept
Christian Muck [Wed, 30 May 2012 13:50:56 +0000 (15:50 +0200)]
[GDLT-90] Implemented systemd watchdog concept

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agodlt-system: Logging of error conditions. Assert memory allocations.
Lassi Marttala [Wed, 30 May 2012 09:56:22 +0000 (11:56 +0200)]
dlt-system: Logging of error conditions. Assert memory allocations.

dlt-system: logfile module would sometimes deadlock in the end of a
file because of feof() reset in the end of the file.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-67] dlt-system v2.0, check full commit message for rebase details
Lassi Marttala [Wed, 16 May 2012 08:10:12 +0000 (10:10 +0200)]
[GDLT-67] dlt-system v2.0, check full commit message for rebase details

[GDLT-67] Prepare build system.
[GDLT-67] Config parsing, structure for thread handling
[GDLT-67] Finalize configuration reading.
[GDLT-67] Reimplementation of syslog, logfile, logprocess, shell.
[GDLT-67] First complete version of the new dlt-system.
[GDLT-67] Fixed header comments. authors, file names.
[GDLT-67] Final touches.
[GDLT-67] Fixed a problem with thread creation in optimized release binary.
[GDLT-67] New configuration file.
[GDLT-67] Added dlt debug output

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoAdded dlt log to injection methods
Christian Muck [Wed, 30 May 2012 07:29:19 +0000 (09:29 +0200)]
Added dlt log to injection methods

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-89] Daemon doesn't sent the persistent log level, trace status configuration...
Christian Muck [Fri, 25 May 2012 12:17:41 +0000 (14:17 +0200)]
[GDLT-89] Daemon doesn't sent the persistent log level, trace status configuration from dlt-runtime files to a new registered context fixed.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoChanged name of offline trace trace
Christian Muck [Tue, 22 May 2012 08:31:28 +0000 (10:31 +0200)]
Changed name of offline trace trace

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-88] Fixed wrong initalization order using offline trace functionality
Lassi Marttala [Tue, 22 May 2012 06:04:13 +0000 (08:04 +0200)]
[GDLT-88] Fixed wrong initalization order using offline trace functionality

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoAdd _GNU_SOURCE Definition to be able to use O_CLOEXEC.
Lassi Marttala [Wed, 9 May 2012 11:50:14 +0000 (13:50 +0200)]
Add _GNU_SOURCE Definition to be able to use O_CLOEXEC.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoAdded important SEM_FREE in the daemon and closing fd in the filetransfer
Christian Muck [Tue, 8 May 2012 13:56:17 +0000 (15:56 +0200)]
Added important SEM_FREE in the daemon and closing fd in the filetransfer

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-3] Fixed missing semaphore around dlt_buffer_push3
Christian Muck [Tue, 8 May 2012 08:23:57 +0000 (10:23 +0200)]
[GDLT-3] Fixed missing semaphore around dlt_buffer_push3

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoCommented the dlt_log info of buffer size information out
Christian Muck [Tue, 8 May 2012 08:12:06 +0000 (10:12 +0200)]
Commented the dlt_log info of buffer size information out

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoCorrected the default values of dlt.conf
Christian Muck [Tue, 8 May 2012 08:02:36 +0000 (10:02 +0200)]
Corrected the default values of dlt.conf

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years agoAdded define statement for initial value of file descriptor and (-1). Updated the...
Christian Muck [Tue, 8 May 2012 07:55:26 +0000 (09:55 +0200)]
Added define statement for initial value of file descriptor and (-1). Updated the user_handle of the daemon and user

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-86] Fixed dlt_free uses absolute file path /tmp and not DLT_USER_DIR define
Christian Muck [Tue, 8 May 2012 06:45:25 +0000 (08:45 +0200)]
[GDLT-86] Fixed dlt_free uses absolute file path /tmp and not DLT_USER_DIR define

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[D4099]: Integrated fix from Alexander Wenzel. This will check for
Lassi Marttala [Mon, 7 May 2012 13:36:31 +0000 (15:36 +0200)]
[D4099]: Integrated fix from Alexander Wenzel. This will check for
duplicate file handles, and clean them up if found.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-85] Pipes opened multiple times for the same application pid fixed.
Christian Muck [Thu, 19 Apr 2012 11:32:21 +0000 (13:32 +0200)]
[GDLT-85] Pipes opened multiple times for the same application pid fixed.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-82] Child process inherits file descriptors openend by their parent fixed
Christian Muck [Fri, 20 Apr 2012 07:03:13 +0000 (09:03 +0200)]
[GDLT-82] Child process inherits file descriptors openend by their parent fixed

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-84] Instead of calling the injection callback, store a pointer
Lassi Marttala [Thu, 19 Apr 2012 09:20:25 +0000 (11:20 +0200)]
[GDLT-84] Instead of calling the injection callback, store a pointer
to it and the required parameter data. Call the injection callback
only after releasing the semaphore lock. This way, calling DLT_LOG
will be possible even in the injection callback. Previously this
caused a deadlock because DLT_LOG would require another lock.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-70] Check for malloc failures and return errors where applicable.
Lassi Marttala [Thu, 12 Apr 2012 11:07:28 +0000 (13:07 +0200)]
[GDLT-70] Check for malloc failures and return errors where applicable.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-47] Avoid discarding old contexts if no new memory can be allocated
Lassi Marttala [Wed, 11 Apr 2012 12:54:02 +0000 (14:54 +0200)]
[GDLT-47] Avoid discarding old contexts if no new memory can be allocated
when resizing contexts array.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
11 years ago[GDLT-69] Fixed bug in dlt-test-multi-process shares context between threads
Lassi Marttala [Fri, 20 Apr 2012 07:50:37 +0000 (09:50 +0200)]
[GDLT-69] Fixed bug in dlt-test-multi-process shares context between threads

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoAfter stable release v2.6.0 - updated the version information to v2.7.0 ALPHA - bugfi...
Christian Muck [Fri, 13 Apr 2012 06:54:49 +0000 (08:54 +0200)]
After stable release v2.6.0 - updated the version information to v2.7.0 ALPHA - bugfixes for version v2.6.0 should be done in the bugfix branch v2.6.1

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoUpdated release notes v2.6.0
Christian Muck [Thu, 5 Apr 2012 08:48:12 +0000 (10:48 +0200)]
Updated release notes

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGDLT-75. Use old style directory check on startup.
Lassi Marttala [Wed, 4 Apr 2012 08:43:44 +0000 (10:43 +0200)]
GDLT-75. Use old style directory check on startup.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoFix typo in license name.
Lassi Marttala [Wed, 28 Mar 2012 12:13:06 +0000 (14:13 +0200)]
Fix typo in license name.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGENDLT-21, Move mcnt from DltContextData to DltContext
Lassi Marttala [Tue, 20 Mar 2012 14:15:20 +0000 (15:15 +0100)]
GENDLT-21, Move mcnt from DltContextData to DltContext

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoFix merge problems in LM-GENDLT-15
Lassi Marttala [Fri, 9 Mar 2012 08:54:35 +0000 (09:54 +0100)]
Fix merge problems in LM-GENDLT-15

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGENDLT-15, Fixes to previous integrations from review.
Lassi Marttala [Tue, 21 Feb 2012 13:17:22 +0000 (14:17 +0100)]
GENDLT-15, Fixes to previous integrations from review.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGENDLT-15, Safe re-allocations for databuffer.
Lassi Marttala [Tue, 21 Feb 2012 12:02:16 +0000 (13:02 +0100)]
GENDLT-15, Safe re-allocations for databuffer.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGENDLT-15, use the correct TEXTBUFSIZE
Lassi Marttala [Tue, 21 Feb 2012 11:36:05 +0000 (12:36 +0100)]
GENDLT-15, use the correct TEXTBUFSIZE

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGENDLT-15, Optimize usege of strlen.
Lassi Marttala [Tue, 21 Feb 2012 11:30:19 +0000 (12:30 +0100)]
GENDLT-15, Optimize usege of strlen.
Improved log level handling.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGENDLT-15, Avoid buffer overrun with snprintf().
Lassi Marttala [Tue, 21 Feb 2012 11:16:23 +0000 (12:16 +0100)]
GENDLT-15, Avoid buffer overrun with snprintf().
Check return value of dlt_user_log_write_start(_id) correctly.
Reduce the number of applications if allocation fails.
Make dlt_user_log_write_start inline
Improve error checking in dlt_user_log_write_start_id
Use databuffersize to avoid reallocations

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGENDLT-15, Rename buffer size constant to avoid confusion.
Lassi Marttala [Tue, 21 Feb 2012 09:56:16 +0000 (10:56 +0100)]
GENDLT-15, Rename buffer size constant to avoid confusion.
Better error handling when writing to FIFO.
Remove duplicate msg initialization.
Optimize away multiple uses of strlen for one check.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoUpdated ReleaseNotes
Lassi Marttala [Fri, 17 Feb 2012 13:26:04 +0000 (14:26 +0100)]
Updated ReleaseNotes

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGDLT-4 Improve queue handling, allow for other messages while
Lassi Marttala [Mon, 12 Mar 2012 15:20:14 +0000 (16:20 +0100)]
GDLT-4 Improve queue handling, allow for other messages while
transferring a large file.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGDLT-4 Limit maximum file queue to 256 files.
Lassi Marttala [Mon, 12 Mar 2012 12:49:30 +0000 (13:49 +0100)]
GDLT-4 Limit maximum file queue to 256 files.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoCleaned some warnings generated from removing stale old code.
Lassi Marttala [Mon, 12 Mar 2012 12:43:31 +0000 (13:43 +0100)]
Cleaned some warnings generated from removing stale old code.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGDLT-4, First working version of inotify for file transfer.
Lassi Marttala [Mon, 12 Mar 2012 11:05:11 +0000 (12:05 +0100)]
GDLT-4, First working version of inotify for file transfer.

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGDLT-2, First test for filetransfer change
Lassi Marttala [Mon, 12 Mar 2012 10:14:04 +0000 (11:14 +0100)]
GDLT-2, First test for filetransfer change

Signed-off-by: Christian Muck <christian.muck@bmw.de>
12 years agoGDLT-2: Change to gzip wrapper format. Change file signature creation to
Lassi Marttala [Wed, 14 Mar 2012 12:12:28 +0000 (13:12 +0100)]
GDLT-2: Change to gzip wrapper format. Change file signature creation to
account for file size, as inode number maybe duplicate when deleting and
creating new files.

Signed-off-by: Christian Muck <christian.muck@bmw.de>