Aaron Jacobs
e12d84ebaa
Made tests more comprehensive.
2011-05-25 01:46:50 +00:00
Aaron Jacobs
078e0d7c37
Gave tests more general names in preparation for making them much more
...
comprehensive.
2011-05-25 01:24:23 +00:00
Aaron Jacobs
fee49b1a37
Fixed some whitespace.
2011-05-25 01:23:47 +00:00
Aaron Jacobs
22eede44c1
Added tests for 64-bit integers.
2011-05-25 01:23:08 +00:00
Aaron Jacobs
d9ec234fc2
Greatly fleshed out numeric type tests.
2011-05-25 01:04:07 +00:00
Aaron Jacobs
3e5b347f75
Added some missing checks.
2011-05-25 01:03:29 +00:00
Aaron Jacobs
96408a30e1
Renamed test cases to make more sense with the upcoming new behavior of
...
isFoo methods.
2011-05-25 00:39:55 +00:00
Aaron Jacobs
1d648f089a
Fixed a whitespace problem.
2011-05-25 00:39:17 +00:00
Aaron Jacobs
f40c880585
Fixed a "comparison between signed and unsigned" warning/error.
2011-05-24 23:08:59 +00:00
Aaron Jacobs
39ba2dbea9
Added a .gitignore file, for ease of use with git-svn.
2011-05-24 23:05:56 +00:00
Aaron Jacobs
a761530f14
Fixed a missing include error.
2011-05-24 06:27:36 +00:00
Aaron Jacobs
ae9ffb5443
Fixed a parsing bug in decodeNumber, updating the failing test cases to be
...
correct in the process. (The test cases incorrectly used exact integers instead
of scientific notation.)
2011-05-24 03:59:24 +00:00
Aaron Jacobs
e656c5fa2d
Added some test cases that catch a parsing bug.
2011-05-24 03:19:50 +00:00
Aaron Jacobs
f1053e7acb
Fixed a bunch of compilation errors when JSON_HAS_INT64 is set.
2011-05-24 03:18:02 +00:00
Aaron Jacobs
e3d0eca9f4
Centralized assertion macros and made them obey JSON_USE_EXCEPTION.
2011-05-24 01:03:22 +00:00
Aaron Jacobs
a77a803c85
Made two security fixes.
2011-05-24 00:43:59 +00:00
Aaron Jacobs
785ba2675d
Updated a cast to use a more appropriate type.
2011-05-24 00:43:30 +00:00
Aaron Jacobs
3b556ec633
Fixed constructor initializer list order warnings/errors.
2011-05-24 00:42:58 +00:00
Aaron Jacobs
5fb0f09cbb
Removed an unused typedef.
2011-05-24 00:42:15 +00:00
Aaron Jacobs
73911f2e33
Fixed a hard to debug crash on OS X related to sscanf format strings.
...
See here for more info:
http://developer.apple.com/library/mac/#DOCUMENTATION/DeveloperTools/gcc-4.0.1/gcc/Incompatibilities.html
2011-05-24 00:41:12 +00:00
Baptiste Lepilleur
d21c256fae
Released 0.6.0-rc2
2011-05-02 22:07:18 +00:00
Baptiste Lepilleur
72c406b550
Release 0.6.0-rc2
2011-05-02 21:30:42 +00:00
Baptiste Lepilleur
eadc478e50
Fixed typo: amalga*ma*te. Replaced macro JSON_IS_AMALGATED with JSON_IS_AMALGAMATION
2011-05-02 21:09:30 +00:00
Baptiste Lepilleur
1837a1c508
Value::compare() is now const and has an actual implementation with unit tests.
2011-05-02 20:11:48 +00:00
Baptiste Lepilleur
e3cc0f004b
Untabified some sources
2011-05-02 18:41:01 +00:00
Baptiste Lepilleur
fb17080142
- Added unit tests for comparison operators (except compare())
...
- Fixed Value::operator <= implementation (had the semantic of operator >=). Found when addigin unit tests for comparison operators.
2011-05-02 16:53:10 +00:00
Baptiste Lepilleur
e0e1fd37cd
- Bug #3200841 : removed "warning C4127: conditional expression is constant" concerning infinite loop by replacing while (true) with for (;;). Added new JSON_FAIL macro. Commented unused parameters.
2011-05-02 16:51:48 +00:00
Baptiste Lepilleur
d0a9f3d98d
Bug #3200841 : removed "warning C4127: conditional expression is constant" concerning infinite loop by replacing while (true) with for (;;).
2011-05-02 09:54:49 +00:00
Baptiste Lepilleur
7953a801c1
Released 0.6.0-rc1
2011-05-02 07:30:45 +00:00
Baptiste Lepilleur
df4de558c3
Need more tests on unicode
2011-05-02 07:06:33 +00:00
Baptiste Lepilleur
62d7bc75db
Added support for amalgated source and header generation (a la sqlite). Refer to README.txt section "Generating amalgated source and header" for detail.
...
The amalgated sources are generated by concatenating JsonCpp source in the correct order and defining macro JSON_IS_AMALGATED to prevent inclusion of other headers. Sources and header has been modified to prevent any inclusion when this macro is defined.
The script amalgate.py handle the generation.
2011-05-02 07:06:07 +00:00
Baptiste Lepilleur
224a1aee72
Release 0.6.0-rc1
2011-05-01 22:11:05 +00:00
Baptiste Lepilleur
40388494bd
Release test-0.6.0
2011-05-01 20:50:44 +00:00
Baptiste Lepilleur
bafb43c203
Release test-0.6.0
2011-05-01 20:36:55 +00:00
Baptiste Lepilleur
64e40aafe5
Added support for amalgated source and header generation (a la sqlite). Refer to README.txt section "Generating amalgated source and header" for detail.
...
The amalgated sources are generated by concatenating JsonCpp source in the correct order and defining macro JSON_IS_AMALGATED to prevent inclusion of other headers. Sources and header has been modified to prevent any inclusion when this macro is defined.
The script amalgate.py handle the generation.
2011-05-01 20:13:40 +00:00
Baptiste Lepilleur
91923f2cbc
Added project URL.
2011-05-01 18:33:46 +00:00
Baptiste Lepilleur
13698b5835
Added recommended include path.
2011-05-01 17:24:16 +00:00
Baptiste Lepilleur
5349225f43
Added known bug reference for experimental internal map.
2011-05-01 16:42:18 +00:00
Baptiste Lepilleur
b2e8cccbc6
Renamed Reader::getFormatedErrorMessages() to getFormattedErrorMessages. Bug #3023708 (Formatted has 2 't'). The old member function is deprecated but still present for backward compatibility.
2011-05-01 16:27:55 +00:00
Baptiste Lepilleur
99043b32b5
Fixed bug #3139678 : stack buffer overflow when parsing a double with a length of 32 characters.
2011-05-01 15:47:38 +00:00
Baptiste Lepilleur
9c98f2277b
Fixed bug #3139677 : JSON [1 2 3] was incorrectly parsed as [1, 3]. Error is now correctly detected.
...
Modified runjsontests.py to allow test that expect failure in jsoncpp test suite.
2011-05-01 15:40:47 +00:00
Baptiste Lepilleur
565a1f3d39
Fixed latest readme.txt url.
2011-05-01 15:09:16 +00:00
Baptiste Lepilleur
61324b5f77
Fixed url for scons 1.2 download. Clarify manual test run executable path.
2011-05-01 15:06:40 +00:00
Baptiste Lepilleur
842e9ac54b
Major rework of 64 integer support: 64 bits integer are only returned when explicitly request via Json::Value::asInt64(), unlike previous implementation where Json::Value::asInt() returned a 64 bits integer.
...
This eases porting portable code and does not break compatibility with the previous release.
Json::Value::asLargestInt() has also be added to ease writing portable code independent of 64 bits integer support. It is typically used to implement writers.
2010-12-27 17:45:23 +00:00
Baptiste Lepilleur
5c5628aec2
Fixed some documentation issues pointed out by Daniel.
2010-12-24 19:58:23 +00:00
Baptiste Lepilleur
b96aed0f3e
Added float Json::Value::asFloat() to obtain a floating point value as a float (avoid lost of precision warning caused by used of asDouble() to initialize a float).
2010-12-24 19:30:06 +00:00
Baptiste Lepilleur
fa130ef871
- Array index can be passed as int to operator[], allowing use of literal:
...
Json::Value array;
array.append( 1234 );
int value = array[0].asInt(); // did not compile previously
2010-12-24 12:47:14 +00:00
Baptiste Lepilleur
e6046e589e
updated license with clearer information
2010-04-27 16:38:30 +00:00
Baptiste Lepilleur
402c13eb3d
- added unit test and roadmap for handling of escape sequence "\/"
2010-04-27 16:37:50 +00:00
Baptiste Lepilleur
7469f1d014
JsonCpp is now licensed under MIT license, or public domain if desired and recognized in your jurisdiction.
2010-04-20 21:35:19 +00:00