Andreas Schildbach
b11dba1ea2
AbstractEfaProvider: Ignore new <ers> element in mobile XML API.
2018-03-13 17:01:13 +01:00
Andreas Schildbach
ac27ae7793
AbstractEfaProvider: Make <lis> element optional in mobile XML API.
2018-03-13 16:55:44 +01:00
Andreas Schildbach
53bb281764
AbstractEfaProvider, AbstractHafasLegacyProvider: 'NightJet' line.
2018-02-10 21:09:22 +01:00
Andreas Schildbach
e7e3d71919
EFA: Handle NO_SERVINGLINES error in mobile XML API.
2017-12-07 15:03:09 +01:00
Andreas Schildbach
1bab623ea6
EFA: Handle STOP_INVALID error in mobile XML API.
2017-12-07 13:20:11 +01:00
Andreas Schildbach
b45be823d9
EFA: Handle new <ers> error message in mobile XML API.
2017-12-04 12:09:35 +01:00
Andreas Schildbach
bc91169379
EFA: Ignore new <routeDesc> element in mobile XML API.
2017-12-03 15:23:59 +01:00
Andreas Schildbach
d50a84e188
AbstractEfaProvider: 'PPN' line.
2017-11-28 18:49:01 +01:00
Andreas Schildbach
f5f1ff90fa
AbstractEfaProvider: 'Öchsle-Bahn' line.
2017-11-28 18:49:01 +01:00
Andreas Schildbach
f7d36542b6
AbstractEfaProvider: 'Locomore' line.
2017-11-28 18:49:01 +01:00
Andreas Schildbach
a3e95ddab2
AbstractEfaProvider: Make processCoordinateStrings() to return null if there is no coordinate string.
2017-09-12 14:59:32 +02:00
Andreas Schildbach
9fd1ccb1dd
EFA: Ignore new <gid> and <trainType> elements in mobile XML API.
2017-05-23 16:24:07 +02:00
Andreas Schildbach
ca4c81ac4a
EFA: Don't try to convert coordinate result to address.
2017-04-25 12:54:49 +02:00
Andreas Schildbach
9398b454a5
Add XmlPullUtil.optEnter() and use it where possible.
2017-03-23 17:54:35 +01:00
Andreas Schildbach
b7048d4736
AbstractEfaProvider: Ignore <itdMapItemList> inside <odvNameElem>.
2017-02-21 16:31:00 +01:00
Andreas Schildbach
f7a5a77b2f
AbstractEfaProvider: Parse delay in <itdTrain> and <itdNoTrain>.
2017-02-21 11:31:53 +01:00
Andreas Schildbach
82f09b16d8
EFA: Fix handling of another broken empty <itdSingleTicket>.
2017-02-15 13:15:30 +01:00
Andreas Schildbach
e4c18d4dad
AbstractEfaProvider: Fix coordinate parsing of station locations in mobile trips result.
2017-01-31 16:38:22 +01:00
Andreas Schildbach
bf510b516d
If possible, use generic type inference for constructing objects.
2017-01-28 14:59:03 +01:00
Andreas Schildbach
7dd43f90c5
AbstractEfaProvider: Line.
2017-01-25 00:20:50 +01:00
Andreas Schildbach
4f7bd832e6
Use HttpUrl and HttpUrl.Builder where possible.
2017-01-03 10:59:30 +01:00
Andreas Schildbach
e50098f092
HttpClient: Remove unused request encoding parameter.
2017-01-02 19:41:37 +01:00
Andreas Schildbach
349aee9aac
Make setters concatenable.
2016-12-25 09:52:25 +01:00
Andreas Schildbach
1e6f55d6ba
EFA, Hafas: 'Locomore' line.
2016-12-20 19:54:32 +01:00
Andreas Schildbach
6df550ea80
EFA: Parse multiple <itdMessage> after <itdDepartureMonitorRequest> and <itdTripRequest>.
2016-11-21 11:24:44 +01:00
Andreas Schildbach
1587f7fa9f
Add XmlPullUtil.optSkipMultiple() and use it where possible.
2016-11-21 11:24:44 +01:00
Andreas Schildbach
30cc003038
Use XmlPullUtil.optSkip() where possible.
2016-11-21 11:24:44 +01:00
Andreas Schildbach
3317396dbc
EFA: Handle missing destination in <m> elements in mobile locations query.
2016-11-21 11:24:44 +01:00
Andreas Schildbach
a844c5bc56
EFA: Parse serverID from <itdRequest>.
2016-11-07 23:08:44 +01:00
Andreas Schildbach
e48a68a240
EFA: Silently ignore coordinates on other systems than WGS84.
2016-10-28 16:46:55 +02:00
Andreas Schildbach
40763ef6f6
EFA: If there is no <itdServingLine>, we assume the station ID is invalid.
2016-10-28 14:36:07 +02:00
Andreas Schildbach
7c30711dcf
Lines.
2016-10-23 15:07:29 +02:00
Andreas Schildbach
580f0569e8
EFA: Fix detection of barrier free leg for KVV.
2016-10-23 13:13:32 +02:00
Andreas Schildbach
a60f8b049f
AbstractEfaProvider: Simplify instantiation of destination locations.
2016-10-22 14:52:44 +02:00
Andreas Schildbach
74d552d187
Migrate all HTTP calls to use OkHttp rather than URLConnection.
2016-09-25 19:53:31 +02:00
Andreas Schildbach
4c64746e75
Switch to Java 7.
...
Notes regarding Android compatibility:
- The 'try-with-resources' language feature needs API level 19, so don't use it.
All other language features can be used back to API level 8.
- The JDK 1.7 API still isn't fully implemented, so better stick with 1.6 for now.
2016-09-25 19:53:31 +02:00
Andreas Schildbach
931dafb628
Switch to modern code format. Organize imports. No functional changes.
...
Java sources use Eclipse 4.5 'Java Conventions' with indentation changed to 4 spaces only per level.
2016-09-08 18:26:01 +02:00
Andreas Schildbach
7c79f55682
Lines.
2016-08-30 09:02:47 +02:00
Andreas Schildbach
ab2f62a0db
EFA: Handle empty <de> element in mobile locations query.
2016-07-31 14:20:21 +02:00
Andreas Schildbach
b2a1f94e55
EFA: Ignore new <optval>, <gix> and <prid> elements in mobile XML API.
2016-07-31 14:20:16 +02:00
Andreas Schildbach
958fdc724a
EFA: Ignore <genAttrList /> element in itdStopSeq/itdPoint.
2016-07-18 17:14:44 +02:00
Andreas Schildbach
1cd17a1814
EFA: Handle missing destinations in departure monitor, again.
2016-07-03 10:59:50 +02:00
Andreas Schildbach
da0580b64f
EFA: Ignore <itdAddOdvSeq /> element.
2016-07-03 10:59:50 +02:00
Andreas Schildbach
d6d3371de2
Lines.
2016-05-23 15:55:44 +02:00
Andreas Schildbach
57f12818da
EFA: Parse new <stateless>, <tco> and <alt> tags in mobile XML API.
2016-04-07 20:13:07 +02:00
Andreas Schildbach
cb61798228
EFA: Fix server detected as down sometimes when querying for suggested locations.
2016-04-07 20:13:07 +02:00
Andreas Schildbach
f4caea8dfd
EFA: Handle missing destinations in departure monitor.
2016-04-07 20:12:32 +02:00
Andreas Schildbach
7b92f6ed18
EFA: Ignore multiple <omcTaxi> tags when querying for trips.
2016-02-19 10:33:52 +01:00
Andreas Schildbach
f4a360615f
EFA: Fix parsing of <motDivaParams />.
2016-01-10 00:12:48 +01:00
Andreas Schildbach
35c82481b5
EFA: Handle missing message code when querying for locations via JSON.
2016-01-10 00:12:48 +01:00