Commit Graph
298 Commits
Author SHA1 Message Date
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
aligirayhanozbay 7affb4e421 Json read string view (#312) 2024-12-22 20:55:09 +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
Dr. Patrick Urbanke (劉自成) 95f97b4872 Use static_cast for the pointer transformations (#298) 2024-12-18 21:17:05 +01:00
Doekin fe8a5c580f Timestamp: Update workaround to support MinGW alongside MSVC (#296) 2024-12-18 08:34:05 +01:00
Matthieu DubugetandMatthieu 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 (劉自成) cb06a085b8 Upgrade to yyjson 0.10.0 (#282) 2024-11-27 21:47:50 +01:00
Zhaoandzhaoshunxian 1fa3d2c024 Add the Parameterless Constructor, Three-way comparison operator and Equality comparison operator. (#258)
Co-authored-by: zhaoshunxian <zhaoshunxian@cviauto.com>
2024-11-14 16:48:19 +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
David Corbeil beb27d4f4d Fixed issue where 32 bit compilation cause template type deduction fail (#247)
Signed-off-by: David Corbeil <david.corbeil@dynon.com>
2024-11-05 22:49: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 (劉自成) ebe33017ad Remove most instances of reinterpret_cast with std::bit_cast (#242) 2024-10-31 20:05:55 +01:00
Dr. Patrick Urbanke (劉自成) 230ba48bff Fix memory safety issues (#241); should resolve #240 2024-10-31 17:48:15 +01:00
Philemon Benner 6ccf8ab41f Added missing get.hpp include to call_desctructors_where_necessary.hpp (#238) 2024-10-30 01:07:02 +01:00
Manuel Bellersen d4ac914f35 Using current CTRE (068c626) https://github.com/hanickadot/compile-time-regular-expressions/blob/main/single-header/ctre.hpp which should fix clang 19 usage https://github.com/getml/reflect-cpp/issues/221 (#233) 2024-10-30 00:13:57 +01:00
Dr. Patrick Urbanke (劉自成) 29c42010a3 Fix a subtle bug in rfl::to_view (#237) 2024-10-29 20:24:36 +01:00
Daniel SahuandDaniel M. Sahu 9755dda7c6 Increased maximum number of fields from 100 to 256. (#232)
Signed-off-by: Daniel M. Sahu <dan@overland.ai>
Co-authored-by: Daniel M. Sahu <dan@overland.ai>
2024-10-27 15:08:29 +01:00
George Evmenov 37484d1681 restore accidentally removed msgpack::Writer::value_as_root implementation (#229) 2024-10-23 09:26:19 +02:00
Shengqi Chen b0e4bb7178 Fix wrong header filename for ctre library (#225) 2024-10-21 21:30:04 +02:00
Dmitry Mikushin 70b57ea709 Fix endless recursion in std::string_view writer: the write() should use std::string, not std::string_view again (#219) 2024-10-20 11:57:16 +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 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 (劉自成) 2880c0b55b Only conduct duplicate field checks when parsing (#199) 2024-09-25 18:51:06 +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 (劉自成) a5023c4fa4 Another bugfix in rfl::Object: Make sure that access in the wrong ord… (#197) 2024-09-19 00:30:05 +02:00
Dr. Patrick Urbanke (劉自成) 4d46c80df7 Make it_ mutable; #194 (#196) 2024-09-18 23:07:33 +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 (劉自成) 7274a2eb47 Use std::launder where appropriate (#181) 2024-09-05 20:18:46 +02:00
Dr. Patrick Urbanke (劉自成) b661b6147a Include vector in Literal.hpp (#175) 2024-08-15 12:12:49 +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 (劉自成) d9387e29ef Improved the documentation for the reflector to account for #156 and #157 (#158) 2024-07-22 22:40:06 +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
Knyukuaandtoropov 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