Commit graph

41409 commits

Author SHA1 Message Date
Mikhail Mitrofanov
bac234b277 Update android/app/src/main/java/app/organicmaps/bookmarks/data/CategoryDataSource.java
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Signed-off-by: Mikhail Mitrofanov <mk.mitrofanov@outlook.com>
2024-09-03 19:08:47 +02:00
Mikhail Mitrofanov
f05ed2564d After deleting the last track in a category, the category itself is now deleted
The issue was caused by calling RecyclerView.AdapterDataObserver.onChanged() at an unexpected time.

This PR resolves two problems:

Excessive updates to the category object, which occurred with any interaction with the list (e.g., simply selecting the "Share" option).
It enables updating the category as expected when something actually changes within it.
I should note that the invalidate() method is implemented specifically in CategoryDataSource rather than at the DataSource interface level, to avoid complicating other DataSource implementations that don't require this logic.

This PR is an alternative to: https://github.com/organicmaps/organicmaps/pull/9189.

Signed-off-by: Mikhail Mitrofanov <mk.mitrofanov@outlook.com>
2024-09-03 19:08:47 +02:00
Alexander Borsuk
624ca8c1f1 [strings] Added missing difficult trails translations
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-03 19:08:47 +02:00
174cc4a9bc [Android] hide UI in big direction mode
Signed-off-by: Harry Bond <me@hbond.xyz>
2024-09-03 19:08:47 +02:00
36527bd34a [android] Add "Open in another app" button
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-09-03 19:08:47 +02:00
Isira Seneviratne
16a0a6c22a [android] Simplify TTS code using AudioManagerCompat
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
2024-09-03 19:08:47 +02:00
parneet-guraya
adfd2fb96d Use new result apis
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-03 19:08:47 +02:00
Viktor Govako
ff436c1ec0 [planet] New data from 240824.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-09-03 19:08:47 +02:00
Alexander Borsuk
7868516222 [android] Updated Android to 15 (API 35)
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-03 19:08:46 +02:00
zyphlar
31359b9110 Add recalculating TTS announcement
Signed-off-by: zyphlar <zyphlar@users.noreply.github.com>
2024-09-03 19:08:46 +02:00
Alexander Borsuk
50a809dcfc [strings] Regenerated he
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-03 19:08:39 +02:00
5384b77b0b update hebrew translations for track recording
Signed-off-by: Nitai Sasson <github.com.nr568@sl.neatnit.net>
2024-09-03 19:07:45 +02:00
4162ce7bbf [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
26725b294b [strings] remove strings related to the Recent Path feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
8d6b7e2d58 [ios] remove recent track feature
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
fab3621cda [stings] add strings related to the track recording feature
- track_recording_alert_title
- track_recording_alert_message
- stop_without_saving
- track_recording_toast_nothing_to_save

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
6be7eaebbc [ios] implement track recording to the Menu
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
432edfee53 [ios] add TrackRecorder to handle recording state and start/stop actions
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
40ed4a3181 [ios] implement track recording feature support to the FrameworkHelper
to ineterop with the cpp code
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
f48ed054e4 [ios] add checkLocationStatus to the LocationManager
To check location availability on start track recording
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
747b3553fb [ios] fix topViewController to show the alerts and mail composer correclty
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:26:15 +02:00
c23a535dba [gps] add timestams and altitudes to the recorded track points
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 18:21:06 +02:00
Alexander Borsuk
b2a231ea5b [strings] Regenerated he
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-03 17:55:20 +02:00
MbTy1
4674071c2f Update types_strings.txt
Hebrew translate
Up to17866

Signed-off-by: MbTy1 <141584968+MbTy1@users.noreply.github.com>
2024-09-03 17:54:52 +02:00
fbdfca56e9 [serdes] [gpx] add unit tests for the tracks with timestamps import
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
9b490968e1 [map] fix map_tests
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
04648c2a15 [serdes] [gpx] fix GPX file serialization to support timestamps parsing
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
cadb13436b [serdes] [kml] Add unit tests for tracks with timestamps
Added unit tests to validate the serialization and deserialization of tracks that include timestamps in KML file format (this files should use the `<gx:Track>` elements and associated `<when>` timestamps).

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
7075452d26 [serdes] [kml] save KML track in the gxt:Track format if it has timestamps
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>

# Conflicts:
#	kml/types.hpp
2024-09-03 17:50:20 +02:00
bcc2beaeab [serdes] [kml] merge the points during the validation instead of serialization
It will fix the issue when we cannot get the marged points indexes to skip the same timestamps during the serialization process because timestamps count should be equal to the points in line count (or 0).

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
4a2135042d [kml] add timestamps vector to the MultiGeometry
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-03 17:50:20 +02:00
David Martinez
ff770ac099 [strings] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-03 11:11:24 -03:00
David Martinez
9704ac6378 [styles] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-03 11:11:24 -03:00
David Martinez
41869b3289 [strings] Fix spanish strings
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-03 11:11:24 -03:00
David Martinez
d18191dbea [styles] Add leisure=sports_hall
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-03 11:11:24 -03:00
David Martinez
ec3c367a33 [styles] Add amenity=dojo
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-09-03 11:11:24 -03:00
Arthur-GYT
f14d869644 [android] Remove outdoor_seating support
Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
2024-09-03 10:25:13 -03:00
Alexander Borsuk
c56e4a5242 Fixed parsing fractional seconds from ISO 8601 string timestamps
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-03 14:53:14 +02:00
5a0ba02276 [ios] disable location updates pausing in BG during the nav/track recording
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-09-02 16:35:31 +02:00
Enrique Garcia
50b35086c9 Add missing getopts option
Signed-off-by: Enrique Garcia <cquike@arcor.de>
2024-09-02 12:54:57 +02:00
Xevi
d07e78898e
Fix sarch and add some catalan translations (#9194)
* Fix sarch and add some catalan translations

* Order ca strings

* Apply suggestions from code review

Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>

---------

Signed-off-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2024-09-02 12:48:09 +02:00
Enrique Garcia
7fbf3f204b Support navigation with the keyboard arrows
Signed-off-by: Enrique Garcia <cquike@arcor.de>
2024-09-01 21:19:56 +02:00
Viktor Govako
dc4be12e06 [search] Process area highways for address matching.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-09-01 13:59:40 -03:00
Alexander Borsuk
f215bb67e3 Fixed crash when tapping on a text to select an intermediate stop (or any other non-bookmark UserMark)
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-01 18:37:12 +02:00
Alexander Borsuk
7c151ec289 [ios] Minor fixes
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-01 18:37:12 +02:00
Alexander Borsuk
9546637ab7 [strings] Regenerated he
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-09-01 18:23:58 +02:00
MbTy1
b3dc1e22bc Update types_strings.txt
Hebrew translate
up to 16177

Signed-off-by: MbTy1 <141584968+MbTy1@users.noreply.github.com>
2024-09-01 18:23:15 +02:00
Alexander Borsuk
d1eb46fcf7 [api] Fixed wrong geo url parsing with &z= in the host name instead of ?z=
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-31 21:35:18 -03:00
Alexander Borsuk
14ba961f51 Fix the use of infinity
-ffast-math does not support infinity values

Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-08-31 21:30:49 -03:00
Ferenc Géczi
d42768e817 Fix removed release tag in metainfo.xml
Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2024-08-31 22:32:56 +02:00