Commit Graph

32 Commits

Author SHA1 Message Date
Dennis Luxen
fe1f11b071 renamed: Util/StringUtil.h -> Util/string_util.hpp 2015-01-05 10:22:11 +01:00
Dennis Luxen
58de37e822 renamed: DataStructures/* -> data_structures/* 2014-11-28 12:15:31 +01:00
Dennis Luxen
10d7a2396c move JSON rendering code out of container header file. prerequesite to #1261 2014-11-20 15:26:30 +01:00
Dennis Luxen
274140d309 refactor SimpleLogger into simple_logger compile unit 2014-10-10 19:32:49 +02:00
Dennis Luxen
57fab61789 move casts from/to string into static class 2014-10-08 14:47:22 +02:00
Dennis Luxen
8dc85e7641 use C++11 type traits to reduce code size in integral->string conversion 2014-10-08 12:40:56 +02:00
Dennis Luxen
27d5e2b219 fix include order 2014-10-03 10:23:21 +02:00
Dennis Luxen
cd5112ab0e rename short variable, OCLint 2014-09-30 14:28:00 +02:00
Dennis Luxen
8f7f1e2683 reformat source file Server/RequestHandler.cpp 2014-06-18 09:40:53 +02:00
Dennis Luxen
39611f7477 couple more explicit casts 2014-06-17 18:52:01 +02:00
Porjo
82e99988e8 Change content-type header for JSON data 2014-06-16 09:29:34 +02:00
Dennis Luxen
4ee2e1d049 fix long line 2014-06-10 10:49:45 +02:00
Dennis Luxen
2102648102 fix short variable name 2014-06-10 10:48:43 +02:00
Dennis Luxen
f75fcb3041 refactor RequestHandler to remove code duplication, nested blocks and object copies 2014-06-09 18:06:23 +02:00
Dennis Luxen
f801fd1f0d fix inverted logic 2014-05-28 12:06:57 +02:00
Dennis Luxen
f4f49b2b46 remove unused variable 2014-05-26 12:42:47 +02:00
shipenok
2bdec31219 minor fix to open result in browser 2014-05-23 14:27:55 +04:00
Dennis Luxen
a80815d57a implements output generation through a dedicated JSON container:
- JSON syntax is not scattered over several files, but one place
- Reduces code duplication
- breaking changes:
  - new property in json(p) formatted response: "found_alternative": True/False
  - returned filenames now response.js(on) or route.gpx
  - /hello plugin returns JSON now
2014-05-20 14:33:00 +02:00
Dennis Luxen
584ba10726 reformatting RequestHandler 2014-05-11 18:03:05 +02:00
Dennis Luxen
cc982a578d deactivate the cool put_time thing in C++11 as GCC craps out again 2014-05-07 19:30:22 +02:00
Dennis Luxen
7b9b2fd23a use C++11's put time to put the timestamp 2014-05-07 16:50:48 +02:00
Dennis Luxen
9710f39cad remove (almost) all BOOST_FOREACH calls 2014-05-07 16:17:47 +02:00
Dennis Luxen
6b91d6692f unpacking target correctly, also partial unpacking origin and destination are on the very same packed edge 2014-04-24 12:47:36 +02:00
Dennis Luxen
da81e4839a reverse include order 2014-04-21 17:40:07 +02:00
Dennis Luxen
eaed8572f0 make all error messages JSON 2014-04-21 17:40:06 +02:00
Dennis Luxen
32bf99ba40 decode all URIs, fixes #937, 386 2014-03-04 13:56:11 +01:00
DennisOSRM
41f3f53540 move includes to include/osrm 2013-12-20 13:12:56 +01:00
Dennis Luxen
fd2f000075 install lib header files with make install target 2013-12-17 17:59:44 +01:00
Dennis Luxen
8c4c1a56fd reduce compile time by using fwd decls 2013-12-16 11:29:38 +01:00
Dennis Luxen
a492bf3885 kill superflous semicolon 2013-12-13 09:52:22 -05:00
Dennis Luxen
ca17efd764 break out OriginalEdgeData class into its own include 2013-12-09 11:45:45 -05:00
Dennis Luxen
dd104a49f6 break-out Requesthandler into compile unit 2013-12-09 10:54:17 -05:00