Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-04-19 | Add plist_read_from_file() to interface, update plist_from_memory() | Nikias Bassen | 1 | -44/+2 | |
plist_read_from_file() is a convenience function that will open a given file, checks its size, allocates a buffer large enough to hold the full contents, and reads from file to fill the buffer. Then, it calls plist_from_memory() to convert the data to plist format. A (breaking) change had to be made so that plist_from_memory() will also return the parsed format in its 4th argument (if non-NULL). | |||||
2023-02-06 | libcnary: Updated typedefs of node_t and node_list_t to contain pointer | Nikias Bassen | 1 | -2/+2 | |
This makes the code more readable. Obviously all the code that uses it is also updated. | |||||
2023-01-16 | Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val() | Nikias Bassen | 3 | -0/+140 | |
This properly supports getting and setting signed or unsigned integer values. Also, a new helper function plist_int_val_is_negative() was added to determine if a given #PLIST_INT node has a negative value or not. The old type PLIST_UINT is defined as a macro with the value of PLIST_INT for backwards compatibility. This commit also adds int vs. uint support to the C++ interface, and the python bindings in a hopefully useful way. | |||||
2023-01-08 | Add support for OpenStep plist format | Nikias Bassen | 12 | -16/+349 | |
2022-02-07 | test: Polish json3.test to not leave temp file after test | Nikias Bassen | 1 | -3/+5 | |
2022-02-07 | test: Add int64 min/max testcase for JSON parser | Nikias Bassen | 3 | -2/+24 | |
2022-01-31 | test: Update JSON test case to have negative numbers | Nikias Bassen | 1 | -1/+1 | |
2022-01-25 | test: Rename json test files to .json | Nikias Bassen | 5 | -3/+4 | |
2022-01-25 | test: Add additional JSON test case | Nikias Bassen | 4 | -7/+28 | |
2021-12-23 | test: Work around JSON parser limitation expecting to have a 0-terminated ↵ | Nikias Bassen | 1 | -0/+3 | |
string as input | |||||
2021-12-23 | test: Update json test case to not rely on --enable-debug | Nikias Bassen | 1 | -9/+6 | |
2021-12-23 | Add support for JSON format | Nikias Bassen | 12 | -13/+247 | |
2021-12-23 | test: Add PLIST_UID test case | Nikias Bassen | 4 | -3/+155 | |
2020-11-24 | Improve code readability by not using else after return | Rosen Penev | 2 | -11/+5 | |
[clang-tidy] Found with readability-else-after-return Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-06-14 | Add API version to library and pkgconfig file for proper linking | Nikias Bassen | 1 | -2/+2 | |
2020-06-09 | Unfold automake variables into multiple lines for maintainability | Martin Szulecki | 1 | -4/+14 | |
2019-12-18 | test: Use diff --strip-trailing-cr to fix tests on windows | Nikias Bassen | 3 | -9/+6 | |
2019-12-18 | test: Write outputfile to test log for signedunsigned2 test | Nikias Bassen | 1 | -0/+3 | |
2019-05-16 | test: Merge *cmp.test into *.test to allow parallel testing | Nikias Bassen | 13 | -48/+24 | |
2017-04-20 | test: Rename dates.test output files so the get removed upon 'make distclean' | Christophe Fergeau | 1 | -2/+2 | |
2017-04-20 | test: Add missing test files to Makefile.am/EXTRA_DIST | Christophe Fergeau | 1 | -1/+42 | |
2017-04-20 | test: Fix wrong filename in EXTRA_DIST entry of Makefile.am | Nikias Bassen | 1 | -1/+1 | |
2017-02-01 | test: Add test cases for different bplist offset and reference sizes | Nikias Bassen | 20 | -0/+34 | |
2017-01-02 | test: Add some more test cases for various valid and invalid content | Nikias Bassen | 7 | -1/+62 | |
2017-01-02 | test: Add new test case for dictionaries with empty keys | Nikias Bassen | 3 | -1/+22 | |
2017-01-02 | test: Add new test case for entities | Nikias Bassen | 3 | -1/+71 | |
2016-11-18 | test: Fix test plist having duplicate keys in dictionary | Nikias Bassen | 1 | -1/+1 | |
2016-09-19 | test: Add additional test case to check extended date range | Nikias Bassen | 3 | -0/+20 | |
2016-06-29 | test: Add another test case for signed/unsigned (multiple) integers | Nikias Bassen | 4 | -0/+35 | |
Apart from testing the actual integer signed vs. unsigned value storage and conversion, this test will check that the binary plist optimization is not re-using existing values. Basically it will test the fix that was introduced with commit acd226d1f71a78dd23b47a9a5c4ca8cf8068d509. | |||||
2015-02-05 | test: Add missing .test files | Nikias Bassen | 3 | -0/+35 | |
2015-02-05 | test: Add more test cases covering binary plist issues | Nikias Bassen | 5 | -2/+32 | |
2014-10-03 | Avoid exporting non-public symbols | Nikias Bassen | 1 | -1/+1 | |
2014-06-13 | test: Fix make clean in relation with out-of-tree build directory | Martin Szulecki | 1 | -1/+1 | |
2014-05-27 | test: Add keys with XML entities to data plist files | Martin Szulecki | 5 | -2/+10 | |
2014-05-27 | test: Fix clean target to remove all generated files | Martin Szulecki | 1 | -1/+1 | |
2014-05-23 | test: Add test cases for integer nodes | Nikias Bassen | 9 | -2/+78 | |
2014-05-23 | test: Add data/7.plist to extra_dist target | Nikias Bassen | 1 | -1/+1 | |
2014-05-22 | test: Use better test data for timezone tests | Nikias Bassen | 3 | -2/+12 | |
2014-04-02 | test: Fix timezone test cases with set -e | Nikias Bassen | 2 | -0/+4 | |
2014-04-01 | test: Add new timezone tests | Nikias Bassen | 3 | -1/+37 | |
2014-02-13 | Replace some LDADD references to use $(top_builddir) for distcheck | Martin Szulecki | 1 | -2/+2 | |
2014-02-13 | fix make distcheck | Nikias Bassen | 14 | -105/+75 | |
2013-12-13 | change build system to autotools | Nikias Bassen | 14 | -29/+169 | |
2011-05-27 | Make libplist glib free | Nikias Bassen | 2 | -4/+4 | |
2010-01-21 | Fix some warnings | Jonathan Beck | 2 | -10/+4 | |
2010-01-14 | Make sure to convert predefined xml entities in xml output | Martin Szulecki | 1 | -0/+2 | |
For string nodes, a set of special characters must be converted to predefined xml entities. This patch adds an entitiy test case for this and makes libplist pass it fine by explicitly adding text nodes. | |||||
2010-01-14 | Make tests also work when building outside the source tree | Martin Szulecki | 1 | -12/+13 | |
2009-11-10 | Remove deprecated functions from API. | Jonathan Beck | 2 | -0/+18 | |
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | Jonathan Beck | 2 | -192/+204 | |
2009-10-28 | Fix build for MSVC9. | Jonathan Beck | 2 | -1/+9 | |