| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
When there's a location heading (showing the compass location
icon), apply appropriate translation transforms when rotating
to get rotation around the icon's center point.
|
| |
|
|
|
|
|
| |
This is not needed, as we don't use gnome-online-accounts
anymore.
|
|
|
|
|
| |
This dialog was removed when we removed check-in
support, so this style class isn't used anymore.
|
|
|
|
|
| |
When passing shape layer files on the command line pass
them in a GListStore to mapView.openShapeLayers().
|
|
|
|
|
| |
This makes the thumbnail align "flush on" with the edge
of the popovers.
|
| |
|
|
|
|
|
| |
Use the width of the backing GdkSurface to determine when the
application is in adaptive mode.
|
|
|
|
|
|
|
| |
Fixes long press gesture on actual touch screens.
Also avoids activating the context menu on long press
of primary button, as we already show it on secondary
button click.
|
|
|
|
|
|
|
|
|
|
| |
This icon is present in a symbolic recolorable
variant in some system theme packages.
This can result in a hard-to-read light grey
icon when dark theme is used, which gives
bad contrast against the (mostly light) raster
tiles. So rename the bundled icon with a maps-
prefix to prevent this.
|
|
|
|
|
|
| |
A superfluous parentesis had sneaked in
when adding Wikidata support, preventing
startup.
|
| |
|
|
|
|
|
|
|
| |
Adds a composite widget for editing Wikipedia article and
Wikidata references. Change the Wikipedia field to use
the composite widget to allow editing Wikipedia article
and Wikidata tags combined.
|
|
|
|
|
|
|
| |
Adds a function to get the Wikidata tag from a URL of
the forms:
http(s)://www.wikidata.org/wiki/Qnnnn or
http(s)://www.wikidata.org/wiki/Special:EntityPage/Qnnnn.
|
|
|
|
|
|
|
| |
Add a function to fetch a Wikidata tag given a Wikipedia
article reference. This is to be used for automatically
fetching Wikidata tags when an article has been entered
in the POI editor.
|
|
|
|
|
| |
Fetch thumbnails and article extracts using the
Wikidata tag when available.
|
| |
|
|
|
|
|
| |
Add a function to fetch thumbnails and article extracts
from Wikipedia using Wikidata tags.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GLib 2.74 introduced an optimization for string comparison[1], but
that generates warnings similar to the following:
In file included from /usr/include/glib-2.0/glib.h:52,
from ../lib/maps-osm.h:23,
from ../lib/maps-osm.c:20:
../lib/maps-osm.c: In function 'parse_tag':
../lib/maps-osm.c:75:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
75 | if (g_str_equal (cur_attr->name, "k"))
/usr/include/glib-2.0/glib/ghash.h:165:39: note: in definition of macro 'g_str_equal'
165 | #define g_str_equal(v1, v2) (strcmp ((v1), (v2)) == 0)
| ^~
In file included from /usr/include/fortify/string.h:22,
from /usr/include/glib-2.0/glib/galloca.h:35,
from /usr/include/glib-2.0/glib.h:32:
/usr/include/string.h:39:13: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
39 | int strcmp (const char *, const char *);
| ^~~~~~~~~~~~
Silence the warnings by casting the pointers to the correct type
[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2940
|
|
|
|
|
|
|
|
| |
Time.format does not warranty the character used for spaces, neither
that it will not introduce preceding byte order marks. Solve it by
comparing inclusion of the data and that it finishes with AM or PM.
Closes #506
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Silence the following warnings
../lib/maps-osm.c: In function 'maps_osm_parse':
../lib/maps-osm.c:471:10: warning: 'object' may be used uninitialized [-Wmaybe-uninitialized]
471 | return object;
| ^~~~~~
../lib/maps-osm.c:439:18: note: 'object' was declared here
439 | MapsOSMObject *object;
| ^~~~~~
In function 'fill_members',
inlined from 'parse_relation' at ../lib/maps-osm.c:421:3,
inlined from 'maps_osm_parse' at ../lib/maps-osm.c:465:32:
../lib/maps-osm.c:375:5: warning: 'ref' may be used uninitialized [-Wmaybe-uninitialized]
375 | maps_osm_relation_add_member (relation, role, type, ref);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/maps-osm.c: In function 'maps_osm_parse':
../lib/maps-osm.c:358:13: note: 'ref' was declared here
358 | guint64 ref;
| ^~~
|
|
|
|
| |
(cherry picked from commit 8ff4de7bf47a43f96a2d95acd3169e6efd2f950d)
|
|
|
|
| |
(cherry picked from commit aa59a836b98b1d3606d5461130e22c241f021378)
|
|
|
|
| |
(cherry picked from commit 9f65076b3c343fa8eea5fe8b472d9a07b254afca)
|
|
|
|
| |
(cherry picked from commit 6385b636b8eca234f135327f338735cd39e12058)
|
| |
|
|
|
|
|
|
|
|
|
| |
Meson>=0.56.0 has deprecated .source_root(), .build_root()
and ExternalProgram.path.
Replace with .project_source_root(), .project_build_root()
and ExternalProgram.full_path
Fixes #495
|
|
|
|
| |
(cherry picked from commit f27bbf00ec2b7b0711c498257ca046d24b2b38ff)
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 105ef85e2bc86db0c8c72dcef6ea1e2cd7ceca70)
|
|
|
|
|
|
| |
This avoids a call to set_default_size being made
on initial launch, instead relying on the default
size determined by the window mangager.
|
|
|
|
|
| |
Don't rely on notify::default-width being triggered on
initial size request of the window.
|
| |
|
|
|
|
| |
This was not working since the GTK4 port.
|
|
|
|
|
|
|
|
| |
The openShapeLayers method expects a GListModel
as returned by the file chooser when selecting files.
While the drag-and-drop action gets the value a GFile.
So wrap the object in a GListStore before passing in on
from the DND handler.
|
|
|
|
|
|
|
|
|
| |
Limit the press gesture for expanding/collapsing the
instructs to the grid containing the basic unexpanded
information.
Otherwise selecting a stop, or walking instruction is
not possible, as the press gesture gets in the way for
the list box selected signal.
|
|
|
|
|
| |
This method was still using the old libchamplain
APIs, adapt it to use the libshumate API.
|
|
|
|
|
| |
Use the proper remove_marker() method to remove
the previous marker when showing a new turnpoint.
|
| |
|
|
|
|
|
|
| |
This code, setting the visibility of the route and instruction
layers on show/hide of a route had been left commented-out from
the GTK4 port.
|
|
|
|
|
|
| |
Change from libsoup's URI escape functionallity
to using the one from GLib, as that API is removed
in libsoup3.
|
|
|
|
|
| |
Use the correct static reference to Application when
setting the normal startup flag when using local tiles.
|
|
|
|
|
| |
Remove reference to non-existing variable "renderer".
Use the correct zoom level properties from the file data source.
|
|
|
|
|
|
| |
Store the file byte contents into the task data structure.
The bytes were actually stored in a local bytes object,
resulting in null being passed to the renderer.
|
|
|
|
| |
(cherry picked from commit 576e8c333a7c6181d395d3ba861a36a65692de29)
|
|
|
|
| |
The location settings panel now has the ID "gnome-location-panel.desktop".
|
| |
|