Dr. Patrick Urbanke (劉自成)
ef0b0b4729
Added support for std::chrono::duration; fixes #399
2025-04-14 00:15:26 +08:00
Dr. Patrick Urbanke (劉自成)
d73d98f1c8
Change back to tomlplusplus ( #401 )
...
For a long time, tomlplusplus did generate a config.cmake file, which made it difficult to use on vcpkg. As a fix, we switched to toml11.
But this has now finally been added to vcpkg, and since tomlplusplus is faster than toml11 in terms of compile time and runtime, we are changing back.
2025-04-08 13:59:24 +08:00
Joel McKenzie
0530379830
Allow Boxes to conditionally be copyable with an explicit option ( #397 ) ( #398 )
2025-03-30 14:45:11 +08:00
Giovanni Claudio
74738ed131
Add enum range support with customizable min and max values ( #392 )
2025-03-28 15:58:36 +08:00
Joel McKenzie
46693806d1
Fix bugging disallowing optionals to hold items without copy constructors ( #390 )
2025-03-23 21:34:56 +08:00
Dr. Patrick Urbanke (劉自成)
c929d3fe0d
Do not allow the reading of floats as integers and vice versa ( #387 )
2025-03-16 16:25:45 +08:00
Dr. Patrick Urbanke (劉自成)
c9482719f6
Make sure that all textual formats also support std::string_view; #382 ( #384 )
2025-03-16 06:54:03 +08:00
Dr. Patrick Urbanke (劉自成)
241112f98c
Make sure that no field is required when we use rfl::DefaultIfMissing; #376 ( #385 )
2025-03-16 00:06:27 +08:00
Dr. Patrick Urbanke (劉自成)
1da93be27f
Bugfix: DefaultIfMissing and XML arrays; #367 ( #371 )
2025-03-02 01:25:33 +08:00
Dr. Patrick Urbanke (劉自成)
37dbcef95a
Make sure that floating point values are serialized properly in YAML; #363 ( #370 )
2025-03-01 14:51:46 +08:00
Heiko Lewin
e825b236ee
Parser_default: Move temporary variable instead of copying ( #362 )
2025-02-25 21:01:39 +01:00
Dr. Patrick Urbanke (劉自成)
c3764e83ce
Added remove_rename ( #360 ); fixes #359
2025-02-20 22:14:32 +01:00
Dr. Patrick Urbanke (劉自成)
c6d0626267
Make sure rfl::Generic is NOT optional; fixes #352 ( #358 )
2025-02-20 21:17:27 +01:00
Dr. Patrick Urbanke (劉自成)
b7af660b50
Make sure we don't mix integers and floats in msgpack ( #354 )
2025-02-19 00:09:28 +01:00
Jowillianto
6d51c12db5
Feat/286/std expected ( #340 )
2025-02-03 19:27:10 +01:00
Dr. Patrick Urbanke (劉自成)
1b60b09de8
Use jsoncons for CBOR instead of TinyCBOR ( #325 )
2025-01-06 17:21:22 +01:00
Dr. Patrick Urbanke (劉自成)
1d58526869
Added support for Cap'n Proto ( #323 )
2025-01-06 15:12:40 +01:00
Dr. Patrick Urbanke (劉自成)
896c4a4132
Made sure uint8_t is properly handled by YAML; #270 ( #311 )
2024-12-22 19:14:16 +01:00
Dr. Patrick Urbanke (劉自成)
23ce24f001
Make sure you can insert unsupported types into rfl::Skip<...>; #299 ( #304 )
2024-12-22 15:43:17 +01:00
Dr. Patrick Urbanke (劉自成)
e46835287f
Added support for Apache Avro, and thus for schemaful formats ( #303 )
2024-12-22 14:53:25 +01:00
Matthieu Dubuget and Matthieu Dubuget
99f3f50fd3
Add operator== to TaggedUnion.hpp ( #280 )
...
Co-authored-by: Matthieu Dubuget <matthieu.dubuget@tpac-ndt.com >
2024-12-06 23:45:12 +01:00
Dr. Patrick Urbanke (劉自成)
609c561354
Use pkg-config for the TOML package ( #291 )
2024-12-06 17:53:40 +01:00
Dr. Patrick Urbanke
e51edb704e
Added a separate README for building the tests
2024-11-23 21:39:45 +01:00
Manuel Bellersen
1f39b4f1e7
Use perfect forwarding on rfl::visit for rfl::TaggedUnion ( #252 )
2024-11-12 19:35:54 +01:00
Dr. Patrick Urbanke (劉自成)
b71f82b4f1
Added support for UBJSON; resolves #245 ( #251 )
2024-11-10 11:38:00 +01:00
Manuel Bellersen
716de7b6fd
Emplace into optional to be able to visit variant containers containi… ( #234 )
2024-11-08 13:39:08 +01:00
Dr. Patrick Urbanke (劉自成)
9fe3758063
Automatically add tags to variants; fixes #230 ( #246 )
2024-11-05 21:11:28 +01:00
Dr. Patrick Urbanke (劉自成)
2ef144c041
Added support for raw pointers; #218 ( #244 )
2024-11-05 00:14:56 +01:00
Dr. Patrick Urbanke (劉自成)
458ca09198
Remove warnings generated by GCC and Clang ( #243 )
2024-11-01 00:01:52 +01:00
Dr. Patrick Urbanke (劉自成)
230ba48bff
Fix memory safety issues ( #241 ); should resolve #240
2024-10-31 17:48:15 +01:00
Shengqi Chen
7bf71c6d7b
Enhance tests ( #226 )
2024-10-30 21:39:11 +01:00
Dr. Patrick Urbanke (劉自成)
b3b0370ce2
Added a test for string views ( #223 )
2024-10-20 12:51:05 +02:00
Dr. Patrick Urbanke (劉自成)
df56b2e31f
Added the ability to transform structs from and to generic elements; resolves #201 ( #210 )
2024-10-13 20:30:56 +02:00
Dr. Patrick Urbanke (劉自成)
0ebaeeff0d
Bugfix: Memory leak under some circumstances; resolves #212 ( #215 )
2024-10-13 20:00:34 +02:00
George Evmenov
3c6be6a136
add simple precompiled headers ( #211 )
2024-10-09 09:32:40 +02:00
George Evmenov
9dcd49a1e0
Move some heavy templates into cpp ( #204 )
2024-10-08 22:12:03 +02:00
Dr. Patrick Urbanke (劉自成)
099211943d
Bugfixes for inheritance C arrays and inheritance, fixes #205 ( #206 )
2024-10-05 23:15:11 +02:00
Dr. Patrick Urbanke (劉自成)
ef39b21935
Support for lvalues in rfl::visit; fixes #184 and #187 ( #203 )
2024-09-30 23:54:01 +02:00
Dr. Patrick Urbanke (劉自成)
75c7859ab1
Use size_t instead of iterators inside Object; addresses #194 ( #198 )
2024-09-21 00:25:18 +02:00
Dr. Patrick Urbanke (劉自成)
63f4078c5c
Added the rfl::NoExtraFields processor; resolves #190 ( #195 )
2024-09-18 23:07:05 +02:00
Dr. Patrick Urbanke (劉自成)
54c2a84650
Add rfl::DefaultIfMissing; fixes #163 , #167 , #185 ( #189 )
2024-09-15 19:38:33 +02:00
AnsiV01
dfc24ad932
rfl::UnderlyingEnums (#186 )
...
* First part
* Plural
* Update rfl.hpp
* Documentation
* Update rfl.hpp
* Update processors.md
* underlying_enums test
* Update Parser_default.hpp
* Fix typo in test
2024-09-12 09:37:31 +02:00
Dr. Patrick Urbanke (劉自成)
d796c8cf0c
Optimizations for classes with many fields; #168 ( #171 )
2024-08-03 13:48:09 +02:00
Dr. Patrick Urbanke (劉自成)
c36f8c6af6
Added support for rfl::Binary, rfl::Hex and rfl::Oct; #164 ( #170 )
2024-08-02 21:44:50 +02:00
Dr. Patrick Urbanke (劉自成)
b6651a4062
Added support for std::system::filepath; #166 ( #169 )
2024-08-01 23:16:05 +02:00
Dr. Patrick Urbanke (劉自成)
9c9eceab92
Added rfl::Tuple ( #160 )
2024-07-28 15:35:38 +02:00
Dr. Patrick Urbanke (劉自成)
a562a6fb88
Added a custom implementation of a variant (rfl::Variant) ( #151 )
2024-07-17 22:10:28 +02:00
Matthew
0045030512
feat: optional to/from methods on Reflector. ( #150 ) ( #152 )
2024-07-17 21:40:18 +02:00
Knyukua and toropov
d697a531b3
fix: incorrect json schema for size validated fields ( #146 )
...
Co-authored-by: toropov <toropov@protei.ru >
2024-07-10 21:11:40 +02:00
BjornSAIM and Daedie
9b1f70ea78
Fix several warnings ( #143 )
...
Co-authored-by: Daedie <daedie@gmail.com >
2024-07-07 23:36:03 +02:00