1. 18 Nov, 2016 1 commit
  2. 13 Nov, 2016 1 commit
  3. 10 Nov, 2016 4 commits
  4. 09 Nov, 2016 1 commit
  5. 22 Oct, 2016 1 commit
  6. 18 Sep, 2016 1 commit
    • Nikias Bassen's avatar
      Change internal storage of PLIST_DATE values from struct timeval to double · 912cb459
      Nikias Bassen authored
      This removes the timeval union member from the plist_data_t structure.
      Since struct timeval is 2x64bit on 64bit platforms this member unnecessarily
      grew the union size to 16 bytes while a size of 8 bytes is sufficient.
      Also, on 32bit platforms struct timeval is only 2x32bit of size, limiting the
      range of possible time values. In addition the binary property list format
      also stores PLIST_DATE nodes as double.
      912cb459
  7. 12 May, 2016 1 commit
  8. 05 Feb, 2015 1 commit
  9. 31 Jan, 2015 2 commits
  10. 09 Oct, 2014 1 commit
    • Martin Szulecki's avatar
      bplist: Fix plist_from_bin() changing value nodes to key nodes in dictionaries · b3ab0a42
      Martin Szulecki authored
      The parsing logic for binary dictionaries wrongly enforced the key type even
      on nodes that were already parsed as value nodes. This caused the resulting
      plist_t node tree to have key nodes instead of value nodes within dictionaries
      for some valid binary plists. This commit should also generally fixes parsing
      of binary plist files which use an efficient dictionary reference table.
      b3ab0a42
  11. 03 Oct, 2014 2 commits
  12. 23 Sep, 2014 1 commit
  13. 25 Aug, 2014 1 commit
  14. 05 Aug, 2014 1 commit
  15. 23 May, 2014 1 commit
  16. 18 May, 2014 1 commit
  17. 06 Feb, 2014 1 commit
  18. 13 Dec, 2013 1 commit
  19. 17 Oct, 2013 1 commit
  20. 30 May, 2013 1 commit
  21. 16 Sep, 2012 1 commit
  22. 11 Feb, 2012 1 commit
  23. 11 Jan, 2012 1 commit
  24. 28 May, 2011 1 commit
  25. 27 May, 2011 1 commit
  26. 16 Mar, 2011 1 commit
  27. 29 Jul, 2010 1 commit
  28. 18 Apr, 2010 1 commit
    • Julien BLACHE's avatar
      Endianness, alignment and type-punning fixes for binary plist support · 33b8a128
      Julien BLACHE authored
       - 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.
      33b8a128
  29. 24 Mar, 2010 1 commit
    • Alexander Sack's avatar
      Fix armel floating point endianess (LP: #541879) · e965b325
      Alexander Sack authored
      * 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
      e965b325
  30. 21 Jan, 2010 1 commit
  31. 28 Oct, 2009 2 commits
  32. 06 Sep, 2009 1 commit
  33. 08 Jul, 2009 1 commit
  34. 28 Apr, 2009 1 commit