Commit Graph

  • 7dece839d6 Extract VariantImpl reduce-variantimpl-squashed Benoit Blanchon 2025-09-30 18:18:16 +02:00
  • a96464b223 Rewrite all converters reduce-variantimpl-size Benoit Blanchon 2025-09-25 19:01:35 +02:00
  • 13474926bd Rewrite Converter<float> Benoit Blanchon 2025-09-23 18:13:03 +02:00
  • 77d83f422c Extract addValue NO CHANGE Benoit Blanchon 2025-09-22 19:27:37 +02:00
  • 080c8cbcc4 Extract addElement() NO CHANGE Benoit Blanchon 2025-09-22 19:23:42 +02:00
  • 0b19724b2f Extract getOrCreateMember() Benoit Blanchon 2025-09-22 19:11:49 +02:00
  • d24703d47f Use asObject() in accept() NO CHANGE Benoit Blanchon 2025-09-20 16:20:52 +02:00
  • 5b939e2e00 Extract asArray() NO CHANGE Benoit Blanchon 2025-09-20 16:16:11 +02:00
  • 98daccfdce Extract accept() Benoit Blanchon 2025-09-20 15:27:06 +02:00
  • bc8dcff2ab Extract setString() Benoit Blanchon 2025-09-17 22:12:56 +02:00
  • 7585c0f671 Extract asString() Benoit Blanchon 2025-09-17 22:02:45 +02:00
  • 8af294078f Extract asObject() Benoit Blanchon 2025-09-17 21:51:03 +02:00
  • 0e136aaf0a Extract toObject() Benoit Blanchon 2025-09-17 21:10:46 +02:00
  • f72526c093 Extract toArray() Benoit Blanchon 2025-09-17 21:07:35 +02:00
  • a9461f8e4d Extract setFloat() Benoit Blanchon 2025-09-17 19:27:07 +02:00
  • 71063c4ddb Extract setInteger() Benoit Blanchon 2025-09-17 18:26:05 +02:00
  • 769e10c8ed Move clear definition Benoit Blanchon 2025-09-17 09:49:37 +02:00
  • 4d13c523ef Call static clear directly Benoit Blanchon 2025-09-17 09:46:30 +02:00
  • c5d9cf6096 Extract clear() Benoit Blanchon 2025-09-02 13:54:10 +02:00
  • 86cbf3522b Extract VariantImpl Benoit Blanchon 2025-09-17 21:17:50 +02:00
  • ed6b470896 Replace VariantData& with VariantData* in deserializers Benoit Blanchon 2025-09-17 19:35:28 +02:00
  • bd90d19156 VariantImpl: add toArrayIfNull() and toObjectIfNull() 7.6 Benoit Blanchon 2025-07-24 18:40:38 +02:00
  • d397dc4dd9 MsgPackSerializer: use iterators to serialize array and objects Benoit Blanchon 2025-07-23 16:31:19 +02:00
  • 8ff4dd96c6 JsonSerializer: use iterators to serialize array and objects Benoit Blanchon 2025-07-23 16:14:03 +02:00
  • 75d6af2452 VariantImpl: add copy functions Benoit Blanchon 2025-08-28 09:57:13 +02:00
  • fdf0e9c387 VariantImpl: remove addValue() Benoit Blanchon 2025-07-20 14:56:06 +02:00
  • e59c7bab29 Return bool from all built-in toJson converters Benoit Blanchon 2025-07-17 22:11:36 +02:00
  • 0a778c6572 StringPool: change dereference to take a StringNode* Benoit Blanchon 2025-07-16 12:32:35 +02:00
  • 1b1786da7f VariantImpl: extract asStringNode() Benoit Blanchon 2025-07-16 12:26:28 +02:00
  • ead13a992f VariantImpl: extract setLongString() Benoit Blanchon 2025-07-16 12:15:58 +02:00
  • a14ea17b01 VariantImpl: change setRawString() to return bool Benoit Blanchon 2025-07-16 12:11:58 +02:00
  • a9f53a059e VariantImpl: change setRawString() to take an adapted string Benoit Blanchon 2025-07-16 12:08:26 +02:00
  • b46451d010 ResourceManager: move out-of-class definitions back in the class Benoit Blanchon 2025-07-15 18:32:38 +02:00
  • 1df5fb9862 ResourceManager: decouple from VariantImpl Benoit Blanchon 2025-07-14 19:13:31 +02:00
  • 65c72bb7e2 CollectionIterator: rename next() to move() Benoit Blanchon 2025-07-14 18:59:02 +02:00
  • 6a7474af02 VariantImpl: move out-of-class definitions back in the class Benoit Blanchon 2025-07-14 18:30:28 +02:00
  • 548d025964 CollectionIterator: remove friendship with VariantImpl Benoit Blanchon 2025-07-11 18:36:51 +02:00
  • b032909ff5 CollectionIterator: remove data() Benoit Blanchon 2025-07-11 18:34:17 +02:00
  • fe0ee4d7dd VariantImpl: rename getResourceManager() to resources() Benoit Blanchon 2025-08-22 14:59:55 +02:00
  • 650788837f VariantImpl: rename getData() to data() Benoit Blanchon 2025-07-11 18:30:10 +02:00
  • 71656b9a94 CollectionIterator: replace value() with operator* and operator-> Benoit Blanchon 2025-07-11 18:24:51 +02:00
  • 588223329f Add VariantImpl in CollectionIterator Benoit Blanchon 2025-07-11 18:19:35 +02:00
  • 121581e0d9 Add ResourceManager* in CollectionIterator +80 Benoit Blanchon 2025-07-11 14:53:35 +02:00
  • e64fb436d1 Add VariantImpl::isUnbound() Benoit Blanchon 2025-07-11 14:32:30 +02:00
  • 5a73db1fc0 CollectionIterator: add value() member function Benoit Blanchon 2025-07-10 18:44:59 +02:00
  • 9832ca6bab Rename CollectionData.hpp to CollectionIterator.hpp Benoit Blanchon 2025-07-10 18:19:37 +02:00
  • bcc0ab8a9e Replace getData()/getResourceManager() with getImpl() Benoit Blanchon 2025-07-07 15:53:37 +02:00
  • 1c9b2263df Merge ArrayImpl, CollectionImpl, and ObjectImpl into VariantImpl Benoit Blanchon 2025-07-04 09:57:02 +02:00
  • d7790177d2 CollectionImpl: attach to VariantData* instead of CollectionData* Benoit Blanchon 2025-07-03 11:03:10 +02:00
  • fd25787c9d CollectionImpl: add allocVariant(), getVariant(), freeVariant() Benoit Blanchon 2025-07-03 10:20:27 +02:00
  • 4c50b05243 CollectionImpl: add helper getCollectionData() Benoit Blanchon 2025-07-03 10:15:20 +02:00
  • fec0406242 Move CollectionData definition Benoit Blanchon 2025-07-02 18:25:40 +02:00
  • b370b86cf4 Decouple VariantImpl from ArrayImpl and ObjectImpl Benoit Blanchon 2025-07-02 18:21:51 +02:00
  • 3a666248da Move VariantImpl definition to VariantImpl.hpp Benoit Blanchon 2025-08-22 20:32:46 +02:00
  • 9328220eef Extract VariantImpl Benoit Blanchon 2025-06-26 14:59:10 +02:00
  • 539b66fc7a Extract ArrayImpl, CollectionImpl, and ObjectImpl 7.x Benoit Blanchon 2025-07-10 19:27:44 +02:00
  • 6e7eddb959 JsonObject: replace ObjectData* member with VariantData* Benoit Blanchon 2025-06-15 12:55:13 +02:00
  • 3a49896200 JsonArray: replace ArrayData* member with VariantData* Benoit Blanchon 2025-06-15 12:23:02 +02:00
  • c743c1e327 JsonObjectConst: replace ObjectData* member with VariantData* Benoit Blanchon 2025-06-15 12:34:38 +02:00
  • c541c57900 JsonArrayConst: replace ArrayData* member with VariantData* Benoit Blanchon 2025-06-15 12:32:37 +02:00
  • db2eec46c7 Add a pool dedicated to 8-byte values (double/int64_t/uint64_t) Benoit Blanchon 2025-08-30 09:55:32 +02:00
  • dddc4912c4 Don't store string literals by pointer anymore Benoit Blanchon 2025-08-28 10:04:11 +02:00
  • 589bbbfcca VariantImpl: add toArrayIfNull() and toObjectIfNull() 7.6-with-static-string-pool 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