From: Jérémie Galarneau Date: Tue, 21 Jan 2020 22:02:59 +0000 (-0500) Subject: Release: Babeltrace 2.0.0 "Amqui" X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=af597f37371c47fb3ce4e605d9675b53dca6daf1 Release: Babeltrace 2.0.0 "Amqui" Released at long last! Adds the name and description of the release. The ChangeLog is reset as we are starting a new release series afresh. The ChangeLog of this release describes the changes that were introduced between the fourth release candidate (rc4) and this final version of Babeltrace v2.0.0. Signed-off-by: Jérémie Galarneau Change-Id: Id57d79cd0efba4aa0f8c699abe1def190dd841d7 Reviewed-on: https://review.lttng.org/c/babeltrace/+/2844 Reviewed-by: Philippe Proulx Reviewed-by: Michael Jeanson --- diff --git a/ChangeLog b/ChangeLog index 83e328df..46122d79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,685 +1,84 @@ -2014-02-28 Babeltrace 1.2.0 - * Fix: lttng-live parse url port check - -2014-02-27 Babeltrace 1.2.0-rc2 - * Fix: events discarded timing inaccuracy - * Fix: Move offset endianness conversion to get_data_packet - * Fix: Remove negative comparison to unsigned value - * Fix: Uninitialized scalar variable - * Fix: Don't assert on metadata generation failure - * Fix: add missing SIGTERM and SIGINT handler - * Fix: Reverse incorrect error message argument order - * Cleanup: add brackets to lttng-live-plugin.c - * Cleanup lttng-live: add brackets in lttng_live_read() - * Cleanup lttng-live: 80 columns wrapping - * Fix: handle new streams in get_data_packet() - * Fix: accept empty metadata on append - * Fix: lttng-live: 100ms active poll delay - * Fix: lttng-live await metadata - * Fix: lttng-live recv() and send() flags, partial recv() - * Fix: missing little endian conversion for one index field - * Cleanup: remove logically dead code - * Fix: untrusted value as argument - * Fix: off by one in lttng-live path length check - * Fix: fclose return value unchecked - * Fix: call to append metadata when new metadata is added - * Fix: use memstream instead of tmp file for live metadata - * Fix: assign a trace handle to every live trace - * Fix: get_new_metadata receive all the metadata - * Fix: Coverity warning CWE-457: Use of Uninitialized Variable - * Revert "Fix: get_new_metadata receive all the metadata" - * Revert "Fix: assign a trace handle to every live trace" - * Fix: assign a trace handle to every live trace - * Fix: get_new_metadata receive all the metadata - * CTF: Support incremental metadata append - * Fix: ctf.c fscanf missing integer length check - * Bump soname version to 1.0.0 - * Move scanner allocation/free outside of ctf_open_trace_metadata_read - * CTF parser: prepare for incremental metadata parsing - * Python bindings: return char arrays as strings in value() - * Python bindings: sched_switch example clean-up - * Fix: add missing test scripts to Makefile.am - -2014-02-14 Babeltrace 1.2.0-rc1 - * Cleanup: lttng-live: use perror() rather than fprintf for err msg - * Fix: lttng-live: handle orderly shutdown - * Fix: Unchecked array index when importing trace indexes - * LTTng-live usage documentation - * Fix: ctf: uninitialized packet_index, misuse of index - * Cleanup: rename lttng live implementation files - * Attach and list by session name and hostname - * get_new_streams and multi-session - * Create the live viewer session before attaching - * Sync lttng live ABI with lttng-tools - * Extract adding a trace to the iterator from bt_iter_init - * Compute discarded events in live - * Merge real index and cycles index into a single index - * Fix: import index containing only a header - * Remove outdated Python bindings test - * Fix: replace assert with proper error handling - * Fix: lttng-live: unbounded use of sscanf() in parse_url() - * Fix: lttng-live should accept 0 in addresses - * Remove default to display field names in live - * Remove null checks on g_new0 - * Cleanup: iterator unused pointer value - * Fix: lttng-live: resource leak - * Fix: lttng-live uninitialized scalar variable - * Fix: lttng-live non NULL-terminated strings - * lttng-live: fix unchecked mkdir return value - * lttng-live input plugin - * Live: let read API detect inactive streams, allow streams without fd - * Add Jérémie Galarneau as co-maintainer - * Fix: disallow re-using same event ID in same stream - * Fix: check for unknown enum/variant fields - * Fix: libbabeltrace lib build dependencies - * Fixes in babeltrace core to support non-CTF traces - * Add a private pointer to the ctf_stream_pos - * Be more widely accepting for missing variant/enum fields - * Cleanup: remove index_read (unused var) - * Refuse 0 integer size - * Fix ctf-writer: possible use after free - * Fix data_offset when importing the indexes - * Merge branch 'master' into bindings/python - * Python-bindings fix: Out of tree build fails to find babeltrace.i - * Test: Validate that enumeration mapping strings are properly escaped - * Fix ctf-writer: Quote strings provided as enumeration mappings - * Fix: read/write mode check - * Cleanup: do not duplicate code in float fix - * Fix: floats should set content size in tmp definition - * Handle empty streams on iterator init - * Handle packets containing only a header - * Handle the inactive streams - * Fix: test content size vs headers len - * Fix: check packet index len - * Fix: uncheck null pointer - * Fix: test for less than 1 byte packets - * Fix: reversed logic in packet vs content size - * Fix: clarify end of packet error - * Fix: string packet boundary handling, bits vs bytes - * Fix: add stricter checks on packet boundaries - * Parse CTF indexes - * Cleanup: fix typo - * Fix: fail when reading 0 byte event - * Python-bindings fix: outdated dist target babeltrace.i - * Python-bindings: Refactor the CTFWriter API - * Fix: bt_ctf_field_generic_validate should return < 0 on error - * Fix: Take the iterator's end position into account - * Fix: Use the bt_iter_set_pos function to set the begin_pos - * Python-bindings: Move declaration bindings out of the _Definition class - * Python-bindings: Refactor the FieldDecl and EventDecl classes - * Python-bindings: Move the _scopes array out of the Event class - * Python-bindings: Refactor the Event class - * Python-bindings: Refactor the TraceHandle class to use properties - * Python-bindings: Refactor the Context class - * Test ctf-writer: Verify that enumerations are validated before use - * Fix ctf-writer: Reject enumerations containing no mappings - * Fix lint warnings - * Expose text arrays the same way as regular arrays - * Don't generate Python bindings by default - * Add a usage example for the CTF Writer Python bindings - * Add CTF Writer Python bindings - * Rename the ctf class to CTFReader - * Fix: Python bindings array access functions write out of bounds - * Add support for structure fields in the Python bindings - * Add support for variant fields in the Python bindings - * Add support for floating point fields in the Python bindings - * Fix: Use of functions not provided by glib 2.22 - * Fix: Throw a FieldError exception when get_value() fails - * Remove Python 2 specific examples - * Add a python bindings sequence test - * Support for the sequence type - * Add a generic get_value() implementation - * Support getting the value of enums - * Remove the unnecessary underscore prefix - * Return event fields by field name - * Merge branch 'master' into bindings/python - * ctf writer BSD compatibily: remove O_DIRECTORY - * Fix ctf writer lints - * linter fix: comparison of fd >= 0 - * test ctf writer: fix lints - * ctf-writer: fix linter defects - * ctf-writer: Coding style fix - * Tests: Add a CTF Writer test - * Add CTF Writer implementation - * Add public CTF Writer API headers - * Fix: Don't create a new packet if ctf_move_pos() seeks out of a packet - * Fix: Uninitialized ctf_stream_pos structure in ctf_float_write() - * Fix: Use the packet's final size when mmap-ing the next packet - * Fix: Close traces on context destruction - * gcc warning fix: -Wextra - * Declare enum type to use from C++ - * Fix: test_seek should only output one TAP plan - * Revert "Add missing declaration of ssize_t as unsigned long for SWIG" - * Add missing declaration of ssize_t as unsigned long for SWIG - * Fix (python): use of braces in format strings - * Add missing call to _bt_ctf_get_decl_from_def() when calling _bt_ctf_get_int_len(). - * Merge branch 'master' into bindings/python - * Fix: test_seek static linking - * Tests: fix string octal encoding - * Add missing Makefile.am - * make check VPATH build - * Add missing test files to make dist - * Tests: Use Perl prove as the testsuite runner - * Tests: Add trace reading test with babeltrace bin - * Tests: Split lib tests in multiple standalone test scripts - * Tests: Rename tests under lib with tests naming convention - * Tests: Move TAP helpers to tests/utils/tap - * Fix ctf_clock_declaration_visit returning an error when reading a boolean - * Fix CTF parser hang with bison 3.0 - * Add missing lex/bison generated files to make clean - * Put the libbabeltrace-ctf specific parts of babeltrace.pc into a babeltrace-ctf.pc file - * Test for presence of bison and flex when building from git - * Fix: Unchecked asprintf/vasprintf return values - * Missing NULL pointer init in tap.c - * Add bt_unregister_format function support - * Fix: libcompat should be noinst (statically linked) - * Add MinGW definitions to endian.h - * Add MinGW implementation of UUID functions - * Add Windows exe files to .gitignore - * Add MinGW32 libraries to executables - * Move strerror_r to compat directory - * Document: manpage: chronologically ordered events - * Make python bindings compile with trunk - * Merge branch 'master' into bindings/python - * babeltrace-log: UTC timestamps - * Cleanup: comment mismatch with code - * Add unit test validating seeking to last event of a trace - * Remove unused function bt_trace_handle_get_id - * Cleanup: remove whitespaces at end of lines - * Remove extra -I for python bindings - -2013-06-18 Babeltrace 1.1.1 - * Compare traces by stream path as secondary key - * Fix: use index, not cur_index, for SEEK_SET validation - * Fix: ctf-text irregular output with disabled field names - * Support old compilers - * Remove useless variable assignment - * Fix: Remove extra quote after an include directive - * Don't dereference before NULL check - * eliminate dead code - * fix babeltrace-log error checking - * Fix resource leak on error path - * Fix: handle error checking should compare against NULL - * Remove unused array in bt_context_add_traces_recursive - * Fix: Suppress a compiler warning (always-false condition) - * Cleanup: remove trailing whitespaces - * Move memstream.h and uuid.h to include/babeltrace/compat directory - * Fix: handling of empty streams - * Add new option --clock-offset-ns - * Fix: add missing error return when create_event_definitions fails - * Fix: ctf-text should link on libbabeltrace-ctf - * Move clock to bt_trace_descriptor - * Remove unused stream_heap - * Move trace collection pointer to bt_trace_descriptor - * Move bt_handle to bt_trace_descriptor - * Move bt_context to bt_trace_descriptor - * Privatize struct bt_trace descriptor, move trace path - * Add backward ref from bt_stream_pos to bt_trace_descriptor - * Fix kFreeBSD build - * Fix: babeltrace-log timestamps should be in nsec - * Use objstack for AST allocation - * Remove unused gc field - * Use objstack to store nodes - * Use objstack for strings - * Implement objstack for parser - * Fix: octal and hex string handling - * Simplify error node - * Lexer cleanup - * Fix: invalid integer suffix parsing - * Test cleanup - * Test cleanup - * Test cleanup - * Fix: bootstrap should call libtoolize - * Fix bootstrap script - * Use uint64_t for packet_map_len - * Add smalltrace succeed/fail test cases - * Support packets and trace files smaller than page size - * Move ctf-metadata plugin into its own shared object - * Implement ctf-metadata output plugin - * Handle make_node errors with TLS dummy node - * Remove nested expressions - * Eliminate dead code - * Fix: trace_collection_add() add after check - * Handle integers in lexer rather than grammar - * Implement perror printf - * Support escape characters in metadata strings - * Add error node to AST - * Introduce macro to enforce matching enum to string for node types - * Fix: add semantic check in grammar - * Implement likely/unlikely ifdefs - * Fix unary constant use after error - * Use new print macros in ctf-parser.y - * Print error on invalid token - * Implement macros for error printout - * Add line number to parser nodes - * Fix: handle errors gracefully - * Fix: memleak on error path - * Add missing NULL pointer check - * Show token in CTF parser error - * Remove unused lineno from struct ctf_scanner - * Show line numbers in CTF parser errors - * Ignore Windows-style EOL character in metadata - * Replace AM_PROG_MKDIR obsolete macro with AC_PROG_MKDIR_P - -2013-03-23 Babeltrace 1.1.0 - * Reinsert "at end of stream" message for discarded events - * Improvement: Message from babeltrace concerning discarded events needs i - * Cleanup: typo fix - * Cleanup: add end of line at end of verbose message - * Fix: misleading message from babeltrace --verbose - * Fix: babeltrace --fields all overrides --no-delta - * Add verbosity to stream id error message - * Fix: Ensure the specified input format is CTF - * Fix: Undefined behavior of double free on strlist in get_names_args - * Fix: ctf-text: don't close stdout - * Fix: warning message for unexpected trace byte order - * Namespace the struct declaration - * Namespace the struct definition - * Namespace the struct format - * Namespace the struct mmap_stream - * Namespace the struct trace_descriptor - * Namespace struct stream_pos - * Namespace compliance for dependencies function - * Cleanup error messages - * Fix: babeltrace: make '-w' actually work - * Convert the unit tests to the TAP format - * Spelling cleanups within comments - * Move the bitfield test to tests/lib/ - * Fix: Added a null pointer check to bt_ctf_field_name - * Add babeltrace.pc to gitignore - * namespacing: place flex/bison symbols under bt_yy namespace - * namespace the lookup_integer function - * namespace the definition functions - * namespace the variant functions - * namespace the declaration functions - * namespace the collection functions - * namespace the heap functions - * namespace the struct functions - * namespace the string functions - * namespace the sequence functions - * namespace the int functions - * namespace the enum functions - * namespace definition_ref and definition_unref - * namespace declaration_ref and declaration_unref - * namespace the array functions - * namespace the scope_path functions - * Hide internal functions of libbabeltrace-ctf - * Hide internal functions of ctf-text - * BT_HIDDEN macro - * Namespace the lookup_enum function - -2012-01-24 Babeltrace 1.0.3 - * Fix: Double free when calling bt_context_remove_trace() - * Add missing runall.sh to dist packaging - * Fix: alignment of compound types containing array field - -2012-01-11 Babeltrace 1.0.2 - * Fix: add tests/lib missing files to Makefile.am - -2012-01-11 Babeltrace 1.0.1 - * Provides a basic pkg-config file for libbabeltrace - * Fix erroneous warning/error messages - * Fix comment in context.h - * Cleanup: Remove whitespace at EOL from mit-license.txt - * Add missing permission notice in each source file - * Adding a test which do a sequence of seek BEGIN, LAST, BEGIN, LAST - * Run seek tests on a second trace file - * Add #define _GNU_SOURCE to remove warning about asprintf - * Include a test for SEEK_BEGIN and SEEK_LAST - * Fix: Report success even if we find at least one valid stream in find_max_timestamp_ctf_stream_class - * Fix SEEK_BEGIN for streams that do not contain any event - -2012-10-27 Babeltrace 1.0.0 - * tests: add test traces to distribution tarball - * Document bash requirement for make check in README - * Add tests to make check - * Fix: add missing header size validation - * callbacks.c: handle extract_ctf_stream_event return value - * Cleanup: fix cppcheck warning - * Cleanup: fix cppcheck warnings - * fix double-free on error path - -2012-10-18 Babeltrace 1.0.0-rc6 - * Add valgrind suppression file for libpopt - * Fix: unplug memory leak that causes popt-0.13 to segfault - * Fix: test all close/fclose ret val, fix double close - * Cleanup: add missing newline - * Fix: fd leak on trace close - * Fix memory leaks induced by lack of libpopt documentation - * babeltrace: fix poptGetOptArg memleak - * plugins: implement plugin unregister - * Doc: valgrind with babeltrace (glib workaround) - * callsites: fix memory leak - * Fix: free all the metadata-related memory - * Fix : Free the iterator callback arrays - * Fix : cleanup teardown of context - * Fix : protect static float and double declarations - * callsite: support instruction pointer field - * Document that list.h is LGPLv2.1, but entirely trivial - * Fix: callsite support: list multiple callsites - * Add callsite support - * Fix: Allow 64-bit packet offset - * Fix: emf uri: surround by " " - * Handle model.emf.uri event info - * Fix: Documentation cleanup - * Fix: misplaced C++ ifdef - * Fix babeltrace-log get big line when the input file last line don't have enter - * API Fix: bt_ctf_iter_read_event_flags - * Fix: get encoding for char arrays and sequences - * Fix: access to declaration from declaration_field - * Fix: get_declaration_* should not cast to field - * Fix babeltrace-log uninitialized memory (v2) - * Revert "Fix babeltrace-log uninitialized memory" - * Fix babeltrace-log uninitialized memory - * Fix: access field properties by declaration - * Fix: check return value of get_char_array - * Fix: C++ support to API header files - -2012-08-27 Babeltrace 1.0.0-rc5 - * Change default printout to add host, process names and vpid - * Add support for trace:hostname field - * Fix: allow specifying more than one input trace path - * Fix: make warnings (partial errors) visible - * Fix: --clock-force-correlate to handle trace collections gathered from v - * Documentation: update API doc with enum functions - * Fix: API: remove unsupported BT_SEEK_END from API - * API documentation - * Cleanup: shut up gcc uninitialized var warning - * Fix: support large files on 32-bit systems - * Fix: remove unused fts.h include - * Fix: add missing enum support to API - * Fix: handle clock offset with frequency different from 1GHz - * Cleanup: update ifdef wrapper name - * Fix: clarify bt_ctf_get_field_list - * Fix trace-collection.h: No such file or directory that build code with l - * Fix: check return value of bt_context_create - * Fix: ensure mmap_base_offset is zeroed on initialization - * Fix: Reswitch to FTW for add_traces_recursive - * Fix: don't free unallocated index - * Fix: don't close the metadata FD if a FP is passed - * Add BT_SEEK_LAST type to bt_iter_pos - * Fix: iterator.c BT_SEEK_RESTORE: check return value - * Fix: complete error handling of babeltrace API - * cleanup: protected -> hidden: cleanup symbol table - * Fix: add mmap_base_offset to ctf_stream_pos - * Fix: assign the current clock for mmap traces - * Fix: libbabeltrace add missing static declaration - * Fix: safety checks for opening mmap traces - * Remove trace-collection.h from include_headers - * Fix: protect visibility of ctf-parser functions - * Fix: correct name of bt_ctf_field_get_error in comments and typo in man - * Fix: wrong type in bt_ctf_get_uint64/int64 - * API cleanup name get_timestamp and get_cycles - * fix comment struct bt_saved_pos - * Fix: Add missing clock-types.h - * Get rid of clock-raw and use real clock - * Cleanup (messages): Make the wording of the signedness warning clearer - * Fix: error path if heap_init fails - * Fix: Remove obsolete bt_iter_seek function - * Make the signedness warning useful with the field name - * Fix: Restore heap for SEEK_BEGIN - * Fix: check if handle is valid - * Fix: iterator set_pos - * Fix: get rid of consumed flag - * Fix: add missing heap_copy - * Fix: babeltrace assert() triggered by directories within trace - * Several fixes for bt_iter_pos related functions - * Fix iterator: various fixes - * Fix: remove duplicate yydebug var - * Fix babeltrace iterator lib: seek at time 0 - -2012-05-30 Babeltrace 1.0.0-rc4 - * Add CodingStyle to tarball - * Add coding style document - * Fix: babeltrace should use output format argument - * Fix: accept traces which skip stream ids - * Use mmap_align - * align header: define PAGE_SIZE - * Implement mmap alignment header - * Cleanup: type warnings - * Cleanup: do not overwrite const argv parameters - -2012-05-29 Babeltrace 1.0.0-rc3 - * Fix: converter error logic - * Fix: report appropriate field in error message - * Fix: support 64-bit events discarded counter types - * Fix: add missing bt_ctf_get_int_len API - * Fix bt_context_add_traces_recursive error code - -2012-04-24 Babeltrace 1.0.0-rc2 - * Fix: return an error if no trace can be opened - * Fix: double destroy in context remove - -2012-04-18 Babeltrace 1.0.0-rc1 - * Fix: -n "field names" option should allow "none" - * Fix: Show context field name by default - * Manpage fix: babeltrace-log manpage should refer to lttng(1) - * Clarify warning message for events discarded - * Fix: babeltrace should skip erroneous traces - * Fix: put explicit error messages and warnings when opening a trace - * Fix: segfault on error handling - * Fix: enum must use last value + 1 as next item value - * Fix: warn, and don't assert, when reading a value outside enum range - * API Fix : missing list fields of event decl - * API fix : fill the values for timestamp begin and end - * API : list of events in the trace - * UUID field should be optional, as specified by CTF spec - * Babeltrace ctf-text duplicated error message - * API fix/breakage : reexporting bt_ctf_event - * fix/breakage API : replace bt_ctf_event - * add ctf_event_definition pointer to ctf_stream_definition - * Rename ctf_event to ctf_event_declaration - * Rename ctf_stream to ctf_stream_definition - * Rename ctf_stream_event to ctf_event_definition - * Rename ctf_stream_class to ctf_stream_declaration - * Cleanup: Remove unneeded local variables from function - * API Fix : give access to trace_handle and context - * API Fix : handle id to use the public functions - * Fix : add the missing seek begin - -2012-03-16 Babeltrace 1.0.0-pre4 - * fix : bt_ctf_iter_create defaults to BEGIN pos - * Fix : only one iterator per context - * Fix error checking in bt_context_add_traces_recursive - * bt_context_add_trace, bt_iter_pos and bt_iter needed some more comments. - * Fix API: add const qualifiers, privatize struct bt_ctf_event - * Fix: split ctf/event.c - * Fix: seek by timestamp - * Fix: remove leftover code from seek begin (unimplemented for now) - * Fix: seek error handling - * Fix: callbacks.c: more explicit error msg - * Fix: ctf/iterator.h bt_ctf_iter_read_event() comment - * Add missing iterator.h into the git repo - * API fix: Move ctf iterator API members to new babeltrace/ctf/iterator.h - * API cleanup: Move bt_iter_create/destroy to internal header - * Fix: update missing copyrights and ifdef protection mismatch - * Clarify clock correlation error message - * Fix build warning: set -lpopt as LDFLAGS rather than CFLAGS - * Fix: add missing _GNU_SOURCE define to babeltrace-log.c - * Fix: Add memstream.h dependency to Makefile.am - * Implement fallback for systems lacking open_memstream and fopenmem - * Fix: try to include endian.h by default - -2012-03-02 Babeltrace 1.0.0-pre3 - * Fix uuid in metadata - * Babeltrace wrapper update - * uuid wrapper: fix use in visitor - * Endian wrapper use fix - * FreeBSD uuid wrapper fixes - * Fix missing uuid wrapper change - * Add endian.h wrapper - * Use standard __LONG_MAX__ instead of __WORDSIZE - * Create BSD wrapper for uuid - * fix API : deal with the optional underscore - * Fix API : functions to access fields properties - -2012-02-23 Babeltrace 1.0.0-pre2 - * linker: privatize prio_heap and babeltrace_types - * Linker: privatize libbabeltrace_types - * Link statically to internal libraries - * Combine duplicated API/pretty-print timestamp code - * API : export the offsetted timestamp - * Fix : segfault when printing timestamp on index - * Fix : coherency in const parameters - -2012-02-20 Babeltrace 1.0.0-pre1 - * Generically print tracer version (and env) in verbose mode - * Fix open_mmap_trace missing support - * fix: context.h add missing documentation for packet_seek parameter - * Cleanup iterator.h - * Fix callback.h documentation - * Cleanup: babeltrace.h does not need to include ctf/events.h - * API fix: Move callbacks to CTF plugin - * Removed unneeded ctf_* forward declarations from babeltrace.h - * Remove unneeded forward declarations (ctf-specific) from iterator.h - * fix: move read event from iterator to event.h - * Fix: ctf specific events.c needs to be within CTF plugin - * API fix: packet_seek should take an index rather than offset - * Fix API: allow packet_seek override - * Fix: add lib missing includes - * Fix: packet_seek is local to plugins, but can be overridden - * Fix API: rename unclear move_pos_slow to packet_seek - * Fix: Check for unknown format - * Fix: do not use ctf-specific struct in format.h - * fix : callback type, doc and links to libbabeltrace - * Fix : callback chain len - -2012-02-16 Babeltrace 0.12 - * Typedef bt_intern_str - * Export the list header with a new namespace - * API : add_trace return the trace_handle id - * fix manpage: refer to lttng(1) - * API : cleanup includes - * API : Access CTF events fields - * manpage: Add babeltrace-log.1 - * API : seek by timestamp - * Move the add_traces_recursive out of the library - * manpage: use pp instead of PP - -2012-02-13 Babeltrace 0.11.1 - * Add trace-collection.h to the installed headers - -2012-02-13 Babeltrace 0.11 - * Add --clock-force-correlate option - * lib: open trace error handling fix - * Use default if there is no clock declaration - * iterator: fix type warning on 32-bit build - * Use 64-bit type for packet and content size - * Fix context API - * Add missing context-internal.h - * struct bt_context is opaque - * Update comment to match context API code - * Print loglevel names - * babeltrace lib cleanup, folded with open/remove trace functions - * API : iterator get and set position - -2012-02-09 Babeltrace 0.10 - * Fix clock freq - * clock: use freq field - * Show env. in verbose mode - * Remove all code that depends on trace collection directory structure - * Use environment information for extra fields - * Parse environment declarations from LTTng-modules and LTTng-UST - * Fix typo - * Add babeltrace.1 manpage - * Update help - * Install license files and dependency listing into the system doc - * Add ChangeLog to doc install - -2012-02-02 Babeltrace 0.9 - * Allow signed values in get_signed. Cast unsigned into signed. - * Show loglevel information only with value - * env needs to be a keyword too - * Add env {} warning test case - * Add environment (env {}) parser-level support - * Revert "Remove leading underscores from identifiers directly in lexer" - * Remove leading underscores from identifiers directly in lexer - * Fix: do not remove field names when adding fields - * API : iterator namespace cleanup - * Time offset: use trace offset average - * API : trace_handle - * Print event discarded at end of stream - * Discarded event time range is between last packet event and timestamp_end - * Print time range during which events have been dropped - * Print events discarded - * Add clock offset support - * Warn user of clock offsets do not match - * Add clocks to trace collection - * clock: show as time of day - * Implement clock mapping within integer type - * Implement clock IR generation - * Add warning tests - * Relax unknown field handling: warn instead of error - * Fix erroneous use of "-n" for additional fields, add "-f" - * Output warnings and errors to stderr - * Fix double typedef of bt_event_name - * Parse clock descriptions - * API : split iterator headers from babeltrace.h - * Add missing context.h/context.c - * Introduce contexts - * Fix parallel build for lib/ - * Organise libbabeltrace - * Export the format.h header - * Create the babeltrace include dir on install - * callbacks: use correct type for element size - * callbacks: Fix set size array size - * Fix callback chain array usage - * Add time delta to ctf-text - * ctf-text: show timestamp in sec.nsec - * Fix wrong variable error check - * Use the generic call to move_pos_slow - -2011-12-12 Babeltrace 0.8 - * Add loglevel support - * Update libpopt dependency to 1.13 - * Document dependency on libpopt >= 1.8 - * Describe libtool version dependency - * AC_PROG_LIBTOOL is deprecated in favor of LT_INIT - * Use realpath for path - * Helper function to extract string from fields - * Use realpath on trace collection path - * allow printing domains when no procname are present, handle - various / patterns - * Add trace:domain,trace:procname,trace:pid support - * Add "-n trace" option to print trace name - * Do not install ctf-parser-test - * Make ctf open errors more verbose - * configure.ac: add check for popt library - * Show field names by default, enhance --names option - * Move opt_field_names/babeltrace_verbose/babeltrace_debug into lib - * Add mmap trace reading - * Pass stream pointer with callback caller data - -2011-09-29 Babeltrace 0.7 - * Add missing stdint.h - * Use integer extraction functions - * Extract int and char arrays from fields - * Add parameters to callbacks - * Fix float support - * Fix type cast warning - * Integer support: add missing signed casts - * Remove underscore prefix from field names (pretty-print) - * Fix sequence iteration - * Fix sequence field name use after free - * Fix support for empty streams - * Optional file pointer to metadata - * Specify callback to move packet in open_trace - * Free the callbacks on iter_destroy - * Add callback support - * Basic seek support - * Add callback API - * Enhance babeltrace API with position save/restore - * Remove unused structure forward declarations - * Remove stale local .c struct declarations (unused) - * Annotate branches in ctf.c event reading/writing code - * Annotate prio heap likely branch - * Annotate likely/unlikely branches in headers - -2011-08-12 Babeltrace 0.6 - * Introduce Babeltrace public API: babeltrace.h - * Fix support for gold linker: inappropriate dep removal of plugins - -2011-08-12 Babeltrace 0.5 - * Initialize size to 0 to eliminate incorrect gcc uninitialized - var warning - * Fix non-matching packet context wrt last packet event read +2020-01-22 Babeltrace 2.0.0 (National Hot Sauce Day) + * cli: colorize version printing + * cli: print full version name + * lib: add bt_version_get_extra_{name,description,patch_names} + * lib: add bt_version_get_vcs_revision_description() + * common: support custom, extra information for build's version + * configure.ac, lib: rename "extra" (version) to "development stage" + * lib: add bt_version_get_name() and bt_version_get_name_description() + * lib: bt_version_get_extra(): return `NULL` if none instead of empty str. + * configure.ac: add version name/description definitions and report them + * Document libbabeltrace2's C API + * Fix: src.ctf.lttng-live: emitting stream end msg with no stream + * lib: msg. iter. inactivity message has a simple CS, not a default CS + * lib: remove self component param. from msg. iterator init. method + * lib: graph API: return borrowed references when adding to an object + * lib: plugin-dev.h: rename `MESSAGE_ITERATOR` -> `MESSAGE_ITERATOR_CLASS` + * lib: rename "self comp. input port message iter." -> "message iterator" + * lib: append `_FUNC` to `BT_PLUGIN_{INITIALIZE,FINALIZE}*` + * Replace `diamon.org/babeltrace` with `babeltrace.org` + * lib: create common base for bt_component_class_{source,filter} + * lib: introduce bt_message_iterator_class + * lib: run most of bt_self_component_port_input_message_iterator_try_finalize when iterator is in NON_INITIALIZED state + * tests: plug memory leak in test_bin_info + * debug-info: free existing build-id in bin_info_set_build_id + * cli: free log level string value + * bt2: free port user data when finalizing components + * build: try calling python-config with --embed + * tests: remove unnecessary message iterator classes + * tests: make test_sink_self_port_user_data actually test a sink + * lib: remove unnecessary (void *) cast in extend_map_element + * cli: fix bt_plugin leak when using `-i ctf` + * cli: remove unused structures and enums + * tests: fix test failure with msys2's Python 3.8.1-1 package + * trimmer: free GMatchInfo object in set_bound_from_str + * bt2: rename `object` parameter -> `object_name` + * lib: remove bt_query_executor_interrupt, add bt_query_executor_borrow_default_interrupter + * lib: remove bt_graph_interrupt, add bt_graph_borrow_default_interrupter + * lib: graph API: remove "listener removed" callback parameters + * lib, bt2: graph API: remove "ports connected" listeners + * babeltrace2-plugin-ctf(7): "theirs" -> "its" (single CTF trace) + * .gitignore: add missing `/tests/lib/test_remove_..._destruction_listener` + * Sync argpar with upstream + * Use argpar from upstream + * bt2: use format_bt_error and format_bt_error_cause to generate _Error and _ErrorCause string representations + * string-format: introduce function to format a bt_error_cause + * string-format: introduce function to format a bt_error + * string-format: introduce function to format component class name + * common: introduce struct bt_common_color_codes and function bt_common_color_get_codes + * lib: standardize variant field option function names + * bt2: don't print previous causes in causes created from bt2._Error + * bt2: reverse order of printed causes in _Error.__str__ + * bt2: remove ptr parameter of _Error.__init__ + * tests: add test for list-plugins CLI command + * tests: test removing a destruction listener from a destruction listener + * tests/lib/Makefile.am: Move libbabeltrace2-common and libbabeltrace2-logging to COMMON_TEST_LDADD + * bt2: make _ListenerHandle not hold a strong reference on the target object + * bt2: fix error message in trace_class.py + * bt2: make Graph add listener methods return None + * param-parse: allow duplicate map keys + * bt2: validate parameters to _StreamClass.create_event_class before creating the native object + * bt2: add invalid parameter type test for _UserComponent._create_trace_class + * src.ctf.fs: sort inputs paths + * cli: print error causes in all error paths + * tests: add missing backslash in tests/Makefile.am + * tests: test_auto_source_discovery_grouping: remove dir_sep variable + * tests: silence "variable/expression in single quote" shellcheck warnings + * tests: quote ${BT_CTF_TRACES_PATH} in test_trace_read and test_trace_copy + * tests: declare and assign variables separately in test_exit_status + * Make some bt_param_validation_map_value_entry_descr variables static + * src.ctf.fs: make ctf_fs_ds_group_medops symbol hidden + * ctf: make ctf scanner symbols hidden + * param-validation: make symbols hidden + * python-plugin-provider: make python_state static + * lib: add comments to exposed but internal symbols + * lib: add comment to bt_plugin_so_create_all_from_static + * lib: make bt_object_pool symbols hidden + * lib: make symbols in prio-head hidden + * tests: add CLI query tests + * param-parse: use g_string_append_c instead of g_string_append_printf + * lib: remove bt_packet_context_field API + * ctf: make msg-iter not use bt_packet_context_field + * ctf: remove ctf_msg_iter::set_stream + * src.ctf.fs: fix typo in comment + * lib: mark bt_common_assert_failed as hidden diff --git a/configure.ac b/configure.ac index 0bc2a012..fd33bd06 100644 --- a/configure.ac +++ b/configure.ac @@ -29,12 +29,12 @@ AC_PREREQ([2.50]) m4_define([bt_version_major], [2]) m4_define([bt_version_minor], [0]) m4_define([bt_version_patch], [0]) -m4_define([bt_version_dev_stage], [-rc4]) +m4_define([bt_version_dev_stage], []) m4_define([bt_version], bt_version_major[.]bt_version_minor[.]bt_version_patch[]bt_version_dev_stage) -m4_define([bt_version_name], []) -m4_define([bt_version_description], []) +m4_define([bt_version_name], [Amqui]) AC_INIT([babeltrace], bt_version, [jeremie dot galarneau at efficios dot com], [], [https://efficios.com/babeltrace/]) +AC_PROG_SED # Following the numbering scheme proposed by libtool for the library version # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html @@ -43,6 +43,9 @@ m4_define([bt_lib_version_revision], [0]) m4_define([bt_lib_version_age], [0]) m4_define([bt_lib_version], bt_lib_version_current[:]bt_lib_version_revision[:]bt_lib_version_age) +bt_version_description="Amqui (/ɒmkwiː/) is a town in eastern Québec, Canada, at the base of the Gaspé peninsula in Bas-Saint-Laurent. Located at the confluence of the Humqui and Matapédia Rivers, its proximity to woodlands makes it a great destination for outdoor activities such as camping, hiking, and mountain biking." +bt_version_description_c_safe=$(echo $bt_version_description | $SED 's/"/\\"/g') + AC_SUBST([BABELTRACE_LIBRARY_VERSION], bt_lib_version) AC_CONFIG_HEADERS([src/common/config.h]) @@ -54,7 +57,7 @@ AC_DEFINE([BT_VERSION_MINOR], bt_version_minor, [Babeltrace minor version]) AC_DEFINE([BT_VERSION_PATCH], bt_version_patch, [Babeltrace patch version]) AC_DEFINE([BT_VERSION_DEV_STAGE], ["]bt_version_dev_stage["], [Babeltrace version development stage (can be empty)]) AC_DEFINE([BT_VERSION_NAME], ["]bt_version_name["], [Babeltrace version name]) -AC_DEFINE([BT_VERSION_DESCRIPTION], ["]bt_version_description["], [Babeltrace version description]) +AC_DEFINE_UNQUOTED([BT_VERSION_DESCRIPTION], ["$bt_version_description_c_safe"], [Babeltrace version description]) AC_CANONICAL_TARGET AC_CANONICAL_HOST @@ -829,11 +832,11 @@ AS_IF([test -n "bt_version_name"], [ AS_ECHO -AS_IF([test -n "bt_version_description"], [ +AS_IF([test -n "$bt_version_description"], [ AS_IF([test -n "$report_fold"], [ - AS_ECHO("`AS_ECHO("bt_version_description") | $report_fold -s`") + AS_ECHO("`AS_ECHO("$bt_version_description") | $report_fold -s`") ], [ - AS_ECHO("bt_version_description") + AS_ECHO("$bt_version_description") ]) AS_ECHO