Dennis Luxen
e36e9fd629
make comparsion explicitly unsigned
2014-05-20 14:33:00 +02:00
Dennis Luxen
d2f19353ed
remove some debug output
2014-05-20 14:33:00 +02:00
Dennis Luxen
2d498cb88b
adapt JSON parsing in tests to allow for omitted fields
2014-05-20 14:33:00 +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
acab77f4f8
add simple isValid() function to PhantomNodes
2014-05-20 14:33:00 +02:00
Emil Tin
bddad0c57c
add test for roundabout with oneone links
2014-05-20 13:27:32 +02:00
Dennis Luxen
3968349480
deactivate LTO on debug build
2014-05-16 15:00:31 +02:00
Dennis Luxen
3ae17761b3
rename variables
2014-05-14 08:54:36 +02:00
Dennis Luxen
9a28bdbf76
reorder some includes
2014-05-14 08:53:26 +02:00
Dennis Luxen
e769821e0f
use range based for loops to traverse graphs
2014-05-13 16:56:30 +02:00
Dennis Luxen
9b68821f05
move common code into its own header
2014-05-13 13:30:52 +02:00
Dennis Luxen
b2adb22b2d
remove whitespace
2014-05-13 12:41:40 +02:00
Dennis Luxen
981941edf4
leave early to reduce scope nesting
2014-05-13 12:22:42 +02:00
Dennis Luxen
111dea89a9
use std::abs instead of hand-rolled substitute
2014-05-13 12:22:14 +02:00
Dennis Luxen
2720f4de9c
add parantheses to fix compiler warning
2014-05-13 10:22:54 +02:00
Dennis Luxen
21645643b0
minor reformatting
2014-05-13 10:20:39 +02:00
Dennis Luxen
c6a07acd90
use std::packaged_task and std::future to simulate boost: 🧵 :timed_join()
2014-05-13 10:03:37 +02:00
Dennis Luxen
1816e6607e
remove boost::thread from Server
2014-05-13 10:02:36 +02:00
Dennis Luxen
37dd05a9b5
Merge branch 'TheMarex-atan-perf' into develop
2014-05-13 10:00:45 +02:00
Patrick Niklaus
529997de9b
Add atan based on lookup table. Again 6% improvement.
2014-05-13 02:20:33 +02:00
Patrick Niklaus
4f37270300
Simple fix that improves runtime of edge based egde generation by 26%
2014-05-13 01:00:24 +02:00
Dennis Luxen
faf9c96442
fix regression in debug build
2014-05-12 18:09:25 +02:00
Dennis Luxen
f7e09686e5
Merge branch 'TheMarex-lto-fix' into develop
2014-05-12 11:05:26 +02:00
Dennis Luxen
8eef8204e7
Merge branch 'lto-fix' of https://github.com/TheMarex/Project-OSRM into TheMarex-lto-fix
2014-05-12 11:05:15 +02:00
Dennis Luxen
8b8e08f0f5
use less than 4GB on 32 bits. fixes #1008
2014-05-12 10:57:02 +02:00
Dennis Luxen
a6bfec22b5
return gracefully instead of failing of geometry is only a single node
2014-05-12 10:33:37 +02:00
Patrick Niklaus
d05c4fa9ed
Fix lto option in gcc 4.9 by using gcc-ar / gcc-ranlib
2014-05-11 21:56:09 +02:00
Dennis Luxen
07231d3706
reformatting RequestHandler
2014-05-11 18:06:52 +02:00
Dennis Luxen
584ba10726
reformatting RequestHandler
2014-05-11 18:03:05 +02:00
Dennis Luxen
24a61dc650
remove unused function parameters
2014-05-11 17:58:37 +02:00
Dennis Luxen
7e7aa6aaee
workaround incomplete std::shared_ptr compatibility of old boost versions
2014-05-11 16:51:14 +02:00
Dennis Luxen
35c5be6475
add missing includes <string> and <limits>
2014-05-10 14:54:46 +02:00
Dennis Luxen
fcf3eb6193
fix yet another missing include on GCC 4.7 (again)
2014-05-09 19:55:27 +02:00
Dennis Luxen
5226b200e7
fix yet another missing include on GCC 4.7
2014-05-09 19:50:16 +02:00
Dennis Luxen
5f57152156
fix missing include
2014-05-09 19:46:37 +02:00
Dennis Luxen
633ef26054
fix compile warning
2014-05-09 19:42:15 +02:00
Dennis Luxen
285bd4f542
further climits madness
2014-05-09 19:41:36 +02:00
Dennis Luxen
e706fb973f
build fixes on GCC
2014-05-09 19:35:09 +02:00
Dennis Luxen
8dc7afed4e
remove even more climits
2014-05-09 19:26:37 +02:00
Dennis Luxen
0c7f996de6
use std numeric limits instead of climits
2014-05-09 19:22:38 +02:00
Dennis Luxen
985a8e9f97
removing boost cref and betting on move semantics
2014-05-09 19:10:11 +02:00
Dennis Luxen
5e26e4c22d
replacing all boost unordereds
2014-05-09 18:40:07 +02:00
Dennis Luxen
00e27e4b5c
replace left-overs from boost::shared_ptr usage
2014-05-09 17:04:55 +02:00
Dennis Luxen
b3ec9c9323
reformat
2014-05-09 16:48:58 +02:00
Dennis Luxen
84ffedd95d
replace boost::shared_ptr
2014-05-09 16:47:42 +02:00
Dennis Luxen
455dc26a5d
add constexpr for invalid name id
2014-05-09 16:18:06 +02:00
Dennis Luxen
0fccd0f0d2
refactor Extractor/
2014-05-09 16:17:31 +02:00
Dennis Luxen
7e639d6bc1
remove white space
2014-05-09 16:16:51 +02:00
Dennis Luxen
694ce9d04f
add forgotten include
2014-05-09 15:12:42 +02:00
Dennis Luxen
aebe8572f9
reformat NodeBasedGraph
2014-05-09 14:21:52 +02:00