summaryrefslogtreecommitdiffstats
path: root/src/plist.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-09-19Change internal storage of PLIST_DATE values from struct timeval to doubleGravatar Nikias Bassen1-22/+11
2016-09-08Make sure plist_cleanup() symbol is actually publicGravatar Martin Szulecki1-1/+1
2016-06-29xplist: Plug memory leak when converting PLIST_UID nodes to XMLGravatar Nikias Bassen1-1/+1
2016-06-29plist_data_compare: Make sure to compare the node sizes for integer nodesGravatar Nikias Bassen1-0/+2
2016-05-12Implement plist_from_memory()Gravatar Christophe Fergeau1-0/+15
2016-05-12Add plist_is_binary()Gravatar Christophe Fergeau1-0/+9
2016-04-20Move libxml cleanup code to a plist_cleanup methodGravatar Frederik Carlier1-0/+18
2015-01-23Update and correct some copyright header commentsGravatar Martin Szulecki1-1/+3
2014-10-03Avoid exporting non-public symbolsGravatar Nikias Bassen1-48/+48
2014-05-20Removed plist_set_type() as it should not be used.Gravatar Nikias Bassen1-30/+0
2014-05-20Rename "index" variable as it shadows global declaration on older systemsGravatar Martin Szulecki1-2/+2
2014-04-02Simplify plist_dict_merge() after plist_dict_set_item() API changeGravatar Nikias Bassen1-3/+0
2014-03-19deprecated plist_dict_insert_item in favor of plist_dict_set_itemGravatar Nikias Bassen1-6/+1
2014-03-19plist_dict_set_item: insert key/value pair if key not already presentGravatar Nikias Bassen1-10/+11
2013-12-13add new plist_dict_merge() functionGravatar Nikias Bassen1-0/+27
2012-09-16plist_data_compare: for PLIST_DATA, compare length before accessing dataGravatar Nicolás Alvarez1-0/+2
2012-09-16implemented handling of UID keyed encoding typeGravatar Nikias Bassen1-0/+27
2012-04-24fix plist_dict_set_item() and plist_array_set_item()Gravatar Nikias Bassen1-9/+17
2011-05-27Make libplist glib freeGravatar Nikias Bassen1-43/+58
2010-01-21Fix some warningsGravatar Jonathan Beck1-34/+2
2009-11-19don't leak GNodes in plist_freeGravatar Christophe Fergeau1-1/+1
2009-11-19add missing break; in switch statementGravatar Christophe Fergeau1-0/+2