X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ReleaseNotes.txt;h=a19abe3783dd16c1a60727ddb6d4714ca167d2b2;hb=b9e2024a1c51f35a99d2fdf43eef73c8033fb68f;hp=01d6440aad00255b431fcbc9a694d3a34abb992e;hpb=0cb2c97d63d6d297befc724b1d3fbbd37b8b529c;p=profile%2Fivi%2Fdlt-daemon.git diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 01d6440..a19abe3 100755 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,69 +1,194 @@ -DLT - Automotive Diagnostic Log and Trace - -Version: 2.5.0_BETA - -This component provides a standardised log and trace interface, based on the -standardised protocol specified in the AUTOSAR standard 4.0 DLT. -This component can be used by GENIVI components and other applications as -logging facility providing -- the DLT shared library -- the DLT daemon -- the DLT daemon adaptors -- the DLT client console utilities -- the DLT test applications - -The DLT daemon is the central component in GENIVI, which gathers all -logs and traces from the DLT user applications. The logs and traces -are stored optionally directly in a file in the ECU. The DLT daemon -forwards all logs and traces to a connected DLT client. -The DLT client can send control messages to the daemon, e.g. to set -individual log levels of applications and contexts or get the list of -applications and contexts registered in the DLT daemon. - - -License -------- -Full information on the license for this software -is available in the "LICENSE.txt" file. -The full LGPL license is in "LGPL.txt." +Diagnostic Log and Trace - Release Notes +========================================= +Alexander Wenzel +Version +------- +2.10.0 STABLE -Contact +Changes ------- -Alexander Wenzel (Alexander.AW.Wenzel@bmw.de) -Christian Muck (christian.muck@bmw.de) +2.10.0 + + * Fixed: all possible malloc, sprintf and strcpy problems + * Fixed: Creation of dltpipes directory is too late. + * Cygwin port: cygwin patch, signal handling patch and cppcheck and install lib dll to correct location on Windows. + * Fixed compiler warnings with 32Bit gcc compiler. + * Fixed: Fixed offline trace and new send functions issues + * Fixed: Bug 172 - DLT system crashes because of wrong journald adaptor implementation + * DLT Common API Wrapper. + * Removed dlt_free from example and test applications, already called from exit handler. + * Fixed missing dlt_receiver_remove in dlt_daemon_process_user_xxx functions. + * Use LIB_SUFFIX as lib installation path. + * Fixed serial port not working anymore. + * Added log output of created socket/port In init phase 2 - socket creation + * Defined return value for dlt_message_read(). + * Cleanup of send return values.Further cleanup of send restructure. + * Moved daemon client functions to new source file. + * Centralised send function to client.Introduced connection state to dlt daemon. + * Removed check of double registration of contexts in user library, already checked by daemon. + * 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. + * Bug 3 - Cmake does not check for zlib for dlt-daemon compilation. + * Added new control message timezone. + * Fixed deadlock after wrong merge.. + * Fix potential buffer overflow in offline trace. + * Fix deadlock in dlt_user_log_reattach_to_daemon(void). + * Fixed possible crash when runtime configurations files are corrupted. + * Environement variables added to configure internal logging in library. + * Reduce Timeout between filetransfer packets. + * Close socket when send fails. + * Replace threads by timing fds for ecu version, timing packets and watchdog. + * Added conntection info and unregister context control messages. + * Configurable Timeout on send. + * Added further checks to dlt_buffer. + * atexit handler fix. + * Add threadnames to libdlt threads. + * Security fix on DLT pipes. + * Reduce usage of SEM_LOCK in application library and reset pointers. + * Fix: Systemd Journal Adapter provides corrupted output. + * Fix: Install Example service file only when example enabled + +2.9.1 + + * Implementation of command line tool dlt-control. + * Fix file transfer bug. + * Bug 44 - Don't print "Buffer full" message from DLT daemon for each trace. + * Yocto fix in build builds. + * Fixed: security issue in dlt-system-shell regarding strncpy. + * Fixed: Security Issue by Command Injection in DLT System. + * systemd/CMakeLists: Remove SYSTEMD_CONFIGURATIONS_FILES_DIR existance check. + * Bug 85 - Include of dlt.h leads to compiler warning. + * Bug 84 - Adding utf8 support to dlt-daemon, dlt-viewer. Modified patch, originally provided by Stefan Vacek. + * systemd journal support added. + * spec file does not package man files when cmake is run with -DWITH_DOC=OFF + * added length check for paths of files to be transferred + * Semaphores and Pointer passing insteasd by value and otehr coverity issue fixes + * Fixed several issues in DLT filetransfer. + * added creation date and a simple hash on the file name for to improve the uniqueness of getFileSerialNumber + * modified filetransfer to be more robust in restarting transfers + * Remove dangling DLT_SEM_FREE from dlt_user_queue_resend + * Unifed ECU version sending functions + * Refinements due to problems reported by static code analysis + * Spec file does no more package man files when cmake is run with -DWITH_DOC=OFF + * Made the APID strings in dlt-test-multi-process counting from 00-99 + * Added creation date and a simple hash on the file name for to improve the uniqueness of getFileSerialNumber + * File Transfer: improved robustness in case of restarted ECU/dlt-system with interrupted transfers + +2.9.0 + + * Changed documentation and man pages into asciidoc format. + * Increased buffer sizes for DLT user library and DLT daemon + * [GDLT-120]: truncated and Segmented network tracing + * [GDLT-137]: Automatically try resending of user buffer after FIFO full + * [GSWD-85]: Added authors file + +2.8.0 + + * [GDLT-115]: Encapsulate user macros + * Fix register app and register context was not stored in buffer when FIFO is full. Other controll messages still not saved in buffer. + * Create new fifo only when same application registers with different pid.' + * Do not register appliction again, if already registered. + * Fixed filetransfer not checking buffer fill level. + +2.7.0 + + * [GDLT-24] Fixing compiler warnings + * [GDLT-94] Optional sending periodic software version messages. See man pages for more informations + * [GENDLT-26] Check for description length sanity + * [GENDLT-24] Crash on invalid injection message fixed + * [GDLT-93] Add -Wextra flags for compilation Fixed all the warnings that + * [GDLT-90] Optional: systemd watchdog concept in dlt-system and dlt-daemon + * [GDLT-67] Re-implemented dlt-system. Read full commit message for more information + +2.6.2 + + * [GDLT-89] Fixed daemon doesn't sent the persistent log level + * [GDLT-88] Fixed wrong initalization order using offline trace function + +2.6.1 + + * Add _GNU_SOURCE Definition to be able to use O_CLOEXEC + * Added important SEM_FREE in the daemon and closing fd in the filetransfer + * [GDLT-3] Fixed missing semaphore around dlt_buffer_push3 + * [GDLT-86] Fixed dlt_free uses absolute file path /tmp and not DLT_USER_DEFINE define + * [D4099] Check for duplicate file handles, and clean them up if found + * [GDLT-85] Pipes opened multiple times for the same application pid fixed + * [GDLT-82] Child process inherits file descriptors openend by their parent fixed + * [GDLT-84] Instead of calling the injection callback, store a pointer to it and the required parameter data fixed + * [GDLT-70] Check for malloc failures and return errors where applicable + * [GDLT-47] Avoid discarding old contexts if no new memory can be allocate + * [GDLT-69] Fixed bug in dlt-test-multi-process shares context between threads + +2.6.0 + + * [GDLT-75] Use old style directory check on startup + * [GENDLT-21] Move mcnt from DltContextData to DltContext + * [GENDLT-15] Fixes to previous integrations from review + * [GENDLT-15] Safe re-allocations for databuffer + * [GENDLT-15] use the correct TEXTBUFSIZE + * [GENDLT-15] Optimize usege of strlen. Improved log level handling + * [GENDLT-15] Avoid buffer overrun with snprintf() + * [GENDLT-15] Check return value of dlt_user_log_write_start(_id) correctly + * [GENDLT-15] Reduce the number of applications if allocation fails + * [GENDLT-15] Make dlt_user_log_write_start inline + * [GENDLT-15] Improve errore checking in dlt_user_log_write_start_id + * [GENDLT-15] Use databussersize to avoid reallocations + * [GENDLT-15] Rename buffer size constant to avoid confusion + * [GENDLT-15] Better error handling when writing to FIFO + * [GENDLT-15] Remove duplicate msg initialization. + * [GENDLT-15] Optimize away multiple uses of strlen for one check + * [GDLT-4] Improve queue handling, allow for other messages while transferring a large file + * [GDLT-4] Limit maximum file queue to 256 files + * [GDLT-4] First working version of inotify for file transfer + * [GDLT-2] First test for filetransfer change + * [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 + * [GDLT-2] Fix bug while reading the options + * [GDLT-2] Allow for enabling/disabling compression for the separate directories + * [GDLT-2] Check if the file is already compressed + * [GDLT-2] Link with libz, fix a typo + * [GDLT-2] zlib based compression for dlt-system + * Cleaned some warnings generated from removing stale old code + +2.5.2 + + * Change to Mozilla Public License Version 2.0 + +2.5.1 + + * Fixed bug with comparinson between signed and unsigned integer and protection for a buffer overflow. + * Modified library for new test cases to corrupt data - related to the bug fix for testing signed and unsigned integer + * [GENDLT-20] Fixed bug to use old cmake version for copy file + * Replaced dlt-test-filetransfer-image.png with an own created image + * [GENDLT-21] Fixed bug: Message Counter (MCNT) should be increased but is always 0 -Changes in this release ------------------------ -2.5.0_BETA +2.5.0 -Improvements + * [GDLT-53] Man pages installation included + * .cproject and .project file for Eclipse included + * Update of doxygen documentation and generation + * Rework of root CMake project file, e.g. structure and compile options * [GENDLT-16] Create variable in dlt-system.conf to configure the timeout of the filetransfer - * [GSW-138] API Extension to resend the log messages in the user buffer Fixed - * [GSW-137] Wrong include gives error on compailing against dlt - * [GSW-135] Fixed compile warnings - * Update of doxygen documentation/generation - + * [GDLT-37] Extend automated test tools for parallel process/threads tests + * [GSW-138] API Extension to resend the log messages in the user buffer + * [GDLT-36] Prefixing of dlt_version.h fixed + * [GDLT-31] Tracefile content stored different under Ubuntu 64 bit version compared to Ubuntu/Win 32 Bit version fixed + * [GDLT-35] Compile warnings fixed + * [GSW-137] Wrong include gives error on compailing against dlt fixed + 2.4.2 -Improvements * Added dynamic increasable ringbuffers to user lib and daemon. * dlt-system filetransfer now recovers when file is deleted during filetransfer. * Added check of file size when starting and deleting files during filetransfer * Added chekc of shm buffer availability when push to shm * Create abstraction of shm buffer management. - -Bugfixes * Fixed buffer overflow problem in buffer library. * Disabled share memory by default - disabled completely shared memory if not enabled. 2.4.1 -Improvements * Added dynamic increasable ringbuffers to user lib and dlt-daemon. - -Bugfixes * Created abstraction of shm buffer management. * dlt-system filetransfer now recovers when file is deleted during filetransfer. * Added check of file size when starting and deleting files during filetransfer. @@ -71,15 +196,12 @@ Bugfixes 2.4.1 -Improvements * Added internal logging facility to stdout, syslog or local file, configurable in configuration file. * Added deamonise and signal handlers to dlt-system. * Added manual pages. * Added new API dlt_check_library_version() function. - -Bugfixes - * Fifo or SHM mode can be changed by compiler switch. - * Replaced SHM implementation. + * Fifo or SHM mode can be changed by compiler switch. + * Replaced SHM implementation. * Fixed shared memory problem in DLT library during startup, if application is started before daemon. * Fixed syslog adapter in dlt-system. * Reverted API changes in dlt_register_app() function. @@ -87,7 +209,6 @@ Bugfixes 2.4.0 -Improvements * New config files /etc/dlt.conf and /etc/dlt-system.conf must be adapted to the needs * New DLT user lib API dlt_get_log_state() to get DLT client state * New DLT user lib API to manage flow control (needed for bulk data logging) @@ -99,50 +220,34 @@ Improvements * [GSW-13] Support for keep-alive messages as configuration parameter * [GSW-60] Extended offline DLT Trace memory handling. * Removed filter implementation - -Bugfixes - * 2.3.0 -Improvements * [GSW-16] Systemd configuration for syslog to DLT dapater * [GSW-62] DLT Library version check * [GSW-28] Directory where persistent data is stored is not configurable * [GSW-59] Statically allocated large array * Added init script for Ubuntu * Optional adding of gprof compile flags - -Bugfixes * sprintf with float64 fails on ARM platform; disabled this function on QRM platform. -2.2.0: - -Improvements +2.2.0 * Moved build process completely to cmake * Added commandline parameter -u to set ring buffer size - -Bugfixes - * Reduced cpu consumption needed by applications using DLT library * Increased default ringbuffer size to 10024 bytes * Changed delay in receiver routine to 100ms - -2.1.0: - -Improvements +2.1.0 * DLT Viewer (QT) * New dlt viewer (QT-based) implementated * Moved to seperate project, see extra Release Notes for DLT Viewer (QT) - * DLT Viewer (WX) - Deprecated * Old dlt viewer (WX) is removed now from package generation * Moved to seperate project * Removed filtering of messages during writing to a file - * DLT library: * Functions dlt_file_read_raw() and dlt_file_read_header_raw() added * Added support for raw messages in nonverbose mode @@ -153,13 +258,11 @@ Improvements Attention: This file must be adapted to each target platform. * Removed signal handlers from dlt_user.c; SIGPIPE signal is ignored; atexit() handler still exists * Function dlt_forward_msg() added - * DLT daemon: * Small optimization in get_log_info() for one searched application with one searched context, which is existing in the context table of the dlt daemon * Optional syncing to serial header added * Support for keep-alive messages, realized as seperate thread - * General: * Combined dlt-test-user-multi and dlt-test-many to dlt-test-stress * Extended dlt-test-client @@ -168,22 +271,16 @@ Improvements * Added dlt-test-internal * Removed plugin support from dlt_receive and dlt_convert * Extended documentation - -Bugfixes: * dlt viewer (wx): Fixed minor bug, it's possible now to compile the dlt viewer (wx) again under mingw under Windows * DLT test programs: Fixed minor bug in dlt-test-user, test3f: Wrong counter was used * Removed DLT_LOG calls in injection functions due to problems (application hangs) - -2.0.5: - -Improvements +2.0.5 * DLT viewer: * The default log level is now shown, if already known * Renamed Filter->New.. to Filter->Delete all filter * Enhanced performance - * DLT library: * On crash or termination of application using the DLT library, the registered context and application IDs are removed properly @@ -191,7 +288,6 @@ Improvements * dlt_register_context_ll_ts() and Macro therefore added * dlt_message_payload() has now additional type DLT_OUTPUT_ASCII_LIMITED * dlt_message_header_flags() added - * DLT daemon: * Support for dlt_register_context_ll_ts() added * Enhanced support for get_log_info (all modes, 1 app all contexts, 1 app 1 context, all apps all contexts) @@ -201,13 +297,10 @@ Improvements * dlt_daemon_context_find(), dlt_daemon_application_find(): Now O(log n) instead O(n) * Several functions optimized * Unnecessary functions removed - * General: * Moved definition of struct DltUser from dlt_user_private.h to dlt_user.h * dlt.h includes now dlt_common.h * Extended dlt-test-user and dlt-test-client applications - -Bugfixes: * DLT daemon/DLT library: Fixed bug in Filter Delete * DLT daemon: Fixed bug in dlt daemon which leads to a crash, when starting/stoping application, then sending new log level to context of this (now not running) application. @@ -216,34 +309,25 @@ Bugfixes: * DLT library: Fixed bug in send function * DLT viewer: Fixed bug in set default log level -2.0.4: +2.0.4 -Attention: * License has changed from ADRLPD to ADRLRM - -Improvements - * DLT viewer: * Support for non-verbose mode (as FIBEX plugin) - * DLT library: * Support for non-verbose mode (as FIBEX plugin) * dlt_message_print_* functions added * Semaphore calls added to enable multi-threading * Changed injection interface from direct usage to callback - * Requested log level and trace status is set immediately in dlt_set_application_ll_ts_limit() * Implemented receiver thread in DLT library (used for setting of log level/trace status and for injection handling) * Added signal-handler and atexit-handler for cleanup (calls dlt_free()) - * General: * Added implementation of clientlib and testclient for Windows * Both adaptors sends now log messages with log level DLT_LOG_INFO * Multi-threading example in src/tests/dlt-test-user-multi added - -Bugfixes: * DLT viewer: Right mouse button for loading plugin descriptions (MOST-/Fibex-XML File) is now working (also in Windows) * DLT library: Fixed bug in dlt_print_mixed_string() @@ -257,9 +341,7 @@ Bugfixes: * Added -lrt to package config file * Resolved dependency from dlt_client.h to dlt_common.h -> dlt_common.h is now public -2.0.3: - -Improvements +2.0.3 * DLT viewer: * Reduced load if idle @@ -286,9 +368,6 @@ Improvements * Tested and improved MOST plugin * Support for float (32 Bit) and double (64 Bit) values * Code fragments for winclientlib and wintestclient added - -Bugfixes - * DLT library: Fixed bug in DLT_IMPORT_CONTEXT * DLT library: Fixed bug in dlt_plugin_print() and dlt_most_payload() * DLT daemon and library: Fixed bug in handling of description strings @@ -296,10 +375,8 @@ Bugfixes * General: Fixed parsing and printing of MOST messages * Several small bugs fixed -2.0.2: +2.0.2 -Improvements - * DLT viewer: * Showing timestamp * Compiles now with MS Visual C++ @@ -321,11 +398,6 @@ Improvements * Support for timestamp in standardheader extras added * Support for ECU ID in standardheader extras added; this value can be overwritten by the DLT daemon - -(*) = feature not enabled in binary build - -Bugfixes - * DLT viewer: * Store and load application and context description fixed * Fixed crash on termination of Windows version @@ -336,60 +408,13 @@ Bugfixes * Fixed writing and reading of locally created dlt files * Several smaller bugs fixed -2.0.1: +2.0.1 -Improvements - * Full support for serial connection between DLT daemon and DLT Viewer - -Bugfixes - * Several small bugs fixed in DLT Viewer - -2.0.0: - -Improvments +2.0.0 * Initial Release of new DLT daemon Version 2 including the new DLT Client DLT Viewer - -Bug fixes - * Initial Release - -Known issues in this release ----------------------------- - - * DLT library: Usage of dlt_user_log_write_float64() and DLT_FLOAT64() leads - to "Illegal instruction (core dumped)" on ARM target. - * DLT library: Nested calls to DLT_LOG_ ... are not supported, and will lead to a deadlock. - - -API Documentation: ------------------- - - * GENIVI_UserManual_DLT_Daemon.odt - API Documentaion and Programming HowTo - * Doxygen documentation, can be created with "make doxygen", will then be located at - doc/html/index.htm, or doc/rtf/refman.rtf - -Other Documents ----------------- - - * GENIVI_UserManual_DLT_Client.odt - User Manual for DLT programs - * GENIVI_Specification_DLT_Daemon.odt - Internals of DLT daemon and DLT library - -Notes ------ - - * Moved to cmake build process - -Software/Hardware ------------------ - - * Developped with: - * Ubuntu Linux 9.10 32-bit / Intel PC -