Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-09ParseResult: improve bool conversion and add operator!=Philipp A. Hartmann
* Use safe-bool idiom for boolean conversion to avoid accidental misuse of ParseResult values (closes #989) * Add operator!= to support more comparison expressions (previously silently/erroneously used operator bool)
2016-04-19Fix english error message grammaMilo Yip
Fix #606
2015-12-18Try to fix clang and gcc warnings problems againMilo Yip
2015-12-18Fix clang -WeverythingMilo Yip
2015-04-28Include rapidjson.h in error/error.h and internal/*.hmiloyip
Fixes #321
2015-04-03Change copyright owner and related changes.Milo Yip
2015-02-20error.h: drop trailing comma in enumPhilipp A. Hartmann
In C++'98/03, trailing commas in enumerations are not allowed, but have been introduced in C++11. This patch drops the trailing commas in order to avoid compiler warnings (e.g. GCC with -pedantic). See #9 and http://code.google.com/p/rapidjson/issues/detail?id=49 for previous instances of this issue.
2014-11-06*.h: move to namespace macrosPhilipp A. Hartmann
2014-08-19add Doxygen documentation for error handling customizationPhilipp A. Hartmann
2014-08-11error/{en,error}.h: drop unused kParseErrorDocumentRootNotObjectOrArray errorPhilipp A. Hartmann
2014-08-11Add license and change indents from tab to space.Milo Yip
2014-07-26Fix parse error messageMilo Yip
2014-07-26Remove stack size limit featureMilo Yip
It is not very useful for iterative parsing as the worst case of heap size is O(n) where n is number of character in JSON, for the worst synthetic cases. This is reasonable and should not create stack overflow security problem as in recursive parsing.
2014-07-15Implement stack size limitation for iterative parsing.thebusytypist
2014-07-14Merge upstream/master.thebusytypist
2014-07-12error/en.h: fix typo, add termination stringPhilipp A. Hartmann
2014-07-12error.h: add kParseErrorTermination (from #61)Philipp A. Hartmann
2014-07-11Revise unittests: reset the handler before the transition which we are going ↵thebusytypist
to test.
2014-07-11update documentation of ParseResult and related functionsPhilipp A. Hartmann
2014-07-11add ParseResultPhilipp A. Hartmann
2014-07-11move ParseErrorCode to error/error.hPhilipp A. Hartmann
In order to enable the customization of the error macros - RAPIDJSON_PARSE_ERROR_NORETURN - RAPIDJSON_PARSE_ERROR_EARLY_RETURN the user may need to have access to the ParseErrorCode enum already. This requires a separate header location than the GenericReader.
2014-07-10Handle all unspecific parsing errors.thebusytypist
2014-07-03ParseErrorCode: fix typo (NumberTooBig)Philipp A. Hartmann
2014-06-27Documentation on error related files and include dependent header.Milo Yip
2014-06-27Fixes grammar mistakes in error messages.Milo Yip
2014-06-26Add parse error codes and API for converting error code to text.Milo Yip
Parse errors is represented as enum type `ParseErrorCode`. Error texts are optional for user. Added `GetParseError_En()` in `error/en.h`, user can localize this file into other files. User may dynamically change the locale in runtime.