Milo Yip
a62777487d
Normalize line endings but not JSON files
2016-03-04 11:52:18 +08:00
Milo Yip
7fb84d304b
Revert "Normalize all the line endings"
...
This reverts commit 6047e3ce128954ec594e9a893ef2125c9f9b61c7.
2016-03-04 11:51:30 +08:00
Milo Yip
6047e3ce12
Normalize all the line endings
2016-03-04 09:46:11 +08:00
Milo Yip
48378b751e
Optimize the new Parse() interfaces
2016-02-15 20:21:36 +08:00
Milo Yip
a5990f3eea
Optimize ScanCopyUnescapedString for insitu parsing
2016-01-22 18:26:24 +08:00
Milo Yip
ef6957c177
PutReserve() and PutUnsafe() optimisation for Writer
2015-12-31 15:30:28 +08:00
miloyip
8d39282af5
Update license headers for tests
2015-04-18 21:41:38 +08:00
miloyip
30ace6fa95
Fix mistake in perftest
2015-04-16 10:55:42 +08:00
miloyip
556d154bed
Search sample data in more folders for perftest
2015-04-16 10:34:45 +08:00
Philipp A. Hartmann
20bab938b7
Drop thirdparty JSON implementations/performance tests
...
With the implementation of the more elaborate benchmarking
suite at https://github.com/miloyip/nativejson-benchmark ,
the thirdparty performance tests are superseded.
2014-10-28 19:35:36 +01:00
Sean Leather
4ded1f44f4
Use predefined macros to enable SSE with gmake
2014-10-17 22:44:07 +02:00
Milo Yip
0dbcc1cf2e
Add license and change indents from tab to space.
2014-08-11 22:26:45 +08:00
Milo Yip
cc04219e36
Fixes #59 by adding bool return value for each event handler function
2014-07-10 19:33:01 +08:00
Philipp A. Hartmann
6aa601cd51
perftest.h/unittest.h: fix pragma ordering
2014-07-08 15:12:02 +02:00
Philipp A. Hartmann
813da24d72
Add RAPIDJSON_DIAG_* macros to handle compiler warnings
...
Warning push/pop support has been added to GCC in version 4.6.0,
and pragmas to ignore certain warnings are present since 4.2.0.
This patch hides the compiler-specific warning push/pop/disable
pragmas behind a macro-based implementation (currently for MSVC and
clang /GCC.
This avoids warnings, as seen e.g. on GCC 4.4:
../../include/rapidjson/document.h:14: error: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’
and earlier versions complaining about unknown pragmas being ignored.
Note: unittest.h and perftest.h need to check for compilers
explicitly, as rapidjson.h is not included there.
2014-07-08 14:45:19 +02:00
Milo Yip
5a186104f4
Fixes warnings
2014-07-03 00:59:35 +08:00
miloyip@gmail.com
5eac448955
Added EncodedInputStream, AutoUTFInputStream, AutoUTF
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@40 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-29 18:39:03 +00:00
miloyip@gmail.com
66754fc5b0
Added referenced performance of UTF-8 validation
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@36 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-24 07:50:59 +00:00
miloyip@gmail.com
f198c486ee
Added encoding validation feature
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@30 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 19:29:43 +00:00
miloyip@gmail.com
78492f9962
Fixed compilation errors in Ubuntu 64-bit
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@29 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 15:47:11 +00:00
miloyip@gmail.com
9ae680d35b
Added ultrajson to perftest, only tested parsing to dummy handler.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@28 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 06:12:01 +00:00
miloyip@gmail.com
08d25ad177
Added Flush() to concept stream. Add this new member function to all streams.
...
Writer and PrettyWriter automatically calls Flush() at the end of JSON text.
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@27 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-22 05:10:46 +00:00
miloyip@gmail.com
bce34fbea8
Proved FileStream is very slow due to fgetc(). Added a new FileReadStream which uses fread() with buffer.
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@22 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-21 06:56:47 +00:00
miloyip@gmail.com
8f8e905306
Initial version (0.1)
...
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@2 c5894555-1306-4e8d-425f-1f6f381ee07c
2011-11-18 17:01:23 +00:00