Patrick Niklaus
9a332d2f86
Fix osrm.hpp placement
2015-12-15 19:25:26 +01:00
Daniel J. Hofmann
71bf1edc5e
Run Modernizer
2015-11-21 22:17:55 +01:00
Daniel J. Hofmann
1dfa2d6e91
Catch bad_alloc and provide human reasable error messages
2015-10-19 18:18:11 +02:00
Daniel J. Hofmann
79650ca3fd
Flatten main executable entry points by using functional try blocks
2015-10-19 18:18:11 +02:00
Daniel J. Hofmann
31cf8a8813
Remove Boost.Filesystem v3 fix for Boost < 1.48, refactor call sites.
...
We needed this for Boost < 1.48, but per our Wiki on building OSRM:
> On Ubuntu 12.04 you will be limited to OSRM tag v0.3.10 because
> later versions **require Boost v1.49+** and installing this
> causes problems with libluabind-dev package.
Thus, rip it out!
To keep the commits atomic and isolated, I also refactored all call
sites that used the functionality from the portability fix.
While doing this, I also simplified the monster of around ~100 lines of
file path checking --- lambda's are awesome' use them!
References:
- http://stackoverflow.com/a/1750710
- https://github.com/Project-OSRM/osrm-backend/wiki/Building-on-Ubuntu
2015-09-29 16:15:54 +02:00
Daniel J. Hofmann
9a0877379c
Remove dead code.
2015-08-20 16:15:20 +02:00
Patrick Niklaus
92956f2b45
Also support loading core information into shared memory
2015-08-19 12:27:44 +02:00
Patrick Niklaus
94b749ab00
Fix magic number check for fingerprint
2015-06-19 17:51:35 +02:00
Dennis Luxen
3bd27ae8c5
change copyright line from personal names to project
2015-02-19 09:19:51 +01:00
Dennis Luxen
f67eeb66aa
untangle includes using iwyu
2015-02-09 17:38:40 +01:00
Dennis Luxen
b20b7e65bf
renamed: Util/* -> util/*
2015-01-27 17:47:23 +01:00
Dennis Luxen
7be5502a12
renamed: Util/BoostFileSystemFix.h -> Util/boost_filesystem_2_fix.hpp
...
renamed: Util/TrigonometryTables.h -> Util/trigonometry_table.hpp
2015-01-27 17:14:03 +01:00
Dennis Luxen
0de6e4ccbb
renamed: Util/DataStoreOptions.h -> Util/datastore_options.hpp
...
renamed: Util/ProgramOptions.h -> Util/routed_options.hpp
2015-01-27 17:06:10 +01:00
Dennis Luxen
9672f00ec3
renamed: Server/*/*.h -> server/*/*.hpp
2015-01-27 12:35:29 +01:00
Dennis Luxen
0c1101739d
renamed: Server/DataStructures/*.h -> Server/data_structures/*.hpp
2015-01-27 12:14:08 +01:00
Dennis Luxen
baacd0e50c
reformat source files
2015-01-22 12:24:54 +01:00
Dennis Luxen
ef9074f8e4
renamed: Util/finger_print.* -> Util/fingerprint.*
...
thx @emiltin
2015-01-13 11:16:13 +01:00
Dennis Luxen
67f3111cc0
renamed: Util/FingerPrint.h -> Util/finger_print.hpp
2015-01-13 11:05:22 +01:00
Dennis Luxen
b50a907ca3
fix changed include paths
2015-01-06 13:17:12 +01:00
Dennis Luxen
25326b571b
renamed: Util/OSRMException.h -> Util/osrm_exception.hpp
2015-01-05 15:40:05 +01:00
Dennis Luxen
1c5d093b59
Revert "catch uncaught exception"
...
This reverts commit ecff2beafa
.
2014-12-18 16:42:14 +01:00
Dennis Luxen
ecff2beafa
catch uncaught exception
2014-12-18 16:11:49 +01:00
Dennis Luxen
58de37e822
renamed: DataStructures/* -> data_structures/*
2014-11-28 12:15:31 +01:00
Dennis Luxen
0d7141ce5b
Rename NodeInfo -> QueryNode
2014-11-17 14:58:37 +01:00
Dennis Luxen
549ba65861
catch a number of uncaught exceptions
2014-10-15 10:23:48 +02:00
Dennis Luxen
274140d309
refactor SimpleLogger into simple_logger compile unit
2014-10-10 19:32:49 +02:00
Dennis Luxen
52ed8a7ed0
move springclean functionality in its own tools, remove from datastore
2014-10-10 16:55:24 +02:00
Dennis Luxen
2b9e25300f
disable checking for empty data sets to make tests pass in debug mode, #889
2014-10-09 17:27:41 +02:00
Dennis Luxen
7782c80c4f
implement missing loading of TravelMode vector into shared memory
2014-08-22 10:31:47 +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
48da2d2dfb
add some comment to datastore
2014-07-02 11:21:34 +02:00
Dennis Luxen
36c0edea2a
collapse if statement in datastore
2014-07-02 11:18:45 +02:00
Dennis Luxen
9ce970df8f
use default keyword to get rid of compiler warning of not returning a value in a non-void function
2014-07-01 16:51:18 +02:00
Dennis Luxen
1c75ce5911
reformat according w/ clang-format
2014-06-30 19:25:45 +02:00
Emil Tin
7eb810c34a
fix shared mem warnings
2014-06-30 13:01:59 +02:00
Dennis Luxen
922a4331db
reformat source file datastore.cpp
2014-06-18 09:42:45 +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
Dennis Luxen
8aee371d81
further include untangling, chops 5sec compile time
2014-06-11 12:25:57 +02:00
Dennis Luxen
9cd91ae99c
Merge pull request #1066 from alex85k/patch-path-cstr
...
Obtain char* from boost::filesystem::path on all systems
2014-06-06 12:02:32 +02:00
Alexei Kasatkin
5357a6a4fd
get char* from boost::filesystem::path
2014-06-05 23:48:54 +06:00
Alexei Kasatkin
b6787b0014
safeguard: do not read/write 0 bytes (iostream)
2014-06-05 23:16:19 +06:00
alex85k
7335e0809a
Globally rename UUID to FingerPrint
2014-06-05 10:31:19 +02:00
Dennis Luxen
8108c6320d
use lambda for complex initialization
2014-06-02 15:56:06 +02:00
Dennis Luxen
54ec1a89de
use complex const variable initialization w/ lambda functions instead of conditional operator
2014-05-29 12:47:03 +02:00
Dennis Luxen
9c48389f74
collapse if statements
2014-05-28 12:03:07 +02:00
Dennis Luxen
3d691a3aec
implements #947 , free osrm-datastore's shared memory
2014-05-27 18:14:43 +02:00
Dennis Luxen
c924b2067c
refactor and migrate root directory
2014-05-08 19:40:29 +02:00
Dennis Luxen
9c2926ef8a
remove boost/integer include
2014-05-07 14:44:18 +02:00
Dennis Luxen
2d3fb858ad
move StaticGraph to C++11
2014-05-07 10:38:31 +02:00
Dennis Luxen
d6962f3a09
fix geometry load on shared memory
2014-04-29 09:50:29 +02:00