DongHun Kwak [Mon, 27 Mar 2017 07:18:07 +0000 (16:18 +0900)]
Add license file
- Add license file all packages
[Model] ALL
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] license file does not exist at package
[Cause & Measure] add license file at each package
[Checking Method] N/A
[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A
Change-Id: I4eb28c041f16e9c070632f701512c7b8aca2b041
DongHun Kwak [Fri, 25 Nov 2016 06:22:54 +0000 (15:22 +0900)]
Fix license info
- "Public Domain" -> "Public-domain"
[Model]
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem]
[Cause & Measure]
[Checking Method] N/A
[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A
Change-Id: Ib086ca2281aa1f19aeef872baf4275ac73eda95d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Fri, 4 Nov 2016 04:38:41 +0000 (13:38 +0900)]
Bump to Jsoncpp 1.7.7
[Model] ALL
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] Bump to Jsoncpp 1.7.7
[Cause & Measure] Bump to Jsoncpp 1.7.7
[Checking Method] N/A
[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A
Change-Id: Ie715902467d166a0b53714e34f8e34ebf505bfcc
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Fri, 4 Nov 2016 04:20:11 +0000 (13:20 +0900)]
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/upstream/jsoncpp into tizen
Change-Id: I0e41da8d1769f4e7ed3e912dbdca572709047892
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Baptiste Lepilleur [Thu, 15 Mar 2007 22:11:38 +0000 (22:11 +0000)]
Rebase for jsoncpp 1.7.7
Change-Id: Id7e14a69421eb8b9a6888557f936a02bc8aebd8c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:47:37 +0000 (16:47 +0900)]
Imported Upstream version 1.7.7
Change-Id: Id20bd0b7c6a9bf27984047619192d0c3157ff512
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:47:30 +0000 (16:47 +0900)]
Imported Upstream version 1.7.6
Change-Id: I0b18e3c86617b0260c14c0f1d1444ee610719317
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:47:20 +0000 (16:47 +0900)]
Imported Upstream version 1.7.5
Change-Id: Ib8551ed0cbd7f59efe9035d03f024a133f276cd2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:46:43 +0000 (16:46 +0900)]
Imported Upstream version 1.7.4
Change-Id: Ie8d71cbced6141fe6b8faf42442d19b2ca8e30c6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:46:29 +0000 (16:46 +0900)]
Imported Upstream version 1.7.3
Change-Id: I36e0c4469b7cfa50859370691f22a415fbd44bc2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:46:03 +0000 (16:46 +0900)]
Imported Upstream version 1.7.2
Change-Id: Ia68c1fdd604232635c5b636ba98ac0a84beffbcb
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:45:49 +0000 (16:45 +0900)]
Imported Upstream version 1.7.1
Change-Id: Icbc1ecb3e12ec4eee4dd8cfb4908ad04fcd5d22b
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 26 Oct 2016 07:45:21 +0000 (16:45 +0900)]
Imported Upstream version 1.7.0
Change-Id: I049a58b9c099d5689f951ce1b5302cc32074f445
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
DongHun Kwak [Wed, 6 Apr 2016 09:27:23 +0000 (18:27 +0900)]
[TVPRDCM-7] Add "/usr/include/jsoncpp/json" link
- Fix vd build error.
Change-Id: I5cc05681278fd55ae77341e6e45a0e9a983e57f1
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
MyoungJune Park [Tue, 19 Jan 2016 02:11:27 +0000 (11:11 +0900)]
packaging for Tizen & adjust Cmake options
Christopher Dunn [Fri, 30 Oct 2015 06:16:49 +0000 (01:16 -0500)]
Merge pull request #387 from joerg-krause/cmake-option-strict-iso
Disable -pedantic conditionally; add -pedantic-errors and -Werror conditionally
Jörg Krause [Thu, 29 Oct 2015 08:19:41 +0000 (09:19 +0100)]
Enable -Werror with JSONCPP_WITH_WARNING_AS_ERROR
Commit
912d55094d2f3b777bcb48a76c2ed32447c7795e disabled '-Werror'. Enable it
if jsoncpp is build with JSONCPP_WITH_WARNING_AS_ERROR=ON.
Jörg Krause [Tue, 27 Oct 2015 21:45:17 +0000 (22:45 +0100)]
Add option JSONCPP_WITH_STRICT_ISO
'-pedantic' issues all warnings demanded by strict ISO C/C++; rejecting
extensions that do not follow ISO C/C++. Without this option, certain GNU
extensions and traditional C/C++ features are supported as well.
With this option enabled building jsoncpp fails with the musl toolchain on
x86 because of an incompatible posix_memalign declaration [1]. Without
'-pedantic' there is no error anymore and jsoncpp builds fine.
Add an option JSONCPP_WITH_STRICT_ISO to disable compilation with '-pedantic'
with GCC. If jsoncpp is build with the JSONCPP_WITH_WARNING_AS_ERROR option
'-pedantic-errors' is used instead.
[1] https://gcc.gnu.org/ml/gcc-patches/2015-05/msg01425.html
Christopher Dunn [Tue, 27 Oct 2015 20:48:05 +0000 (15:48 -0500)]
Merge pull request #384 from EvinceMoi/master
json_reader throwRuntimeError return error details
Evince [Tue, 27 Oct 2015 16:22:46 +0000 (00:22 +0800)]
json_reader throwRuntimeError return error details instead of hard-coded message
Signed-off-by: Evince <baneyue@gmail.com>
Christopher Dunn [Wed, 21 Oct 2015 06:13:59 +0000 (01:13 -0500)]
Merge pull request #267 from cdunn2001/moveSemantics
move ctors
Christopher Dunn [Tue, 20 Oct 2015 04:49:07 +0000 (23:49 -0500)]
Minor
adjustments, based on comments in PR.
Motti [Mon, 20 Apr 2015 14:44:47 +0000 (17:44 +0300)]
move ctors
* Add move constructor to Value::CZString
* Add unit test for Value move constructor
* Allow includer to specify in advance the value for
JSON_HAS_RVALUE_REFERENCES
Christopher Dunn [Tue, 20 Oct 2015 04:40:47 +0000 (23:40 -0500)]
Some indentation
in anticipation of another change.
Christopher Dunn [Tue, 20 Oct 2015 03:50:41 +0000 (22:50 -0500)]
Merge pull request #382 from cdunn2001/ccache
Support ccache
Christopher Dunn [Mon, 19 Oct 2015 17:10:58 +0000 (12:10 -0500)]
Support ccache
http://stackoverflow.com/a/
24305849/263998
Christopher Dunn [Thu, 15 Oct 2015 21:15:15 +0000 (16:15 -0500)]
Merge pull request #381 from bknecht/precision
Resolves #284
Benjamin Knecht [Thu, 15 Oct 2015 16:32:24 +0000 (18:32 +0200)]
Add test code for precision
Benjamin Knecht [Thu, 15 Oct 2015 16:00:42 +0000 (18:00 +0200)]
making precision unsigned int
adding precision as settings value for StreamBuilder
Benjamin Knecht [Thu, 15 Oct 2015 15:28:56 +0000 (17:28 +0200)]
Create format string with sprintf.
For now use hardcoded precision '17' for now
Christopher Dunn [Sat, 10 Oct 2015 22:20:37 +0000 (17:20 -0500)]
Merge pull request #379 from cdunn2001/issue-377
Iterator conversions
ycqiu [Tue, 6 Oct 2015 08:46:19 +0000 (16:46 +0800)]
fix
In value.h, ValueConstIterator can convert to ValueIterator, I think that is a bug. the correct way is ValueIterator can convert to ValueConstIterator.
ycqiu [Thu, 8 Oct 2015 13:53:14 +0000 (21:53 +0800)]
add test code
does not compile
Christopher Dunn [Sun, 4 Oct 2015 19:54:09 +0000 (14:54 -0500)]
Merge pull request #373 from antonindrawan/QNX_support
Compiles jsoncpp with QNX 6.6
Christopher Dunn [Sat, 3 Oct 2015 21:03:27 +0000 (16:03 -0500)]
Merge pull request #375 from Dani-Hub/issue-374-remove-defaulted-ctor
Remove defaulted default constructor
drgler [Sat, 3 Oct 2015 17:40:23 +0000 (19:40 +0200)]
Remove defaulted default constructor
Anton Indrawan [Fri, 2 Oct 2015 15:49:02 +0000 (17:49 +0200)]
Compiles jsoncpp with QNX 6.6
Christopher Dunn [Sat, 3 Oct 2015 08:58:20 +0000 (03:58 -0500)]
Merge pull request #371 from mathstuf/more-platform-support
json_writer: improve isfinite support on *nix
Ben Boeckel [Thu, 1 Oct 2015 17:20:37 +0000 (13:20 -0400)]
json_writer: improve isfinite support on *nix
Based on a patches to CMake by:
Ådne Hovda <ahovda@openit.com>:
commit
7b1cdb00279908cacabada92f8a53e4986465423
jsoncpp: Provide 'isfinite' implementation on older AIX and HP-UX
Newer AIX and HP-UX platforms provide 'isfinite' as a <math.h> macro.
Older versions do not, so add the definition if it is not provided.
Michael Scott <michael.scott@gbgplc.com>:
commit
9217b678b305d7df7471ba476a81bf28961fdfa3
jsoncpp: Provide 'isfinite' impl on more HP-UX versions (#15576)
Some versions of HP-UX do not define 'isfinite' or 'finite' in math.h
for Itanium when preprocessing with C++, so we have to add the
definition ourselves instead to map to the internal version.
Joerg Sonnenberger <joerg@bec.de>:
commit
75644dafe54c21902f14cfe58cb8338b553b69d8
jsoncpp: Fix compilation as C99 on Solaris
In C99 mode, Solaris variants may already define isfinite, so check for
the existence first.
Christopher Dunn [Mon, 28 Sep 2015 22:06:34 +0000 (17:06 -0500)]
Merge pull request #368 from mathstuf/export-factory-inner-class
reader: export CharReader::Factory
Christopher Dunn [Mon, 28 Sep 2015 22:04:23 +0000 (17:04 -0500)]
Fix VS warnings
These don't really need to be const.
resolves #369
Ben Boeckel [Mon, 28 Sep 2015 19:45:11 +0000 (15:45 -0400)]
reader: export CharReader::Factory
Christopher Dunn [Mon, 28 Sep 2015 16:27:29 +0000 (11:27 -0500)]
Merge pull request #367 from Dani-Hub/issue-350-unique_ptr-2
__cplusplus value should not be used to decide for std::unique_ptr
resolves #350
drgler [Sun, 6 Sep 2015 14:13:06 +0000 (16:13 +0200)]
__cplusplus value should not be used to decide for std::unique_ptr #350:
In addition to the C++ language version define __cplusplus also check _CPPLIB_VER for better Dinkumware support.
Christopher Dunn [Wed, 23 Sep 2015 14:44:58 +0000 (09:44 -0500)]
Fully init OurReader
See #363, similar to #364.
Christopher Dunn [Wed, 23 Sep 2015 14:41:17 +0000 (09:41 -0500)]
Merge pull request #364 from ya1gaurav/patch-28
Have default ctor for OurFeatures
Gaurav [Wed, 23 Sep 2015 04:12:26 +0000 (09:42 +0530)]
Make OurFeatures ctor as default.
Please review suggested changes.
Christopher Dunn [Tue, 22 Sep 2015 10:09:33 +0000 (05:09 -0500)]
Merge pull request #366 from ya1gaurav/patch-30
parseCommandLine also throws
Christopher Dunn [Tue, 22 Sep 2015 10:08:56 +0000 (05:08 -0500)]
Merge pull request #365 from ya1gaurav/patch-29
Remove conditional check for isMultiLine
Gaurav [Tue, 22 Sep 2015 08:23:19 +0000 (13:53 +0530)]
parseCommandLine also throws
Catching exceptions thrown by parseCommandLine (std::bad_alloc & std::length_error) also.
Gaurav [Tue, 22 Sep 2015 04:18:54 +0000 (09:48 +0530)]
Remove conditional check for isMultiLine
At all 3 places isMultiLine is checked in for loop :
for (int index = 0; index < size && !isMultiLine; ++index) {
It means !isMultiLine is always true (otherwise do not enter loop), so || condition does not depend on isMultiLine, so removed that.
Gaurav [Mon, 21 Sep 2015 12:35:15 +0000 (18:05 +0530)]
Add default value of stackLimit couple of places
stackLimit default value is missing at two places.Adding them.
Christopher Dunn [Sat, 5 Sep 2015 17:12:37 +0000 (12:12 -0500)]
Merge pull request #348 from cdunn2001/override-keyword
C++11: override keyword
Gaurav [Fri, 4 Sep 2015 08:34:43 +0000 (14:04 +0530)]
C++11: override keyword
Source : http://en.cppreference.com/w/cpp/language/override
Christopher Dunn [Sat, 5 Sep 2015 16:59:54 +0000 (11:59 -0500)]
Merge pull request #339 from Dani-Hub/master
Floating-point NaN or Infinity values should be allowed as a feature …
drgler [Sat, 5 Sep 2015 12:49:33 +0000 (14:49 +0200)]
Fix number reading in the presence of Infinity: Only check for infinity if we have a leading sign character.
drgler [Sat, 5 Sep 2015 12:48:29 +0000 (14:48 +0200)]
Adjust whitespace formatting
Daniel Krügler [Sat, 5 Sep 2015 11:38:04 +0000 (13:38 +0200)]
Merge pull request #2 from BillyDonahue/billy_danihub_fix
Billy danihub fix
Billy Donahue [Sat, 5 Sep 2015 08:22:18 +0000 (04:22 -0400)]
don't need out field of TestData
Billy Donahue [Sat, 5 Sep 2015 08:07:56 +0000 (04:07 -0400)]
prettier test
Billy Donahue [Sat, 5 Sep 2015 07:48:38 +0000 (03:48 -0400)]
expanded Infinity test
drgler [Thu, 3 Sep 2015 20:19:22 +0000 (22:19 +0200)]
Floating-point NaN or Infinity values should be allowed as a feature #209
Introduce 'allowSpecialFloats' for readers and 'useSpecialFloats' for writers, use consistent macro snprintf definition for writers and readers, provide new unit tests for #209
drgler [Thu, 3 Sep 2015 20:19:22 +0000 (22:19 +0200)]
Floating-point NaN or Infinity values should be allowed as a feature #209
Introduce 'allowSpecialFloats' for readers and 'useSpecialFloats' for writers, use consistent macro snprintf definition for writers and readers, provide new unit tests for #209
Christopher Dunn [Sat, 22 Aug 2015 01:45:37 +0000 (20:45 -0500)]
Merge pull request #337 from AMDmi3/patch-1
Specify float constant as float
Dmitry Marakasov [Fri, 21 Aug 2015 18:19:26 +0000 (21:19 +0300)]
Specify float constant as float
Otherwise, on some 32 bit platforms this may not fit into long and compilation will fail:
src/test_lib_json/main.cpp:1260: error: integer constant is too large for 'long' type
Robert Dailey [Thu, 6 Aug 2015 15:17:09 +0000 (10:17 -0500)]
Clean up cmake END* (again)
(I missed a couple. ~cd)
Christopher Dunn [Fri, 14 Aug 2015 21:40:42 +0000 (14:40 -0700)]
Merge pull request #332 from cdunn2001/END
Clean up cmake END*
Robert Dailey [Thu, 6 Aug 2015 15:17:09 +0000 (10:17 -0500)]
Clean up cmake END*
* Clean up closing statements for if conditions, functions, macros,
and other entities. Newer versions of CMake do not require you to
redundantly respecify the parameters to the opening arguments.
Christopher Dunn [Sun, 9 Aug 2015 23:38:21 +0000 (16:38 -0700)]
Merge pull request #327 from cdunn2001/more-gitattributes
More gitattributes
Christopher Dunn [Sun, 9 Aug 2015 22:42:06 +0000 (15:42 -0700)]
add .gitattributes
helps #325
Christopher Dunn [Sun, 9 Aug 2015 22:53:23 +0000 (15:53 -0700)]
normalized some windows VS stuff
Christopher Dunn [Sun, 9 Aug 2015 23:23:20 +0000 (16:23 -0700)]
Merge pull request #326 from rcdailey/git-attributes
Introduce .gitattributes file and normalize line endings
Robert Dailey [Sun, 9 Aug 2015 22:58:59 +0000 (17:58 -0500)]
Normalize line endings
This commit contains nothing but line ending normalization
changes. These changes were performed after the introduction
of .gitattributes into the repository.
Robert Dailey [Sun, 9 Aug 2015 22:56:16 +0000 (17:56 -0500)]
Add .gitattributes file
Aaron Jacobs [Mon, 3 Aug 2015 00:58:29 +0000 (10:58 +1000)]
Remove undefined behavior from a left shift of a negative value.
Fixed by shifting a positive value, then negating the result.
(Credit: Richard Trieu)
Christopher Dunn [Sun, 2 Aug 2015 20:48:38 +0000 (15:48 -0500)]
Merge pull request #323 from joerg-krause/master
Remove -Werror
Jörg Krause [Thu, 30 Jul 2015 21:47:05 +0000 (23:47 +0200)]
Remove Werror
-Werror shouldn't be used in released code since it can cause random build
failures on moderate warnings. It also depends on the used toolchain since
different toolchains may or may not print the same warnings.
Christopher Dunn [Tue, 28 Jul 2015 16:35:52 +0000 (11:35 -0500)]
Merge pull request #320 from shields/negation-overflow
Fix cases where the most negative signed integer was negated, causing undefined behavior.
Michael Shields [Mon, 27 Jul 2015 23:35:19 +0000 (16:35 -0700)]
Fix cases where the most negative signed integer was negated, causing
undefined behavior.
Christopher Dunn [Thu, 23 Jul 2015 05:20:35 +0000 (00:20 -0500)]
1.6.5
Christopher Dunn [Thu, 23 Jul 2015 05:19:12 +0000 (00:19 -0500)]
Exceptions declared in header
resolves #272
Christopher Dunn [Thu, 23 Jul 2015 05:25:56 +0000 (00:25 -0500)]
correction for #316
Christopher Dunn [Fri, 17 Jul 2015 11:44:33 +0000 (06:44 -0500)]
Merge pull request #316 from filipjs/master
Update json_tool.h
typo in a comment
filipjs [Tue, 14 Jul 2015 12:34:07 +0000 (14:34 +0200)]
Update json_tool.h
Fix a typo in comment.
Christopher Dunn [Sun, 12 Jul 2015 19:38:02 +0000 (14:38 -0500)]
Merge pull request #314 from cdunn2001/master
-Werror
plus small bug-fix
Christopher Dunn [Sun, 12 Jul 2015 19:29:51 +0000 (14:29 -0500)]
1.6.4
minor bug-fix
Christopher Dunn [Sun, 12 Jul 2015 19:25:21 +0000 (14:25 -0500)]
-Werror
Christopher Dunn [Sun, 12 Jul 2015 17:58:54 +0000 (12:58 -0500)]
fixed a bug found by -Wshadow
Christopher Dunn [Sun, 12 Jul 2015 17:55:18 +0000 (12:55 -0500)]
fix some warnings
Christopher Dunn [Sun, 12 Jul 2015 17:49:57 +0000 (12:49 -0500)]
drop -Wsign-conversion
Christopher Dunn [Sun, 12 Jul 2015 17:32:33 +0000 (12:32 -0500)]
-Wconversion
* https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
* http://programmers.stackexchange.com/questions/122608/clang-warning-flags-for-objective-c-development/124574#124574
In clang: `-Wconversion` implies `-Wshorten-64-to-32`
Christopher Dunn [Sun, 12 Jul 2015 17:31:43 +0000 (12:31 -0500)]
auto-generated file with minor update
Christopher Dunn [Sun, 12 Jul 2015 17:18:28 +0000 (12:18 -0500)]
Merge pull request #313 from cdunn2001/master
`-std=c++11` for gcc builds too
There was an issue with Travis, but we seem to be past that now.
We were using only -std=c++0x for gcc, as you can see in the diff.
resolves #134
Christopher Dunn [Sun, 12 Jul 2015 17:08:34 +0000 (12:08 -0500)]
-std=c++11 for gcc builds too
Christopher Dunn [Sun, 12 Jul 2015 17:04:41 +0000 (12:04 -0500)]
Merge pull request #312 from cdunn2001/master
gcc-4.9, clang (3.0)
Christopher Dunn [Sun, 12 Jul 2015 14:53:40 +0000 (09:53 -0500)]
gcc-4.9, clang (3.0)
Christopher Dunn [Sat, 11 Jul 2015 19:19:02 +0000 (14:19 -0500)]
Merge pull request #309 from cdunn2001/master
dockerize the Travis build, and allow C++11
Christopher Dunn [Sat, 11 Jul 2015 19:09:52 +0000 (14:09 -0500)]
valgrind in Travis
Christopher Dunn [Sat, 11 Jul 2015 19:06:18 +0000 (14:06 -0500)]
dockerize the Travis build
Docker builds are *much* faster in Travis.
Also, we prepare to enable C++11.
Christopher Dunn [Sat, 11 Jul 2015 18:41:13 +0000 (13:41 -0500)]
1.6.3