X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=ChangeLog;h=43ec7e6fb720ba2332a275f3e49b845f1c852200;hp=639bfe4e50b8016a58d0fabb16b2b8469a7925b8;hb=beef86dc741318692ee1affa5a733a0ec4d6fd3d;hpb=d01910afadf2d9eee6180c7695858d33e8137467 diff --git a/ChangeLog b/ChangeLog index 639bfe4e..43ec7e6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,445 @@ +2016-02-29 babeltrace 1.3.2 + * Python bindings: work around Python 3.5 behaviour change + * Fix: out-of-bound memory access + * Fix: out-of-tree dist fails to find test traces + * Fix running tests out of tree + +2015-11-10 babeltrace 1.3.1 + * Fix: Confusion between stream and stream class IDs + * Only compare "bison -y" to the basename of YACC variable + * Cleanup: Don't hardcode include paths unnecessarily + * Fix: include ctf-scanner-symbols.h to prefix yy_* symbols + +2015-10-16 babeltrace 1.3.0 + * Fix: missing includes break the out-of-tree build + * Fix: Silence missing sentinel warnings on GCC 4 + * Cleanup: remove unused label 'end' + * Fix: check for socket lib before function checks + * Fix: memstream compat layer requires use of babeltrace_close_memstream + * compat send no SIGPIPE: multithread-safe + * Fix: truncated value in fgetc() usage + * Fix: handle EINTR return value for bt_posix_fallocate + * Configure: Add missing checks + * Implement bt_getline + * Fix: initialize getline linesize argument to 0 + * Fix: warning, may be used uninitialized + * Port: Replace dirent->d_type by stat S_ISREG + * Port: Include config.h globally trough DEFAULT_INCLUDES + * Port: Add compat for dirfd + * Port: Add compat for mkdtemp + * Port: Add compat for strnlen and strndup + * Port: Use bash to run tests + * Port: Implement faccessat wrapper + * Port: implement posix_fallocate wrapper + * Port: Set required compiler flags to use pthreads + * Port: Add configure check for __attribute__ support + * Port: cleanup and portability fix to configure.ac + * Port: Add support for linkers with no support for 'no-as-needed' + * Port: Add compat for platforms with no MSG_NOSIGNAL or SO_NOSIGPIPE + * Port: Add AX_LIB_SOCKET_NSL macro to configure.ac + * Port: Replace bzero() by memset() + * Port: Add dummy.c to libcompat + * Port: uname can return a positive value on success + * Port: Replace NAME_MAX by MAXNAMLEN + * Change UUID API prefix from babeltrace_ to bt_ + * Port: Add Solaris libuuid compat + * Port: Add Solaris endian.h compat + * Port: make bootstrap script work on most shell + * Fix: posix_fallocate() returns int > 0 on errors + * Fix: babeltrace-log packet seek + * Fix: make check in OOT build with absolute path + * Fix: make check in out of tree build + * Fix: 32bit values index_major/minor used as 64bit + * Hide the packet_seq_num field + * Build: Update m4 for bison & flex version check to match autoconf-archive file + * Build: add version check on flex + * Build: add version check on autoconf + * Build: m4 macro for Bison version check + * Fix: Missing postfix_expression DOT keywords in CTF grammar + * Fix: handle 64-bit trace IDs on 32-bit systems + * Fix: print format type mismatch warnings on 32-bit + * Fix: missing parenthesis in offset_align_floor + * Fix: allow empty CTF files + * Fix: Incorrect variant tag validation + * Fix: sanity check in iterator creation + * Fix: iterate manually over each live trace to add to catch errors + * Detect Python packages directory on configure + +2014-11-04 Babeltrace 1.2.4 + * Fix: make sure we can exit the get_new_metadata loop + * Docs fix: Change bt_ctf_writer_create_stream return description + * Fix: offset_s and CTF clocks with frequency != 1GHz + +2014-09-23 Babeltrace 1.2.3 + * Fix: incorrect compiler warning + * Fix: Don't assume that PROT_WRITE grants read permissions + * Fix: align objstack on 8 bytes + * Fix Python: Add a comment warning about an API limitation + * Use BABELTRACE_HOST_NAME_MAX in test_ctf_writer.c + * Add limits compatibility header + * Fix: don't perform unaligned integer read/writes + * Fix: Align buffers from objstack_alloc on sizeof(void *) + * Fix: bt_ctf_field_type_structure_add_field argument validation + +2014-07-22 Babeltrace 1.2.2 + * Fix: Support out of tree builds in babeltrace + * Fix: mmap trace read the stream_id from the first packet + * Fix: check the lttng-relayd protocol version + * Fix: don't update the trace collection if no new streams were received + * Fix (Python bindings): Return a string if a sequence's element are chars + * Fix: don't use a return code in _bt_ctf_stream_append_discarded_events + * Fix: Report the sequence's length field's value as length + * Fix: Variable name typo in SequenceField and Event classes + * Fix python: remove weird char at the end of line + * Fix: add missing files to gitignore + * Fix: ctf-text: add missing double-quotes around enum tag + * Fix: Add missing lttng_live_should_quit checks + * Fix: Report errors occuring in lttng_live_read + +2014-03-08 Babeltrace 1.2.1 + * Fix: Accept an input port in the live URL when no session is provided + +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