Commit Graph

293 Commits

Author SHA1 Message Date
Dennis Luxen
04afe8fbf1 remove pesky sstream 2013-12-08 19:43:43 +01:00
Dennis Luxen
392726bad3 remove pesky sstream 2013-12-08 19:42:48 +01:00
Dennis Luxen
19285d61ab reorder includes to cut compile time 2013-12-08 19:38:13 +01:00
Dennis Luxen
aff61dbc3e remove unused include 2013-12-08 19:11:38 +01:00
Dennis Luxen
992458ae4b fix indentation 2013-11-21 00:06:00 +01:00
Dennis Luxen
cabaad4b17 replaced contigouos output data with collection of small'ish sub blocks. saves (re-)allocations. also removed a remaining stringstream 2013-11-14 17:16:26 -05:00
Dennis Luxen
8b6fe691ed add missing files 2013-11-14 12:44:36 -05:00
Dennis Luxen
bf66bec4c7 rename file, untangle more includes 2013-11-14 12:42:50 -05:00
Dennis Luxen
3319709526 rename file, untangle more includes 2013-11-14 12:42:33 -05:00
Dennis Luxen
b13985d550 remove old files 2013-11-14 12:31:20 -05:00
Dennis Luxen
dc4a3e9b89 untangle server and http components 2013-11-14 12:29:56 -05:00
Dennis Luxen
d538c35532 moving and splitting of http protocal data types 2013-11-14 12:28:28 -05:00
Dennis Luxen
a9f54c44e9 move Reply into compile unit 2013-11-13 18:42:42 -05:00
Dennis Luxen
3da664236c reverting premature revert 2013-11-12 17:39:24 -05:00
Dennis Luxen
dced5816df RVO optimization of output buffer generation 2013-11-11 15:17:52 -05:00
Dennis Luxen
6bf35c679f add timestamp to management data structure 2013-10-30 14:15:55 +01:00
Dennis Luxen
c8ab430491 less verbose output 2013-10-30 11:42:05 +01:00
Dennis Luxen
64566ec6cf fix pesky resource leak that took me two f*#+ing days to figure out. No thanks to you, valgrind 2013-10-29 18:45:01 +01:00
Dennis Luxen
571d9bd610 print info on shared data only on reload 2013-10-28 15:11:53 +01:00
Dennis Luxen
e9f6531db7 remove comma at end of enum 2013-10-28 10:54:15 +01:00
Dennis Luxen
62c2c750ea load correct segment, remove some debug output 2013-10-25 22:26:27 +02:00
Dennis Luxen
54c5af30d9 refetch data if changed 2013-10-25 19:31:39 +02:00
Dennis Luxen
47d302221d add ram index file name to layout, rename data types 2013-10-25 17:45:03 +02:00
Dennis Luxen
86433ab3a8 fix indentation 2013-10-25 11:19:02 +02:00
Dennis Luxen
7214800d93 add marker where current shared data resides 2013-10-25 11:16:18 +02:00
Dennis Luxen
6ae880f61e finished locking implementation in queries. YAY\! 2013-10-23 13:22:59 +02:00
Dennis Luxen
49a8980dea use named mtx's and condition for interprocess communication 2013-10-22 13:26:39 +02:00
Dennis Luxen
b7db65a023 rename condidition variable and add mutex for pending update 2013-10-21 19:07:49 +02:00
Dennis Luxen
cf69f43166 add proper licence header to newly added files 2013-10-21 11:45:16 +02:00
Dennis Luxen
9833438733 add better comment 2013-10-18 21:58:07 +02:00
Dennis Luxen
19a457ab7d implement update barrier 2013-10-17 18:11:53 +02:00
Dennis Luxen
593dfd0108 Merging and rebasing of develop into shared_memory
Conflicts:
	DataStructures/SearchEngine.h
	DataStructures/StaticRTree.h
	Descriptors/DescriptionFactory.cpp
	Library/OSRM.cpp
	Library/OSRM.h
	RoutingAlgorithms/BasicRoutingInterface.h
	RoutingAlgorithms/ShortestPathRouting.h
	Server/DataStructures/BaseDataFacade.h
	Server/DataStructures/InternalDataFacade.h
	Server/DataStructures/QueryObjectsStorage.cpp
	Server/DataStructures/SharedDataFacade.h
	routed.cpp
2013-10-15 17:04:53 +02:00
Dennis Luxen
02e9f8aef3 Rework facades to accept ServerPaths object as configuration 2013-10-15 15:44:35 +02:00
DennisOSRM
27a760c58c Move edge-based node out ouf surrounding class 2013-10-15 14:35:36 +02:00
Dennis Luxen
29e6b85f79 Add explicit shmem id for data loading 2013-10-15 14:35:34 +02:00
Dennis Luxen
5b03366909 checking if data files actually exist 2013-10-15 14:35:34 +02:00
Dennis Luxen
252113c838 implementing the fetch of name ids in shared memory 2013-10-15 14:32:45 +02:00
Dennis Luxen
203b215093 loading correct file with rtree leafs and not inner nodes 2013-10-15 14:32:44 +02:00
Dennis Luxen
76ee84dae8 printing debug output 2013-10-15 14:32:44 +02:00
Dennis Luxen
4d00b2ebbb Renaming variables to properly reflect its content 2013-10-15 14:32:43 +02:00
Dennis Luxen
b87a98bbda street name file is now more canonical 2013-10-15 14:32:43 +02:00
Dennis Luxen
f76361a345 changing file format for coordinates to be canonical 2013-10-15 14:32:43 +02:00
Dennis Luxen
94e9dd8f28 store name id of edges in shmem, too 2013-10-15 14:32:42 +02:00
Dennis Luxen
90215ca0dd move shmem stored sizes to 64 bits 2013-10-15 14:32:42 +02:00
Dennis Luxen
83205290de Reordering resource aquisition 2013-10-15 14:32:42 +02:00
Dennis Luxen
02fd528c32 removing debug output 2013-10-15 14:32:42 +02:00
Dennis Luxen
5a04700bae create sentinel to adjancency array during preprocessing 2013-10-15 14:32:41 +02:00
Dennis Luxen
9522e6e714 properly check for (non-)empty vectors 2013-10-15 14:32:41 +02:00
Dennis Luxen
7836ea4479 implement GetName() for shared memory (copy&paste) 2013-10-15 14:32:40 +02:00
Dennis Luxen
34048497e7 implement GetName for internal memory 2013-10-15 14:32:40 +02:00
Dennis Luxen
5197422482 fetch ptr from shared memory to via node list 2013-10-15 14:32:40 +02:00
Dennis Luxen
d9987c2734 load street names into internal memory 2013-10-15 14:32:40 +02:00
Dennis Luxen
c9671b4712 load via node information from shared memory 2013-10-15 14:32:40 +02:00
Dennis Luxen
bbf03e3060 Load r-tree search data structure from shared memory 2013-10-15 14:32:40 +02:00
Dennis Luxen
2dd2d3dd7b adjust facade to pass compilation 2013-10-15 14:31:32 +02:00
Dennis Luxen
b018ea7b1b Give all data types in shared memory 2013-10-15 14:31:31 +02:00
Dennis Luxen
d6cdca35d4 Use typedef instead of base class 2013-10-15 14:31:31 +02:00
Dennis Luxen
056c95670f Added list of all data types in shared memory 2013-10-15 14:31:31 +02:00
DennisOSRM
642473244e fixing include typos 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
9452c7e0c7 further implementation of data facades 2013-10-15 14:19:52 +02:00
Dennis Luxen
092f1a4959 corrected include fence 2013-10-15 14:14:11 +02:00
Dennis Luxen
21bee7e40c Further includes in Facades 2013-10-15 14:14:10 +02:00
Dennis Luxen
a9ac0ac725 Mockups for data facades 2013-10-15 14:12:30 +02:00
Dennis Luxen
5dc1ed6696 plugging in base facade ptr 2013-10-15 14:09:40 +02:00
Dennis Luxen
b55f66e69c added graph data access 2013-10-15 14:08:49 +02:00
Dennis Luxen
fa665c5494 Facade base class to provide all data access 2013-10-15 14:05:42 +02:00
Dennis Luxen
4c6f85fd25 Further includes in Facades 2013-10-15 14:04:12 +02:00
Dennis Luxen
b51d3da7e5 Mockups for data facades 2013-10-15 14:04:11 +02:00
Dennis Luxen
861dbd5977 plugging in base facade ptr 2013-10-15 14:02:31 +02:00
Dennis Luxen
5001fcdd53 added graph data access 2013-10-15 14:02:31 +02:00
Dennis Luxen
eeb47dc724 remove unneeded white spaces 2013-10-15 14:02:31 +02:00
Dennis Luxen
18b57fa6aa Facade base class to provide all data access 2013-10-15 13:45:45 +02:00
Dennis Luxen
12bb4d75fd Adding shared memory data types 2013-10-15 13:45:45 +02:00
Dennis Luxen
29499f21c5 License change to (simplified) 2-clause BSD. Good riddance, AGPL 2013-10-14 13:42:28 +02:00
DennisOSRM
467cf73635 load timestamp properly 2013-10-13 14:26:42 +02:00
DennisOSRM
457519eae3 Fixes resource leaks and removes deprecated c_str() calls where possible 2013-10-13 14:13:08 +02:00
Emil Tin
644fad8355 allow old capitalized option names in routed, few other adjustments 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
DennisOSRM
dee7c339b3 Move edge-based node out ouf surrounding class 2013-10-11 16:14:59 +02:00
Dennis Luxen
2211c69455 Add explicit shmem id for data loading 2013-10-08 18:10:31 +02:00
Dennis Luxen
940b740b24 checking if data files actually exist 2013-10-01 17:37:52 +02:00
Dennis Luxen
ca3464512d implementing the fetch of name ids in shared memory 2013-10-01 13:25:11 +02:00
Dennis Luxen
73234e7782 loading correct file with rtree leafs and not inner nodes 2013-09-30 15:55:29 +02:00
Dennis Luxen
de8d28ea5f printing debug output 2013-09-30 15:54:32 +02:00
Dennis Luxen
f965b7129b Renaming variables to properly reflect its content 2013-09-27 12:00:58 +02:00
Dennis Luxen
333aba8be6 street name file is now more canonical 2013-09-26 18:19:51 +02:00
Dennis Luxen
e9d93ae210 changing file format for coordinates to be canonical 2013-09-26 11:52:15 +02:00
Dennis Luxen
4bf1987bb7 store name id of edges in shmem, too 2013-09-25 18:59:07 +02:00
Dennis Luxen
ae45eed2b1 move shmem stored sizes to 64 bits 2013-09-25 18:58:39 +02:00
Dennis Luxen
7579c41a35 Reordering resource aquisition 2013-09-25 18:26:10 +02:00
Dennis Luxen
4e589c2575 removing debug output 2013-09-25 18:00:12 +02:00
Dennis Luxen
14bd1d01f2 create sentinel to adjancency array during preprocessing 2013-09-24 18:48:02 +02:00
Dennis Luxen
6a0e90ef90 properly check for (non-)empty vectors 2013-09-24 16:24:27 +02:00
Dennis Luxen
71fe8ed80d implement GetName() for shared memory (copy&paste) 2013-09-24 15:12:06 +02:00
Dennis Luxen
b25fe3d127 implement GetName for internal memory 2013-09-24 14:44:25 +02:00
Dennis Luxen
fc4aef6d89 fetch ptr from shared memory to via node list 2013-09-24 13:54:28 +02:00
Dennis Luxen
6b4fa6a40d load street names into internal memory 2013-09-24 13:53:38 +02:00
Dennis Luxen
6756eea209 load via node information from shared memory 2013-09-24 13:33:38 +02:00
Dennis Luxen
bf3cd37b49 Load r-tree search data structure from shared memory 2013-09-24 12:07:34 +02:00
Dennis Luxen
6f71092aa4 adjust facade to pass compilation 2013-09-23 19:00:08 +02:00
Dennis Luxen
396dc21903 Give all data types in shared memory 2013-09-23 18:02:45 +02:00
Dennis Luxen
5e2b0ba46c Use typedef instead of base class 2013-09-23 18:02:16 +02:00
Dennis Luxen
83655e9aef Added list of all data types in shared memory 2013-09-23 13:41:53 +02:00
DennisOSRM
71fcfa4935 fixing include typos 2013-09-20 21:05:47 +02:00
Dennis Luxen
b343a17b29 Implementation of internal data storage 2013-09-20 18:30:47 +02:00
Dennis Luxen
d5c91b9bda further implementation of data facades 2013-09-19 18:55:49 +02:00
Dennis Luxen
ac14a7b0da corrected include fence 2013-09-19 13:59:09 +02:00
Dennis Luxen
c5824765f9 Further includes in Facades 2013-09-19 12:00:36 +02:00
Dennis Luxen
2ab04e7e2f Mockups for data facades 2013-09-19 12:00:36 +02:00
Dennis Luxen
a08fef172e plugging in base facade ptr 2013-09-19 12:00:35 +02:00
Dennis Luxen
a04f77e7e0 added graph data access 2013-09-19 12:00:35 +02:00
Dennis Luxen
4900f3e54d remove unneeded white spaces 2013-09-19 12:00:35 +02:00
Dennis Luxen
5abe7bc7e5 Facade base class to provide all data access 2013-09-19 12:00:35 +02:00
Dennis Luxen
a48aef4039 Adding shared memory data types 2013-09-19 12:00:35 +02:00
Dennis Luxen
e1198f29ce Refactoring according to new coding guidelines 2013-09-19 11:54:24 +02:00
Dennis Luxen
329e619c8c fixing coverity issue 1046674 Uninitialized pointer field 2013-09-19 10:42:28 +02:00
Dennis Luxen
fb9822b507 street name list is now a char array /w indices array 2013-08-20 17:05:36 +02:00
Dennis Luxen
b01e30acfd Moving DataStructures out of Plugin directory 2013-08-14 14:09:42 +02:00
Dennis Luxen
311c50df9f Moving DataStructures out of Plugin directory 2013-08-14 13:57:57 +02:00
Dennis Luxen
06c8656b9e Moving DataStructures out of Plugin directory 2013-08-14 13:41:23 +02:00
Dennis Luxen
beb9c1ba74 use proper check for empty string 2013-08-13 18:37:21 +02:00
Dennis Luxen
679688705d properly order includes 2013-08-11 22:53:31 +02:00
Dennis Luxen
83f0a2c094 Applying syntactic sugar 2013-08-11 22:49:33 +02:00
Dennis Luxen
504817058b remove checks for data that is not used here, log information through SimpleLogger 2013-08-11 22:35:13 +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
ef221e1c6c Replacing log macros by more sophisticated mechanism 2013-08-08 14:17:01 +02:00
Dennis Luxen
b405029f0f Refactoring base config class into proper ini file name 2013-08-06 17:23:40 +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
Dennis Luxen
29e363e7fb some refactoring 2013-06-27 16:09:21 -04:00
Dennis Luxen
2c397bfa0b First implementation of moving the algorithmic core into a library 2013-06-26 19:48:02 -04:00
Dennis Luxen
4430cbc3cb First implementation of moving the algorithmic core into a library 2013-06-26 19:47:16 -04:00
Dennis Luxen
fa328c5a78 don't about if timestamp is missing, just warn 2013-06-25 13:27:39 -04:00
DennisOSRM
aa42b2494c Avoids the implicit lock of #630 2013-05-22 12:06:53 +02:00
DennisOSRM
f057054172 Replacing stringstream based int->string conversion with boost karma
based generator
2013-05-22 11:59:12 +02:00
Dane Springmeyer
556b498e06 remove lexical cast, its evil 2013-05-14 20:12:47 -07:00
DennisOSRM
6031a45c68 Avoid aborts like issue #601 2013-03-06 13:50:09 +01:00
Project OSRM
c4693602ef Adding geometry to production rules 2013-02-25 14:52:35 +01:00
drxzcl
c6840496c0 Add basic CORS headers to allow cross-site access.
Add ¨Access-Control-Allow-Origin: *¨ to the HTTP headers of all replies.
This allows use in a cross-origin AJAX situation.

In compliance with the recommendations of section 4.2 of RFC2616, the header
is added before the existing entity headers.
2013-02-22 16:01:30 +01:00
DennisOSRM
2b5e110719 Splitting utility header with ambigious name into two files with better
names
2013-01-06 19:03:04 +01:00
DennisOSRM
864c2d9f49 stray const keyword removed that prevented build 2013-01-06 17:58:02 +01:00
DennisOSRM
5b3aacb4b2 removing stringstream 2013-01-06 17:48:18 +01:00
DennisOSRM
bf94866ec0 Fixing signed/unsigned comparisons 2012-12-23 19:34:26 +01:00
DennisOSRM
f7fdb8b54e Fixes issue #533 2012-12-10 17:44:45 +01:00
DennisOSRM
a255f222ef Extending timestamp to 25 characters 2012-12-10 16:36:54 +01:00
DennisOSRM
86a5bbac51 fixes issue #530 2012-12-06 20:05:43 +01:00
DennisOSRM
870ed96c24 Replacing atoi by boost::spirit::qi 2012-11-20 12:15:40 +01:00
DennisOSRM
aeff6c8caa rebasing branch on develop and adding new API features 2012-11-14 12:01:19 +01:00