Commit Graph

  • 636c8c36eb Decouple MemoryPool from VariantSlot Benoit Blanchon 2023-05-22 17:43:50 +02:00
  • 5070fa6562 Rename memberFilter to elementFilter in deserializers Benoit Blanchon 2023-05-22 10:23:43 +02:00
  • d9e035a288 Remove VariantData::isEnclosed() Benoit Blanchon 2023-05-22 09:46:35 +02:00
  • aba8974148 Extract StringNode.hpp Benoit Blanchon 2023-05-22 09:05:48 +02:00
  • 044a4753d2 Rename StringCopier to StringBuilder Benoit Blanchon 2023-05-10 10:12:55 +02:00
  • ff0deee793 Remove string storage policy to always use StringCopier Benoit Blanchon 2023-05-10 10:02:18 +02:00
  • 37357086e2 Remove the zero-copy mode Benoit Blanchon 2023-05-10 09:55:21 +02:00
  • 4d00ed9efc Fix build on ESP32 (caused by espressif/arduino-esp32#7941) Benoit Blanchon 2023-05-02 10:48:02 +02:00
  • cd5566cd40 Add a test for #1922 Benoit Blanchon 2023-05-06 10:32:33 +02:00
  • 9321f8fdab Remove string size from VariantContent (#1650) Benoit Blanchon 2023-05-02 18:44:12 +02:00
  • 167ea08c53 Pass StringNode* to VariantData Benoit Blanchon 2023-05-02 18:29:19 +02:00
  • 5c0338970c Remove StoragePolicy Benoit Blanchon 2023-05-02 17:52:53 +02:00
  • 6b4dd3ff2f Fix build on ESP32 (caused by espressif/arduino-esp32#7941) Benoit Blanchon 2023-05-02 10:48:02 +02:00
  • fead19560c Rename visitRawJson() to visitRawString() Benoit Blanchon 2023-05-02 10:04:09 +02:00
  • 86772d33bc Rename VALUE_IS_OWNED_RAW to VALUE_IS_RAW_STRING Benoit Blanchon 2023-05-02 10:03:37 +02:00
  • a035116018 Remove unused struct RawData Benoit Blanchon 2023-05-02 09:59:57 +02:00
  • 806fa907ab Always store serialized("string") by copy (#1915) Benoit Blanchon 2023-05-02 09:36:40 +02:00
  • 95f5d9d134 Fix compatibility with the Blynk libary (fixes #1914) Benoit Blanchon 2023-04-18 14:48:01 +02:00
  • 03139a08af Set default for ARDUINOJSON_ENABLE_PROGMEM to 1 on AVR Benoit Blanchon 2023-04-12 11:24:49 +02:00
  • acfbf26e37 CI: check build configuration on AVR Benoit Blanchon 2023-04-12 11:09:26 +02:00
  • 461cdaa818 Allow using PROGMEM outside of Arduino (fixes #1903) Benoit Blanchon 2023-04-07 18:19:33 +02:00
  • dd46813dc0 Change naming convention from _member to member_ (fixes #1905) Benoit Blanchon 2023-04-21 18:53:16 +02:00
  • 5d796781fb Increase coverage Benoit Blanchon 2023-04-21 16:23:03 +02:00
  • f5e7570f84 Simplify CollectionData to work only with VariantSlot* Benoit Blanchon 2023-04-17 11:57:19 +02:00
  • 003087406c Reference-count shared strings Benoit Blanchon 2023-04-17 09:46:41 +02:00
  • b7c8e0d25c Decouple VariantData from MemoryPool Benoit Blanchon 2023-04-17 10:41:37 +02:00
  • 52d8a65cbc Fix compatibility with the Blynk libary (fixes #1914) Benoit Blanchon 2023-04-18 14:48:01 +02:00
  • 30c111fd3d Remove callback from storeString() Benoit Blanchon 2023-04-17 09:42:59 +02:00
  • 9d0714efdf Remove unused MemoryPool::_left Benoit Blanchon 2023-04-08 09:29:01 +02:00
  • d8f3058efa Store the strings in the heap Benoit Blanchon 2023-04-11 10:03:47 +02:00
  • 420221f078 Set version to 6.21.2 v6.21.2 Benoit Blanchon 2023-04-12 14:35:25 +02:00
  • 082ae69e86 Set default for ARDUINOJSON_ENABLE_PROGMEM to 1 on AVR Benoit Blanchon 2023-04-12 11:24:49 +02:00
  • 976a6d7594 CI: check build configuration on AVR Benoit Blanchon 2023-04-12 11:09:26 +02:00
  • 7c0fa7c276 Add MemoryPool::deallocPool() Benoit Blanchon 2023-04-08 09:20:27 +02:00
  • 6eb4f45fb9 Tests: ControllableAllocator controls reallocate() too Benoit Blanchon 2023-04-08 09:18:15 +02:00
  • b3132cac3a Tests: add SpyingAllocator::clearLog() Benoit Blanchon 2023-04-07 18:29:54 +02:00
  • d95a3bd19a Tests: add TimebombAllocator Benoit Blanchon 2023-04-07 18:28:41 +02:00
  • 22e4f216c3 Tests: allow ArmoredAllocator to be called multiple times Benoit Blanchon 2023-04-07 18:27:29 +02:00
  • 40daf56b5a Allow using PROGMEM outside of Arduino (fixes #1903) Benoit Blanchon 2023-04-07 18:19:33 +02:00
  • e9850152a7 Tests: replace constants with sizeofString(n) Benoit Blanchon 2023-04-07 14:43:16 +02:00
  • 31ce648e63 Change naming convention from _member to member_ (fixes #1905) Benoit Blanchon 2023-04-07 09:02:23 +02:00
  • 5e0e35615c Double speed of DynamicJsonDocument::garbageCollect() Benoit Blanchon 2023-04-05 16:50:52 +02:00
  • c4b879645a Remove JsonDocument::capacity() Benoit Blanchon 2023-04-02 16:47:37 +02:00
  • 6afa6b647c Test: Support failed allocations in SpyingAllocator Benoit Blanchon 2023-04-03 08:52:38 +02:00
  • acd465b365 Test: change ControllableAllocator into a decorator Benoit Blanchon 2023-04-02 16:55:02 +02:00
  • e858570afb Test: change SpyingAllocator into a decorator Benoit Blanchon 2023-04-02 16:51:20 +02:00
  • 0643c2e708 Test: gather JsonDocument constructor and assignment tests Benoit Blanchon 2023-04-01 19:10:35 +02:00
  • bcf1339e89 Test: split JsonDocument.cpp into multiple files Benoit Blanchon 2023-04-01 15:14:21 +02:00
  • dc463a2f72 Test: remove REQUIRE_JSON() Benoit Blanchon 2023-04-01 15:06:37 +02:00
  • a7cdf638e7 Test: move ControllableAllocator Benoit Blanchon 2023-04-01 15:06:24 +02:00
  • 57810af2ac Test: include deallocated size in allocator's log Benoit Blanchon 2023-04-01 10:59:34 +02:00
  • 2eb726b744 Test: add AllocatorLog Benoit Blanchon 2023-04-01 10:34:37 +02:00
  • 912137ccfb Test: share SpyingAllocator Benoit Blanchon 2023-03-31 14:36:24 +02:00
  • 035c913c72 Remove ARDUINOJSON_ENABLE_STRING_DEDUPLICATION Benoit Blanchon 2023-03-29 19:28:44 +02:00
  • 3f43c2b816 Remove JSON_ARRAY_SIZE(), JSON_OBJECT_SIZE(), and JSON_STRING_SIZE() Benoit Blanchon 2023-03-29 19:18:06 +02:00
  • 0328f66340 Fix compatibility with GCC 5.2 Benoit Blanchon 2023-03-27 11:00:20 +02:00
  • b3eada9c7f CI: restore build on GCC 5 Benoit Blanchon 2023-03-27 08:48:44 +02:00
  • 8516b368ad Set version to 7.0.0-alpha Benoit Blanchon 2023-03-28 14:45:55 +02:00
  • d0fff5a0b5 Update branch to 7.x Benoit Blanchon 2023-03-28 14:43:48 +02:00
  • 4c8d4b4e20 Remove badges linking to the library registries Benoit Blanchon 2023-03-28 14:43:03 +02:00
  • 4ba9c1b0c0 Add Dev Container configs Benoit Blanchon 2023-03-27 18:59:21 +02:00
  • 19c5bb7f15 Pass -v to particle command line Benoit Blanchon 2023-03-27 14:22:15 +02:00
  • cb850bc1b1 Set version to 6.21.1 v6.21.1 Benoit Blanchon 2023-03-27 14:05:53 +02:00
  • 481e4d2ffb Add timeouts for particle commands Benoit Blanchon 2023-03-27 14:05:10 +02:00
  • 9e9015f4b9 Fix compatibility with GCC 5.2 (fixes #1897) Benoit Blanchon 2023-03-27 11:00:20 +02:00
  • 74601b2585 CI: restore build on GCC 5 Benoit Blanchon 2023-03-27 08:48:44 +02:00
  • 5faa3df43f MemoryPool calls the Allocator directly Benoit Blanchon 2023-03-20 12:28:34 +01:00
  • 540901e219 Merge DynamicJsonDocument with JsonDocument Benoit Blanchon 2023-03-20 10:49:01 +01:00
  • db9258bcd7 Remove BasicJsonDocument Benoit Blanchon 2023-03-20 14:49:08 +01:00
  • 24aaab6e3e Add abstract Allocator class Benoit Blanchon 2023-03-20 14:47:27 +01:00
  • 9bb3f4051d Double speed of DynamicJsonDocument::garbageCollect() Benoit Blanchon 2023-03-20 12:32:52 +01:00
  • 17a482a9b1 Remove StaticJsonDocument Benoit Blanchon 2023-03-15 14:54:55 +01:00
  • 5edd435fe9 Add a constructor to VariantData Benoit Blanchon 2023-03-20 10:14:54 +01:00
  • 46bd98fd10 JsonObject::createNestedArray() returns JsonArray::invalid() if key is null 5.x Benoit Blanchon 2023-03-16 17:52:34 +01:00
  • 63c89f166d JsonObject::createNestedObject() returns JsonObject::invalid() if key is null (fixes #1891) Benoit Blanchon 2023-03-16 17:47:53 +01:00
  • 8340b36170 Update copyright notice Benoit Blanchon 2023-03-16 17:50:34 +01:00
  • de9239caab Set version to 6.21.0 v6.21.0 Benoit Blanchon 2023-03-14 21:05:56 +01:00
  • c89a2025ce Make string support generic (issue #1807) Benoit Blanchon 2023-03-13 12:19:05 +01:00
  • 42ae8c3037 Remove negativeBinaryPowersOfTenPlusOne Benoit Blanchon 2023-02-22 14:52:35 +01:00
  • 319ececf26 Keep only one implementation of make_float() Benoit Blanchon 2023-02-22 14:35:05 +01:00
  • 886254c41e Reduce size of make_float() Benoit Blanchon 2023-02-22 14:07:01 +01:00
  • 4e7099dc73 Add pgm_ptr<T> Benoit Blanchon 2023-02-22 11:54:18 +01:00
  • 26948cb83a Use 64-bits literals to forge 64-bits literals Benoit Blanchon 2023-02-22 11:40:08 +01:00
  • 0f8698e655 Replace ARDUINOJSON_EXPANDX with variadic macros (#1820) Benoit Blanchon 2023-02-22 11:24:41 +01:00
  • b2b995edb3 Use delete instead of hiding copy constructors and assignments (#1820) Benoit Blanchon 2023-02-17 10:58:02 +01:00
  • 33a4773fbd Set clang-format standard to C++11 (#1820) Benoit Blanchon 2023-02-16 11:51:02 +01:00
  • daa87e12dc Update copyright notice Benoit Blanchon 2023-02-16 11:45:01 +01:00
  • 5abf512276 Reduce number of overloads of deserializeJson() and deserializeMsgPack() (#1820) Benoit Blanchon 2023-02-16 11:17:15 +01:00
  • 0dd4a68913 Use only letters to encode configuration in the namespace Benoit Blanchon 2023-02-13 18:55:26 +01:00
  • 8971127b66 Fix build on GCC 6 Benoit Blanchon 2023-02-13 18:50:48 +01:00
  • 1b66a217bf Replace ARDUINOJSON_NAMESPACE with an inline namespace (#1820) Benoit Blanchon 2023-02-14 10:04:48 +01:00
  • 34dd46110b Remove safe bool idiom (#1820) Benoit Blanchon 2023-02-13 11:12:41 +01:00
  • 8f7211a50f Remove ARDUINOJSON_HAS_NULLPTR (#1820) Benoit Blanchon 2023-02-10 09:05:02 +01:00
  • 2be4ee732a Remove ARDUINOJSON_HAS_RVALUE_REFERENCES (#1820) Benoit Blanchon 2023-02-10 09:01:28 +01:00
  • 3bdedc9a2f Remove ARDUINOJSON_HAS_LONG_LONG (#1820) Benoit Blanchon 2023-02-10 08:45:29 +01:00
  • f699954f4d Remove support for __int64 (#1820) Benoit Blanchon 2023-02-10 08:41:12 +01:00
  • 407fc2cd45 Drop support for C++98/C++03 (closes #1820) Benoit Blanchon 2023-02-10 09:36:18 +01:00
  • 91fe6dcae8 Fix clang-tidy warning "Called C++ object pointer is null" Benoit Blanchon 2023-02-09 21:44:44 +01:00
  • 62dea9d364 Reformat CMake files Benoit Blanchon 2023-02-09 10:00:38 +01:00
  • e0bdc4bff1 Remove unused variables (fixes #1858) Benoit Blanchon 2023-02-09 09:24:45 +01:00