summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mapView: Don't set dark background patternwip/mlundblad/remove-dark-backgroundMarcus Lundblad2022-05-011-53/+0
| | | | | | | As we currently don't have dark tiles available, remove code setting a dark background, as it involves dealing with Clutter, and would anyway get removed when porting to GTK4 and libshumate.
* mapSource: Remove attribution logo handlingwip/mlundblad/remove-attribution-logoMarcus Lundblad2022-04-301-81/+0
|
* mapView: Don't set attribution logoMarcus Lundblad2022-04-291-6/+0
|
* mapView: Remove toggle scale methodMarcus Lundblad2022-04-281-6/+0
| | | | | | | Changing the toggle scale action to a boolean-value action bound to the gsetting, it is enough to listen to the gsetting's value change.
* mainWindow: Change action for showing the scaleMarcus Lundblad2022-04-281-2/+3
| | | | | | Make the action for showing/hiding the scale boolean-valued and bind it directly to the gsetting.
* main: Stop requiring WebKitGTK GIRwip/mlundblad/osm-oauth-externalMarcus Lundblad2022-04-271-2/+1
|
* application: Remove reference to WebKitGTKMarcus Lundblad2022-04-271-3/+1
|
* Use external browser to authorize OAuth tokenMarcus Lundblad2022-04-273-215/+86
| | | | | | | | | | Drop the "fully automatic" sign in method that we had adapted from JOSM. Instead implemtent OAuth setup redirecting to an external web browser. This is the preferred way to do OAuth sign up, and also lets us drop the dependency on WebKitGTK, as we don't need to render the verification web view.
* graphHopper: Don't fold keep left/right instructionsMarcus Lundblad2022-04-211-7/+3
| | | | | | | | | | | In #171 we introduced "folding" of routing instructions for "continue straight" and keep left or right instructions to work around GraphHopper giving a lot of extra instructions while staying on the same road number/name. This has tended to take away a bit _too_ much, such as "keep right" instructions when exiting a highway (and the offramp has the same ref number as the main highway). So, only fold exact "continue on street" instructions now.
* placeIcons: Add more specific place iconswip/mlundblad/additional-place-icons-2Marcus Lundblad2022-04-211-5/+25
| | | | | Use the previously added place icons as place icons for additional place types.
* main: Don't require g-o-aMarcus Lundblad2022-04-131-1/+0
|
* Remove FoursquareGoaAuthorizerMarcus Lundblad2022-04-132-92/+0
|
* Remove SocialPlaceMarcus Lundblad2022-04-132-44/+0
|
* Remove SocialPlaceListBoxMarcus Lundblad2022-04-132-104/+0
|
* Remove SocialPlaceMatcherMarcus Lundblad2022-04-132-126/+0
|
* Remove Check-in functionallityMarcus Lundblad2022-04-137-781/+0
| | | | | Remove the CheckInManager, CheckInDialog, and related widgets.
* sendToDialog: Remove check-in buttonMarcus Lundblad2022-04-131-17/+0
|
* placeButtons: Don't show check-in buttonMarcus Lundblad2022-04-131-4/+1
| | | | | Stop setting the "showCheckIn" parameter when showing the sendTo dialog.
* Migrate to libgweather4Marcus Lundblad2022-04-061-1/+1
| | | | | | | - Upgrade GI package requirement to use libgweather 4. - Build e-d-s in Flatpak manifest without libgweather support.
* application: Remove the network monitorwip/mlundblad/drop-network-monitorMarcus Lundblad2022-04-041-26/+0
| | | | Remove the network monitor and the "connected" property.
* application: Remove --force-online optionMarcus Lundblad2022-04-031-10/+0
| | | | | | Remove the --force-online CLI options, as the network monitor connectivity check will be removed.
* headerBar: Don't disable buttons based on connectivityMarcus Lundblad2022-04-031-14/+0
| | | | | | Don't set sensitivity of the layers, favorites, print, and route buttons based on network monitor connection status.
* mapView: Don't notify application connectedMarcus Lundblad2022-04-031-1/+0
| | | | | Don't notify the "connected" signal on the application instance when local tile source fails.
* mainWindow: Don't disable location entry based on network availabilityMarcus Lundblad2022-04-031-6/+0
| | | | | Don't disable the location entry (and update the current location button state) based on network availabilty.
* mainWindow: Don't determine current location button visibilty on networkMarcus Lundblad2022-04-031-3/+1
| | | | | Don't disable the goto current location button based on network availabilty.
* mainWindow: Remove network check for the sidebarMarcus Lundblad2022-04-031-3/+1
| | | | | Stop connecting the visibility of the sidebar to connection status.
* mainWindow: Remove no network viewMarcus Lundblad2022-04-031-11/+1
| | | | | Remove the "no network" view and checking the state of the network monitor.
* resrobot: Update to v2.1 APIwip/mlundblad/resrobot-v21Marcus Lundblad2022-03-251-13/+12
| | | | | | The Swedish Resrobot service has announced an updated API version (2.1) replacing the current v2. https://www.trafiklab.se/api/trafiklab-apis/resrobot-v21/migration-guide/ Upgrade the plugin to the new API version.
* mainWindow: Update e-mail addressMarcus Lundblad2022-03-221-1/+1
| | | | | | Update e-mail address for Marcus Lundblad. Fixes #435
* mainWindow: Update copyright yearMarcus Lundblad2022-03-221-1/+1
| | | | | | Update copyright year for 2022 in the about dialog. Fixes #434
* mapView: Store scale visibility in gsettingswip/mlundblad/scale-visible-settingMarcus Lundblad2022-03-031-2/+13
| | | | | | Track visibility of the scale in a setting, so that the state is preserved between launches rather than always starting as visible.
* transitOptionsPanel: Select day when setting date buttonwip/mlundblad/transit-update-calendar-dateMarcus Lundblad2022-02-281-0/+8
| | | | | | | Also select the day when updating the date button (e.g. when selecting "Leave by" or "Arrive by". Otherwise the calendar would have the last selected day selected (or the day the instance was created, that is when Maps was started).
* transitPlan: Round up duration to nearest minutewip/mlundblad/transit-duration-roundMarcus Lundblad2022-02-271-1/+1
| | | | | | | | | | | Round up duration value for display to the nearest rounded up integer number of minutes, as displayed departure time will be truncated down to the nearest minute. This way the total number of minutes will always match up instead of getting a rounding off-by-one discrepancy in the case where the first leg has a "partial" minute, and would be truncated down to the next lower minute when showing the departure time.
* opendataCH: Remove extranous parameterMarcus Lundblad2022-02-261-2/+1
| | | | | Remove an extra unneeded copy of the "duration" parameter when constructing a TransitPlan.Itinerary.
* resrobot: Adjust timings of itinerarieswip/mlundblad/resrobot-fix-timingsMarcus Lundblad2022-02-251-11/+5
| | | | | | | | As short walk legs in the beginning and end of itineraries are pruned off, account for this to ensure the overall start and end time correspond to the start and end time of the first and last leg respectively.
* uris: Accept OSM location URLs without ?wip/mlundblad/osm-location-url-no-qmMarcus Lundblad2022-02-071-2/+5
| | | | | | | | | | Sometimes shared URLs pointing to a location in OSM is on the form https://www.openstreetmap.org/#map=... E.g. encoding the parameters as part of the path instead of a query. Accept both variants, and add an additional test case.
* placeZoom: Add default zoom levels for some more featuresMarcus Lundblad2022-02-011-1/+4
| | | | Add default zoom levels for additional highway features.
* placeEntry: Only use location bias on high zoomMarcus Lundblad2022-01-251-3/+14
| | | | | | | | | | As a stop-gap solution for the location bias issue in the Photon search engine (https://github.com/komoot/photon/issues/600), for now limit the use of location bias to zoom level above 17. Ref #172
* geoclue: Use the portal when sandboxedBilal Elmoussaoui2022-01-151-3/+7
|
* mapWalker: Use place zoom level helperwip/mlundblad/place-zoom-levelsMarcus Lundblad2022-01-061-17/+16
| | | | | | | | | Use the helper module to get default zoom level based on place type and use as the fallback zoom level when no bounding box is present and also as mimimum zoom level to ensure good context.
* Add module for place zoom levelsMarcus Lundblad2022-01-062-0/+69
| | | | | Add utility module to define default zoom levels for place types.
* route: Fix u-turn displayMarina Billes2021-12-011-9/+9
| | | | | | | Fixed an issue where the function _isLefthandTraffic() wasn't called correctly, leading to all routes with a u-turn to fail Also removed duplicate entry 'GB' from LHT_COUNTRIES
* placeEntry: Allow pasting maps: URIs into the search entryMarcus Lundblad2021-11-191-0/+14
|
* application: Add action to perform searchMarcus Lundblad2021-11-191-0/+18
| | | | | | Adds an action to initiate search so that a search query can be iniated via the "ActivateAction" DBus message.
* application: Add command line option for searchMarcus Lundblad2021-11-191-4/+19
| | | | | | Adds a -S command line option as an alternative to initialize a search query. Equivalent to using the maps: URI scheme.
* application: Handle maps: URIsMarcus Lundblad2021-11-191-3/+73
| | | | | | | | | Open maps: URIs. Present results in the search popover when there are multiple results, directly show the marker with the place bubble when there's exactly one, and show a dialog informing there's no results if no matches where found.
* uris: Add function to parse maps: URIsMarcus Lundblad2021-11-071-0/+22
| | | | | | Adds a function to parse a search query from a maps: URI. See https://www.iana.org/assignments/uri-schemes/prov/maps
* Rename URL moduleMarcus Lundblad2021-11-073-4/+4
| | | | | | | To prepare for adding functions to parse maps: URIs rename the module to reflect its intention for not only HTTP URL-related functions.
* photonGeocode: Only include the location params when requestedMarcus Lundblad2021-11-071-4/+6
| | | | | Only include the latitude and longitude parameters when specified as non-null in the call.
* graphHopperGeocode: Only include location params when requestedMarcus Lundblad2021-11-071-2/+4
| | | | | Only include the the latitude and longitude parameters when set to non-null in the call.