1. 31 Jan, 2015 1 commit
  2. 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
  3. 03 Oct, 2014 2 commits
  4. 23 Sep, 2014 1 commit
  5. 25 Aug, 2014 1 commit
  6. 05 Aug, 2014 1 commit
  7. 23 May, 2014 1 commit
  8. 18 May, 2014 1 commit
  9. 06 Feb, 2014 1 commit
  10. 13 Dec, 2013 1 commit
  11. 17 Oct, 2013 1 commit
  12. 30 May, 2013 1 commit
  13. 16 Sep, 2012 1 commit
  14. 11 Feb, 2012 1 commit
  15. 11 Jan, 2012 1 commit
  16. 28 May, 2011 1 commit
  17. 27 May, 2011 1 commit
  18. 16 Mar, 2011 1 commit
  19. 29 Jul, 2010 1 commit
  20. 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
  21. 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
  22. 21 Jan, 2010 1 commit
  23. 28 Oct, 2009 2 commits
  24. 06 Sep, 2009 1 commit
  25. 08 Jul, 2009 1 commit
  26. 28 Apr, 2009 1 commit
  27. 27 Apr, 2009 1 commit
  28. 15 Feb, 2009 2 commits
  29. 14 Feb, 2009 3 commits
  30. 09 Feb, 2009 2 commits
  31. 29 Jan, 2009 4 commits