Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-03-19 | deprecated plist_dict_insert_item in favor of plist_dict_set_item | 2 | -8/+8 | ||
2014-03-19 | plist_dict_set_item: insert key/value pair if key not already present | 1 | -10/+11 | ||
2014-02-13 | Replace some LDADD references to use $(top_builddir) for distcheck | 1 | -1/+1 | ||
2014-02-13 | fix make distcheck | 1 | -3/+3 | ||
2014-02-06 | bplist: prevent segmentation fault in plist_from_bin() | 1 | -0/+3 | ||
2013-12-13 | bplist: make plist_utf8_to_utf16 static since it is only used internally | 1 | -1/+1 | ||
2013-12-13 | xplist: fix another compiler warning with cast | 1 | -1/+1 | ||
2013-12-13 | bytearray: silence compiler warning about pointer arithmetic with cast | 1 | -1/+1 | ||
2013-12-13 | base64: silence compiler warning by using correct type | 1 | -1/+2 | ||
2013-12-13 | xplist: silence compiler warning | 1 | -1/+1 | ||
2013-12-13 | xplist: fix shadowed variable declaration | 1 | -3/+3 | ||
2013-12-13 | change build system to autotools | 2 | -59/+47 | ||
2013-12-13 | add new plist_dict_merge() function | 1 | -0/+27 | ||
2013-11-12 | base64: get rid of strtok_r and use strspn+strcspn instead | 1 | -13/+14 | ||
strtok_r is not available on win32 and the designated strtok_s function is reported to not work on windows xp. Hence we use an easier an non-destructive implementation with strspn and strcspn to strip out the whitespace. | |||||
2013-11-12 | base64: fix compilation with win32 | 1 | -0/+4 | ||
this is a temporary fix, we'll replace strtok_r with a custom implementation soon. | |||||
2013-10-29 | fixed mavericks compile problem, return iterator of _map.end() instead of ↵ | 1 | -1/+1 | ||
iterator of NULL | |||||
2013-10-17 | UTF-16 surrogate pair fix | 1 | -4/+37 | ||
Handle UTF-16 surrogate pair conversion to/from UTF-8 | |||||
2013-10-09 | base64: use strtok_r instead of strtok to make sure we're thread safe | 1 | -2/+3 | ||
2013-05-30 | bplist: use __FLOAT_WORD_ORDER__ instead of __VFP_FP__ for floating point ↵ | 1 | -1/+4 | ||
endianness detection | |||||
2013-03-19 | C++: added support for PLIST_UID nodes (class Uid) | 3 | -0/+81 | ||
2013-03-07 | xml plists: make sure we don't produce <data/> if it's empty | 1 | -0/+9 | ||
2012-11-13 | C++ bindings: added support for PLIST_KEY nodes. | 3 | -1/+84 | ||
2012-11-08 | Fix crash when converting plists containing comments | 1 | -0/+4 | ||
Thanks to free2000fly for pointing this out. The issue was that XML plists with comments converted to binary plists would result in invalid binary nodes, thus converting back these binary plists resulted in a crash. | |||||
2012-09-16 | plist_data_compare: for PLIST_DATA, compare length before accessing data | 1 | -0/+2 | ||
2012-09-16 | xplist: set DST to not available in parse_date() | 1 | -0/+1 | ||
2012-09-16 | implemented handling of UID keyed encoding type | 3 | -2/+140 | ||
2012-04-24 | fix plist_dict_set_item() and plist_array_set_item() | 1 | -9/+17 | ||
2012-02-12 | set PLIST_BYTE_ORDER if required and compiler provides it | 1 | -0/+9 | ||
2012-02-11 | bplist: fix invalid memory access in copy_plist_data | 1 | -4/+4 | ||
2012-01-12 | fix compiler warnings | 4 | -13/+4 | ||
2011-09-26 | move cmake endianess detection to proper place and actually USE it | 1 | -0/+1 | ||
2011-09-11 | Win32: do not use visibility attribute | 1 | -1/+1 | ||
2011-06-01 | Fix base64 encoding | 1 | -8/+6 | ||
2011-05-29 | Use simple sscanf for parsing dates if strptime is not available | 1 | -2/+15 | ||
2011-05-29 | use signed char instead of int8_t | 1 | -1/+1 | ||
2011-05-29 | Use malloc+snprintf instead of asprintf | 1 | -2/+4 | ||
2011-05-29 | user CMAKE_C_OUTPUT_EXTENSION instead of .o | 1 | -5/+5 | ||
2011-05-28 | define be16toh, be32toh, be64toh if not available | 1 | -0/+34 | ||
2011-05-28 | Add missing include | 1 | -0/+1 | ||
2011-05-27 | Make libplist glib free | 14 | -204/+866 | ||
2011-03-16 | Plugging memory leak in write_unicode | 1 | -0/+1 | ||
2011-02-12 | Make sure install_name_tool on OSX picks up library install path | 1 | -0/+6 | ||
This allows dylib to correctly find the library and fixes linking on OSX. | |||||
2011-02-12 | Fix Dictionary copy constructor | 1 | -1/+1 | ||
While iterating over all the keys stored in the source Dictionary to copy them to create the copied Dictonary, the name of the key being copied was only set to a non-NULL value for the first key we copy. This was then leading to an assertion when trying to create a std::string from a NULL pointer. Simple test-case: int main() { PList::Dictionary a; PList::String b("Hello"); PList::String c("Hi!"); PList::Dictionary d; a.Insert("Key", &b); a.Insert("Another Key", &c); std::cout << a.ToXml() << std::endl; d.Insert("dictionary", &a); //CRAAAAAAAAASH! std::cout << d.ToXml() << std::endl; return 0; } /* Output: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Key</key> <string>Hello</string> <key>Another Key</key> <string>Hi!</string> </dict> </plist> terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid */ Signed-off-by: Martin Szulecki <opensuse@sukimashita.com> | |||||
2010-08-23 | Fixes the xml export. | 1 | -2/+2 | ||
Apple's activation server refuses XML tickets when this patch isn't applied. | |||||
2010-07-29 | Fix unicode binary writing. | 1 | -7/+23 | ||
2010-04-18 | Endianness, alignment and type-punning fixes for binary plist support | 1 | -13/+63 | ||
- endianness issues: on big endian machines, writing out only part of an integer was broken (get_needed_bytes(x) < sizeof(x)) -> shift integer before memcpy() on big endian machines - alignment issues: unaligned reads when loading binary plist. Leads to slow runtime performance (kernel trapping and fixing things up), SIGBUS (kernel not helping us out) -> introduce get_unaligned() and have the compiler generate the code needed for the unaligned access (note that there remains unaligned accesses that I haven't been able to track down - I've seen 2 of them with test #2) - type-punning issues: breaking strict aliasing rules can lead to unexpected results as the compiler takes full advantage of the aliasing while optimizing -> introduce the plist_uint_ptr union instead of casting pointers Tested on amd64, alpha and hppa. | |||||
2010-04-06 | plist_to_xml: use POSIX locale to make sure '.' is used for floats | 1 | -0/+14 | ||
In locales like German, a ',' is used as a decimal separator. When the program calling plist_to_xml uses LC_NUMBER with something different than a '.', parsing of the resulting XML document fails. This patch fixes it. | |||||
2010-04-06 | plist_to_xml: copy terminating 0-byte given from xmlDocDumpMemory | 1 | -2/+3 | ||
This makes it possible to process the resulting char* directly as a c-string without further copying. | |||||
2010-03-24 | Fix armel floating point endianess (LP: #541879) | 1 | -6/+26 | ||
* on armel system floating poing data can have different endianess than rest of types; hence we fix arm endianess for defined(__VFP_FP__) to be big/native; this also applies for data parsing/writing * date parsing didnt flip the endianess back for little endian systems when reading the values causing test failures; we fix this by ensuring float endianess is applied when parsing | |||||
2010-03-03 | Copy xml buffer to malloced buffer to prevent free / xmlFree mixing. | 1 | -2/+9 | ||