[GDLT-137]: Automated resending: Improve init. Use everywhere.
[profile/ivi/dlt-daemon.git] / ReleaseNotes.txt
index cba8059..b051f16 100755 (executable)
 DLT - Automotive Diagnostic Log and Trace\r
 \r
-Version: 2.3.0\r
+Version: 2.8.0 ALPHA\r
 \r
+This component provides a standardised log and trace interface, based on the\r
+standardised protocol specified in the AUTOSAR standard 4.0 DLT.\r
+This component can be used by GENIVI components and other applications as\r
+logging facility providing\r
+- the DLT shared library\r
+- the DLT daemon\r
+- the DLT daemon adaptors\r
+- the DLT client console utilities\r
+- the DLT test applications\r
 \r
-Introduction\r
-------------\r
+The DLT daemon is the central component in GENIVI, which gathers all \r
+logs and traces from the DLT user applications. The logs and traces \r
+are stored optionally directly in a file in the ECU. The DLT daemon \r
+forwards all logs and traces to a connected DLT client.\r
+The DLT client can send control messages to the daemon, e.g. to set \r
+individual log levels of applications and contexts or get the list of \r
+applications and contexts registered in the DLT daemon.\r
 \r
-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.\r
-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.\r
+\r
+Homepage\r
+--------\r
+https://collab.genivi.org/wiki/display/geniviproj/Automotive+DLT+%28Diagnostic+Log+and+Trace%29\r
 \r
 \r
 License\r
 -------\r
-see file: License.txt\r
+Full information on the license for this software\r
+is available in the "LICENSE.txt" file. \r
+The full MPL license is in "MPL.txt."\r
+\r
 \r
 Contact\r
 -------\r
-Alexander Wenzel\r
-BMW Group\r
-Alexander.AW.Wenzel@bmw.de\r
-\r
+Alexander Wenzel (Alexander.AW.Wenzel@bmw.de)\r
+Christian Muck (christian.muck@bmw.de)\r
 \r
 Changes in this release\r
 -----------------------\r
+\r
+2.7.0\r
+\r
+   * [GDLT-24] Fixing compiler warnings\r
+   * [GDLT-94] Optional sending periodic software version messages. See man pages for more informations\r
+   * [GENDLT-26] Check for description length sanity\r
+   * [GENDLT-24] Crash on invalid injection message fixed\r
+   * [GDLT-93] Add -Wextra flags for compilation Fixed all the warnings that\r
+   * [GDLT-90] Optional: systemd watchdog concept in dlt-system and dlt-daemon\r
+   * [GDLT-67] Re-implemented dlt-system. Read full commit message for more information\r
+\r
+2.6.2\r
+\r
+   * [GDLT-89] Fixed daemon doesn't sent the persistent log level\r
+   * [GDLT-88] Fixed wrong initalization order using offline trace function\r
+\r
+2.6.1\r
+\r
+   * Add _GNU_SOURCE Definition to be able to use O_CLOEXEC\r
+   * Added important SEM_FREE in the daemon and closing fd in the filetransfer\r
+   * [GDLT-3] Fixed missing semaphore around dlt_buffer_push3\r
+   * [GDLT-86] Fixed dlt_free uses absolute file path /tmp and not DLT_USER_DEFINE define\r
+   * [D4099] Check for duplicate file handles, and clean them up if found\r
+   * [GDLT-85] Pipes opened multiple times for the same application pid fixed\r
+   * [GDLT-82] Child process inherits file descriptors openend by their parent fixed\r
+   * [GDLT-84] Instead of calling the injection callback, store a pointer to it and the required parameter data fixed\r
+   * [GDLT-70] Check for malloc failures and return errors where applicable\r
+   * [GDLT-47] Avoid discarding old contexts if no new memory can be allocate\r
+   * [GDLT-69] Fixed bug in dlt-test-multi-process shares context between threads\r
+   \r
+2.6.0\r
+   \r
+   * [GDLT-75] Use old style directory check on startup\r
+   * [GENDLT-21] Move mcnt from DltContextData to DltContext\r
+   * [GENDLT-15] Fixes to previous integrations from review\r
+   * [GENDLT-15] Safe re-allocations for databuffer\r
+   * [GENDLT-15] use the correct TEXTBUFSIZE\r
+   * [GENDLT-15] Optimize usege of strlen. Improved log level handling\r
+   * [GENDLT-15] Avoid buffer overrun with snprintf()\r
+   * [GENDLT-15] Check return value of dlt_user_log_write_start(_id) correctly\r
+   * [GENDLT-15] Reduce the number of applications if allocation fails\r
+   * [GENDLT-15] Make dlt_user_log_write_start inline\r
+   * [GENDLT-15] Improve errore checking in dlt_user_log_write_start_id\r
+   * [GENDLT-15] Use databussersize to avoid reallocations\r
+   * [GENDLT-15] Rename buffer size constant to avoid confusion\r
+   * [GENDLT-15] Better error handling when writing to FIFO\r
+   * [GENDLT-15] Remove duplicate msg initialization.\r
+   * [GENDLT-15] Optimize away multiple uses of strlen for one check\r
+   * [GDLT-4] Improve queue handling, allow for other messages while transferring a large file\r
+   * [GDLT-4] Limit maximum file queue to 256 files\r
+   * [GDLT-4] First working version of inotify for file transfer\r
+   * [GDLT-2] First test for filetransfer change\r
+   * [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\r
+   * [GDLT-2] Fix bug while reading the options\r
+   * [GDLT-2] Allow for enabling/disabling compression for the separate directories\r
+   * [GDLT-2] Check if the file is already compressed\r
+   * [GDLT-2] Link with libz, fix a typo\r
+   * [GDLT-2] zlib based compression for dlt-system\r
+   * Cleaned some warnings generated from removing stale old code\r
+\r
+2.5.2\r
+\r
+   * Change to Mozilla Public License Version 2.0\r
+   \r
+2.5.1\r
+\r
+   * Fixed bug with comparinson between signed and unsigned integer and protection for a buffer overflow.\r
+   * Modified library for new test cases to corrupt data - related to the bug fix for testing signed and unsigned integer\r
+   * [GENDLT-20] Fixed bug to use old cmake version for copy file\r
+   * Replaced dlt-test-filetransfer-image.png with an own created image\r
+   * [GENDLT-21] Fixed bug: Message Counter (MCNT) should be increased but is always 0\r
+\r
+2.5.0\r
+\r
+Improvements\r
+   * [GDLT-53] Man pages installation included\r
+   * .cproject and .project file for Eclipse included\r
+   * Update of doxygen documentation and generation\r
+   * Rework of root CMake project file, e.g. structure and compile options\r
+   * [GENDLT-16] Create variable in dlt-system.conf to configure the timeout of the filetransfer\r
+   * [GDLT-37] Extend automated test tools for parallel process/threads tests \r
+   * [GSW-138] API Extension to resend the log messages in the user buffer\r
+\r
+Bugfixes\r
+   * [GDLT-36] Prefixing of dlt_version.h fixed\r
+   * [GDLT-31] Tracefile content stored different under Ubuntu 64 bit version compared to Ubuntu/Win 32 Bit version fixed \r
+   * [GDLT-35] Compile warnings fixed\r
+   * [GSW-137] Wrong include gives error on compailing against dlt fixed\r
+\r
+2.4.2\r
+\r
+Improvements\r
+   * Added dynamic increasable ringbuffers to user lib and daemon.\r
+   * dlt-system filetransfer now recovers when file is deleted during filetransfer.\r
+       * Added check of file size when starting and deleting files during filetransfer\r
+       * Added chekc of shm buffer availability when push to shm\r
+   * Create abstraction of shm buffer management.\r
+\r
+Bugfixes\r
+   * Fixed buffer overflow problem in buffer library.\r
+   * Disabled share memory by default - disabled completely shared memory if not enabled.\r
+\r
+2.4.1 \r
+\r
+Improvements\r
+    * Added dynamic increasable ringbuffers to user lib and dlt-daemon.\r
+\r
+Bugfixes\r
+    * Created abstraction of shm buffer management.\r
+    * dlt-system filetransfer now recovers when file is deleted during filetransfer.\r
+    * Added check of file size when starting and deleting files during filetransfer.\r
+    * Added check of shm buffer availability when push to shm.\r
+\r
+2.4.1 \r
+\r
+Improvements\r
+    * Added internal logging facility to stdout, syslog or local file, configurable in configuration file.\r
+    * Added deamonise and signal handlers to dlt-system.\r
+    * Added manual pages.\r
+    * Added new API dlt_check_library_version() function.\r
+\r
+Bugfixes\r
+       * Fifo or SHM mode can be changed by compiler switch.\r
+       * Replaced SHM implementation.\r
+    * Fixed shared memory problem in DLT library during startup, if application is started before daemon.\r
+    * Fixed syslog adapter in dlt-system.\r
+    * Reverted API changes in dlt_register_app() function.\r
+    * DLT user library does not set the stack size of the receiver thread anymore.\r
+\r
+2.4.0\r
+\r
+Improvements\r
+    * New config files /etc/dlt.conf and /etc/dlt-system.conf must be adapted to the needs\r
+    * New DLT user lib API dlt_get_log_state() to get DLT client state\r
+    * New DLT user lib API to manage flow control (needed for bulk data logging)\r
+    * New DLT user lib API dlt_set_log_mode() to enable/disable internal/external trace\r
+    * New application dlt-system (filtransfer, proc file system logger,syslog udp adapter included)\r
+    * [GSW-66] File transfer over DLT.\r
+    * [GSW-43] Performance improvement for bulk data over DLT.\r
+    * [GSW-61] Replace command line parameter by configuration file\r
+    * [GSW-13] Support for keep-alive messages as configuration parameter\r
+    * [GSW-60] Extended offline DLT Trace memory handling.\r
+    * Removed filter implementation \r
+       \r
 2.3.0\r
 \r
 Improvements\r
@@ -151,6 +312,7 @@ Improvements
        * dlt_message_print_* functions added\r
        * Semaphore calls added to enable multi-threading\r
        * Changed injection interface from direct usage to callback\r
+\r
        * Requested log level and trace status is set immediately \r
           in dlt_set_application_ll_ts_limit()\r
        * Implemented receiver thread in DLT library\r