Commit Graph

5037 Commits

Author SHA1 Message Date
Patrick Niklaus
90e8a3e1dc Add rectangle unit test 2016-03-23 17:50:13 +01:00
Patrick Niklaus
0270ee59b4 Fix match and trip API response 2016-03-23 17:50:13 +01:00
Patrick Niklaus
5728af4a2a Fix out-of-bounds write in map_matching 2016-03-23 17:50:13 +01:00
Dane Springmeyer
6cf19ac4cf Fix compile on OS X 2016-03-23 17:50:13 +01:00
Patrick Niklaus
3f81f6b441 Finish the nearest plugin 2016-03-23 17:50:13 +01:00
Patrick Niklaus
669aa9e672 Initialize NearestParameters correctly 2016-03-23 17:50:13 +01:00
Patrick Niklaus
1d3afd5c38 Adapt to feedback in #519 2016-03-23 17:50:13 +01:00
Patrick Niklaus
c53a448589 Add trip plugin 2016-03-23 17:50:13 +01:00
Patrick Niklaus
cb82376083 Hook up map matching 2016-03-23 17:50:13 +01:00
Patrick Niklaus
9d10490613 First compiling version of map_match plugin 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
1cc7d3ddfb Adapts example/example.cpp to new osrm api 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
aad3d8aa1e Install _all_ transitively from public headers included header 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
9258791811 Fix missing headers in hint.hpp 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
19d5912a93 Adds $prefix/include/osrm to include dirs so that transitive header includes without osrm prefix can be found 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
a4770feac4 Adapt the example to include all osrm public headers 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
c8c6f8c2e7 Fixes missing public header installations 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
d7f9c31d0b Fix forward declarations in publicly facing osrm header 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
44b802c053 Enable all plugins with aStatus::Error return code fallback for not implemented ones 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
99f18051f6 Adds publicly facing alias headers for parameters 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
99f94969aa Temporarily comment out match.cpp as to not break the build process 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
bc6d5bbde2 We don't need templates at all, this is not CRTP? 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
6aa5ab5904 Fix classes for service member function definitions 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
0c64503218 Service skeletons for nearest, trip, match 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
e15ba88c0b Fix grammar constraint and enable all plugin links 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
2f9d1d3db2 Plugin grammar skeletons 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
42e6e974ac Enforce parameter and grammar type to catch subtle bugs 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
5a97e7a7ce Link parameters to grammars 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
8c54794d5a Require a BaseParameters type at compile time via enable_if 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
e377a19c10 Adapts Nearest plugin to new API 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
0fb6e9bf3f Fix deleting incomplete type and make Engine moveable only 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
d6a8690425 Adapts publicly facing new API 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
cc65446785 Adapts NearestParameters to new API 2016-03-23 17:50:13 +01:00
Patrick Niklaus
487df70eb3 Initial non-building match plugin 2016-03-23 17:50:13 +01:00
Lauren Budorick
aa79c41804 Include numeric in assemble_overview.cpp (needed on OSX for std::accumulate) 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
7faadb1233 Semantic action handler requires passing optional by value and fusion::vector2 2016-03-23 17:50:13 +01:00
Patrick Niklaus
5c8a895471 Add tests for bearing parsing 2016-03-23 17:50:13 +01:00
Patrick Niklaus
e932a8253a Add table service 2016-03-23 17:50:13 +01:00
Patrick Niklaus
84097964b7 Add table API 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
c2a35b35ad Optional<T> semantic action handler takes T argument 2016-03-23 17:50:13 +01:00
Patrick Niklaus
f6612e2afa Fix parameter parsing tests 2016-03-23 17:50:13 +01:00
Patrick Niklaus
09378f28fd Fix table plugin 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
01ddfbcba3 First take at distance table API re-write 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
0468d7a7c5 Adapts TableParameters and its validation to new API 2016-03-23 17:50:13 +01:00
Patrick Niklaus
39bc0fd330 Add viaroute suport for new API 2016-03-23 17:50:13 +01:00
Patrick Niklaus
53dbb1eac2 Also exclude the compressed flag from the data format 2016-03-23 17:50:13 +01:00
Patrick Niklaus
f5bc843fe6 Remove geometry indicator 2016-03-23 17:50:13 +01:00
Daniel J. Hofmann
c78dff9a15 Write out unsigned with a check for edge counter overflow 2016-03-19 00:27:55 +01:00
Daniel J. Hofmann
25fea558ba Fixes the edge-based-graph factory's edge counter serialization.
The counter for original edges is of type `std::size_t`, but we
serialized `sizeof(unsigned)` number of bytes out to the `.osrm.edges`
file.

We should probably check all writes (analogous for reads) and make the
count parameter dependent on `sizeof(variable)`.

    ag '\.write\((.*), sizeof\((.*)\)\);'
2016-03-19 00:27:55 +01:00
Daniel J. Hofmann
b1c84b598f Print the _local_ endpoint Boost ASIO assigns a port to, fixes #2097 2016-03-18 12:09:28 +01:00
Daniel J. Hofmann
a6aa0a4cb0 Adapts routed to always print port and ip it listens on, fixed #2097 2016-03-16 11:21:20 +01:00