Commit graph

155 commits

Author SHA1 Message Date
Andreas Schildbach
6e2aa29eca Allow specifying time when querying for departures. 2014-09-05 20:06:35 +02:00
Andreas Schildbach
4d46299fb1 Fix NetworkProvider.hasCapabilities(). 2014-08-29 10:03:20 +02:00
Andreas Schildbach
36e52ae4ee Work around VRR cannot deal with useProxFootSearch=1 on large departure monitor requests. 2014-08-27 16:15:31 +02:00
Andreas Schildbach
c11a23ba08 Fix exception when parsing type 'buildingname' in JSON stopfinder (EFA). 2014-08-26 16:43:56 +02:00
Andreas Schildbach
9b1ece6cdf Lines. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
0b5ee4ffb7 Rename XmlPullUtil.exit() to skipExit(). 2014-08-14 23:58:46 +02:00
Andreas Schildbach
4c17bf10eb Fix NPE when parsing messages (EFA). 2014-08-14 23:53:57 +02:00
Andreas Schildbach
c0c033cfcd Fix timezone for time in departures query (EFA). Thanks to Simon Woker for catching this. 2014-07-30 00:29:01 +02:00
Andreas Schildbach
a63f7d727d Make sure nearby stations are not taken into account when querying for departures (EFA). 2014-07-30 00:29:01 +02:00
Andreas Schildbach
68989ec451 Sort suggested locations by hit quality. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
e691e7c2fb Migrate time zone from abstract method to simple property. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
bff85b9f6c Use our own exception type for HTTP_NOT_FOUND, rather than reusing FileNotFoundException. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
83d42d070d Fix crash when parsing certain locations without coordinates (EFA). 2014-07-09 16:42:15 +02:00
Andreas Schildbach
00b0f014ca Rename NetworkProvider.autocompleteStations() to .suggestLocations() and change return type to SuggestLocationsResult. 2014-07-09 16:42:14 +02:00
Andreas Schildbach
d38d6e499b Lines. 2014-07-07 23:08:17 +02:00
Andreas Schildbach
92790d5cab Fix parsing of multiple infoLink tags (EFA). 2014-07-05 19:50:17 +02:00
Andreas Schildbach
0dc08c103a Consolidate XmlPullUtil API for pure value tags. 2014-07-05 19:50:17 +02:00
Andreas Schildbach
82674cef74 Parse 'transfer' legs for mobile EFA. 2014-07-05 19:50:17 +02:00
Andreas Schildbach
133c8c5525 Fix parse error for a no-trips case (EFA). 2014-07-05 19:50:17 +02:00
Andreas Schildbach
f268772820 Move test for expired session into ParserUtils 2014-07-05 19:50:12 +02:00
Andreas Schildbach
cbf19ab96e When failing to parsing XML, always include the first part of the content into ParseException. 2014-07-05 19:50:12 +02:00
Andreas Schildbach
6438b71fad Append first few characters of departure monitor result (EFA) to exception, for debug purposes. 2014-07-01 21:57:47 +02:00
Andreas Schildbach
84d47b6202 Use FileNotFoundException in favour of own NotFoundException on HTTP status "not found". 2014-06-18 13:54:13 +02:00
Andreas Schildbach
7fcaf904dd Make sure scraped input streams are always buffered, so they can be peeked into. 2014-06-18 13:54:13 +02:00
Andreas Schildbach
751338cbe1 Normalize station ids when passing them to Hafas or EFA APIs. 2014-06-18 12:36:55 +02:00
Andreas Schildbach
c4ebd7fbc7 Skip itdMessage in departure monitor result (EFA). 2014-06-18 12:36:55 +02:00
Andreas Schildbach
25d25fd839 Lines. 2014-06-12 11:15:37 +02:00
Andreas Schildbach
710d074c47 Detect several on demand lines. 2014-06-04 13:13:37 +02:00
Andreas Schildbach
d8f3dcaf6c Migrate location IDs from int to String. 2014-04-23 13:59:52 +02:00
Andreas Schildbach
d6fbe6669a Fix place parsing of intermediate stops for recent EFA based providers. 2014-03-23 13:51:34 +01:00
Andreas Schildbach
64f6b31d51 Make JSON stopfinder to use common method for constructing parameters. 2014-02-06 14:13:20 +01:00
Andreas Schildbach
58eb637454 Parse empty <sf>. 2014-02-06 14:13:16 +01:00
Andreas Schildbach
d63dc843eb Fix skipping some trip elements. 2014-02-06 14:13:05 +01:00
Andreas Schildbach
d06ce813b4 Lines. 2014-02-06 14:13:01 +01:00
Andreas Schildbach
0b9985c3e5 Fix stop name can be null in xmlCoordRequest 2014-01-21 13:00:46 +01:00
Andreas Schildbach
f9fd933bfa Parse 'buildingname' location types when autocompleting names for EFA-based providers 2014-01-21 10:57:05 +01:00
Andreas Schildbach
8f201d4b1f Raise default number of requested trips to 6 2014-01-20 17:28:29 +01:00
Andreas Schildbach
115ef114bd Parse empty <ts> 2014-01-20 17:28:29 +01:00
Andreas Schildbach
0be5a62a09 Parse empty <itdItinerary> 2014-01-20 17:28:29 +01:00
Andreas Schildbach
23489327b1 Update year of copyright 2014-01-12 00:44:10 +01:00
Andreas Schildbach
067fb7752c Get rid of XmlPullUtil.jumpToStartTag() 2014-01-12 00:44:10 +01:00
Andreas Schildbach
fbe11f222c Lines 2014-01-12 00:42:35 +01:00
Andreas Schildbach
373c02546f Parse itdCoordinateBaseElemList where itdCoordinateString is not available 2013-12-08 01:31:27 +01:00
Andreas Schildbach
def50afd7b Fix parse 'stateless' in mobile stopfinder 2013-12-04 23:51:48 +01:00
Andreas Schildbach
8817f4a35d Don't use realtime for Dresden 2013-12-04 23:51:48 +01:00
Andreas Schildbach
61dc053701 Lines 2013-12-02 12:10:17 +01:00
Andreas Schildbach
6ea46a8fe9 Fix parsing of itdMessageList in tripRequests 2013-10-12 14:40:11 +02:00
Andreas Schildbach
50021f5dc8 Adapt to API change of Vienna, Lower Austria and Burgenland 2013-10-11 16:47:46 +02:00
Andreas Schildbach
c375502229 Introduce class for positions 2013-10-11 16:47:46 +02:00
Andreas Schildbach
929fe43823 Disambiguate line styles for Bonn 2013-10-10 17:06:46 +02:00