alex85k
75dabb75e2
Use TimingUtil.h for all time measurement,
...
and make TimingUtil.h Windows-compatible
2014-06-04 19:52:34 +06:00
Dennis Luxen
7dac8c621c
fix a couple of OCLint warning, i.e. short variable names and useless parantheses
2014-05-30 10:01:55 +02:00
Dennis Luxen
0766c3c62d
refactor member names in ImportEdge
2014-05-29 18:46:20 +02:00
Dennis Luxen
b0d7449bb4
add type traits include
2014-05-28 12:53:18 +02:00
Dennis Luxen
3d691a3aec
implements #947 , free osrm-datastore's shared memory
2014-05-27 18:14:43 +02:00
Dennis Luxen
3b51976b96
remove unneeded include
2014-05-26 18:11:32 +02:00
Dennis Luxen
3fd8ab8d3a
use parallel sorting when loading OSRM data files
2014-05-23 14:49:50 +02:00
Dennis Luxen
6a03f13d55
fixes #1032 :
...
- remove left-overs from OpenMP
- replace omp_* calls with TBB equivalents
2014-05-22 18:39:11 +02:00
Dennis Luxen
8dc631e13c
pull math functions from std namespace
2014-05-22 14:22:10 +02:00
Dennis Luxen
0b873f590c
fix typo in error message
2014-05-22 12:24:34 +02:00
Dennis Luxen
493b13364f
move geographical distance computation to floats
2014-05-21 12:33:54 +02:00
Dennis Luxen
d53eb881c2
revert to old boost based regex as GCC does not properly implement it prior to GCC 4.90
2014-05-20 14:33:03 +02:00
Dennis Luxen
e28e45f38e
remove unused variable
2014-05-20 14:33:03 +02:00
Dennis Luxen
b8acbae3e8
fix #1021 , always check if files exist
2014-05-20 14:33:03 +02:00
Dennis Luxen
4ec9f2c00f
fix #1021 , always check if files exist
2014-05-20 14:33:03 +02:00
Dennis Luxen
0574a60bc2
replace boost::unordered_map, move hash function for pairs into its own header
2014-05-20 14:33:02 +02:00
Dennis Luxen
8fe09c85b6
move atan2 lookup into trig header
2014-05-20 14:33:02 +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
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
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
Patrick Niklaus
529997de9b
Add atan based on lookup table. Again 6% improvement.
2014-05-13 02:20:33 +02:00
Dennis Luxen
07231d3706
reformatting RequestHandler
2014-05-11 18:06:52 +02:00
Dennis Luxen
ac1c59b724
port TimingUtil header to C++11s <chrono>
2014-05-09 11:49:03 +02:00
Dennis Luxen
1f9806386e
port TimingUtil header to C++11s <chrono>
2014-05-09 11:48:48 +02:00
Patrick Niklaus
845972daa5
Add timing to EBGF
2014-05-09 00:56:07 +02:00
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