Commit Verlauf

Autor SHA1 Nachricht Datum
  Luka Perkov f506323c30 style: fix whitespace errors vor 10 Jahren
  Luka Perkov 87be3798a9 style: free(NULL) is perfectly valid so we can drop some checks vor 10 Jahren
  Felix Fietkau d068b9f9d7 ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev) vor 12 Jahren
  Felix Fietkau 5077cdcee2 ucimap: fix a memory leak (patch by Stanislav Fomichev) vor 12 Jahren
  Felix Fietkau 1d6095d5ac add a few missing null pointer checks, and fix check vs dereference order in some cases (patch by Stanislav Fomichev) vor 12 Jahren
  Felix Fietkau ef95525edc check result of memory allocations (patch by Stanislav Fomichev) vor 12 Jahren
  Felix Fietkau 2b86a11e49 ucimap: fix use-after-free on cleanup (patch by Stanislav Fomichev) vor 12 Jahren
  Felix Fietkau 4a7d8053ae fix lgpl license headers vor 12 Jahren
  Felix Fietkau 0a84aa8d50 remove unused but set variable to fix a compiler warning vor 13 Jahren
  Lars-Peter Clausen 25f9dbfe7b ucimap: ucimap_parse: consider smap_offset when allocating the section data vor 14 Jahren
  Felix Fietkau 8bc580cbda simplify code (thx, henning) vor 14 Jahren
  Felix Fietkau 97e71a1c1b ucimap: simplify the parse/format callbacks. the data argument now always points to the field in the data structure vor 15 Jahren
  Felix Fietkau c434442c9e ucimap: fix list size initialization, validate list size on fixups as well vor 15 Jahren
  Felix Fietkau 7791a9603c ucimap: fix list initialization vor 15 Jahren
  Felix Fietkau c81b25ffd3 replace the use of list.h in the ucimap core, relicense ucimap to LGPL v2.1, update copyright headers vor 15 Jahren
  Felix Fietkau ba0d03d0cc remove ucimap type->name conversion unless DEBUG is enabled vor 15 Jahren
  Felix Fietkau 4f27765f0d ucimap: add support for saving lists to uci vor 15 Jahren
  Felix Fietkau 25b34febb4 ucimap: add helper function for resizing lists and freeing items (both using ucimap internal allocation list), add test coverage for config change operations vor 15 Jahren
  Felix Fietkau afa5662885 add sanity checks for optmap section type vs sectionmap type vor 15 Jahren
  Felix Fietkau 6c05c721c7 ucimap: add custom free() callbacks for options, only used on custom datatypes vor 15 Jahren
  Felix Fietkau 2e1e88ddee add ucimap_free_section to the api vor 15 Jahren
  Felix Fietkau 41d24d850b add type safety checks for option maps vor 15 Jahren
  Felix Fietkau 7c45dfd1c6 only call section ->add callbacks after all fixups have been processed, also call ->add for sections manually parsed later vor 15 Jahren
  Felix Fietkau 151917e819 preserve section list order vor 15 Jahren
  Felix Fietkau cd68df2c25 rename ucimap_data::section to ptr vor 15 Jahren
  Felix Fietkau 2a8229347c expose the ucimap_parse_section function in the api, do not defer fixups if immediate lookup works vor 15 Jahren
  Felix Fietkau 477c19a722 ucimap: add new UCIMAP_LIST_AUTO for automatically converting multiple list items whitespace-separated in an option vor 15 Jahren
  Felix Fietkau 65f3dccc35 ucimap: fix boolean interpretation, add range checks for int values (thx, henning) vor 15 Jahren
  Felix Fietkau 82a71ad8d8 ucimap: implement format callback for custom data types vor 15 Jahren
  Felix Fietkau ceaa2fbb3c ucimap: allow api users to take over allocation of section data structures vor 15 Jahren