Commit Graph

325 Commits

Author SHA1 Message Date
Emil Tin
cf593ba9f9 fix spelling of edge in SharedDataFacade 2014-08-31 09:09:12 +02:00
Dennis Luxen
7782c80c4f implement missing loading of TravelMode vector into shared memory 2014-08-22 10:31:47 +02:00
Dennis Luxen
85c244ed08 Merge pull request #1166 from Project-OSRM/server_instance_unique_ptr
keep server instance in a shared_ptr
2014-08-21 19:22:37 +02:00
Dennis Luxen
96318bbe11 switch from unique to shared ptr 2014-08-20 11:57:31 +02:00
Dennis Luxen
8f8cb6a52f keep server instance in a unique_ptr 2014-08-20 11:24:29 +02:00
Emil Tin
60d80cf261 code style fixes 2014-08-20 11:08:59 +02:00
Emil Tin
62495a6de4 remove comment 2014-08-20 11:08:42 +02:00
Emil Tin
dae9c9a7ed use 4 bits for travel mode 2014-08-20 11:08:41 +02:00
Emil Tin
6d6d299ea4 most tests passing 2014-08-20 11:08:41 +02:00
Emil Tin
6fd615b9cd first cut at porting travel mode, some tests fail 2014-08-20 11:08:41 +02:00
Dennis Luxen
82c2ae5441 first round of replacing deprecated typedefs with much nicer using statements 2014-08-19 13:01:38 +02:00
Dennis Luxen
c63218a889 add final/override keyword where possible to help compiler de-virtualize function calls 2014-08-18 10:19:33 +02:00
Dennis Luxen
1de736019d make canary static const instead of constexpr 2014-08-14 17:29:10 +02:00
Dennis Luxen
d4bf02c882 replace boost integer range 2014-08-05 17:19:09 +02:00
Dennis Luxen
8010506d4e remove reverted include 2014-07-28 14:20:17 +02:00
Dennis Luxen
f2f7abb9a8 remove reverted include 2014-07-28 14:19:16 +02:00
Dennis Luxen
fc87b0a11e enabling defaultctor for Server 2014-07-28 12:04:11 +02:00
Dennis Luxen
79bc071754 enabling default copy ctor for Server 2014-07-28 11:24:49 +02:00
Dennis Luxen
797243fc9c return unique ptr instead of raw ptr 2014-07-28 11:03:53 +02:00
Patrick Niklaus
3c4feecda0 Make fstream non-static and StaticRTree thread-specific instead 2014-07-22 17:17:56 +02:00
Dennis Luxen
6156bf0f9d make uturn parameter optional 2014-07-16 13:01:25 +02:00
Dennis Luxen
95b5bcbd49 add and parse U-turn parameters in servers APIGrammar 2014-07-16 12:48:11 +02:00
Dennis Luxen
72d709ae6c use explicit NodeID type in SharedDataFacade 2014-07-04 17:20:04 +02:00
Dennis Luxen
7b7b93e9ba remove debug.bin generation 2014-07-01 15:16:41 +02:00
Dennis Luxen
4014da3cc5 make facade d'tors virtual 2014-07-01 14:26:29 +02:00
Guillaume Beraudo
bee18dba54 Display warning when routing without street names.
Indeed, street names are optional for routing.
2014-06-24 17:18:52 +02:00
Dennis Luxen
51fd332806 add incremental query to Facades 2014-06-23 16:56:01 +02:00
Dennis Luxen
f11adf5f80 fix signed/unsigned comparison 2014-06-23 14:35:09 +02:00
Dennis Luxen
b3cdd5b3bf reformat to cut long line 2014-06-20 16:36:15 +02:00
Dennis Luxen
804e515847 stream line code a bit in Reply 2014-06-18 11:25:56 +02:00
Dennis Luxen
7c0866f626 stream line code a bit in Reply 2014-06-18 11:17:23 +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
Dennis Luxen
e3d659576f cast std::size_t and unsigned in a proper way 2014-06-17 16:01:06 +02:00
Porjo
82e99988e8 Change content-type header for JSON data 2014-06-16 09:29:34 +02:00
Patrick Niklaus
1d62ed028e Fix off-by-one since back() gives last value inside [begin,end) 2014-06-12 22:01:23 +02:00
Patrick Niklaus
807f1d7c1c Initial support for SharedDataFacade
SharedDataLayout was refactored to include canary values at the
boundaries of each memory block. This makes it easy to detect overruns
and block-size mismatches between osrm-datastore and the
SharedDataFacade.
2014-06-12 22:01:22 +02:00
Patrick Niklaus
7a7d0c09d9 Integrate RangeTable into server 2014-06-12 22:00:03 +02:00
Dennis Luxen
d27ac27bc7 remove one fwd decl, add more comments to Connection 2014-06-12 13:46:07 +02:00
Dennis Luxen
3127fafc88 Merge branch 'patch-6' of https://github.com/alex85k/Project-OSRM into develop 2014-06-10 17:40:56 +02:00
Dennis Luxen
686f1aeeb2 reformat some code 2014-06-10 17:23:07 +02:00
alex85k
e27a69bab7 Use one more .string().c_str() call 2014-06-10 20:34:21 +06: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
62aea4c321 refactored function names 2014-06-09 18:10:46 +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
971c557d85 explicitly initialize Header member 2014-06-09 17:58:17 +02:00
Dennis Luxen
15f62e680a use inplace construction for Headers instead of explicit objects and copying 2014-06-09 17:55:16 +02:00
Dennis Luxen
0af4e16c21 use inplace construction for Headers instead of explicit objects and copying 2014-06-09 17:54:46 +02:00
Dennis Luxen
47ab0cbf62 reduce some code duplication 2014-06-09 12:11:44 +02:00