Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 23, 2010
  1. @dogbert @JonathanBeck

    Fixes the xml export.

    dogbert authored JonathanBeck committed
    Apple's activation server refuses XML tickets when this patch isn't applied.
Commits on Jul 29, 2010
  1. @JonathanBeck
Commits on Apr 18, 2010
  1. @TheOneRing

    fixed include dirs

    TheOneRing authored
  2. @JonathanBeck

    Bump version number

    JonathanBeck authored
  3. @JonathanBeck

    Update README.

    JonathanBeck authored
  4. @JonathanBeck

    Endianness, alignment and type-punning fixes for binary plist support

    Julien BLACHE authored JonathanBeck committed
     - 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.
Commits on Apr 6, 2010
  1. @nikias @JonathanBeck

    plist_to_xml: use POSIX locale to make sure '.' is used for floats

    nikias authored JonathanBeck committed
    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.
  2. @nikias @JonathanBeck

    plist_to_xml: copy terminating 0-byte given from xmlDocDumpMemory

    nikias authored JonathanBeck committed
    This makes it possible to process the resulting char* directly as
    a c-string without further copying.
Commits on Mar 24, 2010
  1. @JonathanBeck

    Fix armel floating point endianess (LP: #541879)

    Alexander Sack authored JonathanBeck committed
    * 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
Commits on Mar 3, 2010
  1. @JonathanBeck
  2. @JonathanBeck
Commits on Jan 21, 2010
  1. @JonathanBeck

    Bump version to 1.2

    JonathanBeck authored
  2. @JonathanBeck

    Fix some warnings

    JonathanBeck authored
Commits on Jan 14, 2010
  1. @FunkyM @JonathanBeck

    Make sure to convert predefined xml entities in xml output

    FunkyM authored JonathanBeck committed
    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.
  2. @FunkyM @JonathanBeck
Commits on Dec 14, 2009
  1. @JonathanBeck
Commits on Dec 12, 2009
  1. @FunkyM @JonathanBeck
Commits on Dec 7, 2009
  1. @JonathanBeck
Commits on Nov 28, 2009
  1. @FunkyM @JonathanBeck

    Remove last includes of non-existing Utils.h

    FunkyM authored JonathanBeck committed
Commits on Nov 19, 2009
  1. @JonathanBeck

    don't leak GNodes in plist_free

    Christophe Fergeau authored JonathanBeck committed
    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
  2. @JonathanBeck

    add missing break; in switch statement

    Christophe Fergeau authored JonathanBeck committed
    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.
Commits on Nov 11, 2009
  1. @JonathanBeck
  2. @JonathanBeck
Commits on Nov 10, 2009
  1. @JonathanBeck
  2. @JonathanBeck
  3. @JonathanBeck
  4. @JonathanBeck
  5. @JonathanBeck
  6. @JonathanBeck
  7. @JonathanBeck
Commits on Nov 4, 2009
  1. @JonathanBeck
Commits on Oct 29, 2009
  1. @cfergeau @JonathanBeck
  2. @ingmarv
Commits on Oct 28, 2009
  1. @JonathanBeck

    Bump version to 0.16.

    JonathanBeck authored
  2. @FunkyM @JonathanBeck

    Update doxygen documentation generation to be useful.

    FunkyM authored JonathanBeck committed
Something went wrong with that request. Please try again.