94 Commits

Author SHA1 Message Date
John Vandenberg
0e6e16645c
Remove trailing whitespace (#3668) 2022-07-07 04:18:20 -05:00
Alex Fabijanic
cafd56a947 fix(JSON::Stringifier): JSON Serializing NAN #3251 2022-06-22 13:44:00 +02:00
Alex Fabijanic
37cb890e58 fix(ConfigurationView): ConfigurationView and JSON is broken for array access #3635 2022-06-20 20:59:10 +02:00
Aleksandar Fabijanic
ff879f5905
Fix/tsan (#3617)
* fix(Foundation): tsan warnings fixes

* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress

* fix(Util): tsan fixes

* fix(netSSL_OpenSSL): tsan fixes

* fix(Data): tsan warnings fixes

* feat(ci): add tsan job

* feat(ci): add tsan job, another attempt

* feat(ci): add tsan job, 3rd attempt

* fix(Foundation): tsan warnings fixes

* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress

* fix(Util): tsan fixes

* fix(netSSL_OpenSSL): tsan fixes

* fix(Data): tsan warnings fixes

* feat(ci): add tsan job

* feat(ci): add tsan job, another attempt

* feat(ci): add tsan job, 3rd attempt

* fix(ResultMetadata): memory leak #3474

* feat(ci): disable ActiveDispatcher tests for tsan runs

* feat(ci): try to fix tsan options file detection (again)

* chore(TestLibrary: correct spelling

* fix(ci): fix tsan run; add -y to apt; disable samples build for some jobs

* fix(ci): add mysql ports

* feat(ci): add VS asan

* feat(double-conversion): Upgrade double-conversion to v3.2.0 #3624

* chore(asan): disable msvc asan build (dll not found)

* chore(double-conversion): move NumericString.h before double-conversion includes to prevent min/max collision; reinstate lost loongarch64

* chore(JSON): sync pdjson with upstream

* fix(Statement): Poco::Data::Statement becomes unusable after exception #2287
2022-06-01 23:47:26 -05:00
Günter Obiltschnig
3b1484ca50 #3470: bug in JSON ParseHandler.cpp (RFC 7159 should be valid) 2022-02-19 09:52:24 +01:00
Günter Obiltschnig
00d5e7171a #3505: JSON::PrintHandler.value(bool) prints incorrect value 2022-02-08 06:00:29 +01:00
Günter Obiltschnig
f7d7660335 JSON Parser performance improvements 2021-06-15 20:18:41 +02:00
Günter Obiltschnig
c4c2df26b3 #3309: optimize parsing from stream (no copying of entire JSON to memory); limit maximum depth to avoid stack overflow with malicious documents (fuzzing - #3285); code cleanup 2021-06-15 18:55:59 +02:00
Günter Obiltschnig
ce781efd73 upgrade bundled pdjson to latest master 2021-06-14 17:56:53 +02:00
Günter Obiltschnig
e577e36c25 #3136: Fixed null character issue when parsing a JSON 2021-04-12 20:28:30 +02:00
Günter Obiltschnig
18adb1e43b code cleanup; fix move ctors and assignment 2020-01-21 17:52:43 +01:00
Günter Obiltschnig
1bf40a0cd2 merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8 2020-01-09 10:08:09 +01:00
Aleksandar Fabijanic
231ef2762d
Preserve entries order in DynamicStruct #2410 (#2413)
* Preserve entries order in DynamicStruct #2410

* disable C++11 default

* ifdef C++11 code
2018-08-01 08:06:59 -07:00
Günter Obiltschnig
5a1bf5eb4a fixed GH #2249: Poco::JSON::Object::set() should return reference to this to allow chaining 2018-03-27 11:47:05 +02:00
Günter Obiltschnig
7eb1325bba style fixes 2018-03-05 15:05:04 +01:00
Alex Fabijanic
fc47df04cd #2142 #2137 cherry pick 3 2018-02-08 20:01:36 -06:00
Alex Fabijanic
fac2437fab fix toJSON function and some VS warnings 2018-02-08 19:46:02 -06:00
Aleksandar Fabijanic
fbd229ee4a #2142 #2137 cherry pick 2 2018-02-08 19:45:37 -06:00
Aleksandar Fabijanic
bd81aec779 #2142 #2137 cherry pick 1 2018-02-08 19:41:44 -06:00
Alex Fabijanic
03daed2230 ifdef closing coment fix 2018-01-31 20:58:38 -06:00
Alex Fabijanic
66f122b35f clang compile 2018-01-31 19:34:43 -06:00
Alex Fabijanic
e143bdce35 remove includes (already included in header) 2018-01-31 18:52:33 -06:00
Alex Fabijanic
e8be21dc66 Poco1.8.1 compilation error for C++98 mode #2121 2018-01-31 18:32:15 -06:00
Günter Obiltschnig
6e89a241e8 revert last change 2018-01-02 12:52:47 +01:00
Günter Obiltschnig
6774b5deb6 merge JSON fix from develop 2018-01-02 12:12:59 +01:00
Alex Fabijanic
18c3ed3941 change json_error_s into function 2017-11-09 07:04:27 -06:00
Alex Fabijanic
21b2dfa944 replace strerror 2017-11-08 17:51:59 -06:00
Alex Fabijanic
ba876aa4cd fix JSON windows compile 2017-10-31 12:06:18 -05:00
Guenter Obiltschnig
d172273a75 remove remaining $Id$ tags from file headers 2017-10-31 16:01:51 +01:00
Alex Fabijanic
71946d9d18 move pd_json headers to src 2017-10-06 09:56:13 -05:00
Alex Fabijanic
7943d95b31 pd_json.h is missing when installed via CMake in 1.8.0 #1923 2017-10-06 09:22:55 -05:00
Alex Fabijanic
fab661a4a3 fix linux build 2017-09-27 13:03:29 -05:00
Alex Fabijanic
6bcd362c74 use _snprintf_s on VS < 2015 2017-09-27 11:25:43 -05:00
Alex Fabijanic
6efab2cd58 back-port JSON and accompanying Foundation portions (JSONString, Dynamic::Var etc) 2017-09-25 15:15:05 -05:00
Guenter Obiltschnig
bd82bb1306 minor improvements to documentation and style 2017-02-13 22:33:48 +01:00
Guenter Obiltschnig
bfdf04ca72 fixed GH #1521: bug in JSON ParseHandler.cpp (empty keys should be valid) 2016-12-29 11:22:16 +01:00
Guenter Obiltschnig
075cfeb4cb fix uninitialized member in ctor 2016-09-26 18:12:56 +02:00
Günter Obiltschnig
f9f4c54bc3 fixed GH #1355: [JSON::Object] After copy-ctor, JSON::Object::_keys still points to keys in map of copied object 2016-08-27 10:54:35 +02:00
Guenter Obiltschnig
0ec65720ab removed unused #include 2015-09-30 10:31:50 +02:00
Aleksandar Fabijanic
4f885a8b66 Change in JSON::Object::set(key,value) behavior in 1.6.1 #933
fix according to [suggestion](fee347ec6a (commitcomment-13196733))
2015-09-12 13:19:28 -05:00
Guenter Obiltschnig
468f2e029b fix for NumberParser changes 2015-09-11 08:17:57 +02:00
Aleksandar Fabijanic
26e76482c5 Change in JSON::Object::set(key,value) behavior in 1.6.1 #933 2015-09-11 07:46:54 +02:00
Alex Fabijanic
5a5509a3e3 fixed GH #782 and #819 2015-06-09 22:41:38 -05:00
Aleksandar Fabijanic
3553a86d60 JSON Stringifier fails with preserve insert order #819 2015-05-14 22:12:52 -05:00
Alex Fabijanic
fea66f4dbc Poco::JSON::PrintHandler not working for objects in array #766 2015-03-31 21:35:34 -05:00
Guenter Obiltschnig
f2512856ee added Var::isBoolean() and fixed JSON stringifier 2014-09-18 20:57:34 +02:00
rafzi
a787b4f898 fix JSON stringify to escape special characters
When converting from non string types the converted string was not escaped
2014-09-06 19:42:06 +02:00
Alex Fabijanic
32d4c1eb07 GH #482: Poco::JSON::Stringifier::stringify bad behaviour 2014-07-10 21:00:59 -05:00
Alex Fabijanic
5cd3e842e8 added '/' to the characters escaped in JSON 2014-05-28 21:05:30 -05:00
Alex Fabijanic
b2eb4fda59 GH #176: Poco::JSON::Stringifier UTF encoding 2014-05-27 22:23:10 -05:00