Matej Kenda
5117e27515
Usage modern C++ features on JSON modules (enhanced) ( #4613 )
2024-07-25 18:18:37 +02:00
Matej Kenda
843ed4345e
gcc/clang (-fvisibility=hidden): corrections to compile and work properly ( #4394 )
...
* fix(ActiveRecord): missing ActiveRecordLib_API definitions for clang/gcc.
* fix(FPEnvironment): export FPEnvironmentImpl classes (#4393 , #3331 )
* fix(Crypto): export *Impl classes used from inlines (#4393 , #3331 )
* fix(Dynamic): explicitly instantiate and export Dynamic::Struct for string and int (-fvisibility=hidden) (#4393 , #3331 )
* fix(JSON): explicitly instantiate and export SharedPtr for JSON::Array and JSON::Object (-fvisibility=hidden) (#4393 , #3331 )
* enh(CMake): Set symbol visibility to hidden (#4393 , #3331 )
* enh(configure): user c++17 standard for iphone, Darwin and ARM-Linux.
* fix(UTF): explicitly instantiate and export 16 and 32-bit strings (-fvisibility=hidden) (#4393 , #3331 )
* fix(RecordSet): make Extraction.h internal and instantiate RecordsSet::column template functions only for supported types. (-fvisibility=hidden) (#4393 , #3331 )
* fix(UTF): fix explicitly instantiation on Windows (-fvisibility=hidden) (#4393 , #3331 )
* enh(CMake): Add github jobs for macOS with visibility set to hidden (#4393 , #3331 )
* fix(CppParser): Add missing declarations for CppParser_API (#4393 , #3331 )
* enh(CMake): Enable more options in github jobs for macOS with visibility set to hidden (#4393 , #3331 )
* fix(MongoDB): Add missing MongoDB_API (#4393 , #3331 )
2024-01-17 14:13:24 +01:00
Aleksandar Fabijanic
57bc0bbbb5
3102 json lowercase hex ( #4306 )
...
* Made it possible to use lowercase hex numbers, also when encoding JSON (#3102 )
Co-authored-by: Thomas Weyn <Thomas.Weyn@cebir.be>
* fix(JSONString): Remove deprecated toJSON functions #4305
* fix(NumericString): conversions inconsistencies #4304
---------
Co-authored-by: Archipel <thomas@weynwebworks.com>
Co-authored-by: Thomas Weyn <Thomas.Weyn@cebir.be>
2023-11-27 22:43:20 +01:00
Niketin
b941a20b8c
Fix typo in example ( #3894 )
...
using a dereference operator does not work here
2023-01-24 00:41:40 -06:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05: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
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
b00e82977f
#3237 : An error in the documentation for Poco/JSON/Parser.h
2021-06-15 07:26:13 +02:00
Günter Obiltschnig
15ad5c250e
#3114 : Added JSON Array::empty() method
2021-04-12 20:33:11 +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
64101df736
remove unnecessary space in JSON object serialization
2020-07-29 09:00:49 +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
Alex Fabijanic
f06580611f
Stringify escapes every unicode symbol when object contain an array #2364
2018-06-12 10:17:08 -05: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
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
Alex Fabijanic
e8be21dc66
Poco1.8.1 compilation error for C++98 mode #2121
2018-01-31 18:32:15 -06:00
Günter Obiltschnig
6774b5deb6
merge JSON fix from develop
2018-01-02 12:12:59 +01:00
Guenter Obiltschnig
d172273a75
remove remaining $Id$ tags from file headers
2017-10-31 16:01:51 +01: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
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
08e4f6af17
doc fixes
2016-08-28 17:17: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
87f0bac343
fix for VS2008
2015-08-03 07:33:37 +02: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
b2eb4fda59
GH #176 : Poco::JSON::Stringifier UTF encoding
2014-05-27 22:23:10 -05:00
Kontinuation
1b5f9cb079
style fixes
2014-05-23 02:38:57 +08:00
Kontinuation
3880f76d82
fixed array element updating problem in JSONConfiguration
2014-05-23 02:22:06 +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
Patrick White
69f7cb9846
Fix warnings in headers because application/user settings control what warnings are seen when compiling against poco
2014-01-23 16:22:38 -05:00
Rangel Reale
29885348ba
* Method to get JSON object value using Poco::Nullable
2013-08-21 10:34:21 -03:00
Günter Obiltschnig
c7f873eee8
added missing x64_vs90 project files, fixed Util x64 project files, fixed some warnings
2013-07-22 20:44:35 +02: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
Aleksandar Fabijanic
923eb91bb8
mainly JSON tidy-up
2013-06-15 20:28:09 -05:00
Alex
3ba7cc27a9
JSON Parser comment update
2013-06-09 22:56:53 -05:00
alex
61b8cb57f7
Solaris build
2012-08-18 02:54:54 -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
alex
83ad8b36f5
fixed GH #138 : FreeBSD JSON tests fail
2013-06-02 23:36:36 -05:00
Aleksandar Fabijanic
d8de7489d5
clang compile
2013-06-01 16:30:02 -05:00