Commit Graph

970 Commits

Author SHA1 Message Date
Ferry Huberts
ccfc3f8422 Fix Clang compiler warnings (-Wsign-conversion)
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
a93fa88897 Fix Clang compiler warnings (-Wshadow)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
244a86118d Fix Clang compiler warning (-Wconditional-uninitialized)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
Ferry Huberts
82beea0071 Fix Clang compiler warnings (-Wnewline-eof)
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
485c464c93 Windows doesn't know ssize_t
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-31 21:57:19 +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
patrikhuss
7c0e12e5f6 Fix issue with "100 Continue" response not sent correctly
fixes #607

Signed-off-by: Patrik Huss <patrik.huss@ctek.com>
2023-08-23 09:55:19 +02:00
Leonid Stryzhevskyi
6c04c92f3d
Merge pull request #829 from fhuberts/fix-Wuseless-cast
Fix compiler warnings (-Wuseless-cast)
2023-08-21 02:32:02 +03:00
Ferry Huberts
e8ace1808f Fix an additional useless-cast warning, as reported on Debian 12 x64
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-19 09:47:51 +02:00
Leonid Stryzhevskyi
72807d83ee
Merge pull request #826 from fhuberts/fix-Wlogical-op
Fix compiler warnings (-Wlogical-op)
2023-08-19 10:22:56 +03:00
Leonid Stryzhevskyi
2248156afa
Merge pull request #825 from fhuberts/fix-Wsuggest-attribute=noreturn
Fix compiler warnings (-Wsuggest-attribute=noreturn)
2023-08-19 10:20:37 +03:00
Ferry Huberts
dfc5e913f8 Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-19 08:30:57 +02:00
Ferry Huberts
7abf37dc9e Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-19 08:20:41 +02:00
Leonid Stryzhevskyi
217515591e
Merge pull request #824 from fhuberts/fix-Wshadow
Fix compiler warnings (-Wshadow)
2023-08-19 03:15:28 +03:00
Ferry Huberts
f49b3bf0e5 Fix compiler warnings (-Wuseless-cast)
The compiler didn't catch this one in the oatpp build, but did catch it
in the project in which we integrated oatpp.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 10:09:52 +02: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
f6f2d27b85 Fix compiler warnings (-Wlogical-op)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:46:15 +02:00
Ferry Huberts
4652ad8682 Fix compiler warnings (-Wsuggest-attribute=noreturn)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:45:52 +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
Ferry Huberts
4b82a5cadd Fix compiler warnings (-Wdouble-promotion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-17 08:44:35 +02:00
Leonid Stryzhevskyi
78f2232012
Merge pull request #822 from fhuberts/fix-Wdangling-reference
Fix compiler warnings (-Wdangling-reference)
2023-08-17 01:57:59 +03:00
Leonid Stryzhevskyi
75fc72b02c
Merge pull request #821 from fhuberts/fix-Wconversion
Fix compiler warnings (-Wconversion)
2023-08-17 01:56:31 +03: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
9f97e4ae61 Fix compiler warnings (-Wdangling-reference)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-16 20:44:41 +02:00
Ferry Huberts
85ee98509a Fix compiler warnings (-Wconversion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-16 14:02:42 +02: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
Ferry Huberts
0b96ccdd5b Fix Clang compiler warnings (-Wzero-as-null-pointer-constant)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-14 22:32:40 +02:00
Ferry Huberts
83138fe94d Fix Clang compiler warnings (-Wc++98-compat-extra-semi)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-14 22:32:37 +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
Ferry Huberts
152edd30d7 Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-08 09:01:56 +02:00
Ferry Huberts
967a6906a4 Fix compiler warnings (-Wctor-dtor-privacy)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-07 18:03:01 +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
fdbf3b83eb Fix compiler warnings (-Winfinite-recursion)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-04 15:57:58 +02:00
Leonid Stryzhevskyi
ea81112c29
Merge pull request #799 from fhuberts/fix-Wswitch-enum
Fix compiler warnings (-Wswitch-enum)
2023-08-04 00:09:51 +03:00
Ferry Huberts
dd69b37872 Fix compiler warnings (-Wswitch-enum)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-02 21:01:02 +02:00
Ferry Huberts
d067e4ce9b Fix compiler warnings (-Wswitch-default)
Missed this one because it's in Windows code.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-02 20:48:14 +02:00
Ferry Huberts
a6fbc026d5 Fix compiler warnings (-Wswitch-default)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-02 20:28:24 +02:00
AstroAir
1af88ac977 just a small update 2023-08-01 11:39:27 +08:00
Leonid Stryzhevskyi
ddbc42f3f2
Merge pull request #791 from fhuberts/fix-Wduplicated-branches
Fix compiler warnings (-Wduplicated-branches)
2023-07-24 01:17:52 +03:00
Leonid Stryzhevskyi
b63ef6849d
Merge pull request #790 from fhuberts/fix-Wmissing-declarations
Fix compiler warnings (-Wmissing-declarations)
2023-07-24 01:15:21 +03:00
Ferry Huberts
f22b2a2531 Fix compiler warnings (-Wduplicated-branches)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-07-22 22:17:31 +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
2b9fd92735 Fix compiler warnings (-Wmissing-declarations)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-07-22 21:28:57 +02:00
Leonid Stryzhevskyi
0b3a66c47c
Merge pull request #783 from linhaojun857/fix_Pool.hpp
fix function:createShared in PoolTemplate
2023-07-22 01:25:39 +03:00
Leonid Stryzhevskyi
128e63054c
Merge pull request #786 from fhuberts/fix-Wredundant-tags
Fix compiler warnings (-Wredundant-tags)
2023-07-22 01:22:54 +03:00
Ferry Huberts
53b8ab37b9 Fix compiler warnings (-Wredundant-tags)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-07-21 22:45:50 +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
linhaojun
782f2c4873 fix function:createShared in PoolTemplate 2023-07-20 00:04:44 +08:00
Roke OS Oatpp
5b079ccd27 Replace use of compare_exchange_weak with compare_exchange_strong
This fixes a bug where the web server could spuriously fail to start
on 32-bit ARM.
2023-07-07 15:47:29 +01:00
Leonid Stryzhevskyi
7e520ec646
Merge pull request #719 from i96751414/master
Fix possible race condition on destroy
2023-05-11 23:38:27 +03:00
Leonid Stryzhevskyi
9ffcb4f07b
Merge pull request #751 from fwh-dc/adds-strerror-to-exception-on-connect
Adds additional error context to exceptions on connect() calls
2023-05-11 23:36:29 +03: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
Frederik Wedel-Heinen
90b2e5517b
Adds additional error context to exceptions on connect() calls 2023-05-08 15:01:37 +02:00
Leonid Stryzhevskyi
aa58ee530d client: allow empty query param values 2023-04-26 00:29:56 +03: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
37b32eb229 remove pragma issues #730 2023-04-01 11:20:14 -06:00
Todd Kushner
3ca1461339 remove pragma issues #730 2023-04-01 11:19:46 -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
110e71f4f2 tcp::server::ConnectionProvider: remove unused code 2023-03-12 04:19:33 +02:00
Leonid Stryzhevskyi
b50783a6a7 async::ConditionVariable use async::LockGuard 2023-03-12 03:18:53 +02:00
i96751414
23d2070a6d Fix possible race condition on destroy 2023-03-05 00:53:42 +00:00
Leonid Stryzhevskyi
e544cf76a8 web::client::ApiClient: add getter for ObjectMapper 2023-03-02 23:16:25 +02:00
Leonid Stryzhevskyi
c0ad7479f3 network::tcp::server::ConnectionProvider: Fix code review comments (#666, #669, #670). 2023-02-10 00:16:46 +02:00
Leonid Stryzhevskyi
febead2e0f network::monitor: Fix ConnectionInactivityChecker. 2023-02-09 04:22:07 +02:00
Leonid Stryzhevskyi
cc1888b3e0 mapping::type::Any: Fix retrieve of null any. 2023-01-29 04:55:51 +02:00
Leonid Stryzhevskyi
594ec76c7f codegen: Fix QUERY(TYPE, NAME, QUALIFIER) macro 2023-01-24 23:28:20 +02:00
Leonid Stryzhevskyi
7208b19ddf parser::Caret: code cleanup 2023-01-18 03:27:48 +02:00
Leonid Stryzhevskyi
7de04967e7 SimpleBodyDecoder: Fix async method. 2023-01-16 23:48:28 +02:00
Leonid Stryzhevskyi
c4926c8a56 async::ConditionVariable fix includes 2023-01-16 00:23:45 +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
919f97185c Fixed parsing of "false" 2022-12-09 13:26:27 +01:00
doufu3344
e3dfed50ec Support for disabling escaping of non-ASCII characters when serializing DTOs
usage:
remove FLAG_ESCAPE_UTF8CHAR in escapeFlags, non-ASCII characters will be output as-is.
```c++
  OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::data::mapping::ObjectMapper>, apiObjectMapper)([] {
    auto serializerConfig = oatpp::parser::json::mapping::Serializer::Config::createShared();
    serializerConfig->escapeFlags &= ~oatpp::parser::json::Utils::FLAG_ESCAPE_UTF8CHAR; //output as-is
    auto objectMapper = oatpp::parser::json::mapping::ObjectMapper::createShared(serializerConfig);
    return objectMapper;
  }());
```
2022-11-29 23:07:26 +08:00
Leonid Stryzhevskyi
e89e4654c4 Fix crash on Endpoint params validation 2022-09-01 03:22:56 +03:00
Leonid Stryzhevskyi
2f975359c5
Merge pull request #582 from sidaf/fix_windows
Cross-compile Windows Fix
2022-04-27 14:51:25 +03:00
sidaf
143ccdb73a Fix 2022-04-20 23:19:36 +01:00
lganzzzo
306a01c1e2 Fix default implementation method for new ErrorHandler 2022-02-24 01:46:08 +02:00
Jeremy Guinn
eff27e6aa5 Add new virtual handleError method to handle the original error 2022-02-20 13:56:02 -07:00
yikenan
a807640b48 move the getType() function implementation from hpp file to cpp file, see issue 557 2022-02-04 16:04:25 +08:00
yikenan
07e895f0fe Delete redundant assignments 2022-01-24 10:07:39 +08:00
lganzzzo
fc4bf4e983 tcp::server::ConnectionProvider: Fix dual-stack sockets on Windows (#549). 2022-01-17 02:11:16 +02:00
Jacob Lauritzen
0130e6da57 Use OATPP_LINK_TEST_LIBRARY instead of OATPP_BUILD_TESTS 2022-01-07 09:54:48 +01:00
Jacob Lauritzen
2aa6c233f6 Only build oatpp-test of OATPP_BUILD_TESTS is YES 2022-01-06 11:36:10 +01:00
lganzzzo
657f8070bf orm::SchemaMigration: add 'getSchemaVersion' method 2022-01-03 17:07:23 +02:00
p4czyk
76e0ee18d6
Fix other macoro typos 2021-12-29 22:11:36 +01:00
p4czyk
0985153682
Fix typo in DTO 2021-12-29 21:52:19 +01:00
MHaselmaier
b0bca97a0d Removed '<' and '>' from documentation 2021-12-21 18:36:54 +01: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