summaryrefslogtreecommitdiffstats
path: root/src/plist.c
AgeCommit message (Collapse)AuthorFilesLines
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
Before recursing over its children, plist_free_node started by detaching the current GNode from its parent which means that calling g_node_destroy on the root of the tree was freeing only the top-level GNode while what was intended was to free the whole tree. Don't leak memory by not detaching children GNodes from their parents so that g_node_destroy on the toplevel GNode can clean everything.
2009-11-19add missing break; in switch statementGravatar Christophe Fergeau1-0/+2
The 2nd missing break was harmless since it fell through the default: case which has a break, but it makes things more robust if we were ever to add new cases to this switch. The 1st missing break; was causing warnings in valgrind since we ended up calling strdup on a memory zone not containing a \0 character.
2009-11-10Remove deprecated functions from API.Gravatar Jonathan Beck1-189/+0
2009-10-28Format sources to ANSI style using AStyle (astyle --style=ansi).Gravatar Jonathan Beck1-579/+633
2009-10-28Fix build for MSVC9.Gravatar Jonathan Beck1-4/+7
2009-10-17Fixes for dates.Gravatar Jonathan Beck1-2/+2
2009-10-13Add path accessor util function.Gravatar Jonathan Beck1-25/+56
2009-10-11Fix dict length.Gravatar Jonathan Beck1-1/+1
2009-10-11Restore plist_dict_get_size function.Gravatar Jonathan Beck1-0/+9
2009-10-11Add function to change a node's type.Gravatar Jonathan Beck1-3/+35
2009-10-11Protect plist_free against NULL nodes.Gravatar Jonathan Beck1-2/+4
2009-10-11Fix dict iteration.Gravatar Jonathan Beck1-5/+14
2009-10-10Abstract iter base type.Gravatar Jonathan Beck1-5/+5
2009-10-10Fix dict iteration.Gravatar Jonathan Beck1-1/+1
2009-10-10Add dict iteration. Add functions to retrieve index and key from node.Gravatar Jonathan Beck1-5/+38
2009-10-10Reverse argument for dicts to make it clearer.Gravatar Jonathan Beck1-6/+7
2009-10-10Rework public API to make it more consistent.Gravatar Jonathan Beck1-112/+307
2009-07-18Fix copy_node to also copy key nodes.Gravatar Jonathan Beck1-1/+2
2009-07-18Add function to get parent node in API and python bindings.Gravatar Jonathan Beck1-0/+5
2009-07-14Make sure to also copy string/data buffers when cloning the node data structGravatar Martin Szulecki1-0/+13
2009-07-09Make copy_plist actually copy plists (previously always returning NULL).Gravatar Jonathan Beck1-5/+11
2009-07-08Unlink node from tree when freeing.Gravatar Jonathan Beck1-0/+1
2009-07-08Add a deep copy function and value setters for nodes.Gravatar Jonathan Beck1-3/+116
2009-04-28Merge ascii and unicode handling in PLIST_STRING using UTF-8. Remove unicode ↵Gravatar Jonathan Beck1-43/+0
related declaration in API (breaks API&ABI)
2009-04-28Fix bad type for date elementGravatar Jonathan Beck1-1/+1
2009-04-15Add special accessor for structured types in API.Gravatar Jonathan Beck1-0/+28
2009-04-12Fix data buffer retrieval. Bump version to 0.10.v0.10Gravatar Jonathan Beck1-4/+4
2009-04-06Fix uninitialized buffer.Gravatar Nikias Bassen1-0/+1
2009-03-27Use (void) instead of () in functions prototype.Gravatar Jonathan Beck1-3/+3
2009-02-15Add more regression test and fix Integer and Real type handling.Gravatar Jonathan Beck1-0/+67
2009-02-14Fix more memory leaks.Gravatar Jonathan Beck1-1/+2
2009-02-14Fix some memory leaks.Gravatar Jonathan Beck1-2/+14
2009-02-09Make it compile on MSVC 2005.Gravatar Jonathan Beck1-10/+14
2009-01-29Fix indent.Gravatar Jonathan Beck1-12/+12
2009-01-29Add setter and getter for Date and Unicode types.Gravatar Jonathan Beck1-9/+65
2009-01-29Clean some old stuff.Gravatar Jonathan Beck1-1/+1