Skip to content

Releases: andy5995/canfigger

v0.3.1

17 Apr 13:51
531b996

Choose a tag to compare

* Fix Windows build
+ Add canfigger_config_dir(), canfigger_data_dir(), canfigger_path_join()
* bugfix: Last line without trailing newline was silently dropped
* bugfix: Memory leak — root list not freed on tmp_line allocation failure
* bugfix: free_incomplete_node leaked the attributes struct
* bugfix: add_key_node failure on 2nd+ node corrupted previous node's key
* bugfix: isspace() called on plain char (undefined behaviour); cast to
  unsigned char
* Strip UTF-8 BOM so it doesn't corrupt the first key
* Refactor read_entire_file: single exit point, checked fseek return values
* Prefix all error messages with "canfigger:"
* Add tests: bom, no_trailing_newline; fix unicode test missing count/null
  assertions
+ Add canfigger_version.h (generated at build time) exposing
  CANFIGGER_VERSION_MAJOR, CANFIGGER_VERSION_MINOR, CANFIGGER_VERSION_PATCH
+ Add CANFIGGER_CHECK_VERSION(maj, min) macro to canfigger.h for
  compile-time version checks

New Contributors

Full Changelog: v0.3.0...v0.3.1

Packaging status

v0.3.0

29 Feb 05:38
bb21c3e

Choose a tag to compare

This version introduces breaking changes. Please see example.c in the source
root directory for usage.

Notable changes:

  • Use dynamic memory allocation for keys, values, and attributes.
  • canfigger_free() replaced with canfigger_free_current_key_node_advance()
  • canfigger_free_attr() removed
  • use 'canfigger_free_current_attr_str_advance()' instead of
    'list->attr_node = list->attr_node->next'
  • In meson.build, rename dep_canfigger->canfigger_dep
  • lines starting with '[' are ignored

To verify signature on the source txz package:

minisign -Vm <file> -P RWQ5AiSjYrIVoMPxKef7QdKLqQmiZvewAezjLCZHNUkE4/U0C48T3q4N

Packaging status

v0.2.0

05 Jan 21:14

Choose a tag to compare

  • implement support for multiple attributes (breaking change)

To verify signature on the source txz package:

minisign -Vm <file> -P RWQ5AiSjYrIVoMPxKef7QdKLqQmiZvewAezjLCZHNUkE4/U0C48T3q4N

v0.1.2

27 Dec 21:08
e44efc0

Choose a tag to compare

  • Code maintenance/refactor
  • Minor adjustments to meson.build so that canfigger can be used as a
    meson subproject

sha256sum

0ad25da1ca70b3e0e3d6d15ccddd47898f777cf7adeeb7f98dbe9c909f51f6d2 *canfigger-0.1.2.tar.xz

canfigger v0.1.1 released

25 Jun 01:48
1630e49

Choose a tag to compare

  • The docs now install when 'ninja install' is run

  • If doing an early return due to error, the file descriptor now gets
    closed properly.

sha256sum

e497111b96d8c66f105cdec9382a48fe73f9c87d7e653b29a7e5c8658ef239e7  canfigger-0.1.1.tar.xz

canfigger v0.1.0 released

06 Jun 21:40
1fc8d6b

Choose a tag to compare

Initial release

sha256 sum

1f2961d09b5e82315c3e5c4b518326fead7c4be07bf9a77f95b6ef475167761d *canfigger-0.1.0.tar.xz