Commit graph

218 commits

Author SHA1 Message Date
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
Andreas Schildbach
51d92a61e1 Bayern: Parse some value tags as optional. 2015-12-21 12:11:55 +01:00
Andreas Schildbach
6c1ee94b91 Lines. 2015-12-05 19:29:16 +01:00
Andreas Schildbach
e60eabaa92 EFA: Parse message code when querying for locations via JSON. 2015-12-05 19:26:57 +01:00
Andreas Schildbach
94adb91a25 EFA: Ignore <omcTaxi> tag when querying for trips. 2015-12-05 19:26:57 +01:00
Andreas Schildbach
8113f8b775 EFA: Make parsing of server time ('now' attribute) optional. 2015-12-05 19:26:57 +01:00
Andreas Schildbach
f0b33c97e2 EFA: Correctly parse positions when using mobile XML API. 2015-12-05 19:26:57 +01:00
Andreas Schildbach
7af27c855b VVO: Use realtime data for Dresden again. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
8b22bdb117 Bavaria: Fix parsing of empty delay. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
42021b2498 Lines. 2015-10-31 14:49:37 +01:00
Andreas Schildbach
d6e03d7bc0 HttpClient: Support for custom request content types. 2015-09-26 10:04:08 +02:00
Andreas Schildbach
966b248d50 Lines. 2015-07-30 21:13:47 +02:00
Andreas Schildbach
00a395a9ad Extract HttpClient into own class which can keep state (cookies and configuration for now). 2015-07-19 14:22:55 +02:00
Andreas Schildbach
f4974bc8f2 EFA: Trip optimization for least duration, least changes or least walking. 2015-06-06 00:36:27 +02:00
Andreas Schildbach
62d84eaf33 Lines. 2015-05-21 00:31:21 +02:00
Andreas Schildbach
3c24af6d74 EFA: Fix ordering of itdMessageList and clientHeaderLines tags. 2015-05-04 08:10:13 +02:00
Andreas Schildbach
e43c676a34 EFA: More explicit handling of inclMOT_11 parameter. 2015-05-04 08:09:57 +02:00
Andreas Schildbach
7545abea7a Assert for valid stationId in queryDepartures(). 2015-04-08 09:42:46 +02:00
Andreas Schildbach
af4f9ab0cc Log network access via slf4j. 2015-04-02 10:24:35 +02:00
Andreas Schildbach
009c31ed12 EFA: Uppercase Fare.network. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
6b1e882558 EFA: Set maximum time to walk to first or from last stop. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
6106419561 EFA: Fix ignoring of itdLayoutParams. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
773ea00d74 EFA: More descriptive exception when location to append to URL doesn't contain anything useful to append. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
4b65f0145c Introduce location type for plain coordinates. 2015-04-01 17:27:59 +02:00
Andreas Schildbach
95d0a31675 Suppress warnings about missing serialVersionUIDs for the whole project. 2015-03-12 13:18:46 +01:00
Andreas Schildbach
7937ca5fa1 EFA: Use itdMeansOfTransport.type rather than itdPartialRoute.type for deciding if a leg is individual or public. 2015-03-02 11:26:59 +01:00
Andreas Schildbach
c1cd747986 EFA: Don't URL-encode pure numbers. 2015-03-02 11:22:52 +01:00
Andreas Schildbach
2038a740e2 Include network with Line. 2015-03-02 11:22:52 +01:00
Andreas Schildbach
322e7cf8cb Include network ID in result header. 2015-02-25 09:09:37 +01:00
Andreas Schildbach
cf651676d2 Migrate network IDs to constant field. 2015-02-25 09:05:01 +01:00
Andreas Schildbach
695fc56d8e Liverpool. 2015-02-17 17:52:28 +01:00
Andreas Schildbach
5b3ceed733 Apply @Nullable annotation to NetworkProvider methods and DTOs. 2015-02-17 17:52:28 +01:00
Andreas Schildbach
883015177e Migrate from using char as a product type to Product enum. Line labels are really just the label and can be null. 2015-02-10 13:56:21 +01:00
Andreas Schildbach
3ade966329 EFA: Fix parsing of <itdTrain />. 2015-02-10 13:43:42 +01:00
Andreas Schildbach
4a8a17f1fe Lines. 2015-02-10 13:34:55 +01:00
Andreas Schildbach
84dbc788ab Clear warnings about unused variables and methods. 2015-02-06 11:07:41 +01:00
Andreas Schildbach
0210b4b219 EFA: Fix coordinates in <itdCoordinateBaseElemList> parsed too big by factor 1E6. 2015-02-05 23:44:44 +01:00
Andreas Schildbach
bb5314f7ec EFA: Fix parsing of unset planned/predicted times in mobile trips query. 2015-02-05 23:44:34 +01:00
Andreas Schildbach
fd3a932957 EFA: Fix parsing of empty <nu> in mobile trips query. 2015-02-05 23:44:34 +01:00
Andreas Schildbach
4c8f48931c Clear 'potential null pointer access' warnings. 2015-02-05 16:28:59 +01:00
Andreas Schildbach
0a571554c5 Change NetworkProvider.queryTrips() signature to accept a Set of products rather than a Collection. 2015-02-02 10:49:32 +01:00
Andreas Schildbach
8df79805d0 Rename .queryNearbyStations() to .queryNearbyLocations() and make it find POIs too. 2015-02-02 10:41:12 +01:00
Andreas Schildbach
25c2eb6176 Refactor XmlPullParser.getAttributeValue() to use XmlPullUtil.attr() variants. 2015-02-01 23:02:09 +01:00
Andreas Schildbach
806100c868 Guava: Use Charsets constants. 2015-01-29 00:33:39 +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