Commit Graph

180 Commits

Author SHA1 Message Date
Benoit Blanchon
5c297ba4a2 Fixed warning "maybe uninitialized" (issue #909) 2019-02-28 13:45:56 +01:00
Benoit Blanchon
f483b06735 Fixed strict-aliasing warning in FloatTraits.hpp 2019-02-28 12:10:42 +01:00
Benoit Blanchon
ae2bfee0b1 Fixed warning "unused variable" with GCC 4.4 (issue #912) 2019-02-28 10:22:27 +01:00
Benoit Blanchon
0d01e84336 Updated copyright year to 2019 2019-02-15 13:34:37 +01:00
Benoit Blanchon
ef12c74771 Set version to 5.13.4 2018-12-04 11:36:16 +01:00
Benoit Blanchon
0d4a93018b Set version to 5.13.3 2018-10-06 17:50:41 +02:00
Benoit Blanchon
0b3af166ae Fixed JsonVariant::is<String>() (closes #763) 2018-10-06 17:21:16 +02:00
Benoit Blanchon
fa1a40ac6e Fixed JsonVariant::is<int>() that returned true for empty strings 2018-07-05 09:53:11 +02:00
Benoit Blanchon
954428e341 Improved float serialization when -fsingle-precision-constant is used 2018-07-05 09:48:57 +02:00
Benoit Blanchon
011aac43d2 Set version to 5.13.2 2018-06-01 09:21:42 +02:00
Benoit Blanchon
eb20ae6a3f Added macros ARDUINOJSON_VERSION, ARDUINOJSON_VERSION_MAJOR... 2018-06-01 09:19:34 +02:00
Benoit Blanchon
7c0af91844 Fixed null values that could be pass to strcmp() (closes #745) 2018-06-01 09:08:38 +02:00
Benoit Blanchon
3523296e3d Fixed JsonBuffer::parse() nesting limit (fixes #693) 2018-03-12 18:29:33 +01:00
Benoit Blanchon
d9b1e7e810 Allowed non-quoted key to contain underscores (fixes #665) 2018-02-16 11:04:07 +01:00
Benoit Blanchon
b4eece01f8 Fixed JsonVariant::operator|(int) to accept double (fixes #675) 2018-02-09 09:05:29 +01:00
Benoit Blanchon
e390587e91 Kept only two namespaces ArduinoJson and ArduinoJson::Internals 2018-01-19 08:32:15 +01:00
Benoit Blanchon
bae179ed67 RawJson() accepts any kind of string and obeys to duplication rules 2018-01-18 09:43:37 +01:00
Benoit Blanchon
0612eef69b Marked strdup() as deprecated (issue #658) 2018-01-14 14:02:10 +01:00
Benoit Blanchon
ae0b7a3ebd Changed the return type of strdup() to const char* (issue #658) 2018-01-14 14:01:08 +01:00
Benoit Blanchon
e92612b511 Changed the rules of string duplication (fixes #658) 2018-01-14 13:46:28 +01:00
Benoit Blanchon
5c33fd4b94 Set copyright year to 2018 2018-01-05 09:20:01 +01:00
Benoit Blanchon
57d98e48f7 Added detection of Keil ARM Compiler (issue #629) 2017-12-05 21:24:28 +01:00
Benoit Blanchon
cf2babc598 Added detection of MPLAB XC compiler (issue #629) 2017-12-05 21:18:21 +01:00
Benoit Blanchon
d10277df31 Added a clear error message when compiled as C (issue #629) 2017-12-03 13:49:51 +01:00
Benoit Blanchon
d3a1203782 Added JsonVariant::operator| to return a default value 2017-11-29 09:49:40 +01:00
Benoit Blanchon
221c2861fc Changed all links to point to arduinojson.org 2017-11-07 20:42:50 +01:00
Benoit Blanchon
591fe7e92b Fixed incorrect rounding for float values (fixes #588) 2017-10-17 10:19:21 +02:00
Benoit Blanchon
a6091136b0 Fix GCC 7 warning 2017-09-27 11:13:45 +02:00
Benoit Blanchon
353bbd0e8c Fix GCC 4.8.5 warning 2017-09-27 09:45:48 +02:00
Benoit Blanchon
57defe00ee Fixed DynamicJsonBuffer::clear() not resetting allocation size (fixes #561) 2017-08-30 21:51:10 +02:00
Benoit Blanchon
ed98ea4e43 Implemented JsonVariant comparisons with template friends 2017-08-06 16:26:38 +02:00
Benoit Blanchon
729bf0afd2 Made JsonBuffer destructor protected 2017-07-18 22:00:06 +02:00
Benoit Blanchon
2772e66064 Fixed warning "this statement may fall through" (issue #539) 2017-07-14 11:14:56 +02:00
Benoit Blanchon
d41f7a8165 Fixed too many decimals places in float serialization (issue #543) 2017-07-14 10:51:46 +02:00
Benoit Blanchon
abfd3997eb Fixed "constant exceeds range of float [-Woverflow]" (issue #544) 2017-07-09 15:24:58 +02:00
Benoit Blanchon
788c9be016 Removed dependency on PGM_P as Particle 0.6.2 doesn't define it (issue #546) 2017-07-07 23:04:42 +02:00
Benoit Blanchon
5da41edf6a Removed implementation of JsonBufferAllocated::delete. 2017-06-19 10:05:38 +02:00
Benoit Blanchon
476e5aaa86 Added DynamicJsonBuffer::clear() 2017-06-17 16:48:40 +02:00
Benoit Blanchon
789fa507b5 Added StaticJsonBuffer::clear() 2017-06-17 15:00:46 +02:00
Benoit Blanchon
508f936317 Made JsonBuffer non-copyable (PR #524 by @luisrayas3) 2017-06-17 14:17:01 +02:00
Benoit Blanchon
bff77abe6a Fixed reading "true" as a float (issue #516) 2017-06-03 16:22:26 +02:00
Benoit Blanchon
a2446f6c68 Fixed compilation in IAR Embedded Workbench (issue #515) 2017-06-01 20:47:09 +02:00
Benoit Blanchon
c955049207 Fixed IntelliSense errors in Visual Micro (issue #483) 2017-05-28 15:33:03 +02:00
Benoit Blanchon
7415f206ea Reduced code size 2017-05-27 15:08:11 +02:00
Benoit Blanchon
cda05aec04 Removed configurable number of decimal places (issues #288, #427 and #506) 2017-05-20 09:06:53 +02:00
Benoit Blanchon
cc66618e70 Fixed error forming reference to reference (issue #495) 2017-05-04 21:58:28 +02:00
Benoit Blanchon
34674fc282 Fixed error IsBaseOf is not a member of ArduinoJson::TypeTraits (issue #495) 2017-05-02 21:29:45 +02:00
Benoit Blanchon
9afa05e2f4 Removed Print class and converted printTo() to a template method (issue #276) 2017-04-22 11:33:40 +02:00
Benoit Blanchon
c3e1677b7d Fixed warnings floating constant exceeds range of floatand floating constant truncated to zero (issue #483) 2017-04-20 14:46:52 +02:00
Benoit Blanchon
024976cda2 Renamed folder include/ to src/ (issue #461) 2017-04-20 10:26:40 +02:00