1. 03 Jul, 2014 3 commits
  2. 25 Jun, 2014 1 commit
    • Philipp A. Hartmann's avatar
      valuetest: add deep copy unit test · 65b4316d
      Philipp A. Hartmann authored
      This commit adds some simple tests for the deep-copying
      of values, either based on the explicit constructor, or
      the CopyFrom function.
      
      It uses the CrtAllocator to test for possible double-free
      errors due to insufficient copying.
      65b4316d
  3. 20 Jun, 2014 1 commit
    • Milo Yip's avatar
      Fixed out of bound read in FindMember() and added related new APIs · 02673bec
      Milo Yip authored
      The original FindMember() may access out-of-bound of the 'const char*
      name' parameter.
      This commit firstly follows
      https://github.com/pah/rapidjson/commit/f86af8c232dc280ae510b119018d66ca08b82312
      
      However, this must incur an StrLen() for name. A better API is by using
      Value as the name, which provides the length of string internally. So a
      set of new API are added:
      
      operator[](const GenericValue& name)
      FindMember(const GenericValue& name)
      RemoveMember(const GenericValue& name)
      
      During refactoring, it also adds an API:
      
      RemoveMember(MemberIterator m)
      
      which can be used for other purpose, such as removing a member while
      iterating an object.
      
      Fixes #7
      02673bec
  4. 15 Nov, 2012 2 commits
  5. 14 Nov, 2012 2 commits
  6. 13 Nov, 2012 1 commit
  7. 06 Mar, 2012 1 commit
  8. 22 Nov, 2011 1 commit
  9. 18 Nov, 2011 1 commit