Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-04-21 | plistutil: Add -p command line switch to print plist in human-readable format | 1 | -0/+27 | ||
2023-04-19 | Add plist_read_from_file() to interface, update plist_from_memory() | 1 | -1/+1 | ||
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-04-16 | Add new output-only formats and Define constants for the different plist formats | 1 | -8/+8 | ||
This commit introduces constants for the different plist formats, and adds 3 new human-readable output-only formats: - PLIST_FORMAT_PRINT: the default human-readable format - PLIST_FORMAT_LIMD: "libimobiledevice" format (used in ideviceinfo) - PLIST_FORMAT_PLUTIL: plutil-style format Also, a new set of write functions has been added: - plist_write_to_string - plist_write_to_stream - plist_write_to_file Plus a simple "dump" function: - plist_print See documentation for details. | |||||
2023-02-07 | Add function to interface to allow enabling/disabling error/debug output for ↵ | 1 | -0/+5 | ||
the format parses This makes the `-d` option work in plistutil that wasn't doing anything | |||||
2023-02-06 | plistutil: Add command line switch to allow sorting of the output plist | 1 | -6/+23 | ||
2023-01-08 | Add support for OpenStep plist format | 1 | -22/+32 | ||
2022-01-31 | plistutil: Make sure the input buffer is 0-terminated in all code paths | 1 | -0/+1 | ||
2021-12-23 | plistutil: Check return values from plist API to print proper error messages | 1 | -14/+35 | ||
and return a meaningful exit code. | |||||
2021-12-23 | Add support for JSON format | 1 | -42/+36 | ||
2021-02-06 | plistutil: Fix stdin input buffer reallocation | 1 | -5/+16 | ||
2021-01-25 | Replace malloc + memset with calloc where appropriate | 1 | -2/+1 | ||
calloc is faster for big allocations. It's also simpler. Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-11-24 | Improve code readability by using explicit != 0 compare when using strncmp | 1 | -1/+1 | ||
[clang-tidy] Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2020-06-14 | Add API version to library and pkgconfig file for proper linking | 1 | -1/+1 | ||
2020-06-09 | Unfold automake variables into multiple lines for maintainability | 1 | -1/+4 | ||
2020-06-05 | plistutil: Update copyright header | 1 | -2/+3 | ||
2020-06-05 | plistutil: Add new "--version" option to output version information | 1 | -0/+6 | ||
2020-06-05 | plistutil: Fix option parsing | 1 | -8/+10 | ||
2020-06-04 | Unify plistutil usage output with other tools and add project URLs | 1 | -5/+10 | ||
2020-06-04 | Add config.h include to plistutil.c | 1 | -0/+3 | ||
2020-06-04 | Replace tabs with correct space indentation in plistutil.c | 1 | -10/+10 | ||
2020-05-24 | plistutil: Improve usage text alignment | 1 | -4/+4 | ||
2020-05-24 | plistutil: Added ability to specify output format | 1 | -8/+59 | ||
2020-05-24 | plistutil: Added ability for files to be read from stdin | 1 | -25/+71 | ||
2017-02-07 | plistutil: Print error message when opening input/output file fails and plug ↵ | 1 | -1/+7 | ||
memory leaks on error | |||||
2017-01-18 | plistutil: Use plist_is_binary() to check for binary plist data | 1 | -1/+1 | ||
2017-01-18 | plistutil: Prevent OOB heap buffer read by checking input size | 1 | -0/+6 | ||
As pointed out in #87 plistutil would do a memcmp with a heap buffer without checking the size. If the size is less than 8 it would read beyond the bounds of this heap buffer. This commit prevents that. | |||||
2015-01-29 | plistutil: Plug some memory leaks | 1 | -2/+6 | ||
2015-01-29 | plistutil: Use static buffer for stat() | 1 | -6/+4 | ||
2015-01-23 | plistutil: Improve error message for a human if input file reading failed | 1 | -1/+1 | ||
2015-01-23 | plistutil: Cleanup code style a bit and remove obsolete extra header | 3 | -102/+79 | ||
2015-01-23 | Update and correct some copyright header comments | 1 | -1/+2 | ||
2014-02-13 | Replace some LDADD references to use $(top_builddir) for distcheck | 1 | -1/+1 | ||
2013-12-13 | change build system to autotools | 3 | -0/+200 | ||