Commit Graph

  • 4327f72140 Remove VariantSlot Benoit Blanchon 2024-08-25 14:42:41 +02:00
  • f7f1b9745d Hide FreeSlot in MemoryPoolList Benoit Blanchon 2024-08-25 14:39:18 +02:00
  • cec18177b0 Move sizeofArray() and sizeofObject() Benoit Blanchon 2024-08-25 14:33:36 +02:00
  • f2894552f2 Rename VariantPool to MemoryPool Benoit Blanchon 2024-08-25 11:44:38 +02:00
  • d3721cb122 Make VariantSlot a union. Include next slot id in VariantData Benoit Blanchon 2024-08-24 18:18:28 +02:00
  • ab72bb8601 Rename flags_ to type_ Benoit Blanchon 2024-08-24 10:53:29 +02:00
  • 09c89dcacf Store object members with two slots: one for the key and one for the value Benoit Blanchon 2024-08-23 15:31:47 +02:00
  • a2b09bfbd2 Remove unused code Benoit Blanchon 2024-08-23 15:28:44 +02:00
  • 386105be90 Allocate slot before key Benoit Blanchon 2024-08-23 15:27:46 +02:00
  • 83516e1740 Split conf_test between linux and windows Benoit Blanchon 2024-08-23 15:24:45 +02:00
  • bf99aeedb1 Add @LArkema to the list of sponsors 💖 Benoit Blanchon 2024-07-02 10:27:36 +02:00
  • 22dd4da3af Set version to 7.1.0 v7.1.0 Benoit Blanchon 2024-06-27 18:20:22 +02:00
  • 55c3b9b3a7 CI: update macOS runner to macos-13 Benoit Blanchon 2024-06-17 13:54:43 +02:00
  • d83515dcda Add DevContainer files for Clang 13 to 17 Benoit Blanchon 2024-06-17 17:44:04 +02:00
  • e34c27723a Fix build on modern compilers Benoit Blanchon 2024-06-17 17:43:44 +02:00
  • b23ff65b99 Reduce MsgPack deserializer size Benoit Blanchon 2024-06-18 13:51:33 +02:00
  • 556785dc1e Read MsgPack's 64-bit ints even if ARDUINOJSON_USE_LONG_LONG is 0 Benoit Blanchon 2024-06-18 13:50:50 +02:00
  • e9c87858d1 Remove files.associations from vscode settings Benoit Blanchon 2024-06-18 09:22:24 +02:00
  • 208e7a3304 Fix integer overflow in MsgPackDeserializer Benoit Blanchon 2024-06-08 18:49:42 +02:00
  • 45611924f3 Tests: add user-defined literal ""_s for std::string Benoit Blanchon 2024-06-07 09:35:45 +02:00
  • 5b88b2c1f6 Update GitHub actions Benoit Blanchon 2024-06-06 18:41:17 +02:00
  • e4f3fd8c91 Add support for MsgPack extension Benoit Blanchon 2024-06-06 18:33:48 +02:00
  • aec642be20 Rename tests in MixedConfiguration Benoit Blanchon 2024-06-06 18:26:16 +02:00
  • 5a60c55be7 Don't add partial objects when allocation fails Benoit Blanchon 2024-05-23 18:36:24 +02:00
  • f99b2d63f9 Make error message more readable in case of an invalid conversion Benoit Blanchon 2024-05-23 14:01:30 +02:00
  • 1db803bcd3 Add helpers for type traits, such as enable_if_t Benoit Blanchon 2024-05-22 09:59:12 +02:00
  • 04326d2655 Allow Converter<T>::toJson() to return a boolean as an optimization Benoit Blanchon 2024-05-22 09:22:53 +02:00
  • 9e0c56acc3 Replace ConverterNeedsWriteableRef with function_traits Benoit Blanchon 2024-05-22 09:25:46 +02:00
  • 60f9f7eff6 Move CollectionData::releaseSlot() to ResourceManager::freeSlot() Benoit Blanchon 2024-05-17 16:32:39 +02:00
  • 0fe202af03 CI: don't build fuzzers with Clang 11 Benoit Blanchon 2024-05-16 15:15:40 +02:00
  • c41e8cc634 Add dev container for Clang 11 Benoit Blanchon 2024-05-16 14:31:54 +02:00
  • d486157a9e CMake: fix detection of GCC 4.8 Benoit Blanchon 2024-05-16 10:23:05 +02:00
  • 91aad55412 CI: set cancel-in-progress to true Benoit Blanchon 2024-05-16 09:48:19 +02:00
  • 98fca74f66 Fix undefined reference to VariantPool::usage() Benoit Blanchon 2024-05-16 09:41:16 +02:00
  • 60fb268d9a Fix UBSAN error "member call does not point to an object of type" Benoit Blanchon 2024-05-15 20:56:25 +02:00
  • f1899d3049 Fix error resources_ may be used uninitialized Benoit Blanchon 2024-05-16 09:30:41 +02:00
  • 4b779a7c1d Fix wrong build flags when COVERAGE is not defined Benoit Blanchon 2024-05-15 20:41:21 +02:00
  • 5d1aa04e21 CI: add Valgrind log to step summary Benoit Blanchon 2024-05-15 13:31:55 +02:00
  • 2f6db1edb0 CI: remove step summary Benoit Blanchon 2024-05-16 17:47:06 +02:00
  • aeb30ef307 Support ElementProxy and MemberProxy in JsonDocument's constructor Benoit Blanchon 2024-05-15 09:33:30 +02:00
  • 1c5e5db071 Test JsonDocument constructor with a JsonVariantConst argument Benoit Blanchon 2024-05-15 09:30:22 +02:00
  • 68a13117dc Allow using a JsonVariant as a key or index Benoit Blanchon 2024-05-14 21:06:02 +02:00
  • 071f718473 MsgPack: test failing string allocation Benoit Blanchon 2024-05-06 11:23:20 +02:00
  • 00949f8276 Remove redundant test Benoit Blanchon 2024-05-06 11:16:55 +02:00
  • 2c670e0148 Implement MsgPackBinary using raw strings and converters Benoit Blanchon 2024-05-01 19:27:23 +02:00
  • 002b07f0c5 Reduce the size of deserializeMsgPack() Benoit Blanchon 2024-05-02 20:29:00 +02:00
  • 5f5f927693 Add tests of as<MsgPackBinary>() Benoit Blanchon 2024-05-01 19:24:06 +02:00
  • 4d074840da Optimize deserializeMsgPack() Benoit Blanchon 2024-05-01 17:58:51 +02:00
  • 82de20ee14 Make string support even more generic David Gauchard 2024-05-01 13:59:55 +02:00
  • ece4d030a8 CI: update runner for the lint job Benoit Blanchon 2024-04-29 19:30:44 +02:00
  • 4d5c17b5f6 Remove unused #include statements Benoit Blanchon 2024-04-29 18:30:14 +02:00
  • 18a9a5b590 Add MsgPack bin8/bin16/bin32 support Aubrey (Sanae) 2024-04-29 14:47:40 +02:00
  • cd4bf33132 Fix error "pasting X and Y does not give a valid preprocessing token" Benoit Blanchon 2024-04-18 14:39:05 +02:00
  • 2cfefe22ac Add ARDUINOJSON_STRING_LENGTH_SIZE to the namespace name Benoit Blanchon 2024-04-18 14:19:43 +02:00
  • 0d43e51d48 Fix typo in "endianness" RoboSchmied 2024-03-25 19:18:34 +01:00
  • ef28064317 CI: merge the two "amalgamate" jobs Benoit Blanchon 2024-03-18 10:35:31 +01:00
  • 7c62cdb264 CI: update GitHub Actions Benoit Blanchon 2024-03-17 21:30:35 +01:00
  • 0ab4bdd691 CI: add a workaround for actions/runner-images#9491 Benoit Blanchon 2024-03-17 21:22:52 +01:00
  • 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
  • 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
  • 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
  • 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 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