Commit Graph

484 Commits

Author SHA1 Message Date
ipkn
69c189b41a Update README.md 2014-08-08 04:13:10 +09:00
ipknHama
3018ff063a Merge branch 'directory-restructuring'
Directory structure changed.
Crow becomes a complete header-only library with http_parser_merged.h.
Provides amalgamated crow_all.h (all feature in one header file).
2014-08-08 03:53:36 +09:00
ipknHama
001c66b378 amalgamation added 2014-08-08 01:14:27 +09:00
ipknHama
c36aa219e2 now crow becomes completely header only 2014-08-07 08:31:27 +09:00
ipknHama
81fcf4af01 decide to be header only 2014-08-07 06:18:21 +09:00
ipknHama
bd1481656a improve mustache.h 2014-08-07 05:55:31 +09:00
ipknHama
1b83b78c83 spliting header implementation into cpp files, routing.cpp created 2014-08-07 05:25:18 +09:00
ipknHama
e70380e003 cmake update, added template test 2014-08-07 04:46:28 +09:00
ipknHama
031615ac86 source resturcturing + CMake 2014-08-07 01:18:33 +09:00
ipknHama
a0c93f5b84 long polling implementation complete
change `res handle(req)' into `void handle(req, res)'
connnection::handle is divide into two part:
    before and after user handler
2014-08-06 04:07:46 +09:00
ipknHama
88cc6079cb add supporing handlers with res parameter
void handler(const crow::request&, crow::response& res)
{
	res.send(data)
	res.end()
}

https://news.ycombinator.com/item?id=8004017
2014-08-06 04:07:46 +09:00
ipkn
9e331deaee Update README.md 2014-08-04 03:09:00 +09:00
ipknHama
615e648260 mustache partial implementation 2014-08-02 22:32:49 +09:00
ipknHama
9d1d65b08c implementing mustache specs except partial and lambdas 2014-08-02 22:32:49 +09:00
ipknHama
2963a0a477 replace lexical_cast to std::to_string 2014-08-02 22:32:49 +09:00
ipknHama
2e8f9f383d begin implementation: mustache based template engine 2014-08-02 22:32:48 +09:00
Jaeseung Ha
e68f5db64f Mac gcov error fix (remove -r option) 2014-07-29 22:24:04 +09:00
ipkn
edee080ab9 Merge pull request #11 from c0untd0wn/master
support for Mac OS X
2014-07-29 20:28:29 +09:00
ipknHama
b7781b20ff Add HTTP/1.1 persistent connection timeout
manage Connection object life cycle using shared_ptr
2014-07-29 20:20:50 +09:00
Beomki Lee
cae43ed704 support for Mac OSX 2014-07-27 23:23:58 +09:00
ipkn
404b0b966e Merge pull request #6 from deralex/readme-enhancements
Added git submodule to the readme
2014-07-09 17:31:35 +09:00
Alexander Kluth
fbc846b069 Added git submodule to the readme
Signed-off-by: Alexander Kluth <kluth@freshcells.de>
2014-07-09 09:18:23 +02:00
ipknHama
c19eed0285 add support for "Expect: 100-continue" 2014-07-09 14:08:40 +09:00
ipknHama
23f9b52858 fix old naming, check for host header 2014-07-09 14:08:02 +09:00
ipkn
31d2e07bc2 Merge pull request #4 from dZkF9RWJT6wN8ux/master
Some fixes
2014-07-09 09:23:37 +09:00
Alex Butum
b4ec001760 Ignore .directory file 2014-07-08 14:21:28 +03:00
Alex Butum
d7eac147fb use 'template' keyword to treat 'operator ()' as a dependent template name in TaggedRule class 2014-07-08 13:14:21 +03:00
Alex Butum
205648c001 Added build-essential package to Ubuntu requirements 2014-07-08 13:09:15 +03:00
Alex Butum
61cecef606 Use the ${CXX} environment variable instead of hard coding the compiler 2014-07-08 13:07:10 +03:00
Alex Butum
362567fc1a Use -std=c++1y flag to workaround initialized lambda captures are a C++1y extension warning 2014-07-08 13:03:23 +03:00
Alex Butum
cd7937b920 Added clean pseudo target to Makefile 2014-07-08 13:00:50 +03:00
Alex Butum
a7650dc713 Added build instructions for Ubuntu in README.md 2014-07-08 12:50:38 +03:00
Alex Butum
36e415f5b8 Use C++ cstdint header in http_server.h 2014-07-08 12:31:52 +03:00
Alex Butum
bea1d02fff Use C++ cstdint header in crow.h 2014-07-08 12:30:45 +03:00
Alex Butum
b02209bc55 Use C++ cstdint header in utility.h 2014-07-08 12:29:36 +03:00
Alex Butum
0b241bf0e7 Fixed compilation error - CROW_LOG_DEBUG not declared in this scope 2014-07-08 12:28:38 +03:00
Alex Butum
46c977f29b Use C++ style header include 2014-07-08 12:26:55 +03:00
Alex Butum
b2ba5f61b0 Include settings for logging macros to be visible 2014-07-08 12:26:35 +03:00
Alex Butum
30f108ce99 Init life_ data member from Connection class 2014-07-08 10:50:32 +03:00
Alex Butum
9217329239 Init d data member from wvalue class 2014-07-08 10:48:46 +03:00
ipkn
e02e1d3390 Update README.md 2014-07-08 11:59:58 +09:00
ipkn
376cb208b3 Merge pull request #2 from acron0/logging
Added minimalist logging framework
2014-06-06 18:02:22 +09:00
Antony Woods
cabf7469ce Fixed an issue with logging.h when it was used outside of the crow core 2014-05-29 17:10:18 +01:00
Antony Woods
639bacf024 Added log handlers via the ILogHandler interface. At the moment these are sti pretty trivial but should still allow you to add handlers for network, file etc. 2014-05-23 08:22:12 +01:00
Antony Woods
1ae0387a25 Added log level support 2014-05-20 23:30:51 +01:00
Antony Woods
dccb246cf8 Added primitive logging 2014-05-20 17:17:56 +01:00
ipkn
62ace917d3 change system_clock to steady_clock 2014-05-02 01:28:20 -04:00
ipkn
81bd1e1fb6 caching datetime string for Date header 2014-05-02 01:17:49 -04:00
ipknHama
f8893eb138 rename flask to crow 2014-04-27 03:16:00 +09:00
ipkn
8eceb3f7cc Update example.cpp 2014-04-26 07:44:09 +09:00