Daniel J. Hofmann
166aebbff4
Removes server-side support for POST requests.
2016-03-31 18:58:52 +02:00
Patrick Niklaus
a6a4fb0d49
Use global uturns parameter.
...
Instead of previously per-via settings like uturns=true;false;true;; it
now only supports a global setting uturns=true.
2016-03-31 18:58:52 +02:00
Patrick Niklaus
1109b8de16
Rename alternative -> alternatives
2016-03-31 18:58:52 +02:00
Patrick Niklaus
7cc689af7d
Move bearing to public namespace
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
ea81866e28
Runs scripts/format.sh
2016-03-31 18:58:52 +02:00
Patrick Niklaus
6f89ce516f
Add support for tile plugin
2016-03-31 18:58:52 +02:00
Patrick Niklaus
ee8302bf27
Fix table parameter parsing
2016-03-31 18:58:52 +02:00
Patrick Niklaus
60d83ccf53
First round of lat,lng -> lng,lat switcheroo
2016-03-31 18:58:52 +02:00
Patrick Niklaus
db170d006a
Finish the nearest plugin
2016-03-31 18:58:52 +02:00
Patrick Niklaus
1b1211092b
Add trip plugin
2016-03-31 18:58:52 +02:00
Patrick Niklaus
4e0f2e13bd
Hook up map matching
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
247d0d5290
Service skeletons for nearest, trip, match
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
bb5ca42114
Fix grammar constraint and enable all plugin links
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
66cb69d1d2
Plugin grammar skeletons
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
48008cdc6e
Enforce parameter and grammar type to catch subtle bugs
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
3ff86c4536
Link parameters to grammars
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
ce82242004
Require a BaseParameters type at compile time via enable_if
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
1d312f212a
Semantic action handler requires passing optional by value and fusion::vector2
2016-03-31 18:58:52 +02:00
Patrick Niklaus
1258a64b3e
Add tests for bearing parsing
2016-03-31 18:58:52 +02:00
Patrick Niklaus
c57e85f391
Add table service
2016-03-31 18:58:52 +02:00
Daniel J. Hofmann
bcea53460c
Optional<T> semantic action handler takes T argument
2016-03-31 18:58:52 +02:00
Patrick Niklaus
72ebb3acb8
Fix parameter parsing tests
2016-03-31 18:58:52 +02:00
Patrick Niklaus
66d241a2d8
Add viaroute suport for new API
2016-03-31 18:58:52 +02: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
Patrick Niklaus
0eaa393065
Limit tile zoomlevel to 12+
2016-03-02 19:59:49 +01:00
Daniel Patterson
6d749777fc
Using bind<T> in this case causes ambiguity with GCC 5.2.1 (see http://www.boost.org/doc/libs/develop/libs/bind/doc/html/bind.html#bind.faq.Q_forms ). Remove template and let the type be deduced automatically.
2016-03-02 09:54:08 -08:00
Daniel J. Hofmann
aeee565115
Formats all the files we touch..
2016-03-01 23:51:25 +01:00
Daniel Patterson
5dc7b79bb6
Implements a vector tileserver so you can see what's going on inside
...
OSRM.
2016-03-01 23:51:25 +01:00
Patrick Niklaus
a0b4fcc05a
Remove last bits of GPX support code
2016-03-01 23:44:07 +01:00
karenzshea
f5c12ec433
comments
2016-01-29 23:49:09 +01:00
karenzshea
262cdd7bc0
move tribool obj into request_parser
2016-01-29 23:49:09 +01:00
Daniel J. Hofmann
a48f02e0da
Takes care of proper special member generation globally, fixes #1689
...
Phew, a lot of classes were affected by this. The rationale for the
changes are as follows:
- When a type X declares any constructor, the default constructor is
not declared, so there is no need for X() = delete there. In fact,
there is brutal difference between those two: deleted members
participate in overload resolution, but not-declared members do not!
- When a type X wants to be non-copyable (e.g. to be only movable, like
threads, unique_ptrs, and so on), you can either do it by inheriting
from boost::noncopyable (the old way), or better declare both (!) the
copy constructor _and_ the copy assignment operator as deleted:
X(X const&) = delete;
X& operator=(X const&) = delete;
We had tons of types with deleted copy constructors that were lacking
a corresponding deleted copy assignment operator, making them still
copyable and you wouldn't even notice (read: scary)!
References:
- http://accu.org/content/conf2014/Howard_Hinnant_Accu_2014.pdf
- http://www.boost.org/doc/libs/master/libs/core/doc/html/core/noncopyable.html
Note: I know, I'm quoting Hinnant's extraordinary slides a lot, but
getting the sematic right here is so incredibly important.
2016-01-27 17:25:30 +01:00
Patrick Niklaus
d9c281cd7c
Remove boost fusion dependency in RouteParameters
2016-01-26 22:57:02 +01:00
Daniel J. Hofmann
54a9173107
Make public RouteParameters header no longer depend on Spirit
...
And includes the optional header that was transitively included by the
spirit header before. Hopefully this will speed up compile times, as the
RouteParameters header is used in a lot of translation units.
2016-01-26 22:57:02 +01:00
Patrick Niklaus
439eb9da3d
Create public facing libraries for extractor, contractor and datastore
...
New libraries libosrm_extract, libosrm_contract, libosrm_store
2016-01-21 06:47:34 +01:00
Daniel J. Hofmann
e7d9e42a16
Fix race condition in osrm-routed HTTP server
...
We had a similar issue a few month ago. Stumbled upon this by accident.
It goes like this:
- `output_buffer` is function-local
- we pass it to async_write and leave the scope
- `output_buffers` goes out of scope
- bad things happen, sometimes
The fix is to, again, put it inside the connection that handles itself
via the enable_shared_from_this idiom.
References:
- http://www.boost.org/doc/libs/1_59_0/doc/html/boost_asio/reference/async_write/overload1.html
- https://github.com/Project-OSRM/osrm-backend/pull/1690
2016-01-13 23:21:45 +01:00
Patrick Niklaus
6991a38703
Run clang-format
2016-01-08 01:31:57 +01:00
Patrick Niklaus
6b18e4f7e9
Add namespace around all files
2016-01-08 01:30:52 +01:00
Patrick Niklaus
b209952ce0
Fix naming of methodes for RouteParameters
2016-01-05 12:06:33 +01:00
Patrick Niklaus
028ca5c9d9
Apply clang-format
2016-01-05 12:04:04 +01:00
Daniel J. Hofmann
685d330ee2
Remove license headers from project source files; global license
2016-01-04 19:06:32 +01:00
Patrick Niklaus
97585bb26a
Fix include paths
2016-01-03 18:47:50 +01:00
Patrick Niklaus
bfc6c9b89d
Move files in src/ include/
2016-01-03 16:37:38 +01:00