Up to [cvs.NetBSD.org] / pkgsrc / textproc / libplist
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libplist: update to 2.8.0.
Set TEST_TARGET.
Version 2.8.0
~~~~~~~~~~~~~
- Changes:
* Convert plist_array_set_item, plist_array_append_item, plist_array_insert_item,
plist_array_remove_item, plist_array_item_remove, plist_dict_set_item,
plist_dict_remove_item, and plist_dict_merge from void to plist_err_t return
type so that memory allocation and other errors can be reported
* Make #PLIST_ARRAY and #PLIST_DICT iterators opaque; add plist_array_free_iter
and plist_dict_free_iter to release them
* Add JSON coercion support for non-JSON plist types
* Add OpenStep coercion support for non-OpenStep plist types
* Add circular reference detection to all format writers
* Prevent deep nesting of plist structures in all input/output formats
* plistutil: Use getopt for solid option parsing
* plistutil: Add a --nodepath option to allow selecting a specific node
* plistutil: Read STDIN in chunks instead of one byte at a time
* plistutil: preserve binary data on Windows standard streams
* Add NULL checks and error handling across the codebase (node_attach/insert
failures, realloc failures in byte_array_grow/ptr_array_insert, etc.)
* Make plist copy and free implementations iterative to avoid stack overflow
on deeply nested structures
* docs: Add OpenStep to man page
- Bugfixes:
* Fix heap overflow caused by incorrect PLIST_STRING length during copy
* Fix UTF-8 to UTF-16 decoding and enforce strict validation in bplist
* Fix inverted strcmp in string to boolean conversion
* Fix incorrect size storage in plist_copy() for PLIST_STRING nodes
* Fix is_ascii_string by using a sufficiently large data type
* Fix bplist offset_table range check and add overflow check to node offset
pointer arithmetic
* Reject insertion of plist nodes that already have a parent
* xplist: Enforce single root value inside <plist>
* xplist: Convert nested {CF$UID:<int>} dicts to PLIST_UID safely
* xplist: Harden entity unescaping against malformed input and improve
robustness of XML text parsing and value conversion
* Fix plist_is_binary() not checking for NULL input
* Fix a few memory leaks in JSON parsing and libcnary node_copy_deep()
* Fix Cython crashes
* Fix fread() unused return values by actually handling errors
* Fix Integer constructor to copy plist node (C++ bindings)
* Various smaller compiler warning and portability fixes (MSVC ssize_t,
format specifiers, WIN32 time_s support)
libplist: update to 2.2.0.
Version 2.2.0
~~~~~~~~~~~~~
- Changes:
* bplist: Improve recursion check performance by at least 30% for large files
* test: Fix test suite on Windows
* cython: Fix handling of Date nodes (MACH_EPOCH)
* Add new plist_*_val_compare(), plist_*_val_contains() helper functions
* Fix/suppress several compiler warnings
* plistutil: Added ability for files to be read from stdin
* plistutil: Added ability to specify output format
* Fix: Return NULL from plist_copy() if passed a NULL pointer instead of asserting
* Add GitHub Actions integration for automatic build tests
* plistutil: Add manual page and usage output
* Fix removal of docs directory on `make clean`
* Improve README.md with project description, installation, contributing and
usage sections
* Rename library and all related files by adding an API version resulting
in "libplist-2.0" and "libplist++-2.0"
Update libplist to version 1.12.
Changelog:
Version 1.12
~~~~~~~~~~~~
- Changes:
* Fix plist_from_bin() changing value nodes to key nodes in dictionaries
* Avoid exporting non-public symbols
* Prevent crash in plist_from_bin() when parsing unusual binary plists
* Fix crash in String|Key::GetValue() and actually make C++ interface work
* Fix memory leaks in new_xml_plist() and parse_real_node()
* Fix header guards to conform to C++ standard
* Update Cython based Python bindings and remove plist_new_key()
* Fix key nodes not being output correctly if they contained XML entities
* Fix handling and storage of signed vs. unsigned integer values
* Fix date handling to respect the "Mac Epoch" instead of "Unix Epoch"
* Remove plist_set_type() as it should not be used
* Fix deprecated macros to work with older LLVM/Clang
* Fix various shadowed declarations
* Add documentation to explicitly describe memory buffer ownership
* Fix memory leak in plist_from_bin()
* Add various test cases based on fixes
* Fix wrong timezone related date/time conversion of date nodes
* Fix endian detection on MIPS architecture
* Fix parallel build for autotools
Version 1.11
~~~~~~~~~~~~
- Changes:
* Deprecated plist_dict_insert_item() in favor of plist_dict_set_item()
* Updated cython bindings for Python 3.x
* Removed swig python bindings
* Changed build system to autotools
* Added new plist_dict_merge() function
* WIN32 (MinGW) + OSX compilation fixes
* Made base64 decoding thread safe
Version 1.10
~~~~~~~~~~~~
- Changes:
* Renamed plutil to plistutil to not mask Apple's plutil
* Fixed cython bindings (broken in 1.9)
* Added support for PLIST_UID node types to C++, cython, and swig bindings
- Important Note:
* Support for swig python bindings will be dropped with future releases.
The bindings will be kept in the source tree for now, but we suggest
to update your python code to use the cython bindings instead.
Version 1.9
~~~~~~~~~~~
- Changes:
* Add support for handling UID node types
* Fix crash when converting plists containing comments
* Fix Bug in plist_data_compare()
* Fix DST handling for PLIST_DATE
* Fix plist_dict_set_item() and plist_array_set_item()
* Fix cython String plist handling
* Fix invalid memory access in copy_plist_data()
* Fix several compiler warnings
Import libplist-1.3 as textproc/libplist. Library for handling Apple Binary and XML Property Lists.
Initial revision