Commit Graph

1509 Commits

Author SHA1 Message Date
June Han
5ecd04ade2 fix: call after_handlers for legitimate requests without body part 2024-02-21 21:37:51 +01:00
David Petkovsek
1e864a2f32 Handle _CROW_ILL or _CROW_ICD being NOTFOUND
If the variable is NOTFOUND then set it to "". Then at the end after possible list appends. If the variable is not "" then update the target properties.

This gets rid of a warning
2024-02-20 23:22:47 +01:00
witcherofthorns
3f632dd71b small explanations in the example on using CORS middleware in Crow v1.0 2024-02-18 13:54:20 +01:00
Corentin Schreiber
df756fed45
Use const std::string& as argument to route() (#684) 2024-01-29 18:10:20 +01:00
JuneHan
973d5fa1cd
fix: minimize the precision loss when dumping double to string (#712)
* fix: minimize the precision loss when dumping double to string
* abandon one-time macro
* replace hard-coded buffer size, replace `sprintf` with `snprintf`
* replace `DECIMAL_DIG` with `DBL_DECIMAL_DIG`
* Update json.h changed to C++11 DECIMAL_DIGIT
* added cfloat include
* identify float and double as different numeral types, and approach their precisions accordingly

---------

Co-authored-by: June Han <jun_h@pretia.co.jp>
Co-authored-by: gittiver <gulliver@traumkristalle.net>
2024-01-29 15:25:26 +01:00
Gulliver
fb171f5195 package format changed to zip, version set to >1.1.0 (first release) 2024-01-29 15:16:35 +01:00
bruvey
4555ffd0c9
Fix #754 (#755)
* Update http_response.h
2024-01-26 19:38:05 +01:00
gittiver
f4166acc66
prepare release 1.1.0 on master-branch by adding new version to documentation (#742)
prepare documentation by adding new version
updated Doxyfile version to 1.1
2024-01-20 20:26:20 +01:00
keith-dev
a88ec3bf64
Fix clang debug build (Android and FreeBSD) (#740)
* fix build: android/termux/clang-17.0

* Android build links with liblog in places

* Fix clang debug build (Android and FreeBSD)
2024-01-16 20:19:06 +01:00
bruvey
78d1d2bfba fix #626 2024-01-09 20:16:31 +01:00
Gulliver
17034adae5 on all platforms added CROW_FEATURES ssl, compression and needed libs to prerequisites
general tests are now enabled on MSVC, mustachetests disabled due to some strange bug in python script (will be done later)
2024-01-07 16:04:38 +01:00
keith-dev
6aed71e3c4
fix build: android/termux/clang-17.0 (#736)
* fix build: android/termux/clang-17.0

* Android build links with liblog in places
2024-01-04 10:46:21 +01:00
na-trium-144
921ce6f972 fix order of destructor call of io_service 2024-01-01 22:51:05 +01:00
jfm
f3e0846ee5 My mistake. Crow is compiled with c++11 under windows and has a macro for std::min not being defined as std::min(a,b) under c++11, CROW_MIN 2024-01-01 22:40:37 +01:00
jfm
6704b9b3ab Add <algorithm> header-file, it doesn't compile on windows if not included 2024-01-01 22:40:37 +01:00
jfm
195cd6ad00 Fixed a typo. As in other places, use 2^14 here 2024-01-01 22:40:37 +01:00
Felix
ae8643a1b6 Performance fix for non-static streaming data 2024-01-01 22:40:37 +01:00
Wayne Gerard
4f3f5deaaa
Update MacOS setup guide (#691)
1. For M1/M2/etc. devices the homebrew location is slightly different, so note that.

2. For clang, linking to pthreads is slightly different so note that as well.
2023-07-22 23:28:58 +02:00
Farook Al-Sammarraie
c755c4c8e6
Merge pull request #683 from cschreib/const
Add missing const to mustache `render` and `json::wvalue::operator[]`
2023-07-22 10:42:57 +00:00
Corentin Schreiber
42fab729a2 Add missing const to mustache and json::wvalue::operator[] 2023-07-08 13:04:48 +01:00
Farook Al-Sammarraie
af6b7edc22
Merge pull request #670 from robertgodfrey/doc-update-ws
Update websocket example code, minor grammar fixes
2023-06-30 23:35:24 +00:00
Rob Godfrey
6f5a6df642 Update websocket example code, minor grammar fixes 2023-06-25 22:35:18 -10:00
Farook Al-Sammarraie
13a91a1941
Merge pull request #656 from gittiver/fix_conversion_warnings
fix diverse compiler warnings
2023-06-17 09:04:15 +00:00
Farook Al-Sammarraie
1648196f7f
allow coverage submission to work with master branch tests 2023-06-16 16:26:01 +00:00
Farook Al-Sammarraie
1918beb0b8
Merge pull request #662 from CrowCpp/coveralls-gha
added proper coveralls submission workflow
2023-06-16 13:14:26 +00:00
The-EDev
bf683e5bf7
fixed syntax error 2023-06-16 15:16:19 +03:00
The-EDev
c365201d4f
fixed 'uses' error 2023-06-16 14:21:03 +03:00
Farook Al-Sammarraie
d0001438fe
fixed indentation 2023-06-16 11:09:30 +00:00
The-EDev
34fd61e827
added proper coveralls submission workflow 2023-06-16 14:05:47 +03:00
Farook Al-Sammarraie
94c0cf2d57
Update Doxyfile 2023-06-15 19:25:50 +00:00
Farook Al-Sammarraie
98352e03a1
Update doxygen-gh-pages.yml 2023-06-15 19:22:50 +00:00
Farook Al-Sammarraie
97025f937a
Merge pull request #654 from gittiver/add_github_action_for_gh_pages
Add GitHub action for gh pages
2023-06-15 19:22:19 +00:00
Gulliver
81d2b1d078 add documentation generation and deployment action
added target-folder to github deploy
fixed debian install command
2023-06-15 09:08:07 +02:00
Gulliver
acfc581d32 build on each push enabled for testing 2023-06-14 11:29:58 +02:00
Gulliver
f6805296ae adapted doxygen config and markdown links to in source build of documentation
added cloning of doxygen theme
2023-06-14 11:29:58 +02:00
Gulliver
710efd292b add documentation generation and deployment action
added target-folder to github deploy
fixed debian install command
2023-06-14 11:29:58 +02:00
Farook Al-Sammarraie
b516efe0a2
Merge pull request #655 from gittiver/add_crow_features_to_ci-build
added cmake options for feature ssl and compression and crow amalgamate for windows in gh-actions
2023-06-14 09:24:44 +00:00
Farook Al-Sammarraie
f19d40b49b
Update build_and_test.yml 2023-06-14 09:13:24 +00:00
Farook Al-Sammarraie
63e621556b
commented out coverage report 2023-06-14 09:13:10 +00:00
Farook Al-Sammarraie
d60702ecbe
Update build_and_test.yml 2023-06-14 09:04:13 +00:00
Gulliver
985a01f587 commented out failing coverall task 2023-06-14 10:50:24 +02:00
Gulliver
b99b4c210c fix for compilation error on Windos/ VIsual Studio build 2023-06-14 09:01:53 +02:00
Gulliver
045e447384 adde cmake options for feature ssl and compression and crow amalgamate 2023-06-14 08:47:46 +02:00
Gulliver
bb58cc1a8b removed superfluous move of temporary. 2023-06-14 08:46:40 +02:00
Gulliver
43ab82ea27 unused variables removed 2023-06-14 08:46:40 +02:00
Gulliver
f0ff5b63d8 query_string.h fixes 2023-06-14 08:46:40 +02:00
Gulliver
976df9586a utility.h fixes 2023-06-14 08:46:40 +02:00
Farook Al-Sammarraie
5baa4e620c
Merge pull request #659 from gittiver/fix_issue_547_Missing_const_in_code_example
added const as in source
2023-06-13 16:22:48 +00:00
Farook Al-Sammarraie
545c468a42
Merge pull request #657 from CrowCpp/gh-actions-coveralls
Added Coveralls to GitHub Actions
2023-06-13 14:19:00 +00:00
Gulliver
8da844970f added const as in source 2023-06-13 15:51:44 +02:00