Skip to content
Snippets Groups Projects
  1. Nov 24, 2018
    • Arseny Kapoulkine's avatar
      Fix Wdouble-promotion warnings · f9a2a7d1
      Arseny Kapoulkine authored
      We had a few places in test code and library source where we used an
      implicit float->double cast; while it should preserve the value exactly,
      gcc/clang implement this warning to make sure uses of double are intentional.
      
      This change also adds the warning to Makefile to make sure we don't
      regress on this warning.
      
      Fixes #243.
      f9a2a7d1
  2. Nov 20, 2018
    • Arseny Kapoulkine's avatar
      Escape TAB character in attribute values with 	 · aac75cd2
      Arseny Kapoulkine authored
      This change modifies the table entries for ctx_special_attr to treat TAB
      character as special, which makes the output code escape it.
      
      Before this change, trying to use TAB in an attribute value would output
      it verbatim; during subsequent parsing, pugixml - and other compliant
      parsers - would apply attribute-value normalization, turning the TAB
      into a space and losing the original value.
      
      Using 	 fixes this; if an input document has 	 in an attribute
      value, that gets unescaped into \t during parsing and escaped back into
      	 during output, which means we can now roundtrip values like this.
      
      Fixes #242.
      aac75cd2
  3. Aug 14, 2018
  4. Jul 30, 2018
  5. Apr 04, 2018
  6. Apr 03, 2018
  7. Mar 17, 2018
  8. Dec 22, 2017
    • Arseny Kapoulkine's avatar
      tests: Fix OSX test failure · a55f575a
      Arseny Kapoulkine authored
      Apparently at some point OSX behavior when reading /dev/tty switched
      from "can't open the file" to "the file can be opened and 0 bytes can be
      read from it" which generates a wrong error and doesn't exercise the
      code path we care about.
      a55f575a
  9. Nov 13, 2017
  10. Nov 11, 2017
  11. Oct 26, 2017
  12. Oct 21, 2017
    • Arseny Kapoulkine's avatar
      tests: Add more move tests · b0fc587a
      Arseny Kapoulkine authored
      We now check that appending a child to a moved document performs no
      allocations - this is already the case, but if we neglected to copy the
      allocator state this test would fail.
      b0fc587a
  13. Sep 26, 2017
  14. Jun 23, 2017
  15. Jun 22, 2017
  16. Jun 19, 2017
  17. Jun 17, 2017
  18. Jun 16, 2017
  19. Jun 15, 2017
  20. Apr 04, 2017
Loading