Commit Graph

475 Commits

Author SHA1 Message Date
Leonid Stryzhevskyi
ff4f55858d implement new logging formatter 2024-05-14 04:34:11 +03:00
Leonid Stryzhevskyi
8913e86e9d changelog/1.4.0: add ContentMappers info 2024-05-13 05:12:22 +03:00
Leonid Stryzhevskyi
c8dcb2238e web::mime::ContentMappers: implement selectMapper() method 2024-05-13 04:45:09 +03:00
Leonid Stryzhevskyi
9ec854ebbb CMake: min C++ version 17. web::mime: Introduce ContentMappers. 2024-05-12 04:36:20 +03:00
Leonid Stryzhevskyi
6765c3e591 mapping::Tree: better tests, improved attributes, improved interface of oatpp::Tree 2024-05-10 04:26:38 +03:00
Leonid Stryzhevskyi
917dd454ce mapping::ObjectRemapper: optimize and add test 2024-05-09 06:38:03 +03:00
Leonid Stryzhevskyi
07f4f93ad7 data::mapping: introduce ObjectRemapper 2024-05-09 06:10:02 +03:00
Leonid Stryzhevskyi
0f85759730 tests: uncomment all 2024-05-09 02:15:12 +03:00
Leonid Stryzhevskyi
89c0a953c3 tests: add ObjectToTreeMapperTest 2024-05-09 02:13:20 +03:00
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