Commit 8dbff1b
committed
libplist: update to 2.7.0.
Version 2.7.0
~~~~~~~~~~~~~
- Changes:
* Add plist_new_unix_date, plist_get_unix_date_val, plist_set_unix_date_val functions
that work with int64_t values representing a UNIX timestamp instead of
using the 'MAC epoch'.
These new functions should be used instead of plist_new_date,
plist_get_date_val, and plist_set_date_val, which are now marked deprecated
and might be removed in a future version of libplist.
* Allow building the library without tool(s)
* Switch to more generic global initializer method
* json: Allow e+/E+ in exponent as per RFC 8259
* C++: Add more convenience functions to the interface
* C++: Add more type variants to different constructors and operators
- Bugfixes:
* Fix segmentation fault when calling plist_sort() on an empty dictionary
* Fix compilation on MSVC
* C++: Fix bug in internal helper function of Array class
* C++: Fix String::GetValue memory leaking and support assignment of const char*
Version 2.6.0
~~~~~~~~~~~~~
- Changes:
* Revert back API change around PLIST_DATA to use char* again
Version 2.5.0
~~~~~~~~~~~~~
- Changes:
* Change API around PLIST_DATA to use uint8_t* instead of char*
* Add PLIST_DICT helper functions for different operations
* Require Cython 3.0 for python bindings
Version 2.4.0
~~~~~~~~~~~~~
- Changes:
* Add a PLIST_OPT_NONE value to plist_write_options_t
* autoconf: Allow disabling build of test suite
* Update doxygen config and document undocumented macros
* Add an explicit PLIST_FORMAT_NONE value
* Add a libplist_version() function to the interface
* docs: Use README.md to generate mainpage with doxygen
- Bugfixes:
* Several compiler-related fixes and code improvements
* Plug memory leak in plist_write_to_stream()
* Prevent adding NULL items to array/dictionary nodes
* Fix parallel running of test suite
* Fix cython bindings
* Fix OOB read in plist_from_memory()
Version 2.3.0
~~~~~~~~~~~~~
- Changes:
* Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()
* Add support for JSON format
* Add support for OpenStep format
* Introduce error codes and format constants
* Add return value to import/export functions to allow returning error codes
* Add new plist_sort function
* Add several human-readable output-only formats
* Add new plist_write_to_string/_stream/_file functions
* Add new plist_print function
* Add new plist_read_from_file function
* Add new plist_mem_free() function
* Add a few C++ methods
* Add C++ interface test
* Add PLIST_NULL type
* Some code housekeeping (mostly clang-tidy)
- Breaking:
* plist_from_memory() gets additional parameter
- Bugfixes:
* Fix multiple bugs in all of the parsers
* Fix handling of PLIST_UID nodes1 parent 736eb0f commit 8dbff1b
2 files changed
Lines changed: 8 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments