Commit Graph

295 Commits

Author SHA1 Message Date
Siva Chandran
e99cec63a1 Made parameter_tag related functions to constexpr/static to avoid linker symbol redefinition error when crow header is included in multiple cpp files. 2015-04-25 11:54:22 +05:30
ipkn
c94fc46a7a Merge pull request #58 from gabrielbiga/crow_gabriel
Fix Content-Type not setted passing JSON object by rvalue reference.
2015-04-14 16:25:09 +09:00
Gabriel Marinho
441a9f6e61 Revert "Suggestion: Change the server name variable to a constant on settings.h"
This reverts commit 100f4a7b73.
2015-04-13 18:51:32 -03:00
Gabriel Marinho
100f4a7b73 Suggestion: Change the server name variable to a constant on settings.h
With this constant is very more easy to change the Crow server name.
2015-04-13 18:43:24 -03:00
Gabriel Marinho
b7a7df0412 Fix Content-Type not setted passing JSON object by rvalue reference.
In this specific case, Crow is not setting the JSON Content-Type and this is causing "not well-formed" exception in the Firefox browser.
2015-04-13 01:23:45 -03:00
ipkn
db93256464 Merge pull request #56 from acron0/logo
Added logo to README.md
2015-04-10 03:39:31 +09:00
Antony Woods
29be19943e Added logo to README.md 2015-04-07 11:37:00 +01:00
ipkn
028cd0ecc0 Merge pull request #53 from JaewooSeo/vs2013
VS2013 x64 build support
2015-03-18 22:39:41 +09:00
jaewoo.seo
f0f5b223f0 VS2013 x64 build support 2015-03-15 17:51:55 +09:00
ipkn
04ecfd5e05 Merge pull request #52 from nlogax/fix-typos
Fix parameter typos
2015-03-14 17:49:16 +09:00
Jonas Westerlund
13b8a70c51 Fix parameter typos 2015-03-12 14:53:45 -07:00
ipkn
41d4a0457c Update README.md 2015-02-25 19:43:48 +09:00
ipkn
ac5f2545c8 Merge pull request #48 from lolobosse/master
Commented the examples
2015-02-23 11:13:04 +09:00
Laurent Meyer
673238c2d6 Corrected a typo 2015-02-22 15:29:39 +01:00
Laurent Meyer
cc33f580ee Commented the examples to be easier to be understood by someone new to it. 2015-02-22 15:23:05 +01:00
Laurent Meyer
4edc907fde Added the comments for the param function because had problem to understand the pattern of lists in URL parameters 2015-02-22 11:56:40 +01:00
ipkn
e08b9220e1 Update README.md
* VS2013 support
2015-02-22 09:47:55 +09:00
ipknHama
cc91e2a5c4 Update amalgate 2015-02-21 06:47:48 +09:00
ipknHama
686e5e220b Add working example for VS2013 and update CMakeList.txt 2015-02-21 05:46:28 +09:00
ipknHama
48811ce4a4 remove thread_local variables
* move thread_local variables forget_cached_date_str, timer_queue
   into each threads local stack
2015-02-20 13:44:46 +09:00
ipknHama
5507e98ce2 fix tab to space 2015-02-20 12:00:15 +09:00
ipknHama
3a5599e61a refactor DynamicRule and TaggedRule to support common pattern
* name, methods
2015-02-20 11:58:41 +09:00
ipknHama
0a7c997349 working on VS2013 support
* wrap constexpr
 * add run-time version of get_parameter_tag
2015-02-20 11:50:34 +09:00
ipknHama
02f81f7eaa add CROW_MSVC_WORKAROUND and CROW_CAN_USE_CPP14 macro 2015-02-20 11:47:23 +09:00
ipknHama
92cf40e053 change gmtime to the safer version 2015-02-20 11:07:23 +09:00
ipknHama
f1d1fd6480 change 0b literals to 0x for VS2013 support 2015-02-20 10:54:32 +09:00
ipknHama
7fe8e2cfdc change SFINAE mechanics to support VS2013 2015-02-20 10:53:43 +09:00
ipknHama
5d8d527639 add run-time check for handler type for route_dynamic 2015-02-19 12:16:28 +09:00
ipknHama
c8dbd421c9 update amalgate 2015-02-19 01:47:39 +09:00
ipknHama
d564d486b5 added route_dynamic 2015-02-19 00:57:01 +09:00
Jaeseung Ha
07042b55fd fix #27 : handling routes with trailing slash 2015-01-19 19:03:06 +09:00
Jaeseung Ha
b5942c4dda add member initialization:
need_to_call_after_handlers_
2015-01-19 18:59:55 +09:00
Jaeseung Ha
e27de5edac add const to request::get_header_value method 2015-01-19 18:58:19 +09:00
ipknHama
3fc1424e62 fix issue #39, bug at assigning vector to json wvalue 2015-01-08 08:22:06 +09:00
ipkn
345174564a Merge pull request #44 from nakosung/master
fixed typo
2015-01-06 22:07:44 +09:00
Nako Sung
067f60cefa fixed typo 2015-01-02 11:54:30 +09:00
ipknHama
dc477a2df1 fix add_json to handle POST request 2014-12-15 21:52:42 +09:00
ipknHama
aa36502cf2 Merge branch 'acron0-try-catch-handle' 2014-12-12 07:30:58 +09:00
ipknHama
f6fdf68fe2 Merge branch 'try-catch-handle' of https://github.com/acron0/crow into acron0-try-catch-handle
Conflicts:
	amalgamate/crow_all.h
2014-12-12 07:29:08 +09:00
ipknHama
aa37844cca Merge branch 'xenosoz-master' 2014-12-12 05:40:18 +09:00
Xenosoz Hwang
2e67eff80e Add missing dynamic shared object info
A linker option '-lpthread' was required on my Gentoo system.
2014-12-12 05:38:29 +09:00
ipknHama
ad654da711 Merge branch 'acron0-get-middleware2' 2014-12-12 01:48:56 +09:00
ipknHama
966867a9ca change pointer to reference; fix up spaces 2014-12-12 01:38:57 +09:00
Antony Woods
c2f75a7de1 Merged upstream 2014-12-10 17:29:31 +00:00
Antony Woods
a1751967c3 Added a general purpose try-catch around handle() for instances where an exception would cause the server to never return a response. At some later date we would possibly still wish to provide a custom hook for dealing with 500s. Also note, after an exception is caught, the generated 500 response is still sent to middleware handlers 2014-12-10 17:24:13 +00:00
ipkn
21b027774e Merge pull request #38 from acron0/json-bool
Added boolean types to json rvalue (.b()) including test
2014-11-12 09:23:21 +09:00
ipknHama
79e8fa19f6 amalgamation update 2014-11-09 09:10:46 +09:00
ipknHama
f52778f04d Fixes a bug that crow::json failed to parse double value starting with 0 2014-11-09 08:52:23 +09:00
Jaeseung Ha
49cad23ac9 Fixes #32 by chaing types for operator overloading from int32_t to int, long 2014-11-09 08:20:04 +09:00
Jaeseung Ha
11128435cd fix query_string bug that crashed test 2014-11-09 08:20:04 +09:00