summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-01-11Bump version to 1.8 for release1.8Gravatar Nikias Bassen2-2/+2
2012-01-11Update NEWS for releaseGravatar Nikias Bassen1-0/+8
2012-01-11node_list: Fix memory corruptionGravatar Nikias Bassen1-1/+7
The corruption occured if you removed the last node from the list and later add a new node to the list.
2011-09-26Allow swig typemap to recognize any std::vector<char> as a python string.Gravatar Glenn Washburn1-4/+4
2011-09-26cython: use bint instead of bool, fix deprecated stuffGravatar Nikias Bassen2-28/+27
2011-09-26More qualifiers.Gravatar Bryan Forbes2-19/+23
2011-09-26Changed bool to bint in Cython functions. Added some more type qualifiers.Gravatar Bryan Forbes2-16/+16
2011-09-26Fixed some memory leaks and unicode handling.Gravatar Bryan Forbes2-43/+72
2011-09-26If the plist type is none, return None.Gravatar Bryan Forbes1-0/+2
2011-09-26Removed a call to __dealloc__ and added initialization of _array.Gravatar Bryan Forbes1-1/+1
2011-09-26Added cython bindings.Gravatar Bryan Forbes7-3/+861
2011-09-26Added .gitignore fileGravatar Nikias Bassen1-0/+2
2011-09-26Updated NEWS1.7Gravatar Nikias Bassen1-0/+6
2011-09-26Bump version to 1.7 for releaseGravatar Nikias Bassen1-1/+1
2011-09-26move cmake endianess detection to proper place and actually USE itGravatar Nikias Bassen2-4/+5
2011-09-11Win32: do not use visibility attributeGravatar Nikias Bassen1-1/+1
2011-06-25Updated NEWS1.6Gravatar Nikias Bassen1-0/+6
2011-06-25Bump version to 1.6 for releaseGravatar Nikias Bassen1-1/+1
2011-06-25Updated READMEGravatar Nikias Bassen1-9/+5
2011-06-25Updates libcnary sources (adding license info)Gravatar Nikias Bassen13-0/+694
2011-06-13Bundle libcnary for better packaging1.5Gravatar Nikias Bassen15-0/+760
2011-06-13Remove libcnary submoduleGravatar Nikias Bassen2-3/+0
2011-06-13Bump version to 1.5 for releaseGravatar Nikias Bassen2-2/+2
2011-06-13Updated NEWSGravatar Nikias Bassen1-0/+8
2011-06-13Add missing include <cstddef> to fix FTBFS with GCC 4.6Gravatar Matthias Klose1-0/+1
2011-06-01Fix base64 encodingGravatar Nikias Bassen1-8/+6
2011-05-29Use simple sscanf for parsing dates if strptime is not availableGravatar Nikias Bassen1-2/+15
2011-05-29use signed char instead of int8_tGravatar Nikias Bassen1-1/+1
2011-05-29Use malloc+snprintf instead of asprintfGravatar Nikias Bassen1-2/+4
2011-05-29user CMAKE_C_OUTPUT_EXTENSION instead of .oGravatar Nikias Bassen1-5/+5
2011-05-28define be16toh, be32toh, be64toh if not availableGravatar Nikias Bassen1-0/+34
2011-05-28Add missing includeGravatar Nikias Bassen1-0/+1
2011-05-27Add check for libcnary submodule checkout before buildingGravatar Nikias Bassen1-0/+9
2011-05-27Updated README fileGravatar Nikias Bassen1-3/+8
2011-05-27Make libplist glib freeGravatar Nikias Bassen18-210/+876
2011-05-27Add submodule libcnaryGravatar Nikias Bassen2-0/+3
2011-03-20Bump version to 1.4 for release1.4Gravatar Martin Szulecki2-2/+2
2011-03-20Change pkg-config file "Requires" into "Requires.private"Gravatar Martin Szulecki1-1/+1
2011-03-20Add NEWS file with list of changesGravatar Martin Szulecki1-0/+89
2011-03-16Plugging memory leak in write_unicodeGravatar Christophe Fergeau1-0/+1
2011-02-12Make sure install_name_tool on OSX picks up library install pathGravatar Martin Szulecki1-0/+6
This allows dylib to correctly find the library and fixes linking on OSX.
2011-02-12Fix Dictionary copy constructorGravatar Christophe Fergeau1-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>
2011-02-12Update README with new official source repository locationGravatar Martin Szulecki1-2/+2
2011-02-12Update AUTHORS from git log historyGravatar Martin Szulecki1-1/+10
2010-08-23Fixes the xml export.Gravatar Dogbert1-2/+2
Apple's activation server refuses XML tickets when this patch isn't applied.
2010-07-29Fix unicode binary writing.Gravatar Jonathan Beck1-7/+23
2010-04-19fixed include dirsGravatar Patrick von Reth1-1/+2
2010-04-18Bump version numberv1.3Gravatar Jonathan Beck2-2/+2
2010-04-18Update README.Gravatar Jonathan Beck1-8/+8
2010-04-18Endianness, alignment and type-punning fixes for binary plist supportGravatar Julien BLACHE1-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.