Commit Graph

15 Commits

Author SHA1 Message Date
Dennis Luxen
15f62e680a use inplace construction for Headers instead of explicit objects and copying 2014-06-09 17:55:16 +02: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
db67f2ddf1 reformat files according to guidelines, remove superflous inclue 2014-05-07 16:58:32 +02:00
Dennis Luxen
9710f39cad remove (almost) all BOOST_FOREACH calls 2014-05-07 16:17:47 +02:00
Dennis Luxen
018c144c76 minor refactoring 2014-04-28 13:19:35 +02:00
Dennis Luxen
5d6b05979d remove unused variable 2014-04-28 12:59:24 +02:00
Dennis Luxen
538f8d040a avoid short variable name 2014-04-28 12:58:40 +02:00
Dennis Luxen
7d52aa1272 avoid short variable name 2014-04-28 12:58:00 +02:00
Dennis Luxen
33faa2f252 set output size on StockReplies properly 2014-03-24 18:13:40 +01:00
Dennis Luxen
5adfe2d46b transfrom short switch statements into readable if statements 2014-03-17 15:45:47 +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
9b09c9f0c3 move includes into compile unit 2013-12-13 12:34:21 -05:00
Dennis Luxen
cabaad4b17 replaced contigouos output data with collection of small'ish sub blocks. saves (re-)allocations. also removed a remaining stringstream 2013-11-14 17:16:26 -05:00
Dennis Luxen
d538c35532 moving and splitting of http protocal data types 2013-11-14 12:28:28 -05:00