Commit Graph

  • 589bbbfcca VariantImpl: add toArrayIfNull() and toObjectIfNull() 7.5 Benoit Blanchon 2025-07-24 18:40:38 +02:00
  • 03da4aad99 MsgPackSerializer: use iterators to serialize array and objects Benoit Blanchon 2025-07-23 16:31:19 +02:00
  • 60a767c706 JsonSerializer: use iterators to serialize array and objects Benoit Blanchon 2025-07-23 16:14:03 +02:00
  • 274fe06b33 VariantImpl: add copy functions Benoit Blanchon 2025-07-20 18:23:03 +02:00
  • f680598a2f VariantImpl: remove addValue() Benoit Blanchon 2025-07-20 14:56:06 +02:00
  • e86c6acf2e Return bool from all built-in toJson converters Benoit Blanchon 2025-07-17 22:11:36 +02:00
  • 0021ec81d1 StringPool: change dereference to take a StringNode* Benoit Blanchon 2025-07-16 12:32:35 +02:00
  • 372f2f2767 VariantImpl: extract asOwnedString() Benoit Blanchon 2025-07-16 12:26:28 +02:00
  • fc8da90ba7 VariantImpl: extract setOwnedString() Benoit Blanchon 2025-07-16 12:15:58 +02:00
  • 38f61d322f VariantImpl: change setRawString() to return bool Benoit Blanchon 2025-07-16 12:11:58 +02:00
  • 3793996d83 VariantImpl: change setRawString() to take an adapted string Benoit Blanchon 2025-07-16 12:08:26 +02:00
  • 43548db37d ResourceManager: move out-of-class definitions back in the class Benoit Blanchon 2025-07-15 18:32:38 +02:00
  • 59573ac1f9 ResourceManager: decouple from VariantImpl Benoit Blanchon 2025-07-14 19:13:31 +02:00
  • 14a48978d9 CollectionIterator: rename next() to move() Benoit Blanchon 2025-07-14 18:59:02 +02:00
  • 2fa8b9664c VariantImpl: move out-of-class definitions back in the class Benoit Blanchon 2025-07-14 18:30:28 +02:00
  • 2e20ce0795 CollectionIterator: remove friendship with VariantImpl Benoit Blanchon 2025-07-11 18:36:51 +02:00
  • a5164f7fe3 CollectionIterator: remove data() Benoit Blanchon 2025-07-11 18:34:17 +02:00
  • a9996d2293 VariantImpl: rename getResourceManager() to resources() Benoit Blanchon 2025-07-11 18:31:38 +02:00
  • f9655a90ed VariantImpl: rename getData() to data() Benoit Blanchon 2025-07-11 18:30:10 +02:00
  • 25942cce2d CollectionIterator: replace value() with operator* and operator-> Benoit Blanchon 2025-07-11 18:24:51 +02:00
  • c6fa8c1c1f Add VariantImpl in CollectionIterator Benoit Blanchon 2025-07-11 18:19:35 +02:00
  • 5589633697 Add ResourceManager* in CollectionIterator +80 Benoit Blanchon 2025-07-11 14:53:35 +02:00
  • 7b7ee6cdeb Add VariantImpl::isUnbound() Benoit Blanchon 2025-07-11 14:32:30 +02:00
  • dca5ba481f CollectionIterator: add value() member function Benoit Blanchon 2025-07-10 18:44:59 +02:00
  • ec53525452 Rename CollectionData.hpp to CollectionIterator.hpp Benoit Blanchon 2025-07-10 18:19:37 +02:00
  • 0b9a8b6d2b Replace getData()/getResourceManager() with getImpl() Benoit Blanchon 2025-07-07 15:53:37 +02:00
  • f62d6f26e0 Merge ArrayImpl, CollectionImpl, and ObjectImpl into VariantImpl Benoit Blanchon 2025-07-04 09:57:02 +02:00
  • 1f1227d595 CollectionImpl: attach to VariantData* instead of CollectionData* Benoit Blanchon 2025-07-03 11:03:10 +02:00
  • 6f28ec0384 CollectionImpl: add allocVariant(), getVariant(), freeVariant() Benoit Blanchon 2025-07-03 10:20:27 +02:00
  • 6ba4507252 CollectionImpl: add helper getCollectionData() Benoit Blanchon 2025-07-03 10:15:20 +02:00
  • a265ef4927 Move CollectionData definition Benoit Blanchon 2025-07-02 18:25:40 +02:00
  • 8790802ce3 Decouple VariantImpl from ArrayImpl and ObjectImpl Benoit Blanchon 2025-07-02 18:21:51 +02:00
  • f1b06b588e Move VariantImpl definition to VariantImpl.hpp Benoit Blanchon 2025-06-26 17:36:46 +02:00
  • 84fcd90658 Extract VariantImpl Benoit Blanchon 2025-06-26 14:59:10 +02:00
  • bd551fa4ce Extract ArrayImpl, CollectionImpl, and ObjectImpl Benoit Blanchon 2025-07-10 19:27:44 +02:00
  • d9c6a70595 JsonObject: replace ObjectData* member with VariantData* Benoit Blanchon 2025-06-15 12:55:13 +02:00
  • b44aa3a8b5 JsonArray: replace ArrayData* member with VariantData* Benoit Blanchon 2025-06-15 12:23:02 +02:00
  • c2290a2386 JsonObjectConst: replace ObjectData* member with VariantData* Benoit Blanchon 2025-06-15 12:34:38 +02:00
  • 4457cb7cc5 JsonArrayConst: replace ArrayData* member with VariantData* Benoit Blanchon 2025-06-15 12:32:37 +02:00
  • 1e0bbd518c Add a pool dedicated to 8-byte values (double/int64_t/uint64_t) Benoit Blanchon 2025-06-02 19:39:08 +02:00
  • cc077c1b63 Store static strings in a dedicated pool Benoit Blanchon 2025-02-24 15:35:09 +01:00
  • 509807d3c2 Remove CollectionIterator::nextId_ 7.x Benoit Blanchon 2025-07-10 19:16:47 +02:00
  • c07744dc0d CI: upgrade Windows runner Benoit Blanchon 2025-06-26 19:18:38 +02:00
  • 733bc4ee82 Set version to 7.4.2 v7.4.2 Benoit Blanchon 2025-06-20 09:37:14 +02:00
  • 9aa77994b4 Remove sponsor Programming Electronics Academy Benoit Blanchon 2025-06-20 08:43:48 +02:00
  • f051f8328d Undef true and false macros Benoit Blanchon 2025-06-19 11:23:05 +02:00
  • 53f858f55c Remove SlotData replace-ext-with-pool Benoit Blanchon 2025-06-02 15:57:34 +02:00
  • 6cdd59034d Clang-format Benoit Blanchon 2025-05-31 18:35:36 +02:00
  • 6ccac18fd4 Fix comments Benoit Blanchon 2025-05-31 18:34:07 +02:00
  • 3f6fff7d0c Fix JsonVariantTests Benoit Blanchon 2025-05-31 16:29:46 +00:00
  • cc2fea45cd All tests pass Benoit Blanchon 2025-05-31 16:47:03 +02:00
  • 4159af66eb JsonDeserializerTests pass Benoit Blanchon 2025-05-31 16:41:09 +02:00
  • 05942b620a JsonVariantTests pass Benoit Blanchon 2025-05-31 16:38:14 +02:00
  • 23c73b061e JsonArrayTests pass Benoit Blanchon 2025-05-31 16:37:08 +02:00
  • c2e756d942 ResourceManagerTests pass Benoit Blanchon 2025-05-31 16:31:31 +02:00
  • 94aacf873e Replace extension with eight-byte values Benoit Blanchon 2025-05-31 16:20:08 +02:00
  • bd2dccda0e Store static strings in a dedicated pool string-literals-pool-2 Benoit Blanchon 2025-02-24 15:35:09 +01:00
  • 411424b74e CI: upgrade clang-tidy Benoit Blanchon 2025-05-20 19:17:17 +02:00
  • 5e5c287978 CI: upgrade Clang versions Benoit Blanchon 2025-05-20 14:49:04 +02:00
  • 377cf63075 CI: upgrade runner to ubuntu-22.04 Benoit Blanchon 2025-05-20 10:17:02 +02:00
  • 3252013509 Set version to 7.4.1 v7.4.1 Benoit Blanchon 2025-04-11 15:43:42 +02:00
  • deab127a2f Fix crash with tiny Flash strings (issue #2170) Benoit Blanchon 2025-04-11 09:45:48 +02:00
  • 96281de682 Set version to 7.4.0 v7.4.0 Benoit Blanchon 2025-04-09 14:49:13 +02:00
  • f0e84e4933 Fix support for const char[] Benoit Blanchon 2025-04-07 09:46:02 +02:00
  • 91397f9f06 Optimize storage of tiny strings (up to 3 characters) Benoit Blanchon 2025-04-09 08:55:08 +02:00
  • 7f75985e47 Change StringBuffer::save() to take a VariantData* Benoit Blanchon 2025-02-28 10:05:50 +01:00
  • 05b68fc7cc Change StringBuilder::save() to take a VariantData* Benoit Blanchon 2025-02-28 09:59:46 +01:00
  • b06cee8f4d Remove the overload of setString() for StringNode Benoit Blanchon 2025-02-27 19:01:26 +01:00
  • e03d8ae885 Set version to 7.3.1 v7.3.1 Benoit Blanchon 2025-02-27 19:35:14 +01:00
  • f95dd7d204 Fix overflowed() string-literals-pool Benoit Blanchon 2025-02-26 14:22:09 +01:00
  • b529056a4a Fix tests on VS Benoit Blanchon 2025-02-26 11:47:14 +01:00
  • ee144b89a2 Deduplicate static strings Benoit Blanchon 2025-02-26 10:26:04 +01:00
  • 08b2400592 Store static string in a dedicated pool Benoit Blanchon 2025-02-24 17:48:37 +01:00
  • 907bb43481 Use strlen() for literals too Benoit Blanchon 2025-02-24 15:52:05 +01:00
  • 7dfa163695 Update changelog Benoit Blanchon 2025-02-24 15:35:20 +01:00
  • 905176ea17 Remove JsonString third argument Benoit Blanchon 2025-02-24 15:35:09 +01:00
  • cb1dcfa5e4 Reduce code size Benoit Blanchon 2025-02-27 11:06:33 +01:00
  • 67dd3120e6 Fix conversion from static string to number Benoit Blanchon 2025-02-27 11:01:51 +01:00
  • 9f3cf04415 Remove useless null check Benoit Blanchon 2025-02-24 16:40:42 +01:00
  • 01e49b33b7 Update copyright year Benoit Blanchon 2025-02-24 15:18:26 +01:00
  • 8f7e793f37 Set version to 7.3.0 v7.3.0 Benoit Blanchon 2024-12-29 17:15:57 +01:00
  • 254fa5712a Update the release scripts to include the breaking changes section Benoit Blanchon 2024-12-29 16:37:08 +01:00
  • de05814294 Move public facing SFINAEs to template declarations Benoit Blanchon 2024-12-23 17:44:52 +01:00
  • e33e78d202 Rename undocumented JsonString::isLinked() to isStatic() Benoit Blanchon 2024-11-26 14:32:21 +01:00
  • ed5f890d28 Replace JsonString::Ownership with bool Benoit Blanchon 2024-11-26 14:32:29 +01:00
  • 8931651317 JsonString: change default ownership to Copied Benoit Blanchon 2024-11-26 10:10:52 +01:00
  • c078957282 Remove unnecessary universal references Benoit Blanchon 2024-11-25 11:32:20 +01:00
  • cf084ae6b4 JsonString: move adapter class in the same file Benoit Blanchon 2024-11-25 11:45:35 +01:00
  • f02fcc96a2 JsonArray: remove redundant tests Benoit Blanchon 2024-11-25 11:28:14 +01:00
  • 594dc707cb Change string copy policy: only string literal are stored by pointer Benoit Blanchon 2024-11-25 11:32:03 +01:00
  • 5f8e3c0f0f Polyfills: test remove_cv Benoit Blanchon 2024-11-25 11:26:40 +01:00
  • afc0a29c2c Polyfills: add decay Benoit Blanchon 2024-11-25 11:26:29 +01:00
  • a256ec7fff RamString: use a bitfield to reduce size Benoit Blanchon 2024-11-25 11:16:22 +01:00
  • 019e8326b7 Implement JsonString from RamString Benoit Blanchon 2024-11-25 11:13:39 +01:00
  • bee1095042 Merge all RAM string adapters Benoit Blanchon 2024-11-12 14:48:25 +01:00
  • de59dce527 Fix typo in comments Benoit Blanchon 2024-11-25 10:46:34 +01:00
  • 57a9c50b38 Make ElementProxy and MemberProxy non-copyable Benoit Blanchon 2024-11-25 10:46:21 +01:00
  • 5e7653b36a Store adapted string in MemberProxy Benoit Blanchon 2024-11-13 14:50:18 +01:00
  • 8110058729 Fix support for NUL characters in deserializeJson() Benoit Blanchon 2024-11-17 15:40:21 +01:00
  • 7946ebe1a3 Wandbox: compile with gcc-head Benoit Blanchon 2024-11-15 09:13:00 +01:00