Commit graph

41852 commits

Author SHA1 Message Date
a2eaccc564 [map] [framework] implement track info updates observing to the framework
The updates can be retrieved using the `SetTrackRecordingInfoUpdateHandler`

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-17 14:11:52 -03:00
de0650f3b2 [map] calculate the track recording info stats
To retrieve as a `GpsTrackInfo` struct that will be used to notify the UI about the track recording process.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-17 14:11:52 -03:00
2d410d127b [map] remove unused code from the GpsTrackCollection
GpsTrackCollection has two methods to add: point and points.
The first one is used only once time in the unit test and removed to simplify the adding logic.
RemoveUntil is not used.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-17 14:11:52 -03:00
a8077eb6a0 [platform] get PointD from the GpsInfo to calc length between 2 gpsInfo pts
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-17 14:11:52 -03:00
0a8e6ddcfe [strings] Regenerate for Kayak setting and other PRs
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-17 19:51:26 +03:00
09c8dcc566 [strings] Translations updates for the Kayak setting #9820
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-17 19:51:26 +03:00
Alexander Borsuk
d7f375a7d0 [3party] Update expat to 2.6.4
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-17 12:58:19 -03:00
Jenny Em
a51cf60914 [styles] Regenerated
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-17 12:40:53 -03:00
Jenny Em
1d428455c5 [styles] Fixed subway icon darkmode and size s
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-17 12:40:53 -03:00
Dmitry Strekha
655cf0f174
[Android] Fix for wrong ime insets on some devices (#9786)
* [Android] Possible fix for wrong ime insets on some devices
* [Android] Allow changing default insets type mask with a Builder
* [Android] Change insets type to exclude ime insets

Signed-off-by: Dzmitry Strekha <mr.choo96@gmail.com>
2024-12-17 15:02:40 +03:00
b03108318c [ios] add TrackRecording widget to the top-right
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-16 22:28:23 +00:00
4a33a609d8 [ios] add TrackRecording state observation
To bind state with the button on the main screen

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-16 22:28:23 +00:00
592b5bf595 [ios] add new icon for the track recoding main tab button
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-16 22:28:23 +00:00
2e1368ffc0 [docs] Update CONTRIBUTING, add TOC
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-16 22:45:09 +01:00
Ferenc Géczi
df2541e1bf [qt] Remove defunct Traffic layer button
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-12-16 22:44:12 +03:00
Kiryl Razhdzestvenski
87526aad54 Issue 9696. Recalculate route automatically when routing options are changed
Signed-off-by: Kiryl Razhdzestvenski <kirill.rozh@gmail.com>
2024-12-15 21:15:45 +03:00
Jenny Em
6b594420c0 [styles] Regenerated
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-15 20:45:35 +03:00
Jenny Em
32e2bf7eef [strings] Regenerated
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-15 20:45:35 +03:00
Jenny Em
a0590b3b1f [styles] Added generic icon for monorail stations
added [railway=halt][station=monorail] to the existing [railway=station][station=monorail] in the mapping as it’s quite often used, but the difference between station and halt doesn’t matter for maps

Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-15 20:45:35 +03:00
Kiryl Razhdzestvenski
a634c76ac5 Issue 9822. Change search language on change map language
Signed-off-by: Kiryl Razhdzestvenski <kirill.rozh@gmail.com>
2024-12-15 14:26:01 -03:00
Markku Huotari
95d6918f8e Update types_strings.txt
Corrected some miscellaneous Finnish words that I've bumped into through the UI lately and found incorrect.

Signed-off-by: Markku Huotari <markku.huotari@hsl.fi>
2024-12-15 20:24:09 +03:00
Alexander Borsuk
cdc9b8beee [ios] Enable Serbian (Cyrillic)
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 18:17:53 +01:00
Alexander Borsuk
29adf61163 [strings] Regenerate Serbian for iOS
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 18:17:53 +01:00
Ferenc Géczi
8d2d8d3c80 Fix review comments
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-12-15 20:11:29 +03:00
Ferenc Géczi
1a5def70b5 [qt] Add Outdoors layer
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-12-15 20:11:29 +03:00
Alexander Borsuk
b1cf66e5c1 [strings][ios] Enabled Latvian on iOS
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 00:17:44 +01:00
Alexander Borsuk
8f53bd5cf4 [strings] Regenerated Latvian
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 00:17:44 +01:00
Alexander Borsuk
a68ddd5124 [search] Enabled Latvian in categories.txt
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 00:17:44 +01:00
Alexander Borsuk
6a7e1a9393 [search] Latvian search synonyms for categories.txt
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 00:17:44 +01:00
7a9f5b4883 [tools] Update kothic (#30 and #29)
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-14 14:10:34 +03:00
3505356195 [strings] Regenerate
Signed-off-by: Ognjen Blagojevic <ognjen.d.blagojevic+om@gmail.com>
2024-12-14 11:50:49 +01:00
07ac13431c [strings] Serbian translations (strings and categories)
Signed-off-by: Ognjen Blagojevic <ognjen.d.blagojevic+om@gmail.com>
2024-12-14 11:50:49 +01:00
28c6f4f2fc [strings] Regenerate for Kayak setting
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-13 00:50:06 +03:00
2f1b6ce0e0 [android] Add a setting to display Kayak links
Disabled by default in F-Droid build, enabled in other builds.

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-13 00:50:06 +03:00
e10afa843e Revert "[android] Remove a referral code from “Photos, reviews, booking”"
This reverts commit ee7e87fa1e.

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-13 00:50:06 +03:00
16c8355c3a Fixed multiline button style for DialogStackedButton
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2024-12-12 19:01:30 +03:00
86a684029f [styles] Regenerate for shop-pasta
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-12 18:47:31 +03:00
4da069f5ae [styles] Add default icon to shop-pasta z16-
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-12 18:47:31 +03:00
b3d800ab4a [ios] Remove a separator from LayersVC
Separator should be visible only for the Layers + Menu and hidden for the Layers only.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
165692657c [ios] add separators to the PlacePage views programmaticalay
The separators that was created in the storyboards and xibs is very hard to find/select/edit/change width and color. This is why they should be configured and added programmatically.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
916d787e4d [ios] fix UIView+AddSeparator to support the top and bottom positions
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
2ad85fbcf7 [map] review fixes
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
9f804cc615 [android] fix track selection refactoring warnings
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
6d2465bc9c [ios] fix track selection refactoring warnings
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
7f54b9306d [map] fill PP header info with track info
The GetAddress is changed to the GetSecondarySubtitle because the 4th line in the header contains address for bookmarks or distance+duration for tracks
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
f36fb2f72b [map] set track selection mark hidden when the track is deselected
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
6bb3dd5af5 [map] fix track selection
1. pass point with coodinates explicitly instead of calc the point by distance on every selection update
2. removed default track selection because the tracks should not have default marks
3. remove isInteractive property because all tracks are interactive now
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
ab128bbaeb [map] refactor ElevationInfo and implement it as a Track property
1. filling ElevationInfo with data properties is removed because there is no such data for tracks in the data
2. elevation profile is initialized only with the MultiGeometry because it shouldn't know about any other info exept the lengths, altitudes and timestamps
3. data is calculated as concatenation of all geometry segments (not the 1st one as in old implementation)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
alnzrv
cf091ba3fd [Strings] Fixed Estonian description of San Marino
Signed-off-by: alnzrv <7187657+alnzrv@users.noreply.github.com>
2024-12-06 23:23:10 -03:00
c49fe92362 [tools] Validate and auto-format more strings files
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-06 23:18:13 -03:00