Releases: andy5995/canfigger
Releases · andy5995/canfigger
v0.3.1
* 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
- @KaruroChori made their first contribution in #37
Full Changelog: v0.3.0...v0.3.1
v0.3.0
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
v0.2.0
v0.1.2
canfigger v0.1.1 released
-
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
Initial release
sha256 sum
1f2961d09b5e82315c3e5c4b518326fead7c4be07bf9a77f95b6ef475167761d *canfigger-0.1.0.tar.xz