Commit Graph

466 Commits

Author SHA1 Message Date
Leonid Stryzhevskyi
b9d78cce64 Tree: better mapping to/from object 2024-05-06 00:23:48 +03:00
Leonid Stryzhevskyi
a29c664581 mapping::Tree: introduce TreeChildrenOperator 2024-05-05 09:42:24 +03:00
Leonid Stryzhevskyi
0ee2e3325d add Tree object-wrapper 2024-05-05 02:46:48 +03:00
Leonid Stryzhevskyi
5460bd404d introduce oatpp::Tree - mapping-enabled wrapper over data::mapping::Tree. 2024-05-04 05:33:01 +03:00
Leonid Stryzhevskyi
8ae59cdba1 refactor: move oatpp/data/mapping/type/* --> oatpp/data/type/* 2024-05-04 04:09:07 +03:00
Leonid Stryzhevskyi
bdcad18ddb data::mapping::ObjectMapper: introduce MappingError 2024-05-03 06:25:47 +03:00
Leonid Stryzhevskyi
b890a15840 json::ObjectMapper: use mapping::Tree 2024-05-01 03:56:03 +03:00
Leonid Stryzhevskyi
77ca525d2c Tree: TreeMap - fix assignment operators 2024-05-01 02:44:48 +03:00
Leonid Stryzhevskyi
8137eba15e json::ObjectMapper: use mapping::Tree for Deserialization 2024-04-30 02:35:40 +03:00
Leonid Stryzhevskyi
87af860824 Fix incomplete type 2024-04-30 00:35:23 +03:00
Leonid Stryzhevskyi
249fc4f137 mapping::Tree: introduce attributes. Add PAIRS type 2024-04-29 02:48:51 +03:00
Leonid Stryzhevskyi
ad3136480a Refactor: move data::Tree to data::mapping::Tree 2024-04-29 00:56:29 +03:00
Leonid Stryzhevskyi
1d64355eef Tree: introduce ObjectToTreeMapper and TreeToObjectMapper. WIP 2024-04-28 06:11:20 +03:00
Leonid Stryzhevskyi
4a7795c221 data::Tree: map both ordered and random-accessed. dynamic casting 2024-04-26 06:33:14 +03:00
Leonid Stryzhevskyi
5461fb2f08 Introduce data::Tree::Node 2024-04-24 04:24:37 +03:00
Leonid Stryzhevskyi
81d4efef50 move oatpp/core/parser/* --> oatpp/utils/parser* 2024-04-23 04:28:23 +03:00
Leonid Stryzhevskyi
31fb1412d3 move oatpp/core/data/* --> oatpp/data/* 2024-04-23 04:12:46 +03:00
Leonid Stryzhevskyi
477b5b1af9 move oatpp/core/provider/* --> oatpp/provider/* 2024-04-23 03:40:49 +03:00
Leonid Stryzhevskyi
acf598433d move oatpp/core/base/* --> oatpp/base/* 2024-04-23 02:56:25 +03:00
Leonid Stryzhevskyi
0f99dc37fb Do not use 'test' namespace in tests 2024-04-23 02:46:59 +03:00
Leonid Stryzhevskyi
4bfa3db6f5 move Environment.hpp to root folder 2024-04-23 02:41:04 +03:00
Leonid Stryzhevskyi
b263808a74 move Types.hpp and IODefinitions.hpp to root folder 2024-04-23 02:26:09 +03:00
Leonid Stryzhevskyi
52e3dd0ae6 move 'oatpp/core/async/*' --> 'oatpp/async/*' 2024-04-23 02:19:04 +03:00
Leonid Stryzhevskyi
f0ae36e086 move 'oatpp/core/macro/*' --> 'oatpp/macro/*' 2024-04-23 02:01:31 +03:00
Leonid Stryzhevskyi
ec1b0523ef move oatpp/core/utils --> oatpp/utils. move oatpp/algorithm/CRC --> oatpp/utils/CRC32 2024-04-23 01:45:17 +03:00
Leonid Stryzhevskyi
06232810f7 refactor json namespaces 2024-04-23 01:20:20 +03:00
linhaojun857
02a21de839 Add test 2023-12-16 15:34:08 +08:00
linhaojun857
1137678bba Add test sample for HttpRouter 2023-11-26 23:49:20 +08:00
linhaojun857
7b92550523 throw exception when deserialize json which not include required field 2023-09-21 15:04:59 +08:00
linhaojun857
c7e1c2375b throw exception when serialize object which not include required field 2023-09-21 14:13:27 +08:00
linhaojun857
62257a94b7 fix url parse bug 2023-09-15 08:56:17 +08:00
Ferry Huberts
46fd1a6078 Fix Clang compiler warnings (-Wno-float-equal)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
cc929ed690 Fix Clang compiler warnings (-Wunused-lambda-capture)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
e54fad7fa4 Fix Clang compiler warnings (-Wunused-exception-parameter)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
330f64dd95 Fix Clang compiler warnings (-Winconsistent-missing-destructor-override)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
9a2854be58 Fix a few Clang compiler warnings (-Wunreachable-code-return)
1 left:

src/oatpp/core/async/Coroutine.cpp:325:10: warning: 'return' will never be executed [-Wunreachable-code-return]
  return std::forward<oatpp::async::Action>(action);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
aa02f4bb3f Fix Clang compiler warnings (-Wextra-semi-stmt)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
7c0ef28449 Fix Clang compiler warnings (-Wextra-semi)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
1f9ad05fa5 Fix compiler warnings in compilation units (-Wsign-conversion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-27 10:46:52 +02:00
Ferry Huberts
9e88481674 Fix compiler warnings in headers (-Wsign-conversion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-27 10:46:52 +02:00
Leonid Stryzhevskyi
104c4eb011
Merge pull request #828 from fhuberts/fix-Wsign-compare
Fix compiler warnings (-Wsign-compare)
2023-08-24 00:34:40 +03:00
Ferry Huberts
fabcc79ee1 Fix compiler warnings (-Wsign-compare)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:49:58 +02:00
Ferry Huberts
91a7b3ef9c Fix compiler warnings (-Wshadow)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:45:19 +02:00
Leonid Stryzhevskyi
ddd05b6ef5
Merge pull request #819 from fhuberts/fix-Wsuggest-attribute=format
Fix compiler warnings (-Wsuggest-attribute=format)
2023-08-17 01:53:28 +03:00
Ferry Huberts
6dfe302829 Fix compiler warnings (-Wsuggest-attribute=format)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-16 13:56:27 +02:00
Ferry Huberts
f116a9619a Fix compiler warnings (-Wuseless-cast)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-16 13:48:14 +02:00
Leonid Stryzhevskyi
52b0d0b613
Merge pull request #805 from fhuberts/fix-Wold-style-cast
Fix compiler warnings (-Wold-style-cast)
2023-08-12 04:00:45 +03:00
Ferry Huberts
e872a75594 Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-11 10:32:59 +02:00
Leonid Stryzhevskyi
ec227380e4
Merge pull request #808 from fhuberts/fix-Wmissing-field-initializers
Fix compiler warnings (-Wmissing-field-initializers)
2023-08-07 17:36:42 +03:00
Ferry Huberts
c81189a775 Fix compiler warnings (-Wmissing-field-initializers)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-07 11:15:39 +02:00