Commit Graph

  • af8c615266 Rename tests/JsonObject/copy.cpp to set.cpp Benoit Blanchon 2024-03-16 14:02:56 +01:00
  • bd13375729 CI: add timeouts in the gcc job Benoit Blanchon 2024-03-14 10:27:09 +01:00
  • 5f8502ce9d Upgrade to lock-threads version 5+ Benoit Blanchon 2024-03-14 09:51:44 +01:00
  • 1404b1ef70 Add a workaround for particle-iot/particle-cli#716 Benoit Blanchon 2024-03-12 09:58:43 +01:00
  • 36e1eecc7d Set version to 7.0.4 v7.0.4 Benoit Blanchon 2024-03-12 09:40:46 +01:00
  • ca2f80aeaf Add links to the documentation Benoit Blanchon 2024-02-21 10:48:50 +01:00
  • 8d3d9c718d Remove final from JsonArray, JsonObject, and JsonVariant Benoit Blanchon 2024-02-18 20:01:04 +01:00
  • f17fc055d3 Make JSON_STRING_SIZE(N) return N+1 to fix third-party code Benoit Blanchon 2024-02-18 19:58:22 +01:00
  • 04ac53d114 Remove final from JsonArray, JsonObject, and JsonVariant Benoit Blanchon 2024-02-18 19:48:20 +01:00
  • 5ed9daae91 Mark JsonArray, JsonObject, and JsonVariant as final Benoit Blanchon 2024-02-18 11:20:05 +01:00
  • 483a2c9101 Mark JsonArray, JsonObject, and JsonVariant as final Benoit Blanchon 2024-02-18 10:52:07 +01:00
  • 848c0cdc7e Set version to 7.0.3 v7.0.3 Benoit Blanchon 2024-02-05 13:34:38 +01:00
  • 46a807bd30 Remove unused NO_INLINE Benoit Blanchon 2024-02-05 11:56:08 +01:00
  • cb0dc94db4 Remove most FORCE_INLINEs Benoit Blanchon 2024-02-05 11:26:55 +01:00
  • 72642e3090 Fix compatibility with GCC 4.8 Benoit Blanchon 2024-02-01 21:37:45 +01:00
  • c98b05e207 Dont't inline JsonSerializer::visit(const ArrayData&) Benoit Blanchon 2024-01-31 16:16:25 +01:00
  • 2a87cc5839 Stop using CollectionIterator in MsgPackSerializer Benoit Blanchon 2024-01-31 17:45:55 +01:00
  • 296fe79bfd Stop using CollectionIterator in JsonSerializer Benoit Blanchon 2024-02-01 10:24:00 +01:00
  • 0e7262a77b Improve error messages when using char or char* Benoit Blanchon 2024-01-26 18:45:12 +01:00
  • 650d537b5d Improve error messages when using char or char* Benoit Blanchon 2024-01-26 10:34:49 +01:00
  • 0435945a62 Set version to 7.0.2 v7.0.2 Benoit Blanchon 2024-01-19 14:36:16 +01:00
  • 844a50296f Fix link to shrinkToFit()'s documentation Benoit Blanchon 2024-01-16 14:29:08 +01:00
  • 1b143d383b Fix assertion poolIndex < count_ after JsonDocument::clear() Benoit Blanchon 2024-01-16 10:10:43 +01:00
  • 40ee05c065 Set version to 6.21.5 v6.21.5 Benoit Blanchon 2024-01-10 21:27:06 +01:00
  • 632cb279f1 CI: publish package to PlatformIO registry Benoit Blanchon 2024-01-04 18:05:31 +01:00
  • 6e641ae0b0 Remove unused files in the PlatformIO package Benoit Blanchon 2024-01-04 18:01:52 +01:00
  • 94783fdd2a Set version to 7.0.1 v7.0.1 Benoit Blanchon 2024-01-10 21:14:07 +01:00
  • e41d5d4fa1 Shorten the library description Benoit Blanchon 2024-01-10 18:09:32 +01:00
  • 5dfa25d3dc Include the number of GitHub stars in the library description. Benoit Blanchon 2024-01-10 18:11:43 +01:00
  • a7bfc2212c Fix volatile bool serialized as 1 or 0 Benoit Blanchon 2024-01-10 13:30:26 +01:00
  • 5d1d2721d1 Fix volatile bool serialized as 1 or 0 Benoit Blanchon 2024-01-10 13:30:26 +01:00
  • 315cc722e9 Add more tests for JsonVariantConst Benoit Blanchon 2024-01-08 19:31:29 +01:00
  • ca0dda7ac1 Add more tests for JsonArrayConst Benoit Blanchon 2024-01-08 19:10:29 +01:00
  • 08cac13c43 Add more tests for JsonObjectConst Benoit Blanchon 2024-01-08 18:48:11 +01:00
  • 44d2d47863 CI: publish package to PlatformIO registry Benoit Blanchon 2024-01-04 18:05:31 +01:00
  • 3571db6290 Remove unused files in the PlatformIO package Benoit Blanchon 2024-01-04 18:01:52 +01:00
  • cc42373367 Fix "no matching function" with JsonObjectConst::operator[] Benoit Blanchon 2024-01-03 16:30:44 +01:00
  • 9dc43d14f3 Set version to 7.0.0 v7.0.0 1753836366424593813/tmp_refs/tags/v7.0.0 Benoit Blanchon 2024-01-03 09:19:34 +01:00
  • 3fa6b6e04f Fix typo in change log Benoit Blanchon 2024-01-03 09:19:14 +01:00
  • 2d47b3931d Remove legacy Arduino package from release assets Benoit Blanchon 2024-01-03 09:16:19 +01:00
  • 0e8a236583 Update copyright year Benoit Blanchon 2024-01-03 08:47:06 +01:00
  • 955815fbfa Fix function returns incomplete class type on IAR (issue #2001) Benoit Blanchon 2023-12-07 15:36:31 +01:00
  • 4cd03fbd26 Fix no instance of overloaded function... on IAR (fixes #2001) Benoit Blanchon 2023-12-06 17:34:42 +01:00
  • 3e1be980d9 Fix function returns incomplete class type on IAR (issue #2001) Benoit Blanchon 2023-12-07 14:43:40 +01:00
  • 38441691cd Set version to 6.21.4 v6.21.4 Benoit Blanchon 2023-12-07 10:10:23 +01:00
  • 6ed87029e2 Fix no instance of overloaded function... on IAR (fixes #2001) Benoit Blanchon 2023-12-06 17:34:42 +01:00
  • f7dcea562f CI: always use libc++ with clang Benoit Blanchon 2023-11-06 13:24:32 +01:00
  • 4774ca3d29 Force inline ZeroTerminatedRamString::size() Ported from 7517ecb91b Benoit Blanchon 2023-11-06 09:50:11 +01:00
  • 7517ecb91b Force inline ZeroTerminatedRamString::size() Resolves #1990 Benoit Blanchon 2023-11-06 09:50:11 +01:00
  • 26b2ff4c0f Reorder StringNode's members to reduce code size Benoit Blanchon 2023-10-09 14:55:49 +02:00
  • 7e6b89d21f Use only one byte for the string length on 8-bit platforms Benoit Blanchon 2023-10-09 14:53:16 +02:00
  • d20e64187b Use only one byte for the reference counter on 8-bit platforms Benoit Blanchon 2023-10-09 14:47:47 +02:00
  • 86e06c901f Add ARDUINOJSON_SIZEOF_POINTER Benoit Blanchon 2023-10-09 14:40:18 +02:00
  • 6fe4b9c01d Detect string length overflows Benoit Blanchon 2023-10-09 11:58:02 +02:00
  • 9b34069a3b Remove obsolete comments Benoit Blanchon 2023-09-25 15:16:41 +02:00
  • 30ea01bc31 StringExample: remove obsolete comment Benoit Blanchon 2023-09-24 18:12:01 +02:00
  • 92c9faf69f Fix 'std::string_view' has not been declared (issue #1967) Benoit Blanchon 2023-09-13 18:12:18 +02:00
  • b20653ee1a Fix 'std::string' has not been declared (issue #1967) Benoit Blanchon 2023-09-13 18:13:18 +02:00
  • 49e2a8d421 Fix 'std::string_view' has not been declared (issue #1967) Benoit Blanchon 2023-09-13 18:12:18 +02:00
  • 259855a87b Fix 'std::string' has not been declared (issue #1967) Benoit Blanchon 2023-09-13 18:13:18 +02:00
  • aebf042bae Test custom converter for char (#1963) Benoit Blanchon 2023-08-24 09:43:23 +02:00
  • 750d53f8c7 Update URLs to point to https://arduinojson.org/v7/ Benoit Blanchon 2023-08-19 16:08:12 +02:00
  • 7bd2ea1072 Remove mentions of the zero-copy mode Benoit Blanchon 2023-08-19 16:05:04 +02:00
  • 51c5f1a73a Fix a Clang-Tidy warning Benoit Blanchon 2023-08-10 19:27:03 +02:00
  • ac9b74df65 Show a warning when ARDUINOJSON_ENABLE_STRING_DEDUPLICATION is defined Benoit Blanchon 2023-08-10 18:38:05 +02:00
  • 305e80c09d Show an error if ARDUINOJSON_SLOT_OFFSET_SIZE is defined Benoit Blanchon 2023-08-10 18:28:38 +02:00
  • fc1f06822c CI: add GCC 12 Benoit Blanchon 2023-08-10 14:36:52 +02:00
  • a8c763c40e CI: add clang 11, 12, 13, 14, and 15 Benoit Blanchon 2023-08-10 14:36:13 +02:00
  • 7ab6fc078c CI: remove Clang 3.8 Benoit Blanchon 2023-08-10 18:18:30 +02:00
  • c98ba999af Add more tests of JsonDocument constructor Benoit Blanchon 2023-08-10 09:40:36 +02:00
  • 1d583f68da Add stubs for JSON_ARRAY_SIZE, JSON_OBJECT_SIZE, and JSON_STRING_SIZE Benoit Blanchon 2023-08-09 18:58:30 +02:00
  • e93fd7657f Add a "Breaking changes" section to the changelog Benoit Blanchon 2023-08-09 18:45:53 +02:00
  • 78399c2d78 Add a stub for createNestedObject() Benoit Blanchon 2023-08-09 15:57:25 +02:00
  • 8cc645c40c Add a stub for createNestedArray() Benoit Blanchon 2023-08-09 15:42:40 +02:00
  • 11373af344 Add a stub for add() Benoit Blanchon 2023-08-09 15:27:16 +02:00
  • 53d54ba9d7 Add a stub for shallowCopy() Benoit Blanchon 2023-08-09 15:19:15 +02:00
  • 2f31c932d7 Add a stub for memoryUsage() Benoit Blanchon 2023-08-09 18:07:24 +02:00
  • 93cb3d2fdc Add a stub for BasicJsonDocument Benoit Blanchon 2023-08-09 14:48:58 +02:00
  • be5d5300a2 Add a stub for DynamicJsonDocument Benoit Blanchon 2023-08-09 18:02:31 +02:00
  • ea5b019552 Add a stub for StaticJsonDocument Benoit Blanchon 2023-08-09 14:21:01 +02:00
  • bc6707b10c Rename tests/JsonObject/invalid.cpp to unbound.cpp Benoit Blanchon 2023-08-09 11:46:30 +02:00
  • adea7f4131 Extract VariantRefBaseImpl.hpp Benoit Blanchon 2023-08-09 11:41:55 +02:00
  • 7f459adc4b Remove createNestedArray() and createNestedObject() Benoit Blanchon 2023-08-09 11:31:29 +02:00
  • cdc1262127 Remove unused JsonDocument constructor Benoit Blanchon 2023-08-09 11:07:27 +02:00
  • f422b7b37d Replace add() with add<T>() (add(T) is still supported) Benoit Blanchon 2023-08-09 10:57:52 +02:00
  • 7a587ac2e2 Fix some getVariant() that were accidentally renamed to getSlot() Benoit Blanchon 2023-08-09 10:08:40 +02:00
  • 38941d5807 Tests: use sections for filters tests Benoit Blanchon 2023-08-01 19:14:11 +02:00
  • 57454cf97b Don't call shrinkToFit() for deserializeXxx(JsonVariant) Benoit Blanchon 2023-08-01 18:39:35 +02:00
  • af6954c224 serializeXxx() sets std::string and String instead of appending Benoit Blanchon 2023-07-31 18:37:35 +02:00
  • 3003756adb Reformat filters test file Benoit Blanchon 2023-07-31 17:34:53 +02:00
  • 218a12ca46 Call shrinkToFit() in deserializeJson() and deserializeMsgPack() Benoit Blanchon 2023-07-31 17:34:17 +02:00
  • 752d01a7f1 Add an enable_if to validate the first argument to deserializeXxx() Benoit Blanchon 2023-07-29 12:05:06 +02:00
  • 43eed00cd9 Add deserializeXxx(JsonVariant, ...) (resolves #1226) Benoit Blanchon 2023-07-29 05:07:20 +02:00
  • bc8ea36781 Tests: gather deserializeMsgPack() errors test cases Benoit Blanchon 2023-07-29 06:24:08 +02:00
  • 8fb187baed Tests: gather deserializeJson() errors test cases Benoit Blanchon 2023-07-27 14:52:58 +02:00
  • db5b5f9ee2 Fix a typo in the changelog Benoit Blanchon 2023-07-29 06:33:29 +02:00
  • 9122d87f12 Tests: remove duplicate test of incomplete input Benoit Blanchon 2023-07-27 14:31:56 +02:00
  • 9a11d98117 Tests: make allocator assertions more readable Benoit Blanchon 2023-07-26 06:06:38 +02:00
  • 30ec507989 Tests: use a consistent naming convention for allocators Benoit Blanchon 2023-07-25 14:53:54 +02:00
  • 7a76da3bc7 Tests: rename ControllableAllocator to KillswitchAllocator Benoit Blanchon 2023-07-25 14:46:25 +02:00