Commit Graph

79 Commits

Author SHA1 Message Date
Benoit Blanchon
8db338ba14 Removed global new operator overload (issue #40, #45 and #46) 2015-02-01 20:59:31 +01:00
Benoit Blanchon
562080f22d Added conversion from ListIterator to ListConstIterator 2014-12-05 22:28:16 +01:00
Benoit Blanchon
f3a84857d9 Removed unused function 2014-11-22 18:54:40 +01:00
Benoit Blanchon
3b77dbbed7 Fixed warnings in Visual Studio 2014-11-11 18:18:26 +01:00
Benoit Blanchon
0911d8d796 Fixed cpplint warnings 2014-11-11 16:41:45 +01:00
Benoit Blanchon
3cfd36a5ce Reduced size by 16 bytes by inlining indent() and unindent() 2014-11-09 16:10:30 +01:00
Benoit Blanchon
3919f07890 Reduced size by 22 bytes by removing writeEmptyArray() and writeEmptyObject() 2014-11-09 13:54:03 +01:00
Benoit Blanchon
05db56760f Reduced size by 38 bytes by inlining addNode() 2014-11-08 21:22:03 +01:00
Benoit Blanchon
e94089ca56 Reduced size by 52 bytes by inlining createNode() 2014-11-08 21:16:47 +01:00
Benoit Blanchon
dc1d0ca698 Added #include <ListNode.hpp> 2014-11-08 21:16:14 +01:00
Benoit Blanchon
627d85ce23 Added #pragma once 2014-11-08 21:15:34 +01:00
Benoit Blanchon
f6133f2d36 Reduced size by 300 bytes by reusing the JsonPrettyPrint from v3 2014-11-08 19:40:07 +01:00
Benoit Blanchon
5a56ec0636 Renamed writeInteger to writeLong to be more consistent 2014-11-07 13:27:42 +01:00
Benoit Blanchon
35a95f00d9 Inlined the content of JsonWriter.cpp 2014-11-07 13:23:11 +01:00
Benoit Blanchon
579c9359df Added comments 2014-11-06 16:08:06 +01:00
Benoit Blanchon
885e35e892 Added comments 2014-11-06 14:48:14 +01:00
Benoit Blanchon
e7864c9566 Use Print& instead of Print* 2014-11-06 14:29:29 +01:00
Benoit Blanchon
6e67bc442f Added comments 2014-11-06 14:27:14 +01:00
Benoit Blanchon
ac9b776aa1 Fixed remaining cpplint warnings 2014-11-06 14:08:53 +01:00
Benoit Blanchon
1e02fabdec Simplified JsonWriter and PrettyJsonWriter 2014-11-06 13:52:33 +01:00
Benoit Blanchon
79bfe731af Added comments 2014-11-06 13:42:16 +01:00
Benoit Blanchon
a3425a6306 Added a nesting limit to the parser to prevent stack overflow that could be a security issue 2014-11-06 10:24:37 +01:00
Benoit Blanchon
f360cc664c Added empty line at end of file 2014-11-06 09:28:28 +01:00
Benoit Blanchon
342b079133 Rename Node into ListNode 2014-11-05 13:14:15 +01:00
Benoit Blanchon
8138c64116 Renamed NodeIterator into ListIterator 2014-11-05 13:12:20 +01:00
Benoit Blanchon
64b4e15ce6 Added tests of JsonObject::const_iterator 2014-11-05 13:10:22 +01:00
Benoit Blanchon
a9f4f611d4 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:53:08 +01:00
Benoit Blanchon
0fb4fa8f86 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:43:59 +01:00
Benoit Blanchon
7d73e63c78 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:38:36 +01:00
Benoit Blanchon
ebb591ef28 Extracting a common base class for JsonArray and JsonObject... 2014-11-05 11:28:19 +01:00
Benoit Blanchon
31dea656d5 Splitted JsonIterator into NodeIterator and NodeConstIterator 2014-11-05 11:16:36 +01:00
Benoit Blanchon
768312e870 Merged JsonArrayNode and JsonObjectNode into a single template 2014-11-05 11:09:48 +01:00
Benoit Blanchon
5d0e326bfd Removed JsonPair constructor 2014-11-05 09:31:29 +01:00
Benoit Blanchon
bafec6f1a3 Unified JsonArrayNode and JsonObjectNode 2014-11-05 09:24:15 +01:00
Benoit Blanchon
c6d11294e4 Replaced JsonArrayIterator and JsonArrayConstIterator by a template 2014-11-05 09:04:26 +01:00
Benoit Blanchon
6ce2497879 Move JsonPrintable into Internals/ 2014-11-05 08:53:41 +01:00
Benoit Blanchon
09f6d059a7 Renamed JsonValue to JsonVariant 2014-11-04 09:51:25 +01:00
Benoit Blanchon
d9cc259df3 Added declaration for placement new because it was not available in Arduino 2014-11-03 21:29:19 +01:00
Benoit Blanchon
04cde11a04 Now use uint8_t to store decimal count 2014-11-03 18:28:24 +01:00
Benoit Blanchon
2f8fde6772 Added ReferenceType::operator!=() 2014-11-03 18:25:17 +01:00
Benoit Blanchon
1ce6d663af Replaced 0 literals by more explicit '\0' and NULL 2014-11-03 17:03:55 +01:00
Benoit Blanchon
54f9bd9572 Simplified JsonWriter hierarchy 2014-11-03 12:58:52 +01:00
Benoit Blanchon
2a60c96baf Removed virtuals from JsonWriter hierarchy 2014-11-03 12:51:24 +01:00
Benoit Blanchon
507f809da0 Merge branch 'merge-parser-and-generator' of github.com:bblanchon/ArduinoJson into merge-parser-and-generator 2014-11-03 11:46:49 +01:00
Benoit Blanchon
fead9b50b1 Fixed bug in parser when "null", "true" or "false" is mispelled 2014-10-31 21:08:04 +01:00
Benoit Blanchon
d35b680481 Removed ForwardDeclarations.hpp 2014-10-31 12:27:33 +01:00
Benoit Blanchon
ca0fbf00f9 Cleaning up... 2014-10-31 12:16:32 +01:00
Benoit Blanchon
5443e90baf Cleaning up... 2014-10-31 12:02:15 +01:00
Benoit Blanchon
889f059758 All tests passed! 2014-10-30 21:51:59 +01:00
Benoit Blanchon
45a8ed6531 Huge refactoring in progress... 2014-10-30 15:31:27 +01:00