Commit Graph

184 Commits

Author SHA1 Message Date
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
ipkn
3ec459e477 Update README.md 2014-11-08 08:53:58 +09:00
Antony Woods
5120b127b0 Merged changes from master 2014-11-06 14:16:07 +00:00
Antony Woods
6d24711208 Added boolean types to json rvalue (.b()) including tests 2014-11-06 14:10:38 +00:00
ipkn
ccc5845c3e Merge pull request #36 from acron0/auto-json-content-type
Responses now auto to 'application/json' when constructed using json::wvalue
2014-11-05 03:07:15 +09:00
Antony Woods
738d5d47b5 Responses constructed from json::wvalue now automatically set the appropriate Content-Type header 2014-11-04 17:12:52 +00:00
Antony Woods
693aac108d Post-pull commit 2014-10-24 09:40:09 +01:00
ipknHama
4b3b8070e7 added missing header for amalgate 2014-10-24 04:17:20 +09:00
ipknHama
bdc9dd8d48 added missing header for amalgate 2014-10-24 02:45:34 +09:00
Antony Woods
27bf11d35c Re-implemented 'get_middleware()' as suggested, without changing the Server constructor and now no longer encountering hangs 2014-10-23 18:33:03 +01:00
ipknHama
111b346312 add missing example_with_all.cpp file 2014-10-24 02:12:28 +09:00
ipkn
33b55bd048 Merge pull request #33 from acron0/unlink-http-parser
Removed http-parser submodule
2014-10-24 02:11:10 +09:00