Commit graph

1462 commits

Author SHA1 Message Date
Andreas Schildbach
8adf98b98e Optionally disable sort by weight in JSON getstops (Hafas). 2014-08-26 16:43:56 +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
00b9456431 Clean up AbstractHafasProvider.jsonGetStops() a bit. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
cde4b9d0dc Sort suggested locations only once. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
544fa018ca Make sure places without name cannot exist. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
9b1ece6cdf Lines. 2014-08-26 16:43:56 +02:00
Andreas Schildbach
d9098fc927 Trip.Leg is supposed to be subclassed. 2014-08-15 19:01:48 +02:00
Antonio El Khoury
4b873b60f5 Add method to Style to deduce foreground color from background color. 2014-08-15 16:26:15 +02:00
Andreas Schildbach
aee3fba9cf Add methods for extracting red, green and blue color portions from an int color. 2014-08-15 11:50:49 +02:00
Andreas Schildbach
a8efe538c1 Fix umlauts in suggested locations for BVG. 2014-08-15 00:18:14 +02:00
Andreas Schildbach
06a9580602 Fix Netherlands, but sadly it hasn't got coordinates. 2014-08-15 00:18:14 +02:00
Andreas Schildbach
b1a0b6517c Rostock. 2014-08-15 00:17:07 +02:00
Andreas Schildbach
ae29ae3469 Make it easier to override the various query parameter building methods. 2014-08-15 00:12:57 +02:00
Andreas Schildbach
b50dc033fd Stricter structure check for Hafas station board. 2014-08-15 00:03:53 +02:00
Andreas Schildbach
0b5ee4ffb7 Rename XmlPullUtil.exit() to skipExit(). 2014-08-14 23:58:46 +02:00
Andreas Schildbach
96c3ce459e Fix endpoint URLs of Ireland & Dublin. 2014-08-14 23:58:34 +02:00
Andreas Schildbach
a22deed168 Rename Hafas xmlQueryDepartures to xmlStationBoard. 2014-08-14 23:56:21 +02:00
Andreas Schildbach
e897787d09 Fix StringIndexOutOfBoundsException when scraped page is empty. 2014-08-14 23:56:15 +02:00
Andreas Schildbach
4c17bf10eb Fix NPE when parsing messages (EFA). 2014-08-14 23:53:57 +02:00
Andreas Schildbach
11a8d9f8fe Check for internal errors advertised as HTTP status OK. 2014-08-14 23:53:40 +02:00
Andreas Schildbach
ca3fb061a6 Homogenize output of test results. 2014-08-14 23:51:03 +02:00
Andreas Schildbach
0a7d5f82e9 Use custom number of departures (Hafas). 2014-08-06 23:20:16 +02:00
Andreas Schildbach
e61480cb44 Raise default number of departures to 100 (Hafas). 2014-08-06 23:08:13 +02:00
Andreas Schildbach
31b89f7ef8 Use common method for querying for nearby stations (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
fc91b8c7cb Use common method for querying departures (Hafas). 2014-08-06 23:08:12 +02:00
Andreas Schildbach
f1d0f26de0 Fix NPE when parsing platform (Hafas). 2014-08-06 23:08:12 +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
dd1dc17085 Split name and place for Kiel, Lübeck & Schleswig-Holstein. 2014-07-30 00:29:01 +02:00
Andreas Schildbach
0517f99a4e Fix test cases for Kiel, Lübeck & Schleswig-Holstein. 2014-07-29 18:38:39 +02:00
Andreas Schildbach
aab2c54171 Fix umlauts in autocompleted stations for Leipzig, Halle & Sachsen-Anhalt. 2014-07-29 18:38:39 +02:00
Andreas Schildbach
04abe7b7a7 Migrate Trier to JSON stopfinder. 2014-07-29 16:05:08 +02:00
Andreas Schildbach
459b6cd4b9 Migrate Mittelschwaben to JSON stopfinder. 2014-07-24 11:59:12 +02:00
Andreas Schildbach
3543bc8491 Migrate Schwerin & Mecklenburg-Vorpommern to JSON stopfinder. 2014-07-24 11:59:12 +02:00
Andreas Schildbach
32edd28aa1 Migrate Chemnitz & Mittelsachsen to JSON stopfinder. 2014-07-24 11:59:12 +02:00
Andreas Schildbach
0071589d4c Migrate South West England to JSON stopfinder. 2014-07-24 11:59:12 +02:00
Andreas Schildbach
434aa4ba6f Migrate East of England, East Midlands & South East England to JSON stopfinder. 2014-07-24 11:59:12 +02:00
Andreas Schildbach
3542a9a4d8 Migrate Dubai to JSON stopfinder. 2014-07-24 11:59:12 +02:00
Andreas Schildbach
6fd0fdff4d Migrate Bologna to JSON stopfinder. 2014-07-24 11:59:12 +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
0999b3ba7f Extract AbstractHttpException from HTTP related exceptions and provide access to error content. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
1643e12e24 Update user agent. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
ea4b5441e7 Add 'Zentrum' to names that need places in their unique form. 2014-07-24 11:59:11 +02:00
Andreas Schildbach
defb006745 Make NetworkProvider.getArea() throw IOException. 2014-07-15 00:30:32 +02:00
Andreas Schildbach
f25ab9658c Remove redirect detection from BvgProvider because redirects are now detected by ParserUtils.scrape() already. 2014-07-13 13:38:55 +02:00
Andreas Schildbach
addf81860e Parse CAR leg type in binary trips result (Hafas). 2014-07-12 00:17:34 +02:00
Andreas Schildbach
c39a49eed2 Göttingen & Südniedersachsen. 2014-07-12 00:17:27 +02:00
Andreas Schildbach
83d42d070d Fix crash when parsing certain locations without coordinates (EFA). 2014-07-09 16:42:15 +02:00