Daniel J. Hofmann
19ac465fa4
Provides a script to clang-format the repository in parallel
2016-02-25 00:53:30 +01:00
Patrick Niklaus
69bc8a8b22
Fix unpacking for self-loop nodes not in core. Fixes #1999
2016-02-21 01:38:06 +01:00
Patrick Niklaus
d0644bace9
Merge pull request #1998 from mortada/develop
...
fixed minor typos
2016-02-19 17:39:28 -05:00
Mortada Mehyar
aae02cd1be
fixed minor typos
2016-02-18 23:05:11 -05:00
Daniel J. Hofmann
47d56676f1
Don't bounds check by default in static rtree; fixes #1988
2016-02-17 18:20:27 -08:00
Dane Springmeyer
efbaaf2f84
Merge pull request #1994 from Project-OSRM/win-lock-types
...
include boost/thread/lock_types.hpp
2016-02-17 16:16:27 -08:00
bergwerkgis
d38575a011
include lock_types.hpp
2016-02-17 22:54:45 +01:00
Daniel J. Hofmann
908a9e9fa1
Reorders Travis builds by most likely failing one
2016-02-16 09:49:29 -08:00
Daniel J. Hofmann
0ebabfad73
Finish Travis build as soon as a single job failed.
...
Manually cancelling obviously failing builds is getting cumbersome.
Hopefully this will speed things up as a side effect.
References:
- https://docs.travis-ci.com/user/customizing-the-build/#Fast-Finishing
2016-02-16 09:49:29 -08:00
karenzshea
6ac3d902c9
update help output test
2016-02-16 18:43:06 +01:00
karenzshea
3beb8c825b
cf
2016-02-16 18:43:06 +01:00
karenzshea
b80e96547e
remove ini parsing
2016-02-16 18:43:06 +01:00
Moritz Kobitzsch
2679c1cf0a
correct handling of travel modes
2016-02-16 01:35:04 +01:00
Daniel Patterson
65183e94c6
Use \n instead of std::endl to avoid unnecessary flushing. Cleanup some newlines to avoid blank lines in debug output.
2016-02-15 14:21:18 -08:00
Daniel Patterson
6b0fe683c9
Expose the base type. Going via the operator<< leaves us with invalid geojson.
2016-02-15 13:25:55 -08:00
Moritz Kobitzsch
f14352f494
modify turn angles and instructions
2016-02-15 20:13:55 +01:00
Moritz Kobitzsch
ab9426e260
fix routing when requiring loop at a core node
2016-02-15 18:26:39 +01:00
Daniel J. Hofmann
27fe85ac8b
Dividable-by-three instead of next-dividable-by-three
2016-02-12 18:10:44 -08:00
Daniel J. Hofmann
eb6f01e65a
Rip out obsolete floating point header
2016-02-12 16:30:01 -08:00
Daniel J. Hofmann
a6d406d2c3
Fix headers for JSON abstractions
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
4b8c0ac143
Revert "Folds json_* utilities into json subfolder and adapts includes"
...
This reverts commit cd039c69c0a92a35889e3c875b8eb53cf07377bb.
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
c9f0158fdb
Ifdef is_trivially_copyable<T> behind gcc >= 5 guard
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
aac21f932b
Refactors Base64 encoding and decoding, it's almost beautiful now
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
ec01c2a119
Folds json_* utilities into json subfolder and adapts includes
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
fbef77a942
Documents why not to use boost::irange in favor of our hand-written irange
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
f207d988f4
Removes floating point epsilon comparator
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
60fc486cea
Prefix exception header guard with osrm prefix
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
978b70c998
Adds a comment as to why the char to typed enum class transformation is not possible
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
ef171f3acd
Properly use typed math constants instead of impl. specific hacks
...
PI is not in the stdlib, neither is 1/pi, pi*2 and so on. Instead
of relying on implementations providing these, use properly typed
math constants.
Main benefits:
- portable and
- returns constexpr, for compile-time computation
References:
- http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants_intro.html
- http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants.html
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
64b36807d3
Transforms osrm_exception to exception
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
5de8f1803c
Folds mercator projections into coordinate_calculation
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
d1c4a26791
Remove .restriction reference
2016-02-11 19:19:28 -08:00
karenzshea
a647cb9836
kick
2016-02-11 17:36:49 -05:00
karenzshea
7398bed974
Include real coordinates in debug geojson mode
2016-02-11 17:09:20 -05:00
Patrick Niklaus
6077708831
Merge pull request #1964 from Project-OSRM/libosmium-2.6.0
...
Update libosmium to v2.6.0
2016-02-10 20:51:34 -05:00
Dane Springmeyer
6eebb1c089
Support passing OSRM_SHARED_LIBRARY_PATH env variable for cucumber tests
...
The need for this is that:
- On OS X if libraries are stored in custom locations (not /usr/lib or /usr/local)
and they do not embed an rpath (which is common to not have) then the developer
needs to set DYLD_LIBRARY_PATH to ensure that osrm tools can find dependent libraries
at runtime (this is normal and common).
- But as of OS X > 10.11 DYLD_LIBRARY_PATH no longer is inherited. While it works in
the main shell when running a command like `osrm-extract` you will find that when
`osrm-extract` is run by cucumber (ruby child process) then DYLD_LIBRARY_PATH
is blocked and the command cannot start.
- So, this introduces the ability to pass in a variable that the cucumber tests will
understand and can manually forward along to ensure that DYLD_LIBRARY_PATH is respected
where it counts.
The intended usage of this is therefore:
# set the environment variable
export OSRM_SHARED_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
# then run cucumber tests
cucumber -p verify
2016-02-11 02:43:51 +01:00
Daniel J. Hofmann
6cd55e535c
Removes potentially dangerous and misleading lat, lon subscript oeprator
2016-02-11 02:37:33 +01:00
Dane Springmeyer
7d0955c0f4
Merge pull request #1960 from Project-OSRM/cucumber-exit-early
...
Ensure key command line programs can be run before running cucumber tests
2016-02-10 16:03:17 -08:00
Dane Springmeyer
8c9d24bd9f
Merge pull request #1962 from Project-OSRM/no-static-visitor
...
Remove uneeded and deprecated usage of mapbox::util::static_visitor
2016-02-10 16:02:56 -08:00
Dane Springmeyer
c40375a424
update libosmium to v2.6.0
2016-02-10 13:41:22 -08:00
Dane Springmeyer
2949a52a11
remove uneeded and deprecated usage of mapbox::util::static_visitor
2016-02-10 12:58:36 -08:00
Dane Springmeyer
2e762d05f9
Ensure key command line programs can be run before running cucumber tests
...
- Otherwise, currently, if osrm-extract crashes at startup then
the tests continue on and will crash many many times.
- This also tests that --help returns an exit code of zero and will
catch if this behavior ever changes or is inconsistent between
the command line programs
2016-02-09 17:49:47 -08:00
Daniel J. Hofmann
bb06bfbbd7
Same undefined behavior from shifting into the sign bit in Storage
2016-02-08 11:47:44 -08:00
Daniel J. Hofmann
b8d20dfe99
Prevent undefined behavior from left shifting into sign bit when offset is 31
2016-02-08 11:47:44 -08:00
Daniel J. Hofmann
fa8529949b
Make swap noexcept (as it has to be!) and fix swap misuses
2016-02-08 11:47:44 -08:00
Daniel J. Hofmann
7b37c847bd
Fixes shared memory wrapper includes
2016-02-08 11:47:02 -08:00
Daniel J. Hofmann
3075f6cea7
No need for deferred, non-blocking or timeout acquisition
2016-02-08 11:26:40 -08:00
Daniel J. Hofmann
ff966490bb
Fixes datafacade includes
2016-02-08 11:26:40 -08:00
Patrick Niklaus
46993b43fe
Merge pull request #1954 from sebastic/edges-typo
...
Fix 'egdes' typo, replace with 'edges'.
2016-02-06 22:01:16 -05:00
Bas Couwenberg
5e15bceaae
Fix 'egdes' typo, replace with 'edges'.
2016-02-07 02:59:44 +01:00