Commit graph

2347 commits

Author SHA1 Message Date
Andreas Schildbach
25c2eb6176 Refactor XmlPullParser.getAttributeValue() to use XmlPullUtil.attr() variants. 2015-02-01 23:02:09 +01:00
Antonio El Khoury
574dd9c9a8 Navitia: Use numTripsRequested for trip count attribute. 2015-02-01 22:52:50 +01:00
Andreas Schildbach
c1691a7e71 Fix and add tests for Berlin & Brandenburg.
Conflicts:
	enabler/test/de/schildbach/pte/live/BvgProviderLiveTest.java
	enabler/test/de/schildbach/pte/live/VbbProviderLiveTest.java
2015-02-01 17:24:21 +01:00
Antonio El Khoury
696498cbca Update tests for Paris. 2015-02-01 17:16:21 +01:00
Antonio El Khoury
335651ce5c Navitia: Do not add leg if its duration is 0. 2015-02-01 17:15:50 +01:00
Andreas Schildbach
4fe662d021 Hafas: Remove superfluous invocation of setStationBoardHasStationTable(). 2015-01-29 12:49:08 +01:00
Andreas Schildbach
806100c868 Guava: Use Charsets constants. 2015-01-29 00:33:39 +01:00
Andreas Schildbach
353e5815c7 Guava: Use MoreObjects.ToStringHelper to implement .toString(). 2015-01-29 00:33:38 +01:00
Andreas Schildbach
797448ef0e Guava: Use Objects.hashCode() to implement .hashCode(). 2015-01-29 00:32:08 +01:00
Andreas Schildbach
27d55413cb Guava: Use Objects.equal() to implement .equals(). 2015-01-29 00:32:08 +01:00
Andreas Schildbach
113d5bb5ff Guava: Add to build path. 2015-01-29 00:32:08 +01:00
Andreas Schildbach
891c0b64fd Hafas: Extract methods nearbyStationsByCoordinate() and nearbyStationsById(). 2015-01-28 23:57:51 +01:00
Andreas Schildbach
7ff06cc2d4 Hafas: More improvements to splitting place and name, mostly for POIs. 2015-01-28 23:57:30 +01:00
Andreas Schildbach
589cf69063 Fix rounding errors when parsing coordinates. Add location constructors that take a Point rather than lat and lon. 2015-01-28 23:52:50 +01:00
Andreas Schildbach
3c5dc7c328 Introduce AbstractNetworkProvider.parsePosition() for custom parsable positions. 2015-01-27 14:44:54 +01:00
Andreas Schildbach
e386dac23e EFA: Fix network attribute parsing in <itdServingLine>. 2015-01-27 14:42:21 +01:00
Andreas Schildbach
0b42b39fd7 EFA: Check for empty document. 2015-01-27 14:37:47 +01:00
Andreas Schildbach
70c1037bc4 EFA: Set language in all requests. 2015-01-27 14:35:18 +01:00
Andreas Schildbach
864783fed0 EFA: Fix exception when JSON stopfinder doesn't find anything. 2015-01-27 14:32:52 +01:00
Andreas Schildbach
5fc143196e EFA: <paramList> in <infoLink> is now optional. 2015-01-27 14:31:01 +01:00
Andreas Schildbach
bb03f45f53 EFA: Fix parsing of itdOdv and handling of location IDs. 2015-01-27 14:21:36 +01:00
Andreas Schildbach
64df076576 Remove obsolete ParserUtils.selectNotNull(). 2015-01-25 10:26:21 +01:00
Andreas Schildbach
a5f59319aa Lines. 2015-01-25 10:21:15 +01:00
Andreas Schildbach
20d63e21c4 Add another magic string for internal server errors. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
9e0ecf1251 A bit of exception message cosmetics. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
96c449ccc8 Minimum and maximum times occuring in trips, legs and stops. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
8c1ba6eabb Don't keep separate copy of coarse departure and arrival times in Legs. 2015-01-25 10:14:09 +01:00
Andreas Schildbach
fbe53a1fbe Merge Neckar-Alb-Donau into Baden-Württemberg, Constance & Basel. 2015-01-25 10:10:43 +01:00
Andreas Schildbach
0eb20e5838 Format WordUtils. 2015-01-21 13:03:46 +01:00
Andreas Schildbach
55d41dfd69 Add missing query wrappers in AbstractProviderLiveTest. 2015-01-21 12:58:21 +01:00
Andreas Schildbach
7dd49cf0ee Update API base for Hannover & Lower Saxony. 2015-01-21 12:50:37 +01:00
Andreas Schildbach
f0b071bb62 Fix line names and styles of San Francisco. 2015-01-21 12:50:30 +01:00
Andreas Schildbach
1c32dc0c05 Merge Birmingham & West Midlands into England, Scotland & Wales. 2015-01-21 12:31:30 +01:00
Andreas Schildbach
64366b4d3e Merge Trier into Rhineland-Palatinate, Rhine-Neckar & Baden-Württemberg. 2015-01-15 10:23:11 +01:00
Andreas Schildbach
3db5c27153 Enable trips capability for Sweden. 2015-01-13 14:21:46 +01:00
Andreas Schildbach
a840a6c9e1 Styles for Rostock. 2015-01-13 14:21:46 +01:00
Andreas Schildbach
0122de4bb5 Hafas: Improve handling of station name suffixes. 2015-01-12 18:34:49 +01:00
Andreas Schildbach
593e032df4 Hafas: When querying for nearby stations, use urlname. 2015-01-12 18:34:48 +01:00
Andreas Schildbach
540535b7d5 Hafas: Improve on splitting place and name for lots of networks. 2015-01-11 20:20:37 +01:00
Andreas Schildbach
b596ba6f3a Hafas: If binary connections query returns only one single individual leg, don't query for more. 2015-01-11 20:20:29 +01:00
Andreas Schildbach
9976995137 Fix umlauts in nearby stations for Europe. 2015-01-09 18:42:54 +01:00
Andreas Schildbach
842bf8fa2f Fix premature session expiry for Munich. 2015-01-09 18:42:40 +01:00
Andreas Schildbach
577221cc51 Fix premature session expiry for Melbourne. 2015-01-09 18:42:37 +01:00
Andreas Schildbach
d69506b7c1 Configure session cookies for scraping. 2015-01-09 18:42:32 +01:00
Andreas Schildbach
55a30f56de Clean up scrape methods. 2015-01-09 18:42:17 +01:00
Andreas Schildbach
05e3ac96cd Update user agent. 2015-01-09 17:44:52 +01:00
Andreas Schildbach
06a0d12b0f Update year of copyright. 2015-01-01 01:52:27 +01:00
Antonio El Khoury
11ccd099ec Navitia: Add new commercial modes. 2014-12-21 23:18:41 +01:00
Antonio El Khoury
6255bd1d76 Navitia: Add support for products in queryTrips. 2014-12-21 23:18:41 +01:00
Antonio El Khoury
54ea75fefc Navitia: Add support for walking speed in queryTrips. 2014-12-21 23:18:34 +01:00