Menu

txtconf / Blog: Recent posts

Released v6.3.0

  • Update: rcode v4.0
Posted by Tomasz Pawlak 2025-07-24

Released v6.2.0

Maintenance update, no functional changes.

Posted by Tomasz Pawlak 2025-01-05

Released v6.1.0

  • Fixed: (BUG) parse_strv(): clear option's vt_valid flag in case of overflow.
  • Change: txc_rcd_scope.h: removed package prefix from installed header name.
  • Change: Files generated by rcd_autogen are removed by "distclean" target, what allows to re-build the package without invoking the rcd_autogen.
  • Update: rcode v3.2
Posted by Tomasz Pawlak 2024-09-28

Released v6.0.0

  • Change: txc_scope_read_opts(), txc_scope_write_opts(): return VMSG with option name if user hdl fails, and not just the hdl rcode.
  • Added: error message: "_hash32val(): option '%s': zero-length value string"
  • Update: rcode v3.0: ABI changed!
Posted by Tomasz Pawlak 2024-01-06

Released v5.1.0

  • Fixed: (BUG) txc_scope_read_opts() must set vt_valid flag, otherwise validation won't work.
  • Added: txc_scope_read_opts(), txc_scope_write_opts() missing support for 8 and 16 bit values.
Posted by Tomasz Pawlak 2023-09-18

Released v5.0.0

  • Fixed: (BUG::typo) txc_cfg_save(): checking for last scope using sizeof(txc_option), what caused "uninitialized scope" error in some situations.
  • Added: txc_option.opt_hdl: user handler pointer invoked by txc_scope_read_opts() and txc_scope_write_opts() if it's not NULL. The handler can be used by client to customize interpretation of option's values, especially text strings.
Posted by Tomasz Pawlak 2023-08-08

Released v4.2.0

  • Fixed: (BUG::Regression in v4.0.0) single slash treated as comment: incorrect handling of string values containing file system paths (unless encapsulated in token chain delimiters).
Posted by Tomasz Pawlak 2023-05-31

Released v4.1.0

  • Update: rcd_autogen v2.9: Fixed: misuse of VMSG TLS pointer, race possible.
Posted by Tomasz Pawlak 2023-03-09

Released v4.0.0

  • Added: txc_scope_set_data_ptr(), txc_scope_write_opts(), txc_scope_read_opts() - reading/writing the entire scope from/to target data structure,
  • Change: removed support for uninitialized scopes/options: default values are required for all options,
  • Change: txc_scope_init(): additional "rst" argument -> reset all options to default values,
  • Change: txc_cfg_read(): rewritten to improve syntax checking and speed,
  • Change: token_parser() rewritten as a state machine: stricter syntax checking, faster,
  • Fixed: (BUG::old) txc_cfg_read(): incorrect handling of strings which require buffer re-load.... read more
Posted by Tomasz Pawlak 2022-12-27

Released v3.6.0

  • Fixed: (BUG::old): txc_validator() vt_nodef flag was ignored, only TXF_UNOPTS flag worked correctly.
  • Fixed: (BUG) option of type string with missing value could get the value assigned from next option name: added strict checking of option values, new error messages added.

Full list in the changelog.

Posted by Tomasz Pawlak 2022-11-11

Released v3.5.0

No functional changes.
Update: rcd_autogen v2.6 :: fixed-size array of units, variable declaration.

Posted by Tomasz Pawlak 2021-04-29

Released v3.4.0

  • Update: rcd_autogen v2.3
Posted by Tomasz Pawlak 2021-01-24

Released v3.3.0

  • Fixed: false positives in file modification checking mechanism (in some special cases)
  • Fixed: token_parser(): try to not fail if the cfg has been saved with TXF_CFGCHECK and read without the flag set.
  • Added: txc_scope_inst_count(): return number of initialized/allocated scope instances.
  • few other small changes and fixes, full list in the changelog.
Posted by Tomasz Pawlak 2020-12-09

Released v3.2.0

  • Update: rcode.h v1.1.0, rcd_autogen v2.1
  • Few minor changes & fixes
Posted by Tomasz Pawlak 2020-11-29

Released v3.1.1

  • Fixed: (BUG) makefile.am: rcd_autogen in basic mode: src/txc_rcd_func.c is required to
    include stub funcions in the final DSO.
  • Update: rcd_autogen v1.3 and rcode v1.0.3
Posted by Tomasz Pawlak 2019-10-06

Released v3.0.1

  • Fixed: new version of m4/build_switch.m4 - the previous version was incomplete and buggy.
  • Change: Functions which are returning NULL ptr for error are now also setting global status (rcode), what allows to determine the reason of error (source line + optional message)
  • Ugraded to rcode v1.0.2 This version significantly increases functionality of the rcode, but requires special pre-build steps, which are performed using bash script: 'rcd_autogen'.
    Additionally the m4/rcd_autoconf.m4 script is provided, to ease integration of 'rcd_autogen' with autoconf.
    Full list in the changelog.
Posted by Tomasz Pawlak 2019-10-01

Released v2.1.0

Most important change in this release is that the interface is now const-correct (fully backward-compatible).

Posted by Tomasz Pawlak 2018-11-25

Released v2.0.0

Many bugfixes, new functions for better scope management, few optimizations.
Library interface have changed, but configuration files saved by previous version are fully supported.
Full list of changes is in the ChangeLog.

Posted by Tomasz Pawlak 2018-11-04

Released v1.0.7

  • update: returncode.h v0.8.8: fixes old mislooked bug: RCD_RETURN_FALSE() returned RCD_TRUE! The only reason that this Bug have survived for a so long time is that true/false values of rcode was never used be me until now. Anyway, this has completely no influence on the txtconf library behaviour.
Posted by Tomasz Pawlak 2017-11-27

Released v1.0.6

Yet another set of small fixes, to make this lib compatible with GNU's c99.

Posted by Tomasz Pawlak 2017-09-12

Released v1.0.5

The most significant change is the returncode.h (v0.8.5): hopefully, ths version will work correctly with the future versions of GCC.

Another thing is, that -std=c99 is causing problems -> switched to gnu99, which works flawlessly in all situations.

Posted by Tomasz Pawlak 2017-09-09

Released v1.0.4

Most important changes:

  • Libtool versioning system: v1.0.4 -> v1.4.0
  • c99 is now the default build standard.
  • Update: returncode.h v0.8.4

Full list in the changelog.

Posted by Tomasz Pawlak 2017-09-06

Released v1.0.3

A very small bug fixed (non-critical, but annoying): wrong name of default settings definition: tcx_default_settings, should be: txc_default_settings - just a typo.
Updated returncode.h to v0.8.1

Posted by Tomasz Pawlak 2016-09-21

Released v1.0.2

  • Fixed: (BUG::regression) txc_cfg_free() crashes if the arg is NULL.

Apparently, the regression was introduced in v0.5.0, with the implementation of txc_cfg_clone().

Posted by Tomasz Pawlak 2016-06-27

Released v1.0.1

  • Fixed: (BUG) txc_validator(): Options which are not included in the cfg file, but which have the default values defined are not initialized if TXC_UNSCOPES flag is set. The txc_validator() should not just skip the entire scope if that flag is set.
  • Update: returncode.h v0.8.0
Posted by Tomasz Pawlak 2016-06-03
MongoDB Logo MongoDB