aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Switch to glib's testing frameworkGuido Günther2014-04-14
|
* Don't hardcode path separatorGuido Günther2014-04-14
|
* Disable -Wcast-align warningGuido Günther2014-04-14
| | | | | since this causes needles warnings on arm when parsing the hafas binary format
* hafas-bin6-format: Disable -Wattributes for HafasBin6 structsGuido Günther2014-04-14
| | | | | | | | This fixes warnings like hafas-bin6-format.h:44:13: error: packed attribute causes inefficient alignment for 'version' [-Werror=attributes] on arm. Since we do need this layout there's little we can do about it.
* hafas: make base time UTCGuido Günther2014-04-14
| | | | to fix a 1h difference since the switch daylight savings switch
* Explicitly link against gmoduleGuido Günther2014-04-12
| | | | | This fixes running on Ubuntu 12.04. Thanks a lot to Henning Sprang for testing this.
* Don't shadow global declarationsGuido Günther2014-04-11
|
* Fix path to a existing testGuido Günther2014-04-08
|
* Make delay a positive numberGuido Günther2014-03-26
| | | | We want negative numbers if the train is early.
* Store real time arrival/departue information on the correct stopsGuido Günther2014-03-26
|
* Only print delays when we got a real time statusGuido Günther2014-03-26
|
* Allow to query trips by arrival instead of departureGuido Günther2014-03-22
|
* Add flags argument to lpf_provider_get_locsGuido Günther2014-03-22
| | | | Currently this is for consistency with lpf_provider_get_trips only.
* LpfLoc: add getter to ease C usageGuido Günther2014-03-21
|
* Cope with older libsoupGuido Günther2014-03-18
| | | | | | as found in Debian Wheezy We can't use SOUP_CHECK_VERSION since this isn't available in 2.38.
* Cope with older glibGuido Günther2014-03-18
| | | | like 2.32 in Debian Wheezy
* Ignore test script wrappers and resultsGuido Günther2014-03-18
|
* Allocate the correct structureGuido Günther2014-03-18
|
* Ignore sbb provider when generating API docsGuido Günther2014-03-14
|
* Don't ship gtk-doc.makeGuido Günther2014-03-14
|
* Flags are currently unusedGuido Günther2014-03-13
| | | | Avoid api breakage but not enforcing this
* Grab a ref on the passed in date time tooGuido Günther2014-03-11
|
* Avoid unquoting argsGuido Günther2014-03-11
| | | | | | Fixes arguments with spaces like ./run python examples/trip-query.py -p de-bvg "Janowitzbruecke" "Warschauer Strasse"
* Fix incorrect provider list sizeGuido Günther2014-03-11
|
* Fix typoGuido Günther2014-03-11
|
* Remove unused variableGuido Günther2014-03-11
| | | | We always refresh the list of available providers
* Add lpf_provider_free_tripsGuido Günther2014-03-10
| | | | to make unrefing the whole data structure simple
* Add constructorGuido Günther2014-03-10
|
* Make the code match the docsGuido Günther2014-03-10
| | | | | | | | We should be able to include libplanfahr via #incluce <libplanfahr/libplanfahr.h> only
* run.in: also set PKG_CONFIG_PATHGuido Günther2014-03-10
| | | | so it can be used to build against an uninstalled libpanfahr
* pkg-config: Fix library nameGuido Günther2014-03-10
|
* Allow to query trips starting at a certain data/timeGuido Günther2014-03-06
| | | | | | So far we only support a simple iso 8601 data like 2014-03-06T19:00
* trip-query.py: Use a terse format by defaultGuido Günther2014-03-06
|
* Prevent inclusion of individual headersGuido Günther2014-03-05
|
* Don't open code GObject IntrospetionGuido Günther2014-03-05
|
* Make name property read onlyGuido Günther2014-03-05
| | | | since it doesn't need to be set. This allows us to kill some code
* Add provider for Swiss SBBGuido Günther2014-03-05
|
* example.py: Allow to switch providers easilyGuido Günther2014-03-05
|
* Add BVG providerGuido Günther2014-03-05
| | | | | This is our second hafas based provider to check the the interface actually works.
* Move hafas code from LpfDeDbProvider to LpfHafasBin6ProviderGuido Günther2014-03-05
|
* Export types via our only public headerGuido Günther2014-03-05
|
* Restrict exported symbolsGuido Günther2014-03-05
| | | | The LIBPLANFAHR_PRIVATE_ symbols are intended for internal use only.
* Remove duplicate log dir creationGuido Günther2014-03-04
|
* Make HafasBin6 a proper GObject implementing the provider interfaceGuido Günther2014-03-04
| | | | | This will allow us to share the code for different Hafas based providers.
* Make LpfProvider an interfaceGuido Günther2014-03-02
| | | | This allows us to have different base classes for different providers
* Fix real time arrival and departure time mixupGuido Günther2014-03-02
| | | | Thanks Matthias Schmitz for the detailed report
* Fix departure timeGuido Günther2014-03-01
| | | | | %m returnd the month so we always looked at departues starting close to the full hour.
* Unbreak gzip decompression on larger query resultsGuido Günther2014-03-01
| | | | | | | | | | | | | | | g_converter_convert doesn't guarantee to convert all data when we set G_CONVERTER_INPUT_AT_END so make sure we continue to process the data. Fixes errors like ** (process:4072): WARNING **: Unhandled condition 1 Traceback (most recent call last): File "examples/trip-query.py", line 47, in trips_cb raise Exception("Failed to find any trips") Exception: Failed to find any trips Error: timed out Thanks: Matthias Schmitz for the report
* Bump dependency on gobject-introspectionGuido Günther2014-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | older versions create <class name="Trip" [..snip..] <property name="parts" writable="1" construct="1" transfer-ownership="none"> <doc xml:space="preserve">The parts of a trip as #LpfTripPart.</doc> <type name="gpointer" c:type="gpointer"/> ^^^^^^^^ </property> [..snip..] </class> instead of <class name="Trip" [..snip..] <property name="parts" writable="1" construct="1" transfer-ownership="none"> <doc xml:space="preserve">The parts of a trip as #LpfTripPart.</doc> <type name="GLib.SList" c:type="gpointer"> ^^^^^^^^^^ <type name="TripPart"/> </type> </property> [..snip..] </class>
* GI annotation and gtk-doc fixupGuido Günther2014-02-24
| | | | | | | Fixes gir-scanner warnings like lpf-loc.h:57: Warning: Lpf: lpf_loc_get_opaque: return value: Missing (transfer) annotation