Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-18 | Endianness, alignment and type-punning fixes for binary plist support | Julien BLACHE | 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 | Nikias Bassen | 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 | Nikias Bassen | 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) | Alexander Sack | 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. | Jonathan Beck | 1 | -2/+9 | |
2010-03-03 | Alow compiling with mingw on windows (thanks to Patrick). | Jonathan Beck | 1 | -1/+1 | |
2010-01-21 | Bump version to 1.2v1.2 | Jonathan Beck | 2 | -2/+2 | |
2010-01-21 | Fix some warnings | Jonathan Beck | 6 | -52/+15 | |
2010-01-14 | Make sure to convert predefined xml entities in xml output | Martin Szulecki | 2 | -1/+8 | |
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-12-14 | Bump version number to 1.1v1.1 | Jonathan Beck | 2 | -2/+2 | |
2009-12-12 | Add stdint.i to fix usage of Integer nodes in Python bindings | Martin Szulecki | 1 | -1/+1 | |
2009-12-07 | Bump version number to 1.0v1.0 | Jonathan Beck | 2 | -3/+3 | |
2009-11-28 | Remove last includes of non-existing Utils.h | Martin Szulecki | 2 | -2/+0 | |
2009-11-19 | don't leak GNodes in plist_free | Christophe Fergeau | 1 | -1/+1 | |
Before recursing over its children, plist_free_node started by detaching the current GNode from its parent which means that calling g_node_destroy on the root of the tree was freeing only the top-level GNode while what was intended was to free the whole tree. Don't leak memory by not detaching children GNodes from their parents so that g_node_destroy on the toplevel GNode can clean everything. | |||||
2009-11-19 | add missing break; in switch statement | Christophe Fergeau | 1 | -0/+2 | |
The 2nd missing break was harmless since it fell through the default: case which has a break, but it makes things more robust if we were ever to add new cases to this switch. The 1st missing break; was causing warnings in valgrind since we ended up calling strdup on a memory zone not containing a \0 character. | |||||
2009-11-11 | Simplify 'libplist.PList' python module to 'plist'. | Jonathan Beck | 3 | -9/+11 | |
2009-11-11 | Fix removal of the Utils class. | Jonathan Beck | 3 | -7/+6 | |
2009-11-11 | Move some methods and drop Utils class in C++ binding. | Jonathan Beck | 10 | -156/+88 | |
2009-11-10 | Raise soversion since we removed a lot of symbols. | Jonathan Beck | 1 | -1/+1 | |
2009-11-10 | Remove deprecated functions from API. | Jonathan Beck | 4 | -351/+18 | |
2009-11-10 | Remove deprecated python binding. | Jonathan Beck | 1 | -291/+13 | |
2009-11-10 | Do not free plist node twice in Dictionary destructor. | Jonathan Beck | 1 | -1/+0 | |
2009-11-10 | Do not export internal functions symbols. | Jonathan Beck | 1 | -4/+4 | |
2009-11-10 | Remove wrongly exposed SetParent method. | Jonathan Beck | 6 | -20/+23 | |
2009-11-04 | Add GetNodeIdex and GetNodeKey methods. | Jonathan Beck | 4 | -0/+20 | |
2009-10-29 | Install python bindings in the right directory on 64bit machines. | Christophe Fergeau | 1 | -1/+1 | |
2009-10-29 | Add a CMake option to disable python bindings | Ingmar Vanhassel | 1 | -3/+8 | |
2009-10-28 | Bump version to 0.16.v0.16 | Jonathan Beck | 2 | -2/+2 | |
2009-10-28 | Update doxygen documentation generation to be useful. | Martin Szulecki | 2 | -74/+200 | |
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | Jonathan Beck | 32 | -2905/+3049 | |
2009-10-28 | Unlink previous node in SetParent(). | Jonathan Beck | 2 | -0/+13 | |
2009-10-28 | Fix build for MSVC9. | Jonathan Beck | 16 | -10/+44 | |
2009-10-26 | Change name of input argument as 'in' is a reserved keyword in python. | Jonathan Beck | 2 | -6/+6 | |
2009-10-26 | Add Set/Get Parent and a helper to create a Node from a plist_t. | Jonathan Beck | 22 | -245/+113 | |
2009-10-26 | Fix SwigPyIterators name depending on version of SWIG. | Jonathan Beck | 1 | -2/+9 | |
2009-10-25 | Fix libplist++ pkgconfig file. | Jonathan Beck | 1 | -1/+1 | |
2009-10-19 | Bump version to 0.15.v0.15 | Jonathan Beck | 1 | -1/+1 | |
2009-10-19 | prefix headers #ifndef with PLIST__ to make them less common. | Jonathan Beck | 11 | -33/+33 | |
2009-10-18 | Bump version to 0.14v0.14 | Jonathan Beck | 1 | -1/+1 | |
2009-10-18 | Install C++ headers. | Jonathan Beck | 1 | -2/+16 | |
2009-10-18 | Surround python specific stuff with proper #ifdef. | Jonathan Beck | 1 | -1/+5 | |
2009-10-18 | Conform to python naming. Make Dictionary behave like python's dicts. | Jonathan Beck | 1 | -0/+112 | |
2009-10-18 | Tweak Dictioonary interface a bit. | Jonathan Beck | 2 | -2/+12 | |
2009-10-18 | Do not export GetPlist(); | Jonathan Beck | 1 | -0/+1 | |
2009-10-18 | Reduce Python specific code in swig header. | Jonathan Beck | 1 | -15/+13 | |
2009-10-18 | Add pkg-config file for libplist++. | Jonathan Beck | 2 | -0/+14 | |
2009-10-18 | Add python datetime typemaps. | Jonathan Beck | 1 | -0/+38 | |
2009-10-17 | Fixes for dates. | Jonathan Beck | 2 | -3/+4 | |
2009-10-17 | Add dynamic subtyping for abstract nodes. | Jonathan Beck | 1 | -0/+49 | |