Commit Graph
285 Commits
Author SHA1 Message Date
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
BjornSAIMandDaedie 9b1f70ea78 Fix several warnings (#143)
Co-authored-by: Daedie <daedie@gmail.com>
2024-07-07 23:36:03 +02:00
BjornSAIMandDaedie 6dadbc2506 added a new method of implementing a custom parser using a Reflector … (#142)
Co-authored-by: Daedie <daedie@gmail.com>
2024-07-07 22:41:31 +02:00
Dr. Patrick Urbanke (劉自成) 1ff7f762f1 Added a size check in the arrow reader (#140) 2024-07-05 22:58:18 +02:00
Dr. Patrick Urbanke (劉自成)andPatrick Urbanke 7f0350f576 Move some code into source files to reduce compile time; #86 (#136)
---------

Co-authored-by: Patrick Urbanke <patrick@getml.com>
2024-07-03 23:14:10 +02:00
Dr. Patrick Urbanke (劉自成) fae5e5ff58 Added support for bytestrings; #69 (#132) 2024-06-30 20:41:53 +02:00
Dr. Patrick Urbanke (劉自成) 641afd6f53 Handle bundled dependencies using __has_include (#128) 2024-06-28 22:40:07 +02:00
Dr. Patrick Urbanke (劉自成) 80aea11e0c Added official support for Clang 14.0 (#126) 2024-06-28 21:24:20 +02:00
Dr. Patrick Urbanke (劉自成) 28b89ae0df Added generic elements; resolves #96 (#125) 2024-06-27 23:05:48 +02:00
Manuel Bellersen c3db8321b3 Feature/compatibilities gcc14 clang14 vcpkg (#124) 2024-06-27 11:20:51 +02:00
Dr. Patrick Urbanke (劉自成) 1ce78479ac Removed recursion in the no_duplicate_field_names function and rfl::Literal (#123) 2024-06-19 19:28:18 +02:00
Dr. Patrick Urbanke (劉自成) 0247c57d5b Added the rfl::NoFieldNames processor (#121) 2024-06-18 19:23:43 +02:00
Patrick Urbanke 641ae00b9f Renamed flag for consistency 2024-06-15 00:30:28 +02:00
Dr. Patrick Urbanke (劉自成) e36994084d Implemented some measures to reduce the compile time; #86 (#120) 2024-06-15 00:26:05 +02:00