Commit Graph

1649 Commits

Author SHA1 Message Date
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
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
Leonid Stryzhevskyi
0c1528fdb9
Merge pull request #807 from fhuberts/fix-Wunused-variable
Fix compiler warnings (-Wunused-variable)
2023-08-07 17:33:37 +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
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
Leonid Stryzhevskyi
fd93069799
Merge pull request #802 from fhuberts/add-compiler-flags
Explicitly add compiler flags
2023-08-07 01:14:01 +03:00
Ferry Huberts
1ab56bc771 Try to fix the Windows build
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-06 10:03:28 +02:00
Ferry Huberts
a52d1500fe More hardening compiler flags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-05 15:58:11 +02:00
Ferry Huberts
579e9f3319 Add some more possible compiler flags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-05 15:58:05 +02:00
Ferry Huberts
c50959f6e6 Move compiler flags into a separate cmake file
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-05 11:43:20 +02:00
Leonid Stryzhevskyi
38e02370b9
Merge pull request #803 from fhuberts/fix-Winfinite-recursion
Fix compiler warnings (-Winfinite-recursion)
2023-08-05 00:28:10 +03:00
Leonid Stryzhevskyi
73bc335121
Merge pull request #801 from fhuberts/fix-Wcatch-value
Fix compiler warnings (-Wcatch-value=)
2023-08-05 00:20:58 +03: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
Ferry Huberts
90a2c682dc Explicitly add compiler flags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-04 15:38:45 +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
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
Leonid Stryzhevskyi
7bbd72fb64
Merge pull request #798 from fhuberts/fix-Wswitch-default
Fix compiler warnings (-Wswitch-default)
2023-08-04 00:07:10 +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
Leonid Stryzhevskyi
24f7c32da7
Merge pull request #796 from AstroAir/master
Just a small fix
2023-08-02 01:40:41 +03: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
Leonid Stryzhevskyi
6b08efffad
Merge pull request #789 from fhuberts/fix-Wsuggest-override
Fix compiler warnings (-Wsuggest-override)
2023-07-24 01:05:41 +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
Leonid Stryzhevskyi
fd3d7b796d
Merge pull request #785 from fhuberts/fix-Wextra-semi
Fix compiler warnings (-Wextra-semi)
2023-07-22 01:21:41 +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
Leonid Stryzhevskyi
e33e6d567e
Merge pull request #779 from RokeManorResearch/compare-exchange-strong
Fix web server spuriously failing to start on 32-bit ARM
2023-07-08 00:09:10 +03: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
9ab1c2a3cb
Merge pull request #763 from sodevel/fix/regex-injection
Fix CMake regular expression injection
2023-05-26 02:41:43 +03:00
Steffen Olszewski
8cd6dd7c37 Filter file extensions without including the path prefix
Since the file lists contain only valid paths, it is sufficient to anchor
the regular expression at the end only instead of matching the full path.
This prevents regular expression injections.
2023-05-23 19:09:32 +02:00
Steffen Olszewski
7467f14193 Create file lists without using regular expression
Using the path prefix as part of a regular expression can lead to a
regular expression injection, the path might contain regular expression
meta characters that get interpreted. Use cmake_path() instead to filter
path prefixes.
2023-05-23 19:07:18 +02: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
Leonid Stryzhevskyi
da787c97c3
Merge pull request #753 from sodevel/feature/cmake-source-groups
CMake source groups
2023-05-11 23:35:21 +03:00
Steffen Olszewski
496427f7b3 Add default source groups for all targets 2023-05-10 21:49:38 +02:00
Steffen Olszewski
ff36530506 Add utility function to add source groups for files of a target
This function uses default groups like Visual Studio and additional groups
for files commonly used by CMake builds.

This increases the required CMake version to 3.20.
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
f549de385f
Update README.md
Remove lgtm badge
2023-04-26 00:33:27 +03:00
Leonid Stryzhevskyi
aa58ee530d client: allow empty query param values 2023-04-26 00:29:56 +03:00