summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06plist_to_xml: use POSIX locale to make sure '.' is used for floatsGravatar Nikias Bassen1-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-06plist_to_xml: copy terminating 0-byte given from xmlDocDumpMemoryGravatar Nikias Bassen1-2/+3
This makes it possible to process the resulting char* directly as a c-string without further copying.
2010-03-03Copy xml buffer to malloced buffer to prevent free / xmlFree mixing.Gravatar Jonathan Beck1-2/+9
2010-01-21Fix some warningsGravatar Jonathan Beck1-1/+2
2010-01-14Make sure to convert predefined xml entities in xml outputGravatar Martin Szulecki1-1/+6
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.
2009-10-28Format sources to ANSI style using AStyle (astyle --style=ansi).Gravatar Jonathan Beck1-272/+292
2009-07-08Add a deep copy function and value setters for nodes.Gravatar Jonathan Beck1-6/+4
2009-04-28Merge ascii and unicode handling in PLIST_STRING using UTF-8. Remove unicode ↵Gravatar Jonathan Beck1-24/+3
related declaration in API (breaks API&ABI)
2009-03-27Use (void) instead of () in functions prototype.Gravatar Jonathan Beck1-1/+1
2009-02-15Add more regression test and fix Integer and Real type handling.Gravatar Jonathan Beck1-2/+2
2009-02-14Fix Invalid memory read and match g_free with g_malloc.Gravatar Jonathan Beck1-3/+3
2009-02-14Fix some memory leaks.Gravatar Jonathan Beck1-26/+26
2009-02-14Only call g_base64_encode if there is data to encode.Gravatar Jonathan Beck1-3/+5
2009-02-09Make it compile on MSVC 2005.Gravatar Jonathan Beck1-21/+42
2009-01-29Fix indent.Gravatar Jonathan Beck1-6/+5
2009-01-29Clean some old stuff.Gravatar Jonathan Beck1-2/+0
2009-01-29Add some static declarations.Gravatar Jonathan Beck1-3/+5
2009-01-22Add Unicode support.Gravatar Jonathan Beck1-6/+27
2009-01-19add sanity check.Gravatar Jonathan Beck1-0/+3
2009-01-08Add edition and reading fonctions so that handling plist is less confusing.Gravatar Jonathan Beck1-7/+7
Fix indent.
2009-01-04revert to 60 cols for data base64 encoded buffersGravatar Jonathan Beck1-1/+1
2009-01-04handle date tag.Gravatar Jonathan Beck1-2/+9
2009-01-04more warning fixes.Gravatar Jonathan Beck1-38/+53
2009-01-04fix some warnings and correct binary tag enum (false and true were inverted).Gravatar Jonathan Beck1-9/+9
2008-12-13Fix node length while parsing XML.Gravatar Jonathan Beck1-0/+6
2008-12-13Refine API and fix some warnings.Gravatar Jonathan Beck1-1/+1
2008-12-13Add plutil and do some cleaning.Gravatar Jonathan Beck1-3/+3
2008-12-12Change from Base64 encoded buffers to real buffers. Base64 decoding/encoding ↵Gravatar Jonathan Beck1-2/+6
only happens in xml plists.
2008-12-12Fix some bugs in binary plist generation.Gravatar Jonathan Beck1-12/+14
2008-12-11dissect plists in three file (abstract binary xml)Gravatar Jonathan Beck1-0/+306