summaryrefslogtreecommitdiffstats
path: root/src/plist.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-21Add explicit casts and fix return type mismatchesGravatar Nikias Bassen1-43/+47
2023-05-20Add an explicit PLIST_FORMAT_NONE valueGravatar Nikias Bassen1-2/+2
2023-05-13Move PLIST_API to the headersGravatar Nikias Bassen1-83/+83
2023-05-05Silence compiler warning on 32bit systemsGravatar Nikias Bassen1-1/+1
2023-04-19Remove deprecated plist_dict_insert_item()Gravatar Nikias Bassen1-5/+0
2023-04-19Add plist_read_from_file() to interface, update plist_from_memory()Gravatar Nikias Bassen1-1/+51
2023-04-16Add new output-only formats and Define constants for the different plist formatsGravatar Nikias Bassen1-0/+92
2023-02-07Add function to interface to allow enabling/disabling error/debug output for ...Gravatar Nikias Bassen1-0/+13
2023-02-06libcnary: Updated typedefs of node_t and node_list_t to contain pointerGravatar Nikias Bassen1-41/+41
2023-02-05Fix plist_sort() by swapping the nodes in the tree instead of their dataGravatar Nikias Bassen1-29/+33
2023-02-03Add new plist_sort() functionGravatar Nikias Bassen1-0/+61
2023-01-31bplist: Fix handling of PLIST_NULL node typeGravatar Nikias Bassen1-0/+1
2023-01-16Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()Gravatar Nikias Bassen1-8/+60
2023-01-08Add support for OpenStep plist formatGravatar Nikias Bassen1-5/+49
2022-09-05Fix up warning with `-Wbad-function-cast`Gravatar Dave MacLachlan1-1/+4
2022-04-06Skip whitespace to properly detect format in plist_from_memory()Gravatar Nikias Bassen1-3/+8
2021-12-23Add support for JSON formatGravatar Nikias Bassen1-0/+6
2021-12-22Add a return value to plist_to_* and plist_from_* functionsGravatar Nikias Bassen1-7/+11
2021-12-19Add support for PLIST_NULL typeGravatar Nikias Bassen1-0/+9
2021-12-19Add new plist_mem_free() functionGravatar Nikias Bassen1-0/+8
2021-09-13Check availability of constructor attribute and use it on Windows in favor of...Gravatar Nikias Bassen1-16/+23
2021-09-11windows: Make thread_once static and remove const qualifiers from thread_once...Gravatar Nikias Bassen1-3/+3
2021-06-22[clang-tidy] Remove casts to the same typeGravatar Rosen Penev1-1/+1
2021-06-22[clang-tidy] Avoid global non-const variablesGravatar Rosen Penev1-2/+2
2021-06-22[clang-tidy] Remove pointless constGravatar Rosen Penev1-1/+1
2020-11-24Improve code readability by not using else after returnGravatar Rosen Penev1-38/+40
2020-06-08Remove whitespace errors from all filesGravatar Martin Szulecki1-1/+1
2020-06-03Remove pointless return in void functionsGravatar Rosen Penev1-10/+0
2020-05-26Make plist_bool_val_is_true() return 0 instead of -1 if node is NULL or not a...Gravatar Nikias Bassen1-1/+1
2020-05-25Return NULL from plist_copy() if passed a NULL pointerGravatar Xiao Deng1-1/+1
2020-05-21Fix symbol mismatch between public header and interface (plist_bool_val_is_true)Gravatar Nikias Bassen1-1/+1
2020-05-11Suppress compiler warning about memmem on LinuxGravatar Nikias Bassen1-0/+1
2020-05-11Add plist_*_val_compare, plist_*_val_contains, etc. for the respective node t...Gravatar Nikias Bassen1-0/+231
2019-11-07Add plist_get_data_ptr() and plist_get_string_ptr() to the interfaceGravatar Nikias Bassen1-0/+25
2019-08-13plist: Remove unnecessary parameter from plist_copy_node()Gravatar Xiao Deng1-14/+6
2019-08-09Make sure to copy hash table entries properly when cloning array/dict nodesGravatar Nikias Bassen1-18/+22
2019-05-20plist_set_key_val(): prevent setting a key value that already exists in a PLI...Gravatar Nikias Bassen1-0/+5
2019-05-20Add plist_dict_item_get_key() to allow retrieving the key node for a given it...Gravatar Nikias Bassen1-0/+11
2019-05-19Add plist_array_item_remove() to allow removing an array's child node without...Gravatar Nikias Bassen1-0/+15
2019-05-19plist_array_get_item_index(): return UINT_MAX instead of 0 when node can't be...Gravatar Nikias Bassen1-1/+1
2019-05-19Add index lookup table for large PLIST_ARRAY nodesGravatar Nikias Bassen1-11/+69
2019-05-16Ignore invalid input in plist_get_*_val() to prevent unnecessary assertionsGravatar Nikias Bassen1-19/+50
2019-01-21plist: Add iterator for #PLIST_ARRAY nodesGravatar Nikias Bassen1-4/+34
2018-12-23plist: Improve plist_dict_next_item() drastically by iterating on node list d...Gravatar Nikias Bassen1-10/+8
2018-12-10Remove node_iterator and operate on node list directly to improve memory usageGravatar Nikias Bassen1-7/+4
2017-02-07plist: Fix assert() to allow 16 or 8 byte integer sizes (16 bytes = unsigned ...Gravatar Nikias Bassen1-1/+1
2017-02-05bplist: Add error/debug logging (only if configured with --enable-debug)Gravatar Nikias Bassen1-0/+4
2016-11-27plist_copy: Duplicate hash tables when copying PLIST_DICT nodesGravatar Nikias Bassen1-5/+15
2016-11-18Improve plist_dict_set_item performance for large dictionaries with hash tableGravatar Nikias Bassen1-12/+75
2016-10-22Remove libxml2 dependency in favor of custom XML parsingGravatar Nikias Bassen1-15/+71