Dennis Luxen
37fb89c691
add size() call to integer range
2015-02-26 10:10:19 +01:00
Patrick Niklaus
440eda3807
Escape string in json renderer
2015-02-25 21:11:02 +01:00
Patrick Niklaus
fdf2e5934d
Add algorithm include for any_of
2015-02-24 20:29:43 +01:00
Dennis Luxen
3da1e8598b
fix copyright year
2015-02-24 14:36:38 +01:00
Dennis Luxen
0296c767bf
fix code-format regression
2015-02-24 09:08:59 +01:00
Dennis Luxen
c215c42289
Merge pull request #1390 from Project-OSRM/feature/width_penalty
...
implements a penalty for very narrow roads
2015-02-24 08:56:11 +01:00
Dennis Luxen
8adab95973
refactor iterator range utility class
2015-02-20 11:59:03 +01:00
Dennis Luxen
b89c7580e6
implement scaling for narrow roads as an alternative expected speed and take the minimum. Follows @emiltin's idea.
2015-02-20 10:33:14 +01:00
Dennis Luxen
a85fe2cb08
remove debug output, thx @emiltin
2015-02-20 10:33:14 +01:00
Dennis Luxen
4c4c126361
implements a penalty for very narrow road:
...
- implements discussion of #1388
- implements basic test cases
2015-02-20 10:33:14 +01:00
Patrick Niklaus
e9e12b88f8
Add CORS Content-Type HTTP header flag
...
Firefox needs this for JSON.
2015-02-20 00:36:36 +01:00
Dennis Luxen
dc08c516bf
use std::tie() to simplify lexicographic comparisons
2015-02-19 19:15:16 +01:00
Patrick Niklaus
9b1f108051
Allow CORS requests in osrm-routed.
2015-02-19 10:42:45 +01:00
Dennis Luxen
b0f9a0feb4
rename variable name to be a little more telling
2015-02-19 10:11:49 +01:00
Dennis Luxen
3bd27ae8c5
change copyright line from personal names to project
2015-02-19 09:19:51 +01:00
Dennis Luxen
79b9bdf7ce
rename JSON namespace to osrm::json to avoid namespace clash with V8
2015-02-18 17:27:31 +01:00
Dennis Luxen
9e09168597
un-lint CMakeLists.txt
2015-02-16 14:18:04 +01:00
Dennis Luxen
e5f12347bd
simplify code by using new phantom node ctor
2015-02-13 14:26:19 +01:00
Dennis Luxen
86d3556c6d
add ctor that converts from rtree segment to phantom node
2015-02-13 14:24:05 +01:00
Dennis Luxen
45838b33b7
avoid implicit conversion to int
2015-02-12 15:40:55 +01:00
Dennis Luxen
a1d4798ded
refactor AlternativePathRouting step to have the same interface semantics regardless of search direction
2015-02-12 15:03:53 +01:00
Dennis Luxen
25c52b7482
rewrite sort/unique function to be more generic
2015-02-12 15:02:16 +01:00
Dennis Luxen
fcf9f266ad
Merge pull request #1381 from neilbu/develop
...
Made the request parser a member of the Connection
2015-02-12 14:26:48 +01:00
Neil Buckman
fa638ae3a0
Removed debug logging
2015-02-12 09:55:13 +00:00
Neil Buckman
6d9cd504a0
Made the request parser a member of the Connection
...
Previously, the request parser was created on demand...but this could
cause requests to be flagged as bad requests if the string length was
large enough to cause the string to be split up into chunks by boost's
read_some method.
2015-02-12 08:01:46 +00:00
Dennis Luxen
f9e9bb8870
update slack channel
2015-02-11 13:22:18 +01:00
Dennis Luxen
85ab2425a8
move travis notifications to slack
2015-02-11 11:47:25 +01:00
Dennis Luxen
9931155c68
port make_unique from libcxx
2015-02-10 18:02:23 +01:00
Dennis Luxen
56b6d928b6
add include to be self-sufficient
2015-02-10 12:34:13 +01:00
Dennis Luxen
b865bea482
fix floating point comparison, remove superflous inline keywords
2015-02-10 12:29:52 +01:00
Dennis Luxen
b6314e0c73
remove unnecessary casts in debug build
2015-02-10 12:27:27 +01:00
Dennis Luxen
2c773750c7
fix const correctness
2015-02-10 12:26:57 +01:00
Dennis Luxen
539b9be1d3
fix warning: use of old-style cast
2015-02-10 12:12:05 +01:00
Dennis Luxen
00e8caa0e3
fix signed/unsigned comparisons and casts
2015-02-10 12:08:17 +01:00
Dennis Luxen
1ff8b62bf5
fix warning: extra ';' after member function definition
2015-02-10 12:03:23 +01:00
Dennis Luxen
25fb985af8
fix warning: use of old-style cast
2015-02-10 12:02:13 +01:00
Dennis Luxen
858245db7d
fix warning: implicit signed/unsigned warning
2015-02-10 11:58:56 +01:00
Dennis Luxen
09bea2ad5b
fix warning: implicit float/double cast
2015-02-10 11:32:39 +01:00
Dennis Luxen
adb520ec2a
fix old-style casts
2015-02-10 11:31:36 +01:00
Dennis Luxen
5a1ff4b50d
fix warning: implicit conversion changes signedness: 'int' to 'unsigned int'
2015-02-10 11:09:51 +01:00
Dennis Luxen
e0f8acf733
make constant a float to avoid implicit cast
2015-02-10 11:04:49 +01:00
Dennis Luxen
a81542eeee
add virtual keyword to functions with override final specifiers
2015-02-10 10:07:35 +01:00
Dennis Luxen
f67eeb66aa
untangle includes using iwyu
2015-02-09 17:38:40 +01:00
Dennis Luxen
88c8d73a94
Merge commit '884c9986229d4228374959265905cfd7b7c90c08' as 'third_party/variant'
2015-02-09 15:19:35 +01:00
Dennis Luxen
884c998622
Squashed 'third_party/variant/' content from commit 24dcab2
...
git-subtree-dir: third_party/variant
git-subtree-split: 24dcab23c4f70e54838e4a32a228aba8045ae17b
2015-02-09 15:19:35 +01:00
Dennis Luxen
86576768d1
remove manually add variant dir
2015-02-09 15:19:19 +01:00
Dennis Luxen
3327c32b20
remove useless parantheses
2015-02-09 14:09:09 +01:00
Dennis Luxen
97ed6a3a4e
remove method stubs
2015-02-09 14:06:14 +01:00
Dennis Luxen
85d8e0ac2c
minor reformat
2015-02-09 09:21:44 +01:00
Dennis Luxen
2a68f9f532
rename variable name
2015-02-06 11:58:41 +01:00