1. 05 Oct, 2016 1 commit
  2. 22 Sep, 2016 1 commit
  3. 21 Sep, 2016 1 commit
  4. 19 Sep, 2016 1 commit
  5. 16 Sep, 2016 1 commit
    • Milo Yip's avatar
      Refactor regex · 769185d6
      Milo Yip authored
      Remove mutable which causes reentrant issue
      769185d6
  6. 31 Aug, 2016 1 commit
  7. 30 Jun, 2016 1 commit
    • Jason Smith's avatar
      Fix buffer overrun using PutN (closes #672) · 252e8122
      Jason Smith authored
      Fix inconsistent calling of template functions in PutN in stream.h. When
      used with a GenericStringBuffer<<UTF8>, MemoryPoolAllocator>, PutN would call
      PutReserve from stream.h, and PutUnsafe from stringbuffer.h. This
      resulted in bytes being added to the buffer without allocating space.
      
      This was not an issue when used with the default memory allocator,
      because in this case the specialized PutN is used from stringbuffer.h.
      252e8122
  8. 27 Jun, 2016 1 commit
  9. 23 Jun, 2016 1 commit
    • Philipp A. Hartmann's avatar
      Fix warnings on GCC 6 and later (closes #666) · f6a07692
      Philipp A. Hartmann authored
      * document.h
        * suppress -Wterminate on GCC 6.x and later
        * simplify warning handling
      * schema.h
        * drop RAPIDJSON_NOEXCEPT from GenericSchemaDocument constructor
          (calls RAPIDJSON_NEW anyway)
        * simplify warning handling
          (avoids RAPIDJSON_POP mismatch on Clang)
      * encodingtest.cpp, istreamwrappertest.cpp
        * work around -Wdangling-else
      * readertest.cpp
        * suppress -Wdangling-else
      f6a07692
  10. 14 Jun, 2016 5 commits
  11. 13 Jun, 2016 4 commits
  12. 20 May, 2016 1 commit
    • Michael Thon's avatar
      Allow options for writing and parsing NaN/Infinity · 135da7ab
      Michael Thon authored
      This adds kWriteNanAndInfFlag to Writer to allow writing of nan,
      inf and -inf doubles as "NaN", "Infinity" and "-Infinity",
      respectively, and kParseNanAndInfFlag to Reader to allow parsing
      of "NaN", "Inf", "Infinity", "-Inf" and "-Infinity". This is part
      of issue #36, adding optional support for relaxed JSON syntax.
      135da7ab
  13. 19 Apr, 2016 1 commit
  14. 17 Apr, 2016 2 commits
  15. 16 Apr, 2016 7 commits
  16. 15 Apr, 2016 4 commits
  17. 06 Apr, 2016 1 commit
  18. 05 Apr, 2016 1 commit
  19. 04 Apr, 2016 1 commit
  20. 31 Mar, 2016 2 commits
  21. 29 Mar, 2016 1 commit
    • Jarred Nicholls's avatar
      Later clang compilers will warn on float -> double promotion because it can add… · 926d7ffc
      Jarred Nicholls authored
      Later clang compilers will warn on float -> double promotion because it can add precision. In the context of RapidJSON – especially with its float methods on GenericValue – I think this warning holds no water and should be ignored.
      
      Trim whitespace off the end of various lines.
      
      Added an additional NumberStream specialization that will always perform a TakePush() even when just Take() is called. This supports RawNumber parsing by pushing onto our StackStream particular parts of the number that currently aren't captured because of full precision double parsing, such as the negative sign, scientific number exponents, etc.
      
      RawNumber parsing fails with input streams that don't have copy optimization, such as the BasicIStreamWrapper stream. To work around this, instead do the Transcode copy operation by reading from a UTF8 StringStream instead of the original InputStream. Since the NumberStream downcasts all input Ch into chars, we know we're dealing with UTF8/ASCII compatible stack characters during the Transcoding.
      926d7ffc
  22. 20 Mar, 2016 1 commit
    • Nicholas Fraser's avatar
      Added trailing comma support to iterative parser · 68217548
      Nicholas Fraser authored
      This also fixes cases where the iterative parser should have produced
      kParseErrorValueInvalid rather than kParseErrorUnspecifiedSyntaxError
      when expecting a value (after a colon in an object, after a comma in an
      array, and at the start of an array.)
      68217548