Commit Graph

1649 Commits

Author SHA1 Message Date
Steffen Olszewski
315d5ae498 Fix compilation on GCC 4.6
The compiler flag `-fcf-protection` is only available since GCC 8.1.

Closes #892
2023-11-21 19:57:37 +01:00
Leonid Stryzhevskyi
c1d37c189e
Merge pull request #887 from Yadoms/fixCrossCompileForPi
Try to fix cross-compile for Raspberry Pi with GCC version < 8.1
2023-11-15 22:34:06 +02:00
Leonid Stryzhevskyi
2435f4a3fb
Merge pull request #889 from mwohlert/branch/feature/allow_overriding_DI_variables_in_ClientServerTestRunner
Allow overriding DI injected variables in ClientServerTestRunner
2023-11-15 22:33:07 +02:00
Michel Wohlert
d427e200e9
Allow overriding DI injected variables in ClientServerTestRunner
Move OATPP_COMPONENT calls to constructor to allow supplying variables without using DI
2023-11-14 13:37:04 -08:00
Sébastien Gallou
5ccad57d78 Try to fix cross-compile for Raspberry Pi with GCC version < 8.1 2023-11-08 15:26:31 +01:00
Leonid Stryzhevskyi
1e5b0c4917
Merge pull request #883 from alex-lt-kong/master
New fix to issue 872
2023-11-01 23:54:16 +02:00
Alex Kong
5d552e9625 new fix 2023-10-29 11:27:06 +08:00
Leonid Stryzhevskyi
33c076d4b5
Merge pull request #877 from sodevel/fix/cmake-variable-removal
Prevent unintended removal of local CMake variables
2023-10-21 02:59:04 +03:00
Leonid Stryzhevskyi
1714ce58ec
Merge pull request #878 from sodevel/feature/extend-ignores
Ignore more build directory patterns
2023-10-20 23:31:41 +03:00
Steffen Olszewski
0b73f01703 Prevent unintended removal of local CMake variables
Without quotes list expansion happens inside the set-call, if the list is empty,
this actually unsets the variable. This is not intended and could lead to
unwanted side effects. List expansion is not required there, quoting the
variable results in setting the variable to empty for empty lists.
2023-10-20 19:13:54 +02:00
Steffen Olszewski
bbffb93307 Remove unneeded build directory ignores 2023-10-20 18:56:08 +02:00
Steffen Olszewski
67fa47af99 Ignore more build directory patterns 2023-10-20 18:55:03 +02:00
Leonid Stryzhevskyi
b85a565351
Merge pull request #873 from alex-lt-kong/ak_issue872
comment out fcf-protection
2023-10-15 00:23:01 +03:00
Alex Kong
ad6a6906bc comment out fcf-protection 2023-10-14 17:14:15 +08:00
Alex Kong
dec7490f79 comment out fcf-protection 2023-10-14 17:13:12 +08:00
mamsds
3d0081ab34 comment out fcf-protection 2023-10-14 17:08:41 +08:00
Leonid Stryzhevskyi
d2c06b65af
Merge pull request #861 from linhaojun857/issue_676
Fix serialize object and deserialize json when not include required field
2023-10-08 04:43:31 +03:00
Leonid Stryzhevskyi
1a69c72c67
Update README.md 2023-10-06 01:27:23 +03: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
Leonid Stryzhevskyi
432464285a
Merge pull request #860 from linhaojun857/fix_741
Fix default value with QUERY macro
2023-09-21 02:05:38 +03:00
linhaojun857
0202d08725 fix default value with QUERY macro 2023-09-21 00:20:27 +08:00
Leonid Stryzhevskyi
3f37fa7008
Merge pull request #855 from linhaojun857/issue_775
Add Interface ConnectionConfigurer
2023-09-18 15:34:08 +03:00
Leonid Stryzhevskyi
a309413ae0
Merge pull request #856 from linhaojun857/fix_677
Fix ConnectionMonitor
2023-09-18 15:30:29 +03:00
linhaojun857
32b2b2eb78 fix ConnectionMonitor 2023-09-18 13:44:53 +08:00
linhaojun857
455aa12b54 fix 2023-09-16 13:45:33 +08:00
linhaojun857
55971cf099 add ConnectionConfigurer 2023-09-16 13:37:21 +08:00
Leonid Stryzhevskyi
7e14e48a98
Merge pull request #853 from linhaojun857/fix_client_retry
Fix client retry bug
2023-09-16 02:19:43 +03:00
Leonid Stryzhevskyi
d042b62bed
Merge pull request #852 from linhaojun857/url
Fix url parse bug
2023-09-16 02:16:37 +03:00
linhaojun857
0a5900bd8f fix client retry bug 2023-09-15 13:02:43 +08:00
linhaojun857
62257a94b7 fix url parse bug 2023-09-15 08:56:17 +08:00
Leonid Stryzhevskyi
d4f0ab93c8
Merge pull request #845 from fhuberts/clang
Add Clang support
2023-09-09 01:22:57 +03:00
Ferry Huberts
81e05099ad Process review comments
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-07 08:07:33 +02:00
Ferry Huberts
6d9f9bb5e2 Merge branch 'master' into clang
* master:
  Fix v_sock_size definition
  Use auto for 2 locals
  Convert uses of socklen_t to v_sock_size
  Introduce v_sock_size for socklen_t
2023-09-07 08:03:04 +02:00
Leonid Stryzhevskyi
cc09632a14
Merge pull request #842 from fhuberts/fix-Wsign-conversion
Fix compiler warnings in compilation units (-Wsign-conversion)
2023-09-07 01:13:54 +03:00
Ferry Huberts
11852eb3b5 Fix v_sock_size definition
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 09:11:20 +02:00
Ferry Huberts
defda0ff16 Use auto for 2 locals
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 08:44:53 +02:00
Ferry Huberts
02936f7087 Convert uses of socklen_t to v_sock_size 2023-09-06 08:44:53 +02:00
Ferry Huberts
fd29f31a5c Introduce v_sock_size for socklen_t
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-06 08:44:53 +02: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
44c37df002 Fix a few Clang compiler warnings (-Wsuggest-destructor-override)
A few are left

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-09-02 23:12:26 +02:00
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
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
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