Commit Graph

466 Commits

Author SHA1 Message Date
Ferry Huberts
40f5b11194 Fix compiler warnings (-Wunused-variable)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-07 11:14:57 +02:00
Ferry Huberts
8ff0b0f948 Fix compiler warnings (-Wold-style-cast)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-07 11:14:19 +02:00
Ferry Huberts
ac25e6c982 Fix compiler warnings (-Wcatch-value=)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-04 15:09:42 +02:00
Ferry Huberts
15ebc0e336 Fix compiler warnings (-Wsuggest-override)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-07-22 22:17:23 +02:00
Ferry Huberts
99dc0916ed Fix compiler warnings (-Wextra-semi)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-07-21 22:45:42 +02:00
Steffen Olszewski
496427f7b3 Add default source groups for all targets 2023-05-10 21:49:38 +02:00
Steffen Olszewski
9bd8563952 Add missing files and reorder file lists
Order the file lists alphabetically, directories last.
2023-05-10 21:49:38 +02:00
Steffen Olszewski
7fe23f3732 Revert "closes #681"
This reverts commit 782760c5c5.
2023-05-10 20:57:51 +02:00
Todd Kushner
761d66939b remove pragma issues #730 2023-04-01 11:23:31 -06:00
Todd Kushner
66d4d250f1 remove pragma issues #730 2023-04-01 11:22:41 -06:00
Todd Kushner
6fca36c7b9 kushnertodd fix to issue #724 Remove warnings from Windows build 2023-03-16 11:34:10 -06:00
Leonid Stryzhevskyi
b50783a6a7 async::ConditionVariable use async::LockGuard 2023-03-12 03:18:53 +02:00
Leonid Stryzhevskyi
cc1888b3e0 mapping::type::Any: Fix retrieve of null any. 2023-01-29 04:55:51 +02:00
Leonid Stryzhevskyi
82deb5be2e tests: uncomment all 2023-01-16 00:09:52 +02:00
Leonid Stryzhevskyi
86617ecb9c test: better async/ConditionVariableTest 2023-01-16 00:08:25 +02:00
Leonid Stryzhevskyi
316b079f0a async: Fix CoroutineWaitList with timeout 2023-01-15 23:43:12 +02:00
Leonid Stryzhevskyi
d9fd5854bf Async: Introduce ConditionVariable. 2023-01-15 02:43:43 +02:00
Leonid Stryzhevskyi
ed5efd1bcf encoding: introduce URL-encoder/decoder 2023-01-10 23:20:26 +02:00
Daniel Herchenbach
782760c5c5 closes #681
I am using CMake command
file with GLOB_RECURSE to scan source files
and then
source_group with TREE to place them in a hierarchy for better overview in the IDE.
Those commands should work with CMake version >= 3.8.
2022-12-11 17:15:45 +01:00
Julien JEMINE
16cda3321e Added tests for Boolean parsing 2022-12-09 13:12:59 +01:00
Jeremy Guinn
eff27e6aa5 Add new virtual handleError method to handle the original error 2022-02-20 13:56:02 -07:00
MHaselmaier
c54ac2f612 Added support for multiple parts with same name in oatpp::web::mime::multipart::PartList 2021-12-21 17:26:50 +01:00
Christian Lang
6077ea434b fix negativ number parsing in oatpp::Any 2021-12-19 10:10:01 +01:00
Leonid Stryzhevskyi
17c655a473
Merge pull request #529 from langchr86/fix/any_can_parse_integer
allow oatpp::Any to parse directly to UInt64 or Int64
2021-12-15 00:34:34 +02:00
Christian Lang
24a2af532a allow oatpp::Any to parse directly to UInt64 or Int64 2021-12-14 11:00:15 +01:00
Arnaud-Marie Gallardo
3372ad9dff fix: add port in host header 2021-12-03 15:29:26 +01:00
Jeremy Guinn
ecb8ec3c1e Add helpers for creating empty message-body responses 2021-11-26 15:04:24 -07:00
lganzzzo
5d2f8693eb Remove memory pools. Remove ChunkedBuffer. 2021-11-16 01:45:15 +02:00
lganzzzo
ce7a3316d8 QUERY: fix default value type (#411). QueryParams/Headers: use unordered_multimap (#402) 2021-11-15 02:40:55 +02:00
lganzzzo
070be93bde DTO: make 'DTO_FIELD_TYPE_SELECTOR' a member function. 2021-11-08 00:04:13 +02:00
lganzzzo
5abe7f3375 DTO: allow type-selectors for oatpp::Any only - for safety. 2021-11-07 20:47:04 +02:00
lganzzzo
512769c5ce mapping::type: Better containers hierarchy 2021-11-07 02:42:05 +02:00
lganzzzo
11e80b8a4a DTO: polymorphic fields. 2021-11-06 04:54:41 +02:00
lganzzzo
eacbc6f631 type::Type: introduce 'extends()' method. 2021-11-04 01:46:35 +02:00
lganzzzo
46fe7d68fe Better ClassId. Thread-safe Environment::Components 2021-11-03 03:37:30 +02:00
lganzzzo
809b3fb3f1 Compatibility(MSVC): rename 'interface' to '_interface'. (#458) 2021-10-29 03:23:41 +03:00
lganzzzo
df653886b8 type::Primitive: add getValue(<default-val> method) 2021-10-29 02:33:04 +03:00
lganzzzo
1818b98caa tests: harden PoolTest 2021-10-29 00:24:57 +03:00
lganzzzo
6455e14399 multipart: better API. 2021-10-28 12:58:52 +03:00
lganzzzo
9a44c1f463 multipart: use data::resource::Resource. 2021-10-28 05:08:47 +03:00
lganzzzo
8d342e2967 tests: Add InMemoryDataTest. 2021-10-28 02:46:03 +03:00
Leonid Stryzhevskyi
bc3d17750d
Temporary file (#498)
* TemporaryFile: use shared file-handle.

* Tests. Uncomment all.
2021-10-27 01:34:19 +03:00
lganzzzo
f43f3fe661 HttpRouter: better API. 2021-10-25 02:19:13 +03:00
lganzzzo
c3f22dfb43 ConnectionHandler: proper server stoppage. (#476) 2021-10-20 04:32:56 +03:00
lganzzzo
d74d6b2308 provider: Decouple Provider and Invalidator. 2021-10-19 03:34:16 +03:00
lganzzzo
736ffa2c07 Tests. Fix web::FullTest. 2021-10-15 00:55:37 +03:00
lganzzzo
d6a95c57e7 Tests. web::FullTest: reduce iterations number. 2021-10-15 00:20:41 +03:00
lganzzzo
3d89dc4403 ApiController: introduce 'BUNDLE' parameters to access request bundle data. 2021-10-14 23:18:16 +03:00
lganzzzo
29817260c7 data::mapping: Void is a friend of ObjectWrapper. 2021-10-14 01:38:10 +03:00
lganzzzo
bc1806fa5b Merge branch 'v1.3.0' into refactor_object_wrapper 2021-10-14 01:18:50 +03:00
lganzzzo
42bbaf3224 Tests: uncomment all. 2021-10-07 02:43:51 +03:00
lganzzzo
7f5576f52e data::stream: make transferAsync() method consistent with simple API. 2021-10-07 02:30:54 +03:00
lganzzzo
08b02340c9 Tests: ConnectionMonitor. Fix Windows build. 2021-10-07 01:51:32 +03:00
lganzzzo
3e97c45b71 tests: ConnectionMonitorTest 2021-10-07 01:19:50 +03:00
lganzzzo
d47ae5c20a ConnectionMonitor: move ConnectionMonitor to network::monitor namespace. 2021-09-25 01:05:51 +03:00
lganzzzo
2ffcf9cc20 ConnectionMonitor: working POC 2021-09-23 01:24:52 +03:00
lganzzzo
0ed9ce14dc tests: Add ConnectionMonitorTest 2021-09-23 00:21:49 +03:00
lganzzzo
8cd357aba3 merge with master 2021-09-15 00:26:26 +03:00
Benedikt-Alexander Mokroß
06a690d73e Renamed replaceOrPut to putOrReplace. 2021-09-14 14:14:25 +02:00
Benedikt-Alexander Mokroß
1ce3e3bd16 Add API to replace headers in requests and responses (Closes #481). 2021-09-10 08:12:14 +02:00
lganzzzo
e8b7aac6af Refactor, rename String convenience methods. 2021-08-25 01:10:03 +03:00
lganzzzo
6ee5ddba3b oatpp::String: better convenience methods. 2021-08-25 00:49:43 +03:00
lganzzzo
6b2db1fe83 merge with 1.3.0 2021-08-04 00:04:27 +03:00
Leonid Stryzhevskyi
1f93f6caec
Merge pull request #424 from MHaselmaier/issue_408
Implementing Issue #408
2021-05-21 00:57:13 +03:00
MHaselmaier
5c7934e56e Replaced core::collection::LinkedList by std::list 2021-05-18 22:14:23 +02:00
MHaselmaier
f6d487dc52 Revert "Rebased this branch from v1.3.0 branch"
This reverts commit d2684c8004.
2021-05-15 12:19:35 +02:00
MHaselmaier
773f699601 Added /permissive- flag on MSVC to enforce standard compliancy 2021-05-15 09:59:11 +02:00
MHaselmaier
d2684c8004 Rebased this branch from v1.3.0 branch 2021-05-13 16:28:42 +02:00
MHaselmaier
891ce38dd1 Added optional timeout to coroutines in waiting list 2021-05-13 11:54:19 +02:00
MHaselmaier
8884643f22 Removed timeout parameter from core::provider::Provider; added it to core::provider::Pool's constructor 2021-05-10 20:38:53 +02:00
MHaselmaier
00daf643b6 Merge branch 'master' into issue_408 2021-05-07 07:49:26 +02:00
MHaselmaier
185464b155 Fixed compiler warning for unreferenced local variables and truncations on MSVC 2021-05-06 21:27:35 +02:00
MHaselmaier
f690a32fa6 Added timeout implementation to core::provider::Pool::getAsync and network::virtual_::client::ConnectionProvice::getAsync 2021-05-06 20:58:40 +02:00
MHaselmaier
855f9e0660 Added optional timeout parameter to Provider::get and Provider::getAsync; implemented only for Provider::get for now 2021-05-05 21:40:41 +02:00
MHaselmaier
44d5300318 Made PoolTemplate::get and PoolTemplate::getAsync static protected functions 2021-05-05 18:49:30 +02:00
MHaselmaier
c400ad91b8 Implemented requested changes 2021-05-05 08:06:00 +02:00
MHaselmaier
5f796de690 Removed unused include; touched up formatting 2021-05-04 19:46:59 +02:00
MHaselmaier
c92567632e Added optional timeout parameter to core::provider::PoolTemplate::get 2021-05-04 19:33:58 +02:00
lganzzzo
92ed4b72a2 Types: oatpp::Void now is a special type of ObjectMapper. 2021-04-13 23:37:47 +03:00
lganzzzo
102394f798 ObjectWrapper: non-const valueType 2021-04-13 22:41:50 +03:00
lganzzzo
247c994171 oatpp::String: more convenient methods. 2021-04-02 23:14:23 +03:00
lganzzzo
15f77f1ed2 Codegen: INIT_DTO macro - remove default constuctor. 2021-03-30 00:16:02 +03:00
lganzzzo
b49f02f438 Tests: uncomment all tests. 2021-03-25 04:28:28 +02:00
lganzzzo
a2631fe051 Types: Refactor oatpp::String to use std::string. 2021-03-25 04:17:03 +02:00
Benedikt-Alexander Mokroß
5502a0cbf0 Add optional default-value for QUERY parameters to ease the implementation of optional QUERY parameters. 2021-01-12 13:15:47 +01:00
lganzzzo
7d76773d17 http::Header. Use multimap. (#357) 2020-12-17 03:25:09 +02:00
Leonid Stryzhevskyi
1559050586
Merge pull request #352 from oatpp/logcategories
Introducing log-categories
2020-12-09 01:29:17 +02:00
Benedikt-Alexander Mokroß
a6b481eb5d Introducing log-categories
With log-categories users of Oat++-logging can take advantage of a fine grained logging mechanism.
Each log-category has its own set of enabled priorities, its own tag and can be disabled/enabled altogether.
Instead of just offering some priority-levels the user can now create as much logging categories as s:he wants and tune visibility of priorities by each category.
The API can be used optionally on top of the default logging mechanisms without breaking or changing any functionality of the old system. One can even mix both "legacy-style" and "category-style" logging in the same function/class/program.

Signed-off-by: Benedikt-Alexander Mokroß <github@bamkrs.de>
2020-12-08 16:59:53 +01:00
lganzzzo
171f7a9943 web::server::HttpRouter. Introduce HttpRouterTemplate. (#343) 2020-11-22 20:12:51 +02:00
lganzzzo
50e06cbaa0 Tests. StringTemplateTest. Fix ambiguity in the method call. 2020-10-30 02:18:05 +02:00
lganzzzo
e8bc2b0759 Tests: uncomment all tests. 2020-10-08 00:26:03 +03:00
lganzzzo
6f84101afc mapping::TypeResolver: Use cache. Remove property traverser. 2020-10-08 00:22:52 +03:00
lganzzzo
dab59a48d6 data::mapping: Introduce TypeResolver. 2020-10-07 03:43:52 +03:00
lganzzzo
222cdaaa91 Tests: Uncomment all tests. 2020-09-28 03:31:09 +03:00
lganzzzo
3b59fa2738 network: introduce oatpp::network::Address. 2020-09-27 03:59:33 +03:00
lganzzzo
05d5e4dd4f oatpp::network. Refactor: move/rename SimpleTCPConnectionProvider, Connection, ConnectionHandler, Server. 2020-09-27 02:47:30 +03:00
lganzzzo
0856eda7c1 Codegen. ApiClient: Add 'API_CALL_HEADERS' macro for default headers. (#252) 2020-09-26 04:33:26 +03:00
lganzzzo
fa64e582b3 Introduce type::BaseObject::PropertyTraverser. 2020-09-23 04:18:46 +03:00
lganzzzo
fe2bec58f8 mapping::type: Simplify Type interface. 2020-09-19 13:52:43 +03:00
lganzzzo
26154e039c Merge branch 'master' into v_1.2.0 2020-09-09 05:43:10 +03:00