1. 29 Jun, 2016 1 commit
    • Nikias Bassen's avatar
      plist_data_compare: Make sure to compare the node sizes for integer nodes · acd226d1
      Nikias Bassen authored
      Without this check, e.g. the values -1 and 18446744073709551615 would yield in a
      match, since the comparison will just compare the uint64_t values. However, any
      value >= 9223372036854775808 and <= 18446744073709551615 is stored as a 128 bit
      value in binary plist format to make sure it is recognized as an unsigned value.
      We store it internally as a uint64_t value, but we set the size to 16 vs. 8
      accordingly; so this commit will make sure the binary plist optimization will
      not re-use matching uint64_t values of actually mismatching signed/unsigned values.
      acd226d1
  2. 12 May, 2016 3 commits
  3. 20 Apr, 2016 1 commit
  4. 07 Dec, 2015 1 commit
  5. 13 Nov, 2015 1 commit
  6. 05 Feb, 2015 1 commit
  7. 31 Jan, 2015 2 commits
  8. 28 Jan, 2015 1 commit
  9. 23 Jan, 2015 3 commits
  10. 11 Jan, 2015 1 commit
  11. 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
  12. 03 Oct, 2014 2 commits
  13. 23 Sep, 2014 1 commit
  14. 19 Sep, 2014 3 commits
  15. 25 Aug, 2014 1 commit
  16. 05 Aug, 2014 1 commit
  17. 27 May, 2014 1 commit
  18. 23 May, 2014 1 commit
  19. 22 May, 2014 2 commits
  20. 21 May, 2014 1 commit
  21. 20 May, 2014 2 commits
  22. 18 May, 2014 2 commits
  23. 02 Apr, 2014 1 commit
  24. 01 Apr, 2014 1 commit
  25. 29 Mar, 2014 1 commit
    • Chow Loong Jin's avatar
      Fix endian detection in configure.ac · bd73598e
      Chow Loong Jin authored
      On debian-mips, neither __LITTLE_ENDIAN__ nor __BIG_ENDIAN__ are defined
      anywhere, so PLIST_BYTE_ORDER defaults to PLIST_LITTLE_ENDIAN when it should
      really be PLIST_BIG_ENDIAN on this architecture.
      
      This fixes issue #13.
      bd73598e
  26. 28 Mar, 2014 1 commit
    • Christophe Fergeau's avatar
      build-sys: Fix parallel build · c44a2566
      Christophe Fergeau authored
      On my machine, parallel builds fail with:
      
      make[2]: Entering directory `/home/teuf/hack/libplist/src'
        CCLD     libplist.la
      make[2]: *** No rule to make target `../src/libplist.la', needed by
      `libplist++.la'.  Stop.
      
      If $(top_builddir)/src/libplist.la does not exist yet when trying to
      link libplist++.la, automake/make will not realize the
      $(top_builddir)/src/libplist.la dependency is the same as the
      libplist.la target, and will thus be unable to generate
      $(top_builddir)/src/libplist.la.
      
      Using the libplist.la instead fixes this issue.
      
      I've checked that srcdir!=builddir and make distcheck still pass after
      this change.
      c44a2566
  27. 19 Mar, 2014 2 commits
  28. 13 Feb, 2014 1 commit