Kari Argillander
708a5d8307
RFC: Remove Windows CE support ( #4342 )
...
* Remove _WIN32_WCE macro
Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.
* Remove WinCE support from build files
Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. Remove all
references from build systems / scripts.
* Remove Windows CE related source and header files
Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.
* Remove wcelibcex folder
Poco now use C++17 and Windows CE does not support it and VS2017 does
also not support it so we can just remove Windows CE code. First remove
all macro usages from our own files.
* Remove rest Windows CE mentions
There where some Windows CE mentions left. Remove those.
* Update Windows CE documentation
We should keep documentation some time so people can find reason for
remove.
---------
Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
2023-12-14 00:25:04 +01:00
Matej Kenda
4cfa96c94e
enh(JSON): Add unit test testBasicJson to test basic functionality of the JSON parser. #3331 ( #4315 )
2023-11-30 14:53:55 +01:00
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
c77f558d0e
chore(JSON): add test for #2612
2022-06-21 10:55:20 +02:00
Alex Fabijanic
37cb890e58
fix(ConfigurationView): ConfigurationView and JSON is broken for array access #3635
2022-06-20 20:59:10 +02:00
Alex Fabijanic
1d32b9b393
json format PrintHandler #2678
2022-06-18 06:52:30 +02:00
Alex Fabijanic
78558f868d
fix(JSON): Arbitrary indent of 2 applied to JSON string objects Var conversion #3253
2022-05-21 11:48:48 -07: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
15ad5c250e
#3114 : Added JSON Array::empty() method
2021-04-12 20:33:11 +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
7e9d10f488
#3076 : Avoid access to already freed memory in JSON code
2021-04-11 16:37:16 +02:00
Günter Obiltschnig
9e36cea203
fix JSON object formatting and tests
2020-07-29 11:40:40 +02:00
Günter Obiltschnig
03d1dd9822
fixes for macos/clang
2020-01-09 11:53:03 +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
Alex Fabijanic
f06580611f
Stringify escapes every unicode symbol when object contain an array #2364
2018-06-12 10:17:08 -05:00
zosrothko
960ecb38f0
Poco 1.9.1 assert true ( #2255 )
...
* Rename assert by assertTrue
* Update submodules
* Missing assertTrue
* Rename poco_assertTrue to poco_assert
* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06:00
Conor Burgess
2632f34e85
Stricter JSON standard conformance ( #2153 )
2018-02-13 07:26:20 -06:00
Conor Burgess
bdd0478ead
Fix nullptr deref in Poco::JSON::Object ( #2150 )
2018-02-09 10:18:23 -06:00
Alex Fabijanic
fc47df04cd
#2142 #2137 cherry pick 3
2018-02-08 20:01:36 -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
Guenter Obiltschnig
d172273a75
remove remaining $Id$ tags from file headers
2017-10-31 16:01:51 +01:00
Alex Fabijanic
fab661a4a3
fix linux build
2017-09-27 13:03:29 -05:00
Alex Fabijanic
6efab2cd58
back-port JSON and accompanying Foundation portions (JSONString, Dynamic::Var etc)
2017-09-25 15:15:05 -05:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02: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
Alex Fabijanic
5a5509a3e3
fixed GH #782 and #819
2015-06-09 22:41:38 -05:00
Alex Fabijanic
fea66f4dbc
Poco::JSON::PrintHandler not working for objects in array #766
2015-03-31 21:35:34 -05:00
Alex Fabijanic
102413aed5
clang build fixes
2014-10-11 18:48:00 -05:00
Alex Fabijanic
ff07ee1c6e
an attempt to reproduce GH #491
2014-10-11 18:25:32 -05:00
Guenter Obiltschnig
3f5e9bd247
fixed testsuite
2014-07-16 16:14:41 +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
Kontinuation
de0147fbf0
added test case for the newly added JSON::Array::set function
2014-05-23 21:56:00 +08:00
Roger Meier
b0581433a7
LICENSE: add info about SPDX-License-Identifier usage and use it
...
fix: remove executable flag and change back to 100644 (was 100755)
Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718
LICENSE: add info about SPDX-License-Identifier usage and use it
...
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Alex Fabijanic
4d366250e1
fixed GH #410 : Bug in JSON::Object.stringify() in 1.5.2
2014-04-28 21:43:57 -05:00
Günter Obiltschnig
b2ba1dfb74
-added Windows Embedded Compact 2013 support
2014-03-17 14:36:17 +01:00
Aleksandar Fabijanic
154c6969c2
GH# 267: JSON 'find' not returning empty result if object is expected but another value is found
...
GH# 267: JSON 'find' not returning empty result if object is expected
but another value is found
2013-09-14 22:33:41 -05:00
Rangel Reale
29885348ba
* Method to get JSON object value using Poco::Nullable
2013-08-21 10:34:21 -03:00
Aleksandar Fabijanic
20e1cf8821
JSON bug fixes
...
GH #241 : SF #620 Endless loop in JSON parser (added Buffer::setCapacity)
GH #242 : SF #619 Syntax error in JSON parser (float/double trim)
2013-07-21 22:18:56 -05:00
Alex
20005dbf87
fix signed/unsigned warnings
2013-06-16 11:37:37 -05:00
Aleksandar Fabijanic
b61b5ae53d
limit allowed types for JSON Query
...
limited allowed types for JSON::Query to Object, Array, Object::Ptr,
Array::Ptr and empty
2013-06-07 23:37:02 -05:00
Aleksandar Fabijanic
5e6ef1c14d
fixed GH #99 : JSON::Query an JSON::Object
...
- fixed GH #99 : JSON::Query an JSON::Object
- swapped order of AnyCast(const Any&) and AnyCast(Any&) definitions
2013-06-07 23:15:02 -05:00
Aleksandar Fabijanic
f96c45bf72
comment unsigned 64 bit -1 JSON test (clang fail)
2013-05-27 21:33:30 -05:00
Aleksandar Fabijanic
38131d452d
Var/JSON changes
...
- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
2013-05-27 21:33:27 -05:00
Aleksandar Fabijanic
41a07c15bf
JSON fixes/refactoring
2013-05-20 23:36:58 -05:00