Commit Graph
275 Commits
Author SHA1 Message Date
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
Dr. Patrick Urbanke (劉自成) 0342e5c9a2 Separate third party libraries; resolves #79 (#119) 2024-06-13 00:37:35 +02:00
liuzicheng1987 108efb93cb Made sure that rfl::Rename overrides the processors; resolves #115 (#116) 2024-06-07 23:40:19 +02:00
liuzicheng1987 b757013638 Added the licenses dataset as a benchmark (#113) 2024-06-05 22:24:36 +02:00
liuzicheng1987 ab14d14af2 Sped up BSON and CBOR read (#112) 2024-06-04 20:43:52 +02:00
liuzicheng1987 89a939705e Added simple benchmarks for JSON; #70 (#109) 2024-06-01 17:35:27 +02:00
liuzicheng1987 1eed713fff Added rfl::NoOptionals; resolved #100 (#105) 2024-05-26 21:32:00 +02:00
Laz 43ebb0bb24 Update wstring parser to remove needless null terminators (#104) 2024-05-24 21:58:22 +02:00
liuzicheng1987 adf8463527 Added rfl::Skip; resolves #99 (#103) 2024-05-21 18:13:42 +02:00
liuzicheng1987 579ec6e919 More efficient implementation of rfl::Result (#102) 2024-05-19 20:55:13 +02:00
liuzicheng1987 6bb95ff09b More efficient way of parsing array-like data structures. (#98) 2024-05-07 20:43:04 +02:00