Commit Graph

12 Commits

Author SHA1 Message Date
Viktor Rosendahl
765cfa779d jsoncpp: Fix broken handling of escape characters
Applying this backported patch from upstream fixes the following
BAT test failure:

jsoncpp.jsoncpp_system_tests.TestJsoncpp.test_run_jsoncpp_test
(from systemtests--bmt--BAT) :
* Detail of EscapeSequenceTest/writeEscapeSequence test failure:
/usr/src/debug/jsoncpp/1.9.2-r0/git/src/test_lib_json/main.cpp(3370): expected == result
  Expected: '["\"","\\","\b","\f","\n","\r","\t","\u0278","\ud852\udf62"]
  '
  Actual  : '["\"","\\","\b","\f","\n","\r","\t","ɸ","𤭢"]

This test failure happens because aarch64 uses unsigned char as
default type for char, while x86 uses signed char. Also, there
is another bug in the code that is fixed by this upstream patch:

 "static_cast<unsigned char>(*cur) < 0x80" should be:
 "static_cast<unsigned char>(*cur) >= 0x80"

Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-05 07:20:59 -04:00
Armin Kuster
59bff77ad0 recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-11-17 12:26:21 -08:00
Armin Kuster
654ad8bea4 jsoncpp: add PE do to revert to older PV
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-07-18 07:24:39 -07:00
Armin Kuster
0e0b4892f5 Revert "jsoncpp: upgrade 1.9.2 -> 1.9.3"
This reverts commit 2b384c5973.

It appears that there was a change in soname not noted in the changelog.

8b7ea09b80

ABI change appears to have occured.
https://abi-laboratory.pro/index.php?view=timeline&l=jsoncpp

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-07-13 20:45:23 -07:00
Pierre-Jean Texier
2b384c5973 jsoncpp: upgrade 1.9.2 -> 1.9.3
See full changelog https://github.com/open-source-parsers/jsoncpp/releases/tag/1.9.3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 65e124eef3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-07-01 08:00:22 -07:00
Khem Raj
7b70af667a jsoncpp: Upgrade to 1.9.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-28 00:11:47 -08:00
Pavel Modilaynen
1f080b695e jsoncpp: add native BBCLASSEXTEND
Extend to native builds, this is useful for unit tests.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 14:10:13 -07:00
Derek Straka
0e5dfce3b6 jsoncpp: update to version 1.8.4
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:33:04 -08:00
Derek Straka
7addfd42f6 jsoncpp: update to version 1.8.3
Checksum update for copyright year

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:47 +00:00
Oleksandr Kravchuk
726862b3f8 jsoncpp: upgrade to 1.8.0
Upgraded jsoncpp to version 1.8.0 and changed home page to the new one.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 15:59:58 +01:00
Khem Raj
b6ea2c0bac jsoncpp: Remove unused patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:23:44 +01:00
Khem Raj
34baf3328f jsoncpp: Add new recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:21 +01:00