Commit graph

40677 commits

Author SHA1 Message Date
3580f9d9fc [generator] Add -difficult and -expert path grades
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 18:45:07 -03:00
13cca80b2c [classif] Remove unused path sac_scale types
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 18:45:07 -03:00
Alexander Borsuk
e739e15bed [android] Regenerated removed shaders for Vulkan
Use this script: tools/unix/generate_vulkan_shaders.sh

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-24 23:41:26 +02:00
5fc3f9aa07 [strings] Regenerated
Signed-off-by: map-per <map-per@gmx.de>
2024-04-24 23:12:30 +02:00
25cd1c46fc [strings] Fixed Holiday Apartment translations
Signed-off-by: map-per <map-per@gmx.de>
2024-04-24 23:12:30 +02:00
a5573cc498 [styles] Regenerate for shared paths
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:54:13 -03:00
b7a2b9be92 [strings] Regenerate for shared paths
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:54:13 -03:00
ea15d9850e [styles] Color cycleways in blue and tune widths
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:54:13 -03:00
2a1f80d3bd [styles] Draw cycle underlines for shared paths
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:54:13 -03:00
94e52227e1 [tests][routing] Add relative speed tests
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
b3a65d4205 [tests] Test footway, path, cycleway conversions
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
b8c1a2637b [generator] Convert between highway=path, footway and cycleway
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
b02089780e [classif] Add a highway=ford deprecation TODO
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
2e817dd12e [generator] Add a simplified UpdateTag() signature
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
e389152404 [generator] Add comments to DetermineSurface()
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
8ca92f5cfe [strings] Regenerate
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
a41ed0ae68 [styles] Regenerate for footways and tracks
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
33ec4bec91 [classif] Remove unused [highway=track][tracktype] types
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
c7dc2eabeb [classif] Delete [highway=footway][sac_scale] types
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 17:12:17 -03:00
Alexander Borsuk
56615b3a78 Warning fixes
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-24 15:58:41 -03:00
0432abc300 [styles] Regenerate for reserves
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 15:20:20 -03:00
c4376e7adc [styles] Remove hatching fill & icon/caption for aboriginal and nature reserves high zooms
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 15:20:20 -03:00
b4762e5491 [styles] Reduce aboriginal_lands opacity
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 15:20:20 -03:00
Alexander Borsuk
6e8e596e1c [drape] Removed fixed text size in favor of always using SDF fonts
Fixed size was a case only for some older mdpi devices (likely to look a bit better).
SDF fonts allow dynamic resizing to any desired size without loss of quality.
And each glyph should be rendered only once on the texture.

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-24 20:19:26 +02:00
827bf20778 [android] Fix PT router overriding previous mode if subway layer active
The public transportation router was forcibly overriding the previously
selected mode whenever the planning activity was resumed, with the
subway layer active. For instance, if you started a route planning
(which automatically uses PT when that layer is on), switched to car
mode and then changed some driving options, when you got back to the
planning screen, the router would have changed back to PT, instead of
keeping it on car.

This occurred because of `RoutingController#rebuildLastRoute`, called
whenever an activity (such as the driving options) concluded, which
would, indirectly, call `RoutingController#initLastRouteType`. This
method is responsible for defaulting the router to the most
adequate type for the start+finish point combo, or, if the subway layer
is selected, to set it to public transportaton.

So, the fix was rather simple -- instead of only checking if the the
subway layer is active (and if we're not comming from a link, but that
isn't relevant here), we also check if we were already planning
something, or if we're starting a new route plan. We only want to reset
the mode to PT on the latter case.

Fixes: #7701
Signed-off-by: tmpod <tom@tmpod.dev>
2024-04-24 19:53:38 +02:00
8421449c51 [android] Actualize the list of devices for Monkey
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-04-24 19:52:09 +02:00
Fábio Gomes
3cdb79fccb Fix #2833: Routing mode resets origin point to current location when re-opening the app
The application replaced the origin point solely based on if it had found the user's location. Added a parameter to the RouteMarkData struct which is saved alongside the start point. This is used on start up to determine if the origin point of the route should be kept or replaced with the user's location (if one is found).

Signed-off-by: Fábio Gomes <gabriel.gomes@tecnico.ulisboa.pt>
2024-04-24 19:34:49 +03:00
f22cfe0c36 [styles] Regenerate for cities
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 12:05:35 -03:00
35b7cc68aa [styles] Fix font size for small cities; cities visible until z13
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-04-24 12:05:35 -03:00
Arthur-GYT
c91add3a2f Use keys in layouts
Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
2024-04-22 22:49:12 +02:00
Arthur-GYT
283342e523 [strings] Regenerated
Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
2024-04-22 22:49:12 +02:00
Arthur-GYT
b85a29433d [strings] Add translations in strings.txt
Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
2024-04-22 22:49:12 +02:00
David Martinez
751e876818 [styles] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-20 23:14:49 -03:00
David Martinez
e37c4db2d4 [styles] Add dry_cleaning icon
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-20 23:14:49 -03:00
David Martinez
d52108b6a2 [styles] Improve laundry icon
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-20 23:14:49 -03:00
Sebastiao Sousa
fd2a1ee616 [android] apply night mode correctly even if device is in light mode
When the user has their device in light mode, but the app is in night
mode, some attributes in the
Theme.MaterialComponents.DayNight.NoActionBar.Bridge style are still
inheriting from the light theme. This happens because the application's
ui mode is not being properly switched to night mode.

To fix this, added the UiModeManager in the ThemeSwitcher, in order to
properly change the ui mode.

closes #6481

Signed-off-by: Sebastiao Sousa <sebastiao.sousa@tecnico.ulisboa.pt>
2024-04-20 23:21:01 +02:00
David Martinez
a7f0292927 [ios][editor] Fix unintended fallthrough in switch-case
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-20 13:33:16 +02:00
Ferenc Géczi
5dc753eef4 [qt] Make Close the default button on PPD and actived ond ESC
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-04-20 11:30:00 +02:00
v-lozko
3b041b4b58 Update iphone/Maps/Bookmarks/BookmarksList/BookmarksListViewController.swift
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Signed-off-by: v-lozko <156805389+v-lozko@users.noreply.github.com>
2024-04-20 10:27:05 +02:00
Valery Lozko
79db90bb0b [ios] Correct location of more menu in bookmark lists
Signed-off-by: Valery Lozko <valerylozko@gmail.com>
2024-04-20 10:27:05 +02:00
Valery Lozko
22d8ce8917 [ios] fix alignment of ltr languages in bottom menu
Signed-off-by: Valery Lozko <valerylozko@gmail.com>
2024-04-19 22:48:22 +02:00
David Martinez
93f80f419a [strings] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-18 23:39:48 -03:00
David Martinez
7e4b3e5be1 [ios][editor] Add drive_through to editor
[ios][editor] Add MWMEditorSegmentedTableViewCell
[core] Add YesNoUnknown enum

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-18 23:39:48 -03:00
David Martinez
306e7c4069 [android][placepage] Add drive_through to place page
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-18 23:39:48 -03:00
David Martinez
9234c0ce23 [ios][placepage] Add drive_through to place page
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-18 23:39:48 -03:00
David Martinez
44831ba807 [core] Add FMD_DRIVE_THROUGH metadata
[strings] Add "drive_through"

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-04-18 23:39:48 -03:00
Anton Makouski
f23baacc69 Better search for horse riding and skateboard.
Signed-off-by: Anton Makouski <anton.makouski@gmail.com>
2024-04-18 22:09:41 +02:00
69f297ea6e [strings] regenerated
Signed-off-by: Harry Bond <me@hbond.xyz>
2024-04-18 11:34:24 -03:00
32b230e63e [styles] regenerated
Signed-off-by: Harry Bond <me@hbond.xyz>
2024-04-18 11:34:24 -03:00
Harry Bond
dc0a84f586 [styles][generator] display miniature golf
Signed-off-by: Harry Bond <hrbond@pm.me>
2024-04-18 11:34:24 -03:00