- 30 Jun, 2021 1 commit
-
-
James Westman authored
They have been replaced by map layers and don't do anything anymore.
-
- 21 Jun, 2021 2 commits
-
-
- Don't build docs in flatpak. It would require a bunch of extra modules for gi-docgen's dependencies, and doc generation can take a little while anyway. Better to leave it out. - Remove the gtk-doc files and add gi-docgen to the build system.
-
Corentin Noël authored
-
- 18 Jun, 2021 2 commits
-
-
Corentin Noël authored
Also fixes warnings
-
Corentin Noël authored
ShumateMapSourceDesc is now gone as it wasn't providing any value. The ShumateMapSourceRegistry is now a GListModel implementation.
-
- 08 Jun, 2021 1 commit
-
-
Corentin Noël authored
GInitiallyUnowned is not really discoverable for developers.
-
- 04 Jun, 2021 2 commits
-
-
James Westman authored
Add a translucent background to the license so it's easier to read, especially on dark themes with light text color.
-
James Westman authored
Use the theme background color instead of always setting the background to white.
-
- 23 May, 2021 1 commit
-
-
Marcus Lundblad authored
Adds properties for setting an outline on a path layer to improve contrast.
-
- 22 May, 2021 1 commit
-
-
James Westman authored
Purge the cache the first time a tile is saved to the cache, and again whenever the size limit is reached.
-
- 20 May, 2021 3 commits
-
-
James Westman authored
- Use g_autoptr - Turn some g_debug into g_warning - Don't allow two purge threads at once
-
James Westman authored
Make the purge method async by running it in a separate thread.
-
James Westman authored
It didn't work properly anyway, because it just delayed the blocking call.
-
- 18 May, 2021 1 commit
-
-
James Westman authored
-
- 17 May, 2021 1 commit
-
-
Using the new continuous zoom feature, implement pinch to zoom gesture. Tested on both a trackpad and a touchscreen. Fixes #5.
-
- 12 May, 2021 1 commit
-
-
James Westman authored
ShumateMarker no longer draws any selection color--it's just a container for other widgets. Besides, global variables wouldn't be a good way to do this anyway. We could get the selection color from the GTK theme if we needed. Fixes #19.
-
- 06 May, 2021 2 commits
-
-
-
James Westman authored
The map layer now accepts fractional zoom levels by scaling the entire map layer with gtk_snapshot_scale().
-
- 19 Apr, 2021 1 commit
-
-
James Westman authored
-
- 17 Apr, 2021 3 commits
-
-
-
fill_tile_async() is a pretty complicated async function, so it's helpful to put all the callbacks in the order they are called.
-
In the network tile source, render cached tiles even if they are out of date, then update them if a new tile is fetched from the network. This way, the map doesn't flicker while we wait for network requests every time the cache expiration period is up.
-
- 09 Apr, 2021 1 commit
-
-
James Westman authored
Some of the CI runners don't support IPv6, so only listen on IPv4.
-
- 08 Apr, 2021 1 commit
-
-
James Westman authored
When store_tile() was called and the tile already existed in the cache, it would fail to overwrite it, because it was using g_file_create_async() instead of g_file_replace_async().
-
- 07 Apr, 2021 4 commits
-
-
Previously, it was useful to have these properties on ShumateTile so they could be passed between sources in a ShumateMapSourceChain. Now that's gone, the file cache and network source communicate directly, and these properties are no longer needed.
-
When constructing HTTP request headers, use the modified time directly from the file cache rather than from the tile.
-
Change get_tile_finish() to provide the modification time of a tile. This allows the network tile source to use it in requests for caching, and makes expiration checking more robust since it doesn't rely on the presence of an ETag.
-
James Westman authored
-
- 06 Apr, 2021 7 commits
-
-
James Westman authored
-
James Westman authored
-
James Westman authored
This will help with more complicated network tile source tests in the future
-
James Westman authored
Since there are no more map source chains, next-source is not needed.
-
James Westman authored
There is only one map source left, so there is no need for map source chains.
-
James Westman authored
Errors are now handled using GError and shumate_map_source_fill_tile_finish().
-
James Westman authored
Previously, fill_tile_async called the original fill_tile virtual method, which did not call a callback when it was finished. The async callback was implemented by connecting to the tile's notify::state signal. Now, the virtual method itself is async, not just the wrapper function. This required some changes to the functions, most notably in ShumateNetworkTileSource.
-
- 02 Apr, 2021 1 commit
-
-
James Westman authored
Previously it had the signature of an asynchronous method, but actually did all its work synchronously.
-
- 26 Mar, 2021 1 commit
-
-
James Westman authored
It had a bunch of stuff left over from the autotools days. Meson uses out-of-tree builds, so we can remove most of that.
-
- 24 Mar, 2021 3 commits
-
-
James Westman authored
Now that ShumateFileCache and ShumateMemoryCache have been moved, it no longer has any subclasses and can be removed.
-
James Westman authored
ShumateMemoryCache is no longer a map source, but a standalone class.
-
James Westman authored
Memory caching is now done by the ShumateMapLayer rather than as part of the map source chain. This is part of an ongoing simplification and eventual removal of map source chains.
-