chliang
de95c1115a
fixed bug of version string 0.10.6->0.10.7 ( #891 )
...
* fixed bug of version string 0.10.6->0.10.7
* fixed bug of CMakeLists.txt, 0.10.6->0.10.7
* fixed bug of CMakeLists.txt, 0.10.6->0.10.7
2019-02-28 22:20:09 -06:00
AbigailBuccaneer
347e1ae46b
Use unique_ptr instead of auto_ptr when possible
...
Previously we only used it on GCC 6 to avoid deprecated declaration
warnings. Now we are proactive and use it whenever compiling as C++11
(or MSVC2010+).
It also moves the logic for deciding between unique_ptr and auto_ptr
into a single location in config.h.
This fixes some use cases that were previously broken, including:
* CXX=clang++ -std=c++11 -Werror=deprecated-declarations
* CXX=g++-6 -std=c++03 -Werror=deprecated-declarations
2017-04-21 15:50:11 +01:00
Matthias
0e3fffd242
workaround for cuda 7.5 nvcc compiler
2016-06-27 15:38:56 +02:00
Christopher Dunn
5ec82e482c
0.10.6 <- 0.10.5
2016-04-22 00:28:53 -05:00
Gaurav
20564b3f0c
NORETURN for throw functions in 0.x.y branch
...
Resolve issue - https://github.com/open-source-parsers/jsoncpp/issues/389
2016-03-16 11:22:18 +05:30
Christopher Dunn
a4354d782b
Merge pull request #339 from Dani-Hub/master
...
Floating-point NaN or Infinity values should be allowed as a feature …
2015-09-05 12:16:28 -05:00
Christopher Dunn
18e4d04e8e
merged from 1.6.5
2015-07-23 00:32:47 -05:00
Christopher Dunn
d84702c903
1.6.5
2015-07-23 00:26:13 -05:00
Christopher Dunn
949babd7b0
Exceptions declared in header
...
resolves #272
2015-07-23 00:26:13 -05:00
Christopher Dunn
ed5d73fe1d
0.6.4
2015-07-12 14:47:59 -05:00
Christopher Dunn
cac79543f8
1.6.4
...
minor bug-fix
2015-07-12 14:29:53 -05:00
Christopher Dunn
f94a0e8989
auto-generated file with minor update
2015-07-12 12:31:43 -05:00
Christopher Dunn
7670e5151b
0.10.3
2015-07-11 13:53:05 -05:00
Christopher Dunn
2428889813
1.6.3
2015-07-11 13:41:13 -05:00
Christopher Dunn
89704039a0
minor doc fix, for #302
2015-07-11 12:11:00 -05:00
Christopher Dunn
f40dd0f3ed
Merge branch 'master' into 0.y.z
...
BORLANDC compilation issues
2015-04-28 05:09:58 +01:00
Christopher Dunn
2a10f4a3b8
move ctors for BORLAND
2015-04-28 04:55:12 +01:00
Christopher Dunn
c334ac0376
Merge branch 'master' into 0.y.z
...
- fix for "C++ Builder" IDE
- Travis CI/AppVeyor
- **cmake** tweak
- fix memory leak in unit-test
See #268 and #252 .
2015-04-27 18:33:07 -07:00
Dan Liu
fcbab02e4a
fix crash for "C++ Builder" IDE
...
http://blog.csdn.net/gzliudan/article/details/45264201
2015-04-27 18:10:12 -07:00
Christopher Dunn
56650e83c5
swap docs for default vs. strictMode
2015-04-20 13:10:31 -07:00
Christopher Dunn
f4bdc1b602
partially revert 'Added features that allow the reader to accept common non-standard JSON.'
...
revert '642befc836ac5093b528e7d8b4fd66b66735a98c',
but keep the *added* methods for `decodedNumber()` and `decodedDouble()`.
2015-04-11 14:49:59 -05:00
Christopher Dunn
93f45d065c
partially revert 'fix bug for static init'
...
re: 28836b8acc
A global instance of a Value (viz. 'null') was a mistake,
but dropping it breaks binary-compatibility. So we will keep it
everywhere except the one platform where it was crashing, ARM.
2015-04-11 14:49:59 -05:00
Christopher Dunn
6f6ddaa91c
revert 'Made it possible to drop null placeholders from array output.'
...
revert ae3c7a7aab
2015-04-11 14:49:59 -05:00
Christopher Dunn
254fe6a07a
Revert "added option to FastWriter which omits the trailing new line character"
...
This reverts commit 5bf16105b5
.
2015-04-11 14:49:59 -05:00
Christopher Dunn
00d7bea0f6
revert 'Added structured error reporting to Reader.'
...
revert 68db655347
issue #147
2015-04-11 14:49:59 -05:00
Christopher Dunn
a9d06d2650
revert 'Add public semantic error reporting'
...
for binary-compatibility with 0.6.0
issue #147
was #57
2015-04-11 14:49:59 -05:00
Christopher Dunn
1c4f6a2d79
partially revert "Switch to copy-and-swap idiom for operator=."
...
This partially reverts commit 45cd9490cd
.
Ignored ValueInternal* changes, since those did not produce symbols for
Debian build. (They must not have used the INTERNAL stuff.)
Ignored CZString changes since those are private (and sizeof struct did
not change).
https://github.com/open-source-parsers/jsoncpp/issues/78
Conflicts:
include/json/value.h
src/lib_json/json_internalarray.inl
src/lib_json/json_internalmap.inl
src/lib_json/json_value.cpp
2015-04-11 14:49:59 -05:00
Christopher Dunn
13d78e3da3
0.10.z (based on 1.6.z, but binary-compat w/ 0.6.0-rc2)
2015-04-11 14:49:59 -05:00
Christopher Dunn
50069d72da
prefer std::string for setComment()
...
in case of embedded nulls
2015-04-11 14:49:28 -05:00
Christopher Dunn
24682e37bf
1.6.2 <- 1.6.1
...
Fix UTF-8 for old (deprecated) Writers.
* Do not truncate at embedded zeroes.
2015-04-11 14:45:33 -05:00
Christopher Dunn
9cb88d2ca6
1.6.1 <- 1.6.0
2015-03-31 15:07:14 -05:00
Tengiz Sharafiev
be183def8f
Update reader.h
2015-03-14 21:30:00 +03:00
Christopher Dunn
ed495edcc1
prefer ValueIterator::name() to ::memberName()
...
in case of embedded nulls
2015-03-08 14:35:00 -05:00
Dani-Hub
5003983029
Make preprocessor query robust against older gcc versions
2015-03-08 13:07:27 -05:00
Dani-Hub
871b311e7e
Provide JSONCPP_DEPRECATED definitions for clang and gcc
2015-03-08 13:07:27 -05:00
Christopher Dunn
cdbc35f6ac
1.6.0
2015-03-08 12:57:13 -05:00
Christopher Dunn
4e30c4fcdb
comments
2015-03-08 12:56:32 -05:00
Christopher Dunn
9376368d86
use Json::LogicError in macros
2015-03-08 12:42:53 -05:00
Christopher Dunn
5383794cc9
Runtime/LogicError and throwers
2015-03-08 12:31:57 -05:00
Christopher Dunn
75279ccec2
base Json::Exception
2015-03-08 12:20:06 -05:00
Christopher Dunn
717b08695e
clarify errors
...
* use macros for logic errors, not input errors
* throw on parsing failure in `operator>>()`, not assert
* throw on malloc, not assert
2015-03-08 12:06:22 -05:00
Christopher Dunn
078f991c57
1.5.4 <- 1.5.3
...
important bug-fix (thx to datadiode@)
2015-03-07 14:52:01 -06:00
Christopher Dunn
527332d5d5
add rejectDupKeys feature - not yet impld
2015-03-06 12:38:58 -06:00
Christopher Dunn
ff61752444
change str_ for cross-compilation
...
https://sourceforge.net/p/jsoncpp/bugs/59/
2015-03-06 10:31:46 -06:00
Christopher Dunn
7f439f4276
clarify operator=
2015-03-06 09:22:57 -06:00
Christopher Dunn
239c733ab5
1.5.3 <- 1.5.2
2015-03-05 18:27:52 -06:00
Christopher Dunn
0fd2875a44
fix get() for embedded zeroes in key
...
This method had been overlooked.
2015-03-05 16:47:29 -06:00
Christopher Dunn
b3e6f3d70f
drop do{}while(0)
idiom
...
Rationale:
* http://stackoverflow.com/questions/154136/do-while-and-if-else-statements-in-c-c-macros/154138#154138
But Visual Studio issues a warning: `warning C4127: conditional expression is constant`
* http://stackoverflow.com/questions/1946445/c-c-how-to-use-the-do-while0-construct-without-compiler-warnings-like-c412
2015-03-05 15:26:29 -06:00
Christopher Dunn
eaa3fd8eca
maybe fix DLL symbols for VS
2015-03-05 10:11:43 -06:00
Christopher Dunn
ff63d034e5
1.5.2 <- 1.5.1
...
* Fixed compile error for VS2013.
* Added `operator[]` to Builders. Recalling previous minor versions for
bug-fixes.
2015-03-05 09:18:44 -06:00