Commit Graph
378 Commits
Author SHA1 Message Date
8b2833b136 Avoid assuming that "std::string_view" is nullterminated. Generally it is really not. (#538)
Co-authored-by: ActuallyaDeviloper <ActuallyaDeviloper@users.noreply.github.com>
Co-authored-by: Dr. Patrick Urbanke <patrick@getml.com>
2025-12-06 18:53:45 +01:00
Dr. Patrick Urbanke (劉自成) 192a74e04f Added rfl::DefaultVal, resolves #534 (#553) 2025-12-05 01:13:33 +01:00
KostinPavel 3971effa9d unused variables warnings (#547) 2025-11-23 17:44:45 +01:00
Noah 331a9794b1 refactor(generic): allow int64_t -> double conversion in to_double (#549) 2025-11-23 17:36:14 +01:00
Ian FluryandBryce Schober 1bda2d005c Use the jsoncons non-throwing versions of decode for cbor and ubjson (#550)
Co-authored-by: Bryce Schober <bryce.schober@dynon.com>
2025-11-23 17:32:55 +01:00
Gabriel Hansson ee30551c7d Fix missing "hours" when parsing std::chrono::duration (#541) 2025-11-13 23:19:37 +01:00
Dr. Patrick Urbanke (劉自成) fa238afad4 Removed unnecessary std::move, fixes #533 (#540) 2025-11-05 00:24:41 +01:00
Dr. Patrick Urbanke (劉自成) 920caef563 Make all Literal default-constructible; fixes #536 (#539) 2025-11-03 22:47:19 +01:00
Dr. Patrick Urbanke (劉自成) e47dfbeb1f Speed up the reflection process (#537) 2025-11-02 22:01:15 +01:00
Dr. Patrick Urbanke (劉自成) 2b1cd83677 Use exceptions inside the writers (#535)
Adds error handling using exceptions in the write processes.
2025-10-27 23:38:20 +01:00
Dr. Patrick Urbanke (劉自成) 3ae683387e Make sure avro ints and floats are always written properly; fixes #522 (#532) 2025-10-25 19:55:08 +02:00
Dr. Patrick Urbanke (劉自成) d0f60b214f Make sure that the headers are self-contained; fixes #528 (#531) 2025-10-25 13:03:12 +02:00
Lixin Wei 72a721404f Fix include error of rfl/Literal.hpp (#529) 2025-10-20 20:43:21 +02:00
Dr. Patrick Urbanke (劉自成) dfcbff981e Added support for JSON schemata for the Reflector type; fixes #509 (#527) 2025-10-19 18:23:27 +02:00
Philemon Benner 83951fd90b Feature/shared exports msvc (#525) 2025-10-19 16:32:15 +02:00
Dr. Patrick Urbanke (劉自成) 06988aa0e1 Updated YYJSON to 0.12.0; fixes #524 (#526) 2025-10-17 00:37:21 +02:00
Andrew Nolte 85f9642343 [json schema] Use non-deprecated $defs; Add $comment option (#523) 2025-10-15 17:51:03 +02:00
Lixin Wei 265b693559 Allow specify schema in capnproto's stream interface (#521) 2025-10-13 18:16:51 +02:00
KostinPavel 732e9fe85f Cleanup includes (#519) 2025-10-13 18:16:14 +02:00
KostinPavel afc0255579 clang 20 warnings (#514) 2025-10-08 20:55:28 +02:00
Philemon Benner 075488a673 added explicit ref-qualifiers for Error::what() and a additional overload to allow moving Error::what_ to caller if Error is an rvalue (#505) 2025-09-29 08:20:47 +03:00
Bryce Schober d33a4f50d4 Add rfl::AddNamespacedTagsToVariants for rfl::Generic and same-name-different-namespace structs (#494) 2025-09-11 08:10:51 +02:00
Dr. Patrick Urbanke (劉自成) 617aaf4b17 Added support for CSV (#489) 2025-09-07 15:16:56 +02:00
Dr. Patrick Urbanke (劉自成) 611712f5eb Add support for parquet (#488) 2025-09-02 21:47:50 +02:00
Dr. Patrick Urbanke (劉自成) 9e57aee378 Added a test for UUIDv4; upgraded CTRE to 3.10; fixed issue #486 (#487) 2025-08-31 21:40:43 +02:00
Felix Schindler 2860ce3718 make read_one_alternative more general (#485) 2025-08-27 10:32:12 +02:00
Gregory Dushkin dcc4c1d5c9 Better forwarding to improve read performance a little (#484) 2025-08-25 01:24:34 +02:00
aligirayhanozbayandAli Girayhan Ozbay ca53b225bf Add interfaces for jwt-cpp compatibility (#479)
Co-authored-by: Ali Girayhan Ozbay <aligirayhan.ozbay@abex.capital>
2025-08-12 15:44:28 +02:00
Dr. Patrick Urbanke (劉自成) 3dc74c9596 Use stringstreams for the error messages in the validators; fixes #475 (#478) 2025-08-08 00:29:23 +02:00
Dr. Patrick Urbanke (劉自成) a6b74370bc Make sure that rfl::Underlying enum behaves as expected; fixes #463 (#476) 2025-08-05 22:11:12 +02:00
Dr. Patrick Urbanke (劉自成) 93e41778ca Applied the byte containers to all byte formats (#474) 2025-08-04 21:45:27 +02:00
Ian Flury c5f0a241c7 Add support for reading from a byte-container for cbor and ubjson (#469) 2025-07-26 18:21:21 +02:00
Dr. Patrick Urbanke (劉自成) f6762227c7 Added support for std::span; resolves #457 (#468) 2025-07-20 18:14:33 +02:00
Brett Jia 372345888c Serialize/Deserialize vector<char> as bytestring (#466) 2025-07-20 12:57:37 +02:00
Bryce Schober 908ee226a9 Make rfl::num_fields public (#465) 2025-07-17 20:56:38 +02:00
Joel McKenzie e6c8fdfd3e Fix bug reading with 'tagged' variants when a variant is non-copyable (#464) 2025-07-16 23:28:15 +02:00
David Corbeil ee1da7b564 cbor supports std::optional; fixes #135 (#462) 2025-07-16 23:20:03 +02:00
Lixin Wei 238a1975da Add error message for json read (#461) 2025-07-16 09:23:34 +02:00
Lixin Wei 18feb02099 Extend rfl::AllowRawPtrs to std::string_view (#460) 2025-07-14 08:45:23 +02:00
Lixin Wei c06d3d5700 rename _res to _result to avoid macro conflict (#456) 2025-07-09 01:19:24 +02:00
ZXShady 907c815939 Don't repeat class name template arguements (#448)
It prevents mistakes and it simplifies the readability of the code.
2025-06-11 00:43:12 +02:00
Dr. Patrick Urbanke (劉自成) 3789268ac3 Added support for exception-free TOML; resolves #436 (#447) 2025-06-09 21:45:09 +02:00
Dr. Patrick Urbanke (劉自成) a0fe3975e8 Better rvalue handling for NamedTuple and Result (#446) 2025-06-09 16:47:39 +02:00
Dr. Patrick Urbanke (劉自成) ec6ab3baf5 Improved support for string_views for TOML and XML (#445)
* Improved support for string_views for TOML and XML

* Upgrade to pugixml 1.15 in order to be able to use string views
2025-06-08 21:00:21 +02:00
Ian FluryandDavid Corbeil dd257a84db Fix cbor encoding for uint64_t's (#442)
Signed-off-by: David Corbeil <8996584+dcorbeil@users.noreply.github.com>
Signed-off-by: Ian Flury <ianflury123@gmail.com>
Co-authored-by: David Corbeil <8996584+dcorbeil@users.noreply.github.com>
2025-05-31 23:12:17 +02:00
ZXShadyandDr. Patrick Urbanke 750e67d630 Add enchantum as an enum reflection backend (#441)
---------

Co-authored-by: Dr. Patrick Urbanke <patrick@getml.com>
2025-05-29 23:16:59 +02:00
Dr. Patrick Urbanke (劉自成) 9e3f818761 Made sure that apply can never move or modify the tuple values; fixes #439 (#440) 2025-05-28 08:12:50 +02:00
Bryce Schober b6446a8be4 Test for JSON & CBOR encoding error handling (#432) 2025-05-14 22:06:36 +08:00
Dr. Patrick Urbanke (劉自成) 778cd54173 Use fold expressions inside the literals (#434) 2025-05-11 17:55:02 +08:00
Dr. Patrick Urbanke (劉自成) f86cdb5ca3 Renamed insert to insert_range to avoid ambiguous overload; fixes #420 (#430) 2025-05-07 10:02:18 +08:00