Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-06-29 | plist_data_compare: Make sure to compare the node sizes for integer nodes | Nikias Bassen | 1 | -0/+2 | |
Without this check, e.g. the values -1 and 18446744073709551615 would yield in a match, since the comparison will just compare the uint64_t values. However, any value >= 9223372036854775808 and <= 18446744073709551615 is stored as a 128 bit value in binary plist format to make sure it is recognized as an unsigned value. We store it internally as a uint64_t value, but we set the size to 16 vs. 8 accordingly; so this commit will make sure the binary plist optimization will not re-use matching uint64_t values of actually mismatching signed/unsigned values. | |||||
2016-05-12 | Implement plist_from_memory() | Christophe Fergeau | 1 | -0/+15 | |
Rather than having everyone reimplement binary/XML plist detection by looking at the first bytes of the plist content, it's better to do this detection in libplist and hide that internal detail from library users. | |||||
2016-05-12 | Add plist_is_binary() | Christophe Fergeau | 1 | -0/+9 | |
It can be useful if one needs to know what type of plist a memory buffer contains. | |||||
2016-04-20 | Move libxml cleanup code to a plist_cleanup method | Frederik Carlier | 1 | -0/+18 | |
2015-01-23 | Update and correct some copyright header comments | Martin Szulecki | 1 | -1/+3 | |
2014-10-03 | Avoid exporting non-public symbols | Nikias Bassen | 1 | -48/+48 | |
2014-05-20 | Removed plist_set_type() as it should not be used. | Nikias Bassen | 1 | -30/+0 | |
2014-05-20 | Rename "index" variable as it shadows global declaration on older systems | Martin Szulecki | 1 | -2/+2 | |
2014-04-02 | Simplify plist_dict_merge() after plist_dict_set_item() API change | Nikias Bassen | 1 | -3/+0 | |
2014-03-19 | deprecated plist_dict_insert_item in favor of plist_dict_set_item | Nikias Bassen | 1 | -6/+1 | |
2014-03-19 | plist_dict_set_item: insert key/value pair if key not already present | Nikias Bassen | 1 | -10/+11 | |
2013-12-13 | add new plist_dict_merge() function | Nikias Bassen | 1 | -0/+27 | |
2012-09-16 | plist_data_compare: for PLIST_DATA, compare length before accessing data | Nicolás Alvarez | 1 | -0/+2 | |
2012-09-16 | implemented handling of UID keyed encoding type | Nikias Bassen | 1 | -0/+27 | |
2012-04-24 | fix plist_dict_set_item() and plist_array_set_item() | Nikias Bassen | 1 | -9/+17 | |
2011-05-27 | Make libplist glib free | Nikias Bassen | 1 | -43/+58 | |
2010-01-21 | Fix some warnings | Jonathan Beck | 1 | -34/+2 | |
2009-11-19 | don't leak GNodes in plist_free | Christophe Fergeau | 1 | -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-19 | add missing break; in switch statement | Christophe Fergeau | 1 | -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-10 | Remove deprecated functions from API. | Jonathan Beck | 1 | -189/+0 | |
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | Jonathan Beck | 1 | -579/+633 | |
2009-10-28 | Fix build for MSVC9. | Jonathan Beck | 1 | -4/+7 | |
2009-10-17 | Fixes for dates. | Jonathan Beck | 1 | -2/+2 | |
2009-10-13 | Add path accessor util function. | Jonathan Beck | 1 | -25/+56 | |
2009-10-11 | Fix dict length. | Jonathan Beck | 1 | -1/+1 | |
2009-10-11 | Restore plist_dict_get_size function. | Jonathan Beck | 1 | -0/+9 | |
2009-10-11 | Add function to change a node's type. | Jonathan Beck | 1 | -3/+35 | |
2009-10-11 | Protect plist_free against NULL nodes. | Jonathan Beck | 1 | -2/+4 | |
2009-10-11 | Fix dict iteration. | Jonathan Beck | 1 | -5/+14 | |
2009-10-10 | Abstract iter base type. | Jonathan Beck | 1 | -5/+5 | |
2009-10-10 | Fix dict iteration. | Jonathan Beck | 1 | -1/+1 | |
2009-10-10 | Add dict iteration. Add functions to retrieve index and key from node. | Jonathan Beck | 1 | -5/+38 | |
2009-10-10 | Reverse argument for dicts to make it clearer. | Jonathan Beck | 1 | -6/+7 | |
2009-10-10 | Rework public API to make it more consistent. | Jonathan Beck | 1 | -112/+307 | |
2009-07-18 | Fix copy_node to also copy key nodes. | Jonathan Beck | 1 | -1/+2 | |
2009-07-18 | Add function to get parent node in API and python bindings. | Jonathan Beck | 1 | -0/+5 | |
2009-07-14 | Make sure to also copy string/data buffers when cloning the node data struct | Martin Szulecki | 1 | -0/+13 | |
2009-07-09 | Make copy_plist actually copy plists (previously always returning NULL). | Jonathan Beck | 1 | -5/+11 | |
2009-07-08 | Unlink node from tree when freeing. | Jonathan Beck | 1 | -0/+1 | |
2009-07-08 | Add a deep copy function and value setters for nodes. | Jonathan Beck | 1 | -3/+116 | |
2009-04-28 | Merge ascii and unicode handling in PLIST_STRING using UTF-8. Remove unicode ↵ | Jonathan Beck | 1 | -43/+0 | |
related declaration in API (breaks API&ABI) | |||||
2009-04-28 | Fix bad type for date element | Jonathan Beck | 1 | -1/+1 | |
2009-04-15 | Add special accessor for structured types in API. | Jonathan Beck | 1 | -0/+28 | |
2009-04-12 | Fix data buffer retrieval. Bump version to 0.10.v0.10 | Jonathan Beck | 1 | -4/+4 | |
2009-04-06 | Fix uninitialized buffer. | Nikias Bassen | 1 | -0/+1 | |
2009-03-27 | Use (void) instead of () in functions prototype. | Jonathan Beck | 1 | -3/+3 | |
2009-02-15 | Add more regression test and fix Integer and Real type handling. | Jonathan Beck | 1 | -0/+67 | |
2009-02-14 | Fix more memory leaks. | Jonathan Beck | 1 | -1/+2 | |
2009-02-14 | Fix some memory leaks. | Jonathan Beck | 1 | -2/+14 | |
2009-02-09 | Make it compile on MSVC 2005. | Jonathan Beck | 1 | -10/+14 | |