2024-03-28 Babeltrace 2.0.6 (Respect Your Cat Day) * bt2: disable some warnings for `native_bt.c` * bt2: compile `native_bt.c` with `-Wno-undef` * Fix: src.ctf.lttng-live: expect NEW_STREAM/METADATA for inactive streams * Fix: `babeltrace2 convert`: don't consider the `--plugin-path` opt. * include/babeltrace2/plugin/plugin-dev.h: "define" -> "definition * Fix: doc: escape double quote in bt_p alias * Fix: bt2: pass _TraceClassConst to destruction listeners * fix: 'load_module()' deprecated in Python 3.12 * tests: retry os.rename on PermissionError failure in lttng_live_server.py * doc: fix uptream -> upstream typos * fix: test_message_iterator.py hangs on Python 3.12 * plugin-dev: mark symbols meant to be public with __attribute__((visibility("default"))) * Silence -Wunused-but-set-variable error with clang * Fix: Windows DLL path lookup with Python >= 3.8 * doc/man: make default values of boolean init. params. clearer * RFC: docs: fix: Match stated automake requirement * fix: make flake8 6.x happy * fix: running black on python 3.11 * bt_query_executor_create_with_method_data(): fix docs note * Fix: ctf-writer: null dereference in bt_ctf_trace_common_add_stream_class * Update working version to Babeltrace v2.0.6 2023-05-23 Babeltrace 2.0.5 (World Turtle Day) * bt2: honor build system compiler/linker preferences * Fix: clear_string_field(): set first character to 0 * Fix: src.ctf.fs: Not resolving event common ctx * debug-info: fix -Wenum-int-mismatch problem in copy_field_class_content_internal * fix: pass exec-prefix to python bindings install * fix: document proper Bison version requirement * cli: use return value of g_string_free * babeltrace2-query(1): erroneous parameter used in example * Fix: tests: print real values in a fixed format * Fix: bt2: autodisc: remove thread error while inserting status in map * tests: src.ctf.fs: add test for metadata with invalid syntax * tests: shorten names of session-rotation trace * bt2: ignore -Wredundant-decls warning * ctf: fix -Wformat-overflow error in ctf-meta-resolve.cpp * ctf-writer: fix -Wformat-overflow errors in resolve.c * Fix: src.text.details: use write_uint_prop_value to handle unsigned values in write_int_range * Add `dev-requirements.txt` for pip * Fix: src.ctf.lttng-live: consider empty metadata packet as retry * Fix: ctf: wrongfully requiring CTF metadata signature for every section * Fix: src.ctf.lttng-live: session closed before any metadata is received * fix: obsolete warnings with autoconf >= 2.71 * fix: explicitly disable '-Wsuggest-attribute=format' * fix: set stable branch in gitreview config * Fix: ctf-writer: list of reserved keywords * compiler warning cleanup: is_signed_type: compare -1 to 1 * Update working version to Babeltrace 2.0.5 2021-02-23 Babeltrace 2.0.4 (National Banana Bread Day) * Fix: macro name for "get supported mip versions method" attribute descriptor * Fix: configure: support Autoconf 2.70 * port: add 'notext' keyword linker support * port: fix compat/endian.h on FreeBSD * port: tests: Add sys/wait.h include for FreeBSD * port: namespace align.h with BT_ prefix * port: Add sys/param.h include to compat/limits.h for FreeBSD * port: disable debug-info by default on FreeBSD * Fix: disable deprecation warnings for SWIG generated code * port: 'ls --ignore=' is a GNU extension * tests/lib/test_trace_ir_ref.c: rename user structure * Fix: sink.ctf.fs: fix logic of make_unique_stream_file_name * Fix: sink.ctf.fs: remove spurious directory level when using assume-single-trace * Fix: bt2: _trim_docstring(): docstring can have 0 or 1 line * Fix: `ctf` plugin: use element FC's alignment as array/seq. FC alignment * Fix: source.ctf.lttng-live: muxing failure on clear (unit conversion) * Fix: src.ctf.lttng-live: incomplete metadata packet is an error * Fix: source.ctf.lttng-live: muxing failure on clear * Fix: source.ctf.fs: 0-length packet index length causes SIGFPE * Update working version to Babeltrace 2.0.4 2020-04-24 Babeltrace 2.0.3 (German Beer Day) * Fix: lib: use appropriate format specifier to print message iterator class * Fix: sink.text.pretty: check that port is connected before creating message iterator * Add initial Python bindings documentation * Fix: bt2: read properties on _DiscardedEventsMessage * tests: add tests for discarded events/packets creation * Fix: bt2: add precond. check, for stream class supporting discarded msgs with clock snapshot without clock class * Fix: flt-utils.muxer: reference leak in muxer_msg_iter_add_upstream_msg_iter error path * Fix: sink.text.details: goto error when failing to add input port * Fix: src.text.dmesg: add missing assignment of `status` on error path * Revert "bt2: _EventConst.__getitem__(): use a single temporary variable" * Fix: src.ctf.fs: initialize the other_entry variable * bt2: _EventConst.__getitem__(): use a single temporary variable * Fix: _EventConst.__getitem__(): check if event has a packet * doc: bt_field_class...get_mapping_labels...(): clarify RV's validity * doc/api/libbabeltrace2/style.css: make font weight of `.intertd` normal * Update working version to Babeltrace 2.0.3 2020-03-10 Babeltrace 2.0.2 (International Bagpipe Day) * common: cast arguments to character classification functions to unsigned char * flt.utils.muxer: initialize variable to silence -Wmaybe-uninitialized warning * Fix: configure.ac: silently accepting invalid Python configuration * Cleanup: configure.ac: remove redundant `AC_ARG_ENABLE` parameters * Fix: plugin-dev.h: Disable address sanitizer on pointer array section variables * Fix: cli: use BT_CLI_LOGE_APPEND_CAUSE instead of printf to print errors * tests: improve flt.utils.trimmer/test_trimming to test streams without packets * Fix: flt-utils.trimmer: accept streams without packet support * Fix: lib: don't assume that streams have packets in auto seek * Fix: correct typo in README * Update working version to Babeltrace 2.0.2 2020-02-04 Babeltrace 2.0.1 * fix: Remove empty python bindings documentation * README: Babeltrace 2 was released in 2020 * fix: set autoconf package name to babeltrace2 * Typo: occured -> occurred * .gitignore: Add missing bt2/native_bt.d * fix: build failure on ppc64el with '-Werror=format-overflow=' * Silence -Wnull-dereference warning in generated CTF parser code * plugin-so.c: add comment about why we're not using a GLib linked list * doc: graph.h: do not link to `man7.org` for `babeltrace(1)` * fix: common/list.h is LGPL-2.1 * fix: build Python bindings with GCC10 * fix: use correct function to print 'enum bt_ctf_scope' * Update working version to Babeltrace 2.0.1 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