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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Lassi Marttala [Fri, 17 Feb 2012 13:26:04 +0000 (14:26 +0100)]
Updated ReleaseNotes
Signed-off-by: Christian Muck <christian.muck@bmw.de>
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>
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>
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>
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>
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>
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>
Lassi Marttala [Wed, 14 Mar 2012 09:36:22 +0000 (10:36 +0100)]
GDLT-2, Fix bug while reading the options.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Lassi Marttala [Wed, 14 Mar 2012 09:29:46 +0000 (10:29 +0100)]
GDLT-2, Allow for enabling/disabling compression for the separate
directories.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Lassi Marttala [Wed, 14 Mar 2012 09:12:55 +0000 (10:12 +0100)]
GDLT-2, Check if the file is already compressed.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Lassi Marttala [Tue, 13 Mar 2012 15:08:07 +0000 (16:08 +0100)]
GDLT-2 Link with libz, fix a typo.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Lassi Marttala [Tue, 13 Mar 2012 14:54:36 +0000 (15:54 +0100)]
GDLT-2 zlib based compression.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Lassi Marttala [Wed, 28 Mar 2012 12:09:33 +0000 (14:09 +0200)]
Change version number
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 28 Mar 2012 07:44:21 +0000 (09:44 +0200)]
Changed dlt loggingmode to default value
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Tue, 27 Mar 2012 06:38:47 +0000 (08:38 +0200)]
Changed license from LGPL to MPLv2.0
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Tue, 27 Mar 2012 06:33:16 +0000 (08:33 +0200)]
Corrected email of Alexander Wenzel
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Lassi Marttala [Mon, 26 Mar 2012 09:53:57 +0000 (11:53 +0200)]
Increase versions.
Lassi Marttala [Mon, 26 Mar 2012 09:50:02 +0000 (11:50 +0200)]
GDLT-38, Update <FILE> fields in licenses.
Lassi Marttala [Mon, 26 Mar 2012 09:36:30 +0000 (11:36 +0200)]
GDLT-38, Added license to dlt_filetransfer, which had no license
notification
Lassi Marttala [Mon, 26 Mar 2012 09:30:58 +0000 (11:30 +0200)]
GDLT-38, Update licenses to all the sources.
Lassi Marttala [Mon, 26 Mar 2012 09:25:36 +0000 (11:25 +0200)]
GDLT-38, Update license in internal headers.
Lassi Marttala [Mon, 26 Mar 2012 09:19:42 +0000 (11:19 +0200)]
GDLT-38, Update licenses in include
Lassi Marttala [Mon, 26 Mar 2012 09:15:26 +0000 (11:15 +0200)]
GDLT-38, Update license in more CMakeLists
Lassi Marttala [Mon, 26 Mar 2012 09:12:58 +0000 (11:12 +0200)]
GDLT-38, Update licenses in CMakeLists
Lassi Marttala [Mon, 26 Mar 2012 09:06:07 +0000 (11:06 +0200)]
GDLT-38, Change license in ReleaseNotes, user shorter form in
license.txt
Lassi Marttala [Mon, 26 Mar 2012 08:59:42 +0000 (10:59 +0200)]
GDLT-38, Change License from LGPL to MPL in information files.
Christian Muck [Thu, 22 Mar 2012 07:48:27 +0000 (08:48 +0100)]
Added missing license header to two files
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Thu, 22 Mar 2012 07:41:33 +0000 (08:41 +0100)]
Updated release notes
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Thu, 22 Mar 2012 07:33:17 +0000 (08:33 +0100)]
Modified library for new test cases to corrupt data - related to the bug fix for testing signed and unsigned integer
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 21 Mar 2012 15:17:32 +0000 (16:17 +0100)]
[GENDLT-20] Fixed bug to use old cmake version for copy file
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 21 Mar 2012 14:40:08 +0000 (15:40 +0100)]
Merge branch 'master' of qmuc300924:/home/git/DLT-daemon
Christian Muck [Wed, 21 Mar 2012 13:11:09 +0000 (14:11 +0100)]
Replaced dlt-test-filetransfer-image.png with an own created image
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 21 Mar 2012 08:50:11 +0000 (09:50 +0100)]
[GENDLT-21] Fixed bug: Message Counter (MCNT) should be increased but is always 0
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 21 Mar 2012 08:49:13 +0000 (09:49 +0100)]
Fixed bug with comparinson between signed and unsigned integer and protection for a buffer overflow.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Lassi Marttala [Wed, 14 Mar 2012 14:55:51 +0000 (15:55 +0100)]
GDLT-64, check that the messages in tests 6m and 6f are actually
messages intended to be received here.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 21 Mar 2012 13:11:09 +0000 (14:11 +0100)]
Replaced dlt-test-filetransfer-image.png with an own created image
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 21 Mar 2012 08:50:11 +0000 (09:50 +0100)]
[GENDLT-21] Fixed bug: Message Counter (MCNT) should be increased but is always 0
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Wed, 21 Mar 2012 08:49:13 +0000 (09:49 +0100)]
Fixed bug with comparinson between signed and unsigned integer and protection for a buffer overflow.
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Christian Muck [Tue, 6 Mar 2012 07:24:38 +0000 (08:24 +0100)]
Removed debian files because they aren't part of BMW software delivery for CLA
Christian Muck [Tue, 6 Mar 2012 07:23:44 +0000 (08:23 +0100)]
Updated version information for 2.5.0 release
Lassi Marttala [Mon, 5 Mar 2012 12:51:56 +0000 (13:51 +0100)]
Add man pages to rpm build
Christian Muck [Mon, 5 Mar 2012 08:29:41 +0000 (09:29 +0100)]
Update of dlt-daemon.1, Readme.txt, Install.txt, CMAKELists and gitignore
Lassi Marttala [Fri, 2 Mar 2012 10:18:50 +0000 (11:18 +0100)]
[GDLT-53] Remove dummy library
Lassi Marttala [Fri, 2 Mar 2012 10:03:16 +0000 (11:03 +0100)]
[GDLT-53]
Improve the man page generation.
Upgrade the versions within man files.
Move man page generation into build/doc dir
Lassi Marttala [Thu, 1 Mar 2012 14:23:28 +0000 (15:23 +0100)]
Prettyfied the syntax to be more consistent.
Lassi Marttala [Thu, 1 Mar 2012 14:14:01 +0000 (15:14 +0100)]
First test using cmakelist
Lassi Marttala [Tue, 28 Feb 2012 11:47:58 +0000 (12:47 +0100)]
Fixed the version number in ReleaseNotes.txt
Christian Muck [Tue, 28 Feb 2012 07:45:38 +0000 (08:45 +0100)]
Modified GENIVI RPM Release value in CMakeLists.txt
Christian Muck [Tue, 21 Feb 2012 10:13:41 +0000 (11:13 +0100)]
Modified systemd unit files.
Christian Muck [Tue, 21 Feb 2012 10:01:58 +0000 (11:01 +0100)]
Modified systemd unit file for dlt-daemon.
Christian Muck [Mon, 13 Feb 2012 20:27:25 +0000 (21:27 +0100)]
Update project structure
Christian Muck [Thu, 9 Feb 2012 11:51:11 +0000 (12:51 +0100)]
Added .cproject and .project file
Christian Muck [Wed, 8 Feb 2012 13:55:54 +0000 (14:55 +0100)]
[GENDLT-16] Create variable in dlt-system.conf to configure the timeout of the filetransfer fixed.
Christian Muck [Wed, 8 Feb 2012 09:33:54 +0000 (10:33 +0100)]
Set automatic dlt lib version number from project CMakeLists.txt. Removed dlt-test-internal because has no functionality.
Lassi Marttala [Wed, 8 Feb 2012 08:41:44 +0000 (09:41 +0100)]
Amend releasenotes to reflect the version number.
Lassi Marttala [Wed, 8 Feb 2012 08:15:11 +0000 (09:15 +0100)]
Add dlt-test-multi-process to spec.
Lassi Marttala [Wed, 8 Feb 2012 08:07:04 +0000 (09:07 +0100)]
Fix build for real targets. sys/stat.h was not taken in.
Lassi Marttala [Tue, 7 Feb 2012 16:57:46 +0000 (17:57 +0100)]
Increase version.
Lassi Marttala [Tue, 31 Jan 2012 10:15:16 +0000 (11:15 +0100)]
Merge branch 'master' of git@qmuc300924:/home/git/DLT-daemon
Christian Muck [Mon, 30 Jan 2012 13:28:43 +0000 (14:28 +0100)]
Updat of dlt-convert and dlt-receive man pages
Lassi Marttala [Fri, 27 Jan 2012 09:38:50 +0000 (10:38 +0100)]
Add descriptions for app and context.
Lassi Marttala [Thu, 26 Jan 2012 12:27:22 +0000 (13:27 +0100)]
Changed to uint32_t to match the specification.
Lassi Marttala [Thu, 26 Jan 2012 11:16:53 +0000 (12:16 +0100)]
[GSW-141] Tracefile content stored different under Ubuntu 64 bit version
compared to Ubuntu/Win 32 Bit version
Modified DltStorageHeader to use int32_t instead of time_t.
Lassi Marttala [Mon, 23 Jan 2012 14:22:52 +0000 (15:22 +0100)]
Suggested Changes to dlt-test-mutli-process:
sender:
* Print default values in usage.
* Each process should have own APPID
* Each thread should have own CID
client:
* Make usage() useful
* Also count headers to bytes transferred,
* Serial device mode
* Baudrate as option
* Output to file
* Limit number of messages to receive
Lassi Marttala [Fri, 20 Jan 2012 14:27:19 +0000 (15:27 +0100)]
Initial version of dlt-test-multi-process
Christian Muck [Wed, 18 Jan 2012 08:45:40 +0000 (09:45 +0100)]
[GSW-136] Improve including/prefixing of dlt_version.h fixed