Commit Graph

42 Commits

Author SHA256 Message Date
Dominique Leuenberger
9c391649f5 Accepting request 1091445 from hardware
- Update to 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 nodes

OBS-URL: https://build.opensuse.org/request/show/1091445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=37
2023-06-09 18:37:07 +00:00
96b22d05a9 Update baselibs.conf for change from r14
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=15
2023-05-10 11:24:20 +00:00
ab47327a52 Accepting request 1082485 from home:sebix:branches:hardware
- Update to 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 nodes

OBS-URL: https://build.opensuse.org/request/show/1082485
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=14
2023-05-10 10:39:17 +00:00
Dominique Leuenberger
a2c2d1969c Accepting request 949030 from hardware
OBS-URL: https://build.opensuse.org/request/show/949030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=36
2022-01-27 22:16:19 +00:00
Dominique Leuenberger
f5d3dd5d36 Accepting request 947065 from home:mgorse:branches:hardware
- Add python-rpm-macros to BuildRequires (boo#1194756).

OBS-URL: https://build.opensuse.org/request/show/947065
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=13
2022-01-25 14:23:09 +00:00
Dominique Leuenberger
227debb0f2 Accepting request 937778 from hardware
OBS-URL: https://build.opensuse.org/request/show/937778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=35
2021-12-13 19:42:15 +00:00
Dominique Leuenberger
1912815ec7 Accepting request 935993 from home:favogt:branches:hardware
- Drop incorrect Provides/Obsoletes of library packages
- Avoid libplist{,++} capabilities by using the library names directly
- Use %autosetup
- Use install with -D instead of mkdir

OBS-URL: https://build.opensuse.org/request/show/935993
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=12
2021-12-09 12:24:34 +00:00
Dominique Leuenberger
40f219dc6a Accepting request 930807 from hardware
OBS-URL: https://build.opensuse.org/request/show/930807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=34
2021-11-14 23:06:13 +00:00
Dominique Leuenberger
f22b2400e2 Accepting request 922666 from home:mgorse:branches:hardware
- Obsolete old python 2 plist module. It conflicts with the
  python 3 version.

OBS-URL: https://build.opensuse.org/request/show/922666
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=11
2021-11-11 08:24:40 +00:00
Dominique Leuenberger
394e9a4493 Accepting request 854966 from hardware
OBS-URL: https://build.opensuse.org/request/show/854966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=33
2021-01-29 13:54:58 +00:00
Michal Suchanek
b2b66558d4 Accepting request 846930 from home:cgiboudeaux:branches:hardware
- Update baselibs.conf.
- Stop obsoleting 'virtual' provides. The package manager
  will take care of package updates.
- Also rename libplist-devel to libplist-2_0-devel.
- Add missing provides/obsoletes for devel packages.

- Update to 2.2.0:
  - Rename library and all related files by adding an API version resulting in libplist-2.0 and libplist++-2.0
  - bplist: Improve recursion check performance by at least 30% for large files
  - Add new plist_val_compare(), plist_val_contains() helper functions
  - plistutil: Added ability for files to be read from stdin
  - plistutil: Added ability to specify output format
  - Fix/suppress several compiler warnings
  - Fix: Return NULL from plist_copy() if passed a NULL pointer instead of asserting
  - Fix removal of docs directory on make clean

OBS-URL: https://build.opensuse.org/request/show/846930
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=10
2020-12-11 18:03:33 +00:00
Dominique Leuenberger
d0c785ff7a Accepting request 784247 from hardware
- Update to 2.1.0:
  * Add new plist_get_data_ptr() and plist_get_string_ptr() for direct access to underlying buffer
  * Increase precision when converting PLIST_REAL nodes to XML
  * Fix several issues in libcnary (UaF, segfault, memory leak)
  * Fix copying of hash table entries when cloning array/dict nodes
  * cython: Implement load()/loads() and dump()/dumps() to match up with plistlib (Python 3.4)
  * Add new plist_dict_item_get_key() for retrieving key node of a dict item
  * Add new plist_array_item_remove() to allow removing an array's child node without relying on the index
  * Make plist_array_get_item_index() return UINT_MAX instead of 0 when node can't be found
  * Add index lookup table for large PLIST_ARRAY nodes
  * Add iterator for array nodes: plist_array_new_iter(), plist_array_next_item()
  * Improve performance of plist_dict_next_item() drastically
  * Improve performance and memory usage when writing XML plists
  * Improve performance and memory usage when writing binary plists
  * Allow building with sanitizers (without fuzzers)
  * Prevent store to misaligned address when writing real/date nodes
  * Work around misaligned reads in binary plist parser
  * Integrate fuzzing targets (libFuzzer) into project
  * Add sanitizers (ASAN, UBSAN) when building fuzzers (--with-fuzzers)

OBS-URL: https://build.opensuse.org/request/show/784247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=32
2020-03-26 23:21:45 +00:00
Tomáš Chvátal
de35066b1f - Update to 2.1.0:
* Add new plist_get_data_ptr() and plist_get_string_ptr() for direct access to underlying buffer
  * Increase precision when converting PLIST_REAL nodes to XML
  * Fix several issues in libcnary (UaF, segfault, memory leak)
  * Fix copying of hash table entries when cloning array/dict nodes
  * cython: Implement load()/loads() and dump()/dumps() to match up with plistlib (Python 3.4)
  * Add new plist_dict_item_get_key() for retrieving key node of a dict item
  * Add new plist_array_item_remove() to allow removing an array's child node without relying on the index
  * Make plist_array_get_item_index() return UINT_MAX instead of 0 when node can't be found
  * Add index lookup table for large PLIST_ARRAY nodes
  * Add iterator for array nodes: plist_array_new_iter(), plist_array_next_item()
  * Improve performance of plist_dict_next_item() drastically
  * Improve performance and memory usage when writing XML plists
  * Improve performance and memory usage when writing binary plists
  * Allow building with sanitizers (without fuzzers)
  * Prevent store to misaligned address when writing real/date nodes
  * Work around misaligned reads in binary plist parser
  * Integrate fuzzing targets (libFuzzer) into project
  * Add sanitizers (ASAN, UBSAN) when building fuzzers (--with-fuzzers)

OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=9
2020-03-12 10:28:39 +00:00
Dominique Leuenberger
8b2db8a86e Accepting request 493060 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/493060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=31
2017-05-10 18:35:29 +00:00
Stanislav Brabec
ed8b5d34f3 Accepting request 492379 from home:mgorse:branches:hardware
- update to version 2.0.0:
  * Improved malformed XML and binary plist detection and error
    handling
  * Add parser debug/error output (when compiled with
    --enable-debug), controlled via environment variables
  * Fix unicode character handling
  * Add PLIST_IS_* helper macros for the different node types
  * Extend date/time range and date conversion issues
  * Plug several memory leaks
  * Speed improvements for handling large plist files
  * Includes security fixes for:
  * CVE-2017-6440, CVE-2017-6439, CVE-2017-6438, CVE-2017-6437,
  * CVE-2017-6436, CVE-2017-6435, CVE-2017-5836, CVE-2017-5835,
  * CVE-2017-5834, * CVE-2017-5545, * CVE-2017-7982 (boo#1035312)
  ... and several others that didn't receive any CVE (yet).

OBS-URL: https://build.opensuse.org/request/show/492379
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=8
2017-05-05 17:32:54 +00:00
Dominique Leuenberger
7b31d928d8 Accepting request 454046 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/454046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=30
2017-02-08 09:41:55 +00:00
Marguerite Su
02bd7559a0 Accepting request 454007 from home:jengelh:branches:hardware
- RPM group assignment fixes

OBS-URL: https://build.opensuse.org/request/show/454007
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=7
2017-02-02 05:04:27 +00:00
Dominique Leuenberger
36aff51a5e Accepting request 452457 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/452457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=29
2017-01-27 09:46:34 +00:00
Marguerite Su
a6f192821b Accepting request 452456 from home:MargueriteSu:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/452456
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=6
2017-01-25 16:29:00 +00:00
Stephan Kulow
626285611c Accepting request 258733 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/258733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=28
2014-11-05 15:26:36 +00:00
Stephan Kulow
26a54e7d8d Accepting request 257798 from hardware
Important usability, crash and memleak fixes.

OBS-URL: https://build.opensuse.org/request/show/257798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=27
2014-10-25 06:32:40 +00:00
Martin Szulecki
9b8bb83ef7 - Enable %check as it is provided by libplist and improves quality
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=5
2014-10-21 22:48:49 +00:00
Martin Szulecki
29eb1abb94 Fix duplicated Source: in spec
OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=4
2014-10-17 02:10:13 +00:00
Martin Szulecki
5e52148095 - Update to version 1.12
* 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

OBS-URL: https://build.opensuse.org/package/show/hardware/libplist?expand=0&rev=3
2014-10-17 02:04:56 +00:00
Stephan Kulow
920e58fe76 Accepting request 240142 from hardware
fix errors pointed by factory auto submit

OBS-URL: https://build.opensuse.org/request/show/240142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=25
2014-07-17 04:57:44 +00:00
Stephan Kulow
a8ab2c55ed Accepting request 170840 from devel:libraries:c_c++
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls (forwarded request 164134 from m_meister)

OBS-URL: https://build.opensuse.org/request/show/170840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=23
2013-04-20 15:46:15 +00:00
Stephan Kulow
4454a57d94 Accepting request 131880 from devel:libraries:c_c++
license update: LGPL-2.1+
LGPL-2.1 can be relicensed to GPL without further permission. No need to explicitly call out the GPL as a license option. Fedora has been using LGPL-2.1+ for awhile so gain compatibility there too (forwarded request 131879 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/131880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=21
2012-08-31 07:37:54 +00:00
Stephan Kulow
02357d0eaf Accepting request 114395 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/114395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=19
2012-04-18 14:29:45 +00:00
Stephan Kulow
dc80af4aae Accepting request 103991 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=18
2012-02-15 15:16:16 +00:00
Stephan Kulow
84498f822a replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=17
2011-12-06 17:25:12 +00:00
Stephan Kulow
639d1533c7 Accepting request 92859 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/92859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=16
2011-11-21 14:47:32 +00:00
Sascha Peilicke
48eb52d500 Autobuild autoformatter for 74785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=14
2011-06-29 07:02:58 +00:00
Sascha Peilicke
54101d4333 Accepting request 74785 from devel:libraries:c_c++
Add baselibs.conf needed by usbmuxd (forwarded request 74784 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/74785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=13
2011-06-29 07:02:49 +00:00
Sascha Peilicke
d4db60c306 Autobuild autoformatter for 70376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=12
2011-05-18 07:06:16 +00:00
Sascha Peilicke
ff612ed477 Accepting request 70376 from devel:libraries:c_c++
Add gcc46_build_fix.patch. Fixes https://build.opensuse.org/package/show?package=libplist&project=openSUSE%3AFactory%3AStaging%3AGcc46 (forwarded request 70366 from cgiboudeaux)

OBS-URL: https://build.opensuse.org/request/show/70376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=11
2011-05-18 07:06:06 +00:00
Sascha Peilicke
627006c2eb Autobuild autoformatter for 66937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=10
2011-04-21 09:52:29 +00:00
Sascha Peilicke
4e3cb5a4cc Accepting request 66937 from devel:libraries:c_c++
Accepted submit request 66937 from user dirkmueller

OBS-URL: https://build.opensuse.org/request/show/66937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=9
2011-04-21 09:52:21 +00:00
a28ce09811 Autobuild autoformatter for 55270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=7
2010-12-10 15:16:03 +00:00
380db62ef2 Accepting request 55270 from devel:libraries:c_c++
Accepted submit request 55270 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/55270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=6
2010-12-10 15:15:58 +00:00
OBS User autobuild
032bc317ce Accepting request 40852 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/libplist based on submit request 40852 from user FunkyM

OBS-URL: https://build.opensuse.org/request/show/40852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=3
2010-05-30 22:48:44 +00:00
OBS User autobuild
3725274197 Accepting request 36637 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/libplist based on submit request 36637 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/36637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=2
2010-04-01 16:23:14 +00:00
OBS User autobuild
19303059cb Accepting request 35723 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/libplist based on submit request 35723 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/35723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=1
2010-03-26 16:12:44 +00:00