Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-12-19 | Add support for PLIST_NULL type | Nikias Bassen | 1 | -10/+20 | |
2021-12-19 | Add new plist_mem_free() function | Nikias Bassen | 1 | -14/+20 | |
Thanks to @azerg for bringing this to my attention. Instead of having multiple (internally identical) plist_*_free() functions, this commit introduces a single plist_mem_free() that can be used to free the memory allocated by plist_to_xml(), plist_to_bin(), plist_get_key_val(), plist_get_string_val(), and plist_get_data_val(). Note: This commit REMOVES plist_to_bin_free() and plist_to_xml_free(). | |||||
2021-06-22 | [clang-tidy] cpp: Turn reference operators to const | Rosen Penev | 10 | -10/+10 | |
Found with cppcoreguidelines-c-copy-assignment-signature Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-06-09 | Unfold automake variables into multiple lines for maintainability | Martin Szulecki | 1 | -14/+15 | |
2020-06-03 | c++: Fix inconsistent declarations | Rosen Penev | 3 | -4/+4 | |
Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-05-11 | Add plist_*_val_compare, plist_*_val_contains, etc. for the respective node ↵ | Nikias Bassen | 1 | -0/+183 | |
types ... except container node types like PLIST_ARRAY or PLIST_DICT. | |||||
2019-11-07 | Add plist_get_data_ptr() and plist_get_string_ptr() to the interface | Nikias Bassen | 1 | -0/+26 | |
2019-11-07 | Add plist_to_bin_free() and plist_to_xml_free() functions that free memory ↵ | Nikias Bassen | 1 | -0/+14 | |
allocated by plist_to_bin()/plist_to_xml() | |||||
2019-07-07 | Add PList::Dictionary::const_iterator | Alexander Böhn | 1 | -0/+4 | |
... and const versions of three member functions, each returning const_iterator: * Plist::Dictionary::Begin() * PList::Dictionary::End() * PList::Dictionary::Find() | |||||
2019-05-20 | Add plist_dict_item_get_key() to allow retrieving the key node for a given ↵ | Nikias Bassen | 1 | -2/+10 | |
item of a #PLIST_DICT | |||||
2019-05-19 | Add plist_array_item_remove() to allow removing an array's child node ↵ | Nikias Bassen | 1 | -0/+8 | |
without relying on the index | |||||
2019-05-19 | plist_array_get_item_index(): return UINT_MAX instead of 0 when node can't ↵ | Nikias Bassen | 1 | -1/+1 | |
be found | |||||
2019-01-21 | headers: Don't redefine uint*_t for newer versions of MSVC | Nikias Bassen | 1 | -1/+1 | |
2019-01-21 | plist: Add iterator for #PLIST_ARRAY nodes | Nikias Bassen | 1 | -9/+37 | |
Similar to #PLIST_DICT, an iterator can now be used for #PLIST_ARRAY nodes. Get an iterator with plist_array_new_iter() and use plist_array_next_item() to iterate over the elements. | |||||
2016-11-10 | Add new PLIST_IS_* helper macros for the different plist node types | Nikias Bassen | 1 | -0/+14 | |
Instead of e.g.: if (plist_get_node_type(plist) == PLIST_STRING) you can now write: if (PLIST_IS_STRING(plist)) | |||||
2016-10-22 | Remove libxml2 dependency in favor of custom XML parsing | Nikias Bassen | 1 | -13/+0 | |
2016-05-12 | Implement plist_from_memory() | Christophe Fergeau | 1 | -0/+11 | |
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/+13 | |
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/+13 | |
2014-10-03 | Avoid exporting non-public symbols | Nikias Bassen | 1 | -59/+52 | |
2014-09-26 | plist.h: Move deprecation marker before function declaration to make ↵ | Nikias Bassen | 1 | -1/+2 | |
non-gcc/clang compilers happy | |||||
2014-09-26 | C++: Add missing cstddef include to Node.h | Nikias Bassen | 1 | -0/+1 | |
2014-09-20 | Added const to Array.GetSize(), and to 3 Node methods. | Aaron Burghardt | 2 | -4/+4 | |
2014-09-20 | Change Clone() to be const, which required constructors with const ↵ | Aaron Burghardt | 11 | -33/+34 | |
references and a const GetValue(). | |||||
2014-08-06 | Properly rename header guards according to C++ standard | Nikias Bassen | 12 | -36/+36 | |
2014-05-21 | Move deprecation marker also for C++ API for better compiler output | Martin Szulecki | 1 | -1/+1 | |
2014-05-20 | Move deprecation marker after the function declaration for better compiler ↵ | Nikias Bassen | 1 | -1/+1 | |
output | |||||
2014-05-20 | Removed plist_set_type() as it should not be used. | Nikias Bassen | 1 | -8/+0 | |
2014-05-20 | Redo PLIST_WARN_DEPRECATED macro to work with older llvm/clang | Martin Szulecki | 2 | -10/+32 | |
2014-05-20 | Added Doxygen comments to explicitly describe memory buffer ↵ | Aaron Burghardt | 1 | -12/+17 | |
ownership/responsibility. | |||||
2014-03-19 | deprecated plist_dict_insert_item in favor of plist_dict_set_item | Nikias Bassen | 2 | -2/+13 | |
2014-03-19 | plist_dict_set_item: insert key/value pair if key not already present | Nikias Bassen | 1 | -4/+5 | |
2013-12-13 | change build system to autotools | Nikias Bassen | 2 | -19/+14 | |
2013-12-13 | add new plist_dict_merge() function | Nikias Bassen | 1 | -0/+10 | |
2013-03-19 | C++: added support for PLIST_UID nodes (class Uid) | Nikias Bassen | 3 | -0/+50 | |
2013-03-19 | C++: add Key.h to public headers | Nikias Bassen | 1 | -0/+1 | |
2013-03-18 | added Key.h to plist++ header file | Nikias Bassen | 1 | -0/+1 | |
2012-11-13 | C++ bindings: added support for PLIST_KEY nodes. | Nikias Bassen | 1 | -0/+49 | |
2012-09-16 | implemented handling of UID keyed encoding type | Nikias Bassen | 1 | -0/+28 | |
2012-08-15 | include sys/time.h for systems that don't include it automatically | Nikias Bassen | 1 | -0/+1 | |
2012-05-08 | remove useless win32 include from plist/Date.h | Nikias Bassen | 1 | -4/+0 | |
2010-03-03 | Alow compiling with mingw on windows (thanks to Patrick). | Jonathan Beck | 1 | -1/+1 | |
2009-11-11 | Move some methods and drop Utils class in C++ binding. | Jonathan Beck | 5 | -45/+5 | |
2009-11-10 | Remove deprecated functions from API. | Jonathan Beck | 1 | -162/+0 | |
2009-11-10 | Remove wrongly exposed SetParent method. | Jonathan Beck | 2 | -2/+5 | |
2009-11-04 | Add GetNodeIdex and GetNodeKey methods. | Jonathan Beck | 2 | -0/+2 | |
2009-10-28 | Update doxygen documentation generation to be useful. | Martin Szulecki | 1 | -4/+6 | |
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | Jonathan Beck | 13 | -878/+880 | |
2009-10-28 | Unlink previous node in SetParent(). | Jonathan Beck | 1 | -0/+2 | |
2009-10-28 | Fix build for MSVC9. | Jonathan Beck | 1 | -0/+4 | |