Milo Yip
ee6ebc4b0f
Localized DOM
2015-02-25 13:37:40 +08:00
Milo Yip
3ed77f8c51
Localized encoding
2015-02-17 16:36:15 +08:00
Milo Yip
2c207862a9
Localized stream
2015-02-17 15:37:05 +08:00
Milo Yip
35c726b1ff
Localizes readme, features and tutorial
2015-02-08 19:09:31 +08:00
Milo Yip
617c61a381
Documentation editing
...
Reorganized some features. Try to make the text clearer in features and
tutorial.
2015-02-08 19:08:26 +08:00
Milo Yip
c2e2a4ce43
Merge pull request #234 from drewnoakes/pr/writer-string
...
Add std::string overload to Writer when RAPIDJSON_HAS_STDSTRING defined
2015-02-03 09:44:31 +08:00
Drew Noakes
e54136d74c
Add std::string overload to PrettyWriter when RAPIDJSON_HAS_STDSTRING defined.
2015-02-02 10:05:31 +00:00
Drew Noakes
9d4f0296ff
Example uses std::string Writer overload if RAPIDJSON_HAS_STDSTRING set.
2015-02-02 09:35:41 +00:00
Drew Noakes
1a76879c12
Include <string> if RAPIDJSON_HAS_STDSTRING set.
2015-02-02 09:34:48 +00:00
Drew Noakes
8b1bd5b485
Typo
2015-02-02 09:28:35 +00:00
Drew Noakes
3cfd675163
Add std::string overload to Writer when RAPIDJSON_HAS_STDSTRING defined.
2015-02-02 09:21:28 +00:00
Milo Yip
4cc3605849
Merge pull request #232 from drewnoakes/pr/simd-load-alignment
...
Use aligned SSE register load intrinsic.
2015-01-25 16:43:01 +08:00
Drew Noakes
41f3c60b22
Use aligned SSE register load intrinsic.
...
The code goes to the trouble of ensuring that data is aligned at a
16-byte boundary, then goes ahead and uses the unaligned form of the
load intrinsic _mm_loadu_si128.
Either the code shouldn't bother aligning the data to the start of the
whitespace, or it should use the aligned form of the intrinsic.
2015-01-24 23:43:30 +00:00
Milo Yip
24dd7ef839
Merge branch 'movetestleak'
2015-01-14 23:03:04 +08:00
Milo Yip
7c47cd3498
Remove 2 unit tests which make memory leaks
2015-01-14 23:02:29 +08:00
Milo Yip
ff4251968e
Merge pull request #227 from miloyip/issue226nullstring
...
Correct Value(kStringType) and more assertions
2015-01-14 21:52:59 +08:00
Milo Yip
24563b28fb
Correct Value(kStringType) and more assertions
2015-01-13 23:49:53 +08:00
Milo Yip
29fa15580b
Merge pull request #224 from pah/cleanup/223-coverity
...
Reader::Parse{Array,Object}: simplify switch
2015-01-12 09:28:56 +08:00
Philipp A. Hartmann
0ee38bc918
Reader::Parse{Array,Object}: simplify switch
...
Closes #223 .
2015-01-11 18:46:58 +01:00
Milo Yip
8c8ce36957
Merge pull request #222 from ez1222/master
...
Fix an issue with building a reader on Windows x64.
2015-01-08 12:06:44 +08:00
Erik Martin
4b4f726dd8
Fix an issue with Windows x64. Including the rapidjson reader.h requires <intrin.h> to be included or _umul128 will be undefined.
2015-01-07 13:50:23 -05:00
Milo Yip
879def80f2
Merge pull request #209 from pah/fixes/208-stringbuffer-move
...
stringbuffer.h: add missing include for std::move (fixes #208 )
2014-12-08 23:28:27 +08:00
Philipp A. Hartmann
8794bbd8bb
fix include ordering
2014-12-08 15:59:54 +01:00
Philipp A. Hartmann
760883c2e8
stringbuffer.h: add missing include for std::move ( fixes #208 )
2014-12-08 15:41:58 +01:00
Milo Yip
320eff1c21
Fix #207 VC2013 imaxdiv_t redefinition
2014-12-08 21:53:29 +08:00
Milo Yip
9f991fd205
Answer first 3 sections of FAQ
2014-11-30 21:42:12 +08:00
Milo Yip
1c02fceccc
Update doc about reading/writing any JSON value at root.
2014-11-30 20:29:37 +08:00
Milo Yip
77e49891f1
Update doc about kDefaultParseFlag
2014-11-30 20:27:17 +08:00
Milo Yip
454146b270
Merge pull request #137 from miloyip/issue120floatprecision
...
Parse JSON number to double in full-precision with custom strtod. Fix #120
2014-11-30 19:44:30 +08:00
Milo Yip
e62d53751b
Merge remote-tracking branch 'origin/master' into issue120floatprecision
2014-11-30 19:16:28 +08:00
Milo Yip
a6117dae16
Fix StringBuffer compilation error in VS2013
...
Add move constructor and prohibit copy constructor and assignment
operator.
2014-11-30 19:11:40 +08:00
Milo Yip
92554b52a2
Merge remote-tracking branch 'origin/master' into issue120floatprecision
2014-11-30 18:53:32 +08:00
Milo Yip
23b7a5ecae
Add RAPIDJSON_PARSE_DEFAULT_FLAGS for customizing kParseDefaultFlags
...
https://github.com/miloyip/rapidjson/issues/120#issuecomment-54428797
2014-11-30 18:52:48 +08:00
Milo Yip
7eee4303c7
Merge pull request #206 from pah/enhance/optimize-value-copy
...
GenericValue: improve copying performance
2014-11-28 11:24:12 +08:00
Philipp A. Hartmann
2aab79207e
GenericValue: improve copying performance
...
The GenericValue "copy" constructor (with Allocator) uses a temporary
GenericDocument object to perform the deep copying with the provided
allocator. This leads to the temporary allocation of the `Stack`
memory, even in case of shallow values (numbers, etc.).
This patch improves the performance of this operation by only resorting
the the SAX Handler implementation in case of Array or Object values.
2014-11-26 23:11:00 +01:00
Milo Yip
28e55ee24d
Merge pull request #204 from antonindrawan/master
...
Compile all examples with the Dinkum C++ of QNX 6.6
2014-11-25 10:10:48 +08:00
Anton Indrawan
5a96c1f93e
Compile all examples with the Dinkum C++ of QNX 6.6
...
QCC -Wall -Wextra -Vgcc_ntoarmv7le -I../include <example>
2014-11-23 21:03:57 +01:00
Milo Yip
26491cff1e
Fix additional compilation errors in unit tests for VC
2014-11-23 19:03:06 +08:00
Milo Yip
0a17e1a634
Fix namespace compilation errors
2014-11-23 18:59:35 +08:00
Milo Yip
b855c3f73a
Minor optimization of strtod
2014-11-23 16:45:07 +08:00
Milo Yip
3679c280dd
Merge remote-tracking branch 'origin/master' into issue120floatprecision_customstrtod
2014-11-23 08:48:03 +08:00
Milo Yip
c8bed6b8cc
Fix compilation errors in unit tests for VC
2014-11-23 08:38:48 +08:00
Milo Yip
52bf43df08
Merge pull request #202 from pah/cleanup/document-non-copyable
...
GenericDocument: explicitly prohibit copying
2014-11-22 15:39:49 +08:00
Philipp A. Hartmann
3220438aa5
GenericDocument: explicitly prohibit copying
...
See #201 .
2014-11-21 13:05:54 +01:00
Milo Yip
39f5eeb764
Merge pull request #198 from pah/cleanup/misc
...
Minor (documentation) cleanups
2014-11-17 23:02:47 +08:00
Philipp A. Hartmann
c88cc331d5
DiyFp: avoid shadowing ( closes #195 )
2014-11-17 13:31:24 +01:00
Philipp A. Hartmann
6b69662ce8
Writer: declare constructors as explicit
...
Avoids implicit conversion from an `OutputStream` (or an allocator pointer)
to a `Writer` instance.
2014-11-17 13:27:54 +01:00
Philipp A. Hartmann
c35bbe54d9
Writer: fix documentation of stackAllocator param ( closes #196 )
2014-11-17 13:26:49 +01:00
Milo Yip
8acaaa757c
Merge pull request #178 from spacewander/patch-2
...
Use absolute path for the link to examples
2014-11-17 09:53:49 +08:00
Milo Yip
57b91300fb
Merge remote-tracking branch 'origin/master' into issue120floatprecision_customstrtod
...
Conflicts:
include/rapidjson/internal/dtoa.h
test/unittest/readertest.cpp
2014-11-14 22:23:16 +08:00