| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
|
|
|
|
| |
since this causes needles warnings on arm when parsing the hafas binary
format
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to fix a 1h difference since the switch daylight savings switch
|
|
|
|
|
| |
This fixes running on Ubuntu 12.04. Thanks a lot to Henning Sprang for
testing this.
|
| |
|
| |
|
|
|
|
| |
We want negative numbers if the train is early.
|
| |
|
| |
|
| |
|
|
|
|
| |
Currently this is for consistency with lpf_provider_get_trips only.
|
| |
|
|
|
|
|
|
| |
as found in Debian Wheezy
We can't use SOUP_CHECK_VERSION since this isn't available in 2.38.
|
|
|
|
| |
like 2.32 in Debian Wheezy
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Avoid api breakage but not enforcing this
|
| |
|
|
|
|
|
|
| |
Fixes arguments with spaces like
./run python examples/trip-query.py -p de-bvg "Janowitzbruecke" "Warschauer Strasse"
|
| |
|
| |
|
|
|
|
| |
We always refresh the list of available providers
|
|
|
|
| |
to make unrefing the whole data structure simple
|
| |
|
|
|
|
|
|
|
|
| |
We should be able to include libplanfahr via
#incluce <libplanfahr/libplanfahr.h>
only
|
|
|
|
| |
so it can be used to build against an uninstalled libpanfahr
|
| |
|
|
|
|
|
|
| |
So far we only support a simple iso 8601 data like
2014-03-06T19:00
|
| |
|
| |
|
| |
|
|
|
|
| |
since it doesn't need to be set. This allows us to kill some code
|
| |
|
| |
|
|
|
|
|
| |
This is our second hafas based provider to check the the interface
actually works.
|
| |
|
| |
|
|
|
|
| |
The LIBPLANFAHR_PRIVATE_ symbols are intended for internal use only.
|
| |
|
|
|
|
|
| |
This will allow us to share the code for different Hafas based
providers.
|
|
|
|
| |
This allows us to have different base classes for different providers
|
|
|
|
| |
Thanks Matthias Schmitz for the detailed report
|
|
|
|
|
| |
%m returnd the month so we always looked at departues starting close
to the full hour.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Fixes gir-scanner warnings like
lpf-loc.h:57: Warning: Lpf: lpf_loc_get_opaque: return value: Missing
(transfer) annotation
|