Commit graph

2428 commits

Author SHA1 Message Date
Andreas Schildbach
d1f03705d0 AbstractHafasClientInterfaceProvider: Exception message cosmetics. 2018-12-01 12:33:42 +01:00
Andreas Schildbach
a199d757d2 AbstractHafasClientInterfaceProvider: Handle CGI_READ_FAILED error in all queries. 2018-12-01 12:33:35 +01:00
Andreas Schildbach
21fbce08f7 AbstractHafasClientInterfaceProvider: 'errTxt' is always optional. 2018-12-01 12:23:53 +01:00
Andreas Schildbach
724f8a23e3 AbstractHafasClientInterfaceProvider: Parse 'nameS' (short name) in 'prodL' entries. 2018-11-30 18:41:19 +01:00
Andreas Schildbach
ea652f30cc AbstractEfaProvider: 'MRB26' line. 2018-11-28 14:58:27 +01:00
Andreas Schildbach
64a336d38e NVBW: 'IC' lines. 2018-11-28 14:58:03 +01:00
Andreas Schildbach
bf1eb524e4 AbstractHafasClientInterfaceProvider: Ignore errors in ServerInfo responses. 2018-11-27 15:34:50 +01:00
Andreas Schildbach
667166bbc9 AbstractHafasClientInterfaceProvider: Handle CGI_READ_FAILED error in jsonTripSearch(). 2018-11-27 15:25:50 +01:00
Andreas Schildbach
b370effeae AbstractHafasClientInterfaceProvider: Handle missing 'code' in 'remL' entry. 2018-11-26 17:57:23 +01:00
Andreas Schildbach
5056548975 AbstractHafasClientInterfaceProvider: Handle missing 'txtN' in 'remL' entry and try 'txtS' first. 2018-11-26 17:55:43 +01:00
Andreas Schildbach
d2019aef57 AbstractHafasClientInterfaceProvider: Handle missing dProdX in jnyL.stbStop when querying for departures. 2018-11-26 17:55:31 +01:00
Andreas Schildbach
88f0e12fcb DB: Migrate to Hafas client interface. 2018-11-19 21:57:18 +01:00
Andreas Schildbach
5ff1d2bd35 Sydney: Fix trip endpoint. 2018-11-19 02:00:12 +01:00
Andreas Schildbach
fe40fa2208 HSL: Remove provider for Finland. 2018-11-18 11:53:33 +01:00
Andreas Schildbach
38873cca19 LU: Fix buses in the product map. 2018-11-18 11:53:27 +01:00
Andreas Schildbach
63d8ed5e14 Update Guava to 27.0-android. 2018-11-17 22:38:03 +01:00
Andreas Schildbach
e3d8a7278f Update OkHttp to 3.12.0. 2018-11-17 22:37:59 +01:00
Andreas Schildbach
05d1a5826b OOEVV, SVV, VAO, VMOBIL, VOR, VVT: Increase API version to 1.15 to fix spurious PARSE errors when querying for trips.
Bring related LiveTests up to speed too.
2018-11-17 22:36:51 +01:00
Andreas Schildbach
874198b621 AbstractHafasClientInterfaceProvider: Split unidentified destination as if it were a station. 2018-11-17 17:26:48 +01:00
Andreas Schildbach
1d7006e837 ZVV: Fix regional trains in the product map. 2018-11-17 14:02:42 +01:00
Andreas Schildbach
03a3a387af ZVV: Fix splitting of station names. 2018-11-17 14:02:42 +01:00
Andreas Schildbach
28dd2c8033 ZVV: Replace some line numbers by the line name. 2018-11-17 14:00:22 +01:00
Andreas Schildbach
679915bed3 Line: Improve toString(). 2018-11-17 11:36:36 +01:00
Andreas Schildbach
bab9b0d39f LU: Migrate to Hafas client interface. 2018-11-17 11:36:27 +01:00
Andreas Schildbach
ec05c0a519 DSB: Migrate to Hafas client interface. 2018-11-16 22:06:12 +01:00
Andreas Schildbach
db7b4c8a0d AbstractHafasClientInterfaceProvider: Allow configuration of the endpoint. 2018-11-16 21:57:36 +01:00
Andreas Schildbach
389cd53bbf NVV: Migrate to Hafas client interface. 2018-11-16 20:55:55 +01:00
Andreas Schildbach
f1641c5fa3 OEBB: Migrate to Hafas client interface. 2018-11-16 19:04:17 +01:00
Andreas Schildbach
d0bcedc0e8 ZVV: Migrate to Hafas client interface. 2018-11-16 15:27:06 +01:00
Andreas Schildbach
52e6fc3aab AbstractHafasClientInterfaceProvider: Avoid infinite parseLoc() recursions. 2018-11-16 14:36:41 +01:00
Andreas Schildbach
2e8edc117d SNCB: Migrate to Hafas client interface. 2018-11-16 13:07:50 +01:00
Andreas Schildbach
87a327cedb VBB: Migrate to Hafas client interface. 2018-11-16 11:01:32 +01:00
Andreas Schildbach
a9ee06de7f SE: Migrate to Hafas client interface. 2018-11-16 10:47:23 +01:00
Andreas Schildbach
9c82857a67 LocationUtils: Add computeDistance() variant with Points. 2018-11-16 01:41:27 +01:00
Andreas Schildbach
e6474db222 Point: Store coordinate as pair of double, rather than 1E6 ints.
This makes the lat/lon member variables private and adds 1E6 variants for getters and the static constructor.
Also, Location now stores a Point for its coordinate, rather than 1E6 ints. The 1E6-based constructors have been removed.
2018-11-16 01:41:14 +01:00
Andreas Schildbach
a7f6abc4b9 AbstractHafasClientInterfaceProvider: Parse product numbers. 2018-11-15 19:05:24 +01:00
Andreas Schildbach
018d084b65 AbstractHafasProvider.intToProduct(): Don't throw 'ambiguous value' if values are in fact not ambiguous. 2018-11-15 19:05:16 +01:00
Andreas Schildbach
435df616fd TFI: 'Rail' line. 2018-11-15 19:05:03 +01:00
Andreas Schildbach
eda7d37b83 Add AVV (Aachen) provider based on Hafas client interface. 2018-11-14 09:37:38 +01:00
Andreas Schildbach
b025ca004e AbstractHafasClientInterfaceProvider: Handle when jsonTripSearchIdentify() is called with an already identified location. 2018-11-14 00:33:47 +01:00
Andreas Schildbach
97513c23f5 AbstractHafasClientInterfaceProvider: Fix handling of null products and walkSpeed in jsonTripSearch(). 2018-11-14 00:32:33 +01:00
Andreas Schildbach
26d1b8efa6 InvgProvider: Increase API version to 1.14. 2018-11-12 14:51:47 +01:00
Andreas Schildbach
e88a4983e6 AbstractHafasClientInterfaceProvider: Migrate requestChecksumSalt and requestMicMacSalt to byte arrays, to make them independent of base-encoding. 2018-11-12 14:51:41 +01:00
Andreas Schildbach
2843b9f33d AbstractHafasClientInterfaceProvider: When resolving locations when querying trips, only request 1 location. 2018-11-09 00:58:04 +01:00
Andreas Schildbach
601572ebde AbstractHafasClientInterfaceProvider: Parse server time. 2018-11-05 19:59:07 +01:00
Andreas Schildbach
2e5f16d3ef NetworkProvider: Rename Option to TripFlag. 2018-11-05 19:58:20 +01:00
Andreas Schildbach
0831d0f8e6 AbstractProviderLiveTest: Use TripOptions in queryTrips() and simplify live tests by passing null to use defaults where appropriate. 2018-11-05 19:57:59 +01:00
Ialokim
79ff93b80f NetworkProvider: queryTrips() now uses a TripOptions field for products, optimize, walkSpeed, accessibilty and options.
The old queryTrips() variant is now deprecated.
2018-11-05 19:57:33 +01:00
Andreas Schildbach
af94ee8724 AbstractEfaProvider: Fix AtomicReference/value-confusion bug when querying for nearby stations. 2018-11-05 16:24:58 +01:00
infanf
edb24dbac3 MVV: Update line colors and shapes. 2018-11-05 15:31:20 +01:00