Commit Graph

332 Commits

Author SHA1 Message Date
Dennis Luxen
f060dfda40 refactor list of const static int into scoped enum 2014-05-08 18:04:05 +02:00
Dennis Luxen
88a4bb4d12 implement locking properly with std::mutex and std::lock_guard<> 2014-05-08 15:25:06 +02:00
Dennis Luxen
3188bc5aba add include for Linux 2014-05-07 14:30:38 +02:00
Dennis Luxen
ba03f99e09 migrate UUID class to C++11, untangle includes, cut back compile time 2014-05-07 14:13:41 +02:00
Dennis Luxen
07e245eb02 migrate StringUtil.h to C++11 2014-05-07 14:12:28 +02:00
Dennis Luxen
38c7d07e50 remove old way to delete copy c'tor 2014-05-07 12:32:39 +02:00
Dennis Luxen
a0a835bbe6 migrate SimpleLogger to C++11 2014-05-07 12:18:13 +02:00
Dennis Luxen
c09e897dab migrate ProgramOptions to C++11 2014-05-07 12:05:51 +02:00
Dennis Luxen
8e6cc09d2f reformat OSRMException.h 2014-05-07 11:55:29 +02:00
Dennis Luxen
dee3529f14 reformat OpenMPWrapper.h 2014-05-07 11:42:41 +02:00
Dennis Luxen
bf5d83d228 reformat MercartorUtil.h 2014-05-07 11:42:13 +02:00
Dennis Luxen
c2b7336817 reformat MachineInfo.h 2014-05-07 11:38:22 +02:00
Dennis Luxen
fc6017c0dd reformat LuaUtil.h 2014-05-07 11:38:11 +02:00
Dennis Luxen
821cc3a177 add missing semi-colon 2014-05-07 10:39:35 +02:00
Dennis Luxen
8939cef020 further C++11 migration 2014-05-07 10:39:35 +02:00
Dennis Luxen
c1e7ba7118 replace all timing by C++11's chrono 2014-05-07 10:39:34 +02:00
Dennis Luxen
ffddea75a4 remove dead code 2014-05-07 10:39:34 +02:00
Dennis Luxen
380111a604 move Azimuth.h to C++11 2014-05-07 10:39:34 +02:00
Dennis Luxen
a1ecab2f95 refactor xml parser, uses faster string to double conversion 2014-04-29 16:05:34 +02:00
Dennis Luxen
d6962f3a09 fix geometry load on shared memory 2014-04-29 09:50:29 +02:00
Dennis Luxen
18861d58b5 compile fix for linux / wrong include 2014-04-24 13:06:57 +02:00
Dennis Luxen
8ae467985f turn off colored logging if output is redirected to file 2014-04-24 13:06:54 +02:00
Dennis Luxen
9cc49f6ff3 remove debug output 2014-04-24 12:54:24 +02:00
Dennis Luxen
87f036e538 fixing sentinel nodes in adjacency list graph data structure 2014-04-24 12:54:24 +02:00
Dennis Luxen
ba37836e24 allow graphs with zero edges to load 2014-04-24 12:51:18 +02:00
Dennis Luxen
f7d5b0db9c uncompressed edges get serialized correctly'ish 2014-04-24 12:05:43 +02:00
Dennis Luxen
c71c8b0047 Unpacking of intermediate paths 2014-04-24 12:03:19 +02:00
Dennis Luxen
b5170ed1fd remove trivial geometry nodes 2014-04-24 11:28:11 +02:00
Dennis Luxen
be8810077a make single paramter c'tors explicit (thx flint) 2014-04-21 17:40:06 +02:00
Dennis Luxen
76058729e0 dont reset coloring when it wasn't set in the first place, partially fixes Windows woes. See #979 2014-04-21 17:40:05 +02:00
Dennis Luxen
88a0cc8c9c dont reset coloring when it wasn't set in the first place 2014-04-21 17:40:05 +02:00
Dennis Luxen
aae3637e0c implements #958 2014-03-25 14:54:52 +01:00
Dennis Luxen
a337109618 implements #961 2014-03-24 12:16:30 +01:00
Emil Tin
0b655ea6a1 trial option 2014-03-22 00:16:45 +01:00
Dennis Luxen
823e8d24b5 deactivate file validation as it is externally handled 2014-03-18 16:27:46 +01:00
Dennis Luxen
4028c0b24f implement proper checks for conflicting inputs 2014-03-18 16:22:42 +01:00
Dennis Luxen
2e4ff30103 fix parameter regression when using shared memory 2014-03-18 10:51:36 +01:00
Dennis Luxen
9483b781e2 provide better feedback on command lines 2014-03-14 11:14:19 +01:00
Dennis Luxen
791f475168 implement #951, better command line handling 2014-03-14 10:15:39 +01:00
Dennis Luxen
0946fac11f Escape characters in JSON instead of HTML-entetizing, implements #895 2014-03-04 14:54:41 +01:00
Dennis Luxen
32bf99ba40 decode all URIs, fixes #937, 386 2014-03-04 13:56:11 +01:00
Dennis Luxen
7580777e43 implement and use portable implementation of canonical file paths, see #909, this time against dev branch 2014-02-11 15:55:22 +01:00
Dennis Luxen
d94955d51e fix resource leak, coverity issue #1121924 2014-01-09 17:11:31 +01:00
Dennis Luxen
046fe93f1f refactor ExtractorStructs.h for faster compiles. achieves approx. 10 secs 2014-01-09 16:13:35 +01:00
DennisOSRM
41f3f53540 move includes to include/osrm 2013-12-20 13:12:56 +01:00
Dennis Luxen
8f89d75edc remove deleted files from repo 2013-12-17 18:02:49 +01:00
Dennis Luxen
fd2f000075 install lib header files with make install target 2013-12-17 17:59:44 +01:00
Dennis Luxen
203beff4d2 remove dead code 2013-12-16 18:33:08 +01:00
Dennis Luxen
25b352aeab add/delete several files 2013-12-13 17:27:31 -05:00
Dennis Luxen
88af9c545b add util funtion to iterate adjacent pairs of a stl compliant container 2013-12-12 18:29:51 -05:00
Dennis Luxen
fdfe0ce63d Implements #822 (partially) 2013-12-09 14:20:35 -05:00
Dennis Luxen
19285d61ab reorder includes to cut compile time 2013-12-08 19:38:13 +01:00
Dennis Luxen
37f5d755f1 break out header file in compile unit 2013-12-08 19:11:22 +01:00
Dennis Luxen
98cd3465d3 remove dead code 2013-12-08 19:11:03 +01:00
Dennis Luxen
ef5c8c24a8 fixing coverity issue 2013-12-08 15:52:21 +01:00
Dennis Luxen
1cd60c05f3 renaming a couple of variables to be more obvious 2013-11-12 19:02:26 -05:00
Dennis Luxen
510cc22484 Refactor name of legacy class _Node into more telling name ExternalMemoryNode 2013-11-12 18:23:09 -05:00
Dennis Luxen
690ac740d2 support ANSI colors in logging class 2013-11-11 13:19:38 -05:00
Dennis Luxen
a305752faf access unordered map through iterators only 2013-11-08 09:47:32 -05:00
Dane Springmeyer
7c8b91456f match exact error from develop branch ~3 months ago 2013-11-04 17:06:02 -08:00
Dane Springmeyer
dc960f30f5 if a file cannot be found print that preamble instead of just the filename 2013-11-04 16:56:41 -08:00
Dennis Luxen
027a4081a2 fix loading of ini files 2013-11-01 15:24:13 +01:00
Dennis Luxen
190def17e5 fix coverity issue 1121924, Resource leak 2013-10-31 14:05:06 +01:00
Dennis Luxen
6453cdf0d6 replace all casserts with Boost.Assert 2013-10-30 18:52:23 +01:00
Dennis Luxen
6bf35c679f add timestamp to management data structure 2013-10-30 14:15:55 +01:00
Dennis Luxen
2822812d0d dont require local file parameter for shared memory input 2013-10-30 11:45:06 +01:00
Dennis Luxen
363bf42b95 reinstate previous regex 2013-10-21 12:00:52 +02:00
Dennis Luxen
a1ab2232f3 use iterator based regex replace 2013-10-21 11:46:17 +02:00
Dennis Luxen
cf69f43166 add proper licence header to newly added files 2013-10-21 11:45:16 +02:00
Dennis Luxen
a2819d822a load data from server.ini only iff no parameters are give 2013-10-16 13:27:44 +02:00
Dennis Luxen
1197b96c49 add shared memory option to command line parameters 2013-10-15 17:06:45 +02:00
Dennis Luxen
c495b1faab graph format now canonical 2013-10-15 14:32:43 +02:00
Dennis Luxen
7cf46afc48 Remove old facade from UUID generation 2013-10-15 14:31:31 +02:00
DennisOSRM
45dee5a666 Styleguide refactoring 2013-10-15 14:19:53 +02:00
Dennis Luxen
e92f344335 Workarounds for various boost versions and their lovely quirks 2013-10-15 14:19:53 +02:00
Dennis Luxen
7951795ea4 Implementation of internal data storage 2013-10-15 14:19:53 +02:00
Dennis Luxen
29499f21c5 License change to (simplified) 2-clause BSD. Good riddance, AGPL 2013-10-14 13:42:28 +02:00
DennisOSRM
457519eae3 Fixes resource leaks and removes deprecated c_str() calls where possible 2013-10-13 14:13:08 +02:00
DennisOSRM
26ab8755b6 move program options for routed/simpleclient into common header 2013-10-12 15:19:59 +02:00
Emil Tin
5f90ed8b3e support capitalized option names in extract/prepare 2013-10-12 09:59:42 +02:00
Emil Tin
613e38d7f8 use boost program_options in osrm-prepare/routed 2013-10-12 09:59:42 +02:00
Dennis Luxen
2d45354f50 Fixes coverity issue 1061545 Uninitialized scalar field 2013-09-17 15:06:12 +02:00
Dennis Luxen
f84de4ac21 Moving timing back to reliable but uugly code 2013-09-09 16:26:44 +02:00
Dennis Luxen
d2b00c4995 Moving timing back to gettimeofday instead of boost::chrono 2013-09-05 21:28:45 +02:00
Dennis Luxen
97e2ac689e Fixed timings to collect absolute numbers and not CPU seconds 2013-09-05 12:20:17 +02:00
Dennis Luxen
189fbb3f7e Fixes coverity issue CID 1063352, use after free bug 2013-08-20 10:04:58 +02:00
Dennis Luxen
887c95fe2a Fixes five silly Conditional jump or move depends on uninitialised value(s) 2013-08-19 18:07:54 +02:00
Dennis Luxen
9d23dee3fc Merge branch 'develop' into experimental/program_options 2013-08-19 17:03:47 +02:00
Dennis Luxen
da98900e3a fixing regression in osrm-components 2013-08-19 13:42:34 +02:00
Emil Tin
e42b8fc37d use boost program_options in extractor 2013-08-14 15:15:35 +02:00
Dennis Luxen
916387748c Refactor _Restriction class 2013-08-14 11:59:46 +02:00
Dennis Luxen
dcd88260e9 Add a few braces here and there 2013-08-13 18:36:23 +02:00
Dennis Luxen
124e555ed0 Disabling debug output in release build 2013-08-13 10:48:02 +02:00
Dennis Luxen
45754b27de remove ignored const qualifiers 2013-08-11 22:10:05 +02:00
Dennis Luxen
0285bb6ea5 Implements 34735b8aad (commitcomment-3828247) 2013-08-09 20:16:26 +02:00
Dennis Luxen
a542292ce2 Check if files exist and contain data, fixes #693 2013-08-09 17:47:11 +02:00
Dennis Luxen
0765ebf735 Implements #692 2013-08-09 14:47:09 +02:00
Dennis Luxen
8de4613a3e Fix coverity errors 1061543 751298 2013-08-09 12:55:08 +02:00
Dennis Luxen
4727bb5c9b Fix coverity error 1061545 2013-08-09 12:51:21 +02:00
Dennis Luxen
1e1e254897 Pass values by const ref 2013-08-09 12:50:21 +02:00
Dennis Luxen
7fe997d38c Add missing newline on EOF 2013-08-08 14:53:49 +02:00
Dennis Luxen
44eed9282b Adding new SimpleLogger class 2013-08-08 14:25:57 +02:00
Dennis Luxen
0eeb94b24c Merge branch 'develop' of https://github.com/DennisOSRM/Project-OSRM into develop 2013-08-08 14:18:13 +02:00
Dennis Luxen
ef221e1c6c Replacing log macros by more sophisticated mechanism 2013-08-08 14:17:01 +02:00
Emil Tin
75cdefa4fe show name of missing .ini file 2013-08-07 21:33:43 +02:00
Dennis Luxen
a82383d78e Refactoring base config class into proper ini file name 2013-08-06 17:33:26 +02:00
Dennis Luxen
b405029f0f Refactoring base config class into proper ini file name 2013-08-06 17:23:40 +02:00
Dennis Luxen
db7d4f56b3 Fix build with updated hash table 2013-08-06 16:58:31 +02:00
Dennis Luxen
e5f0ad4f0b Use boost timer to provide platform independent timing 2013-08-06 14:27:36 +02:00
Dennis Luxen
13f5baf608 Moving node data structure into more meaningful class name 2013-08-05 19:35:47 +02:00
Dennis Luxen
db46a915cc simple wrapper around std::exception 2013-08-05 17:37:30 +02:00
Dennis Luxen
b591aa013d Remove dead code 2013-08-05 17:35:16 +02:00
Dennis Luxen
54302a53e1 use exceptions instead of hard abort 2013-08-05 17:28:57 +02:00
DennisOSRM
4a39a4af1c Check for valid data files. Implements #224 2013-07-22 16:34:06 +02:00
DennisOSRM
c5db4dc15f Check for correct magic number 2013-07-19 18:05:54 +02:00
DennisOSRM
9a02421091 Some mild refactoring 2013-07-19 15:02:45 +02:00
DennisOSRM
4961b819f3 Trigger rebuild of fingerprint everytime 2013-07-19 15:00:41 +02:00
DennisOSRM
f5f7269f70 Trigger rebuild of fingerprint everytime 2013-07-19 14:38:12 +02:00
DennisOSRM
03f1430ddc Trigger rebuild of fingerprint everytime 2013-07-19 14:37:40 +02:00
DennisOSRM
c3dab15eb6 Several lookup fixes and fingerprinting of files with input IO, thx @alex85k 2013-07-18 14:11:45 +02:00
DennisOSRM
b782c8560c add forgotten include file 2013-07-17 16:27:09 +02:00
DennisOSRM
129a846393 add bit size to config object 2013-07-17 15:27:38 +02:00
DennisOSRM
4dffeedd1c (partially) adding new fingerprint objects 2013-07-17 14:47:13 +02:00
DennisOSRM
f5124de327 Partially fixes #646. Values were incorrectly casted to int32_t and not uint32_t 2013-07-09 14:25:32 +02:00
Dennis Luxen
8cb5e68b1a fixing coding style on OpenMP wrapper 2013-06-28 10:22:47 -04:00
Dennis Luxen
99aef2a178 fixing coding style on OpenMP wrapper 2013-06-28 10:14:31 -04:00
Dennis Luxen
cfa8b1f0dd Moving coordinate auxiliary functions into the appropriate place 2013-06-27 09:45:28 -04:00
Dennis Luxen
bfef8f39b7 First implementation of moving the algorithmic core into a library 2013-06-26 19:47:47 -04:00
Dennis Luxen
747e4a7061 Reorder include block according to style guide 2013-06-26 09:49:00 -04:00
Dennis Luxen
17416a09f1 fixing include order 2013-06-24 17:03:24 -04:00
Dennis Luxen
8c678126f1 Remove GUARANTEE macro 2013-06-24 16:55:58 -04:00
Dennis Luxen
5d553bf9f2 const as const can 2013-06-24 16:39:04 -04:00
Dennis Luxen
665f97e782 Move lua includes where they belong 2013-06-24 16:11:33 -04:00
Dennis Luxen
f62293275f Template arguments were uneccessarily defined 2013-04-22 16:42:14 +02:00
DennisOSRM
c2be6bc019 Fixes issue #567 2013-02-05 16:06:10 +01:00
DennisOSRM
348e656671 Merge branch 'feature/opposite_direction' into develop 2013-02-04 18:38:15 +01:00
DennisOSRM
7d9d0878de Adding templated utility functions for repeated operations on containers 2013-02-03 14:59:10 +01:00
DennisOSRM
e6e5626a2c Implementing logic when route is going against one-way flow (think
bikes!)
2013-01-27 14:36:56 +01:00
DennisOSRM
2ccd3da5b3 replacing unsafe strcpy operations 2013-01-11 22:13:02 +01:00
DennisOSRM
5b3aacb4b2 removing stringstream 2013-01-06 17:48:18 +01:00
DennisOSRM
fa050ad616 Fixing registration of package path. 2013-01-05 17:27:10 +01:00
Project OSRM
d2458f3169 Merge pull request #550 from ibikecph/lua_require
easy lua require()
2013-01-05 03:03:13 -08:00
Dennis Luxen
12a35c1214 Splitting monolithic extraction code into compile units 2013-01-02 00:33:14 +01:00
Emil Tin
28f0782b17 code cleanup, merge Lua.h and LuaUtil.h 2012-12-28 22:40:00 +01:00
Emil Tin
ce43b09991 support lua require() 2012-12-28 22:40:00 +01:00
DennisOSRM
8e023418e4 Removing superflous file 2012-12-23 20:03:12 +01:00
DennisOSRM
81d26d7702 Removing superflous file 2012-12-17 12:31:30 +01:00
DennisOSRM
870ed96c24 Replacing atoi by boost::spirit::qi 2012-11-20 12:15:40 +01:00
DennisOSRM
b51f98fe0c Checking existence of file with boost filesystem to make it more
portable
2012-11-16 12:00:50 +01:00
DennisOSRM
591a06b25e Removing superflous files 2012-11-12 17:45:08 +01:00