2104 Commits
Author SHA1 Message Date
Benoit Blanchon 7e75fd5dd9 Update TextFormatter::writeFloat() 2026-08-15 12:39:39 +02:00
Benoit Blanchon d9cc6ce2e2 WIP 2026-08-15 12:10:08 +02:00
Benoit Blanchon 270b6bc9b5 Restore parseDouble.cpp 2026-08-15 12:10:08 +02:00
Benoit Blanchon 9fd5a77f07 Restore parseFloat.cpp 2026-08-15 12:10:08 +02:00
Benoit Blanchon 02fdbbcfca Restore parseInteger tests 2026-08-15 12:10:08 +02:00
Benoit Blanchon 4227aa4e0a Solve the double/float test case 2026-08-15 12:10:08 +02:00
Benoit Blanchon 38b4cc2bfd Apply upstream changes 2026-08-15 12:10:08 +02:00
Benoit Blanchon e4c6941f42 Most parseNumber tests pass except the selection of float over double 2026-08-15 12:10:08 +02:00
Benoit Blanchon a86807bfe0 Replace parseNumber 2026-08-15 12:10:08 +02:00
Benoit Blanchon 1cd478f48e Order char escape table in descending order to allow early exit
Closes #2226
2026-08-11 10:31:20 +02:00
Benoit Blanchon b65dbe19e6 Swap characters in escapeTable()
This leads to slightly smaller code.
2026-08-11 10:23:50 +02:00
Benoit Blanchon 3536f9aea6 Make escapeTable() more readable
See #2226
2026-08-10 19:01:58 +02:00
Benoit Blanchon 7823e4a62b Update copyright year 2026-07-06 18:35:16 +02:00
Benoit Blanchon 705cd68944 CI: print clang-format version 2026-07-06 16:58:26 +02:00
Benoit Blanchon da04cda9a8 CI: upgrade third-party actions and runners 2026-07-06 16:58:26 +02:00
Benoit Blanchon 63ad93e9ee Remove the Lock Thread job
It now fails with the following error:

> "github-token" length must be less than or equal to 100 characters long

I don't think we need to lock threads automatically anymore, since the activity is much lower than it used to be.
2026-05-28 10:07:57 +02:00
Benoit Blanchon d4e745ab54 Rename make_float() to multiplyByPowerOfTen() 2026-03-03 17:53:57 +01:00
Benoit Blanchon 5ccf645dc1 Fix buffer overrun in make_float()
Fixes #2220
2026-03-03 17:53:57 +01:00
Benoit Blanchon ab8c9be609 Fuzzing: tidy CMakeLists.txt 2026-03-03 17:53:57 +01:00
Benoit Blanchon 029b3c52d6 Add pgm_array<T, N> as a bound-safe alternative to pgm_ptr<T>
See #2220
2026-03-03 17:53:57 +01:00
Benoit Blanchon a9bb1a1df5 Add a fuzzer for parseNumber()
See #2220
2026-03-03 17:53:08 +01:00
Benoit Blanchon 34888e54b0 CI: update macOS runner 2026-03-02 12:33:34 +01:00
Benoit Blanchon aa7fbd6c8b README: remove the "most popular" claim
This is, unfortunately, not the case anymore.

Closes #2209
2025-12-02 09:54:18 +01:00
Benoit Blanchon 21144d5691 Don't rely on array size to get the length of string literals
See #2189
2025-10-24 16:18:41 +02:00
Benoit Blanchon 5f96515360 Particle: update installation method 2025-10-23 14:00:47 +02:00
Benoit Blanchon bec657eda7 Return bool from all built-in toJson converters 2025-10-20 14:56:05 +02:00
Benoit Blanchon 1232f61e55 VariantImpl: change setRawString() to return bool 2025-10-20 14:25:03 +02:00
Benoit Blanchon 65518a8b00 VariantImpl: change setRawString() to take an adapted string 2025-10-20 14:21:01 +02:00
Benoit Blanchon a51865ca42 CollectionIterator: rename next() to move() 2025-10-20 12:08:06 +02:00
Benoit Blanchon af36add5d8 VariantImpl: rename getResourceManager() to resources() 2025-10-20 11:56:12 +02:00
Benoit Blanchon 3eced7d7ec VariantImpl: rename getData() to data() 2025-10-20 11:52:28 +02:00
Benoit Blanchon c4c5c69baf VariantImpl: move addValue() to JsonArray
This way VariantImpl doesn't need to support generic types, which removes the dependency from `VariantImpl` to `JsonVariant`.
2025-10-20 11:45:35 +02:00
Benoit Blanchon b017dfb13a ResourceManager: move out-of-class definitions back in the class 2025-10-17 14:52:42 +02:00
Benoit Blanchon 88769c44b4 ResourceManager: decouple from VariantImpl 2025-10-17 14:47:40 +02:00
Benoit Blanchon 01de2f3fbb Rename CollectionData.hpp to CollectionIterator.hpp
I also removed some of the unused include statements.
2025-10-17 14:32:36 +02:00
Benoit Blanchon 4a2568e3c8 Merge CollectionImpl into VariantImpl 2025-10-16 10:20:48 +02:00
Benoit Blanchon f124af3909 Merge ObjectImpl into VariantImpl 2025-10-15 17:52:35 +02:00
Benoit Blanchon 76eec98efd Merge ArrayImpl into VariantImpl 2025-10-14 09:54:24 +02:00
Benoit Blanchon 04823fd304 JsonDocument: fix double clear in to<T>() 2025-10-14 09:54:24 +02:00
Benoit Blanchon 3f62a2ca96 VariantImpl: change the visitor interface for arrays and objects 2025-10-14 09:54:24 +02:00
Benoit Blanchon 6dbdeca58a VariantImpl: extract static size() 2025-10-13 15:18:19 +02:00
Benoit Blanchon a159820ade CollectionImpl: attach to VariantData* instead of CollectionData* 2025-10-08 15:55:30 +02:00
Benoit Blanchon c222fc2f0a Move CollectionData definition 2025-10-06 15:50:20 +02:00
Benoit Blanchon b4024e7032 Move VariantImpl definition to VariantImpl.hpp 2025-10-03 14:35:17 +02:00
Benoit Blanchon 7dece839d6 Extract VariantImpl 2025-10-03 10:13:34 +02:00
Benoit Blanchon ed6b470896 Replace VariantData& with VariantData* in deserializers 2025-09-17 21:18:28 +02:00
Benoit Blanchon 539b66fc7a Extract ArrayImpl, CollectionImpl, and ObjectImpl 2025-08-30 09:55:33 +02:00
Benoit Blanchon 6e7eddb959 JsonObject: replace ObjectData* member with VariantData* 2025-08-30 09:55:33 +02:00
Benoit Blanchon 3a49896200 JsonArray: replace ArrayData* member with VariantData* 2025-08-30 09:55:33 +02:00
Benoit Blanchon c743c1e327 JsonObjectConst: replace ObjectData* member with VariantData* 2025-08-30 09:55:33 +02:00