Commit graph

39686 commits

Author SHA1 Message Date
1ff3a27149 [styles] Regenerate
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-29 22:35:22 +02:00
c9fdc200c6 WIP [styles] Highlight major hiking trails
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-29 22:35:21 +02:00
084b13ca2b WIP [classif] Add -route, -named and -surface_good hiking trails
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-29 22:28:13 +02:00
f285fbce37 [generator] Pull route=hiking tag and trail names from relations
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-29 19:50:41 +02:00
88d081979d [generator] Add _named surrogate tag
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-29 19:49:29 +02:00
Harry Bond
266d9f7e61 [strings] regenerated
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-28 12:00:16 -03:00
Harry Bond
f959095dc7 [styles] regenerated
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-28 12:00:16 -03:00
Harry Bond
e9a6015242 Add Singapore metro icon/type
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-28 12:00:16 -03:00
Harry Bond
ac33d4b94d [strings] regenerated
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-28 11:06:03 -03:00
Harry Bond
85e02f053c [styles] regenerated
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-28 11:06:03 -03:00
Harry Bond
def90a8e55 Add hackerspace
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-28 11:06:03 -03:00
Alexander Borsuk
49075df988 Undo accidental commit
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:15:00 +01:00
Alexander Borsuk
ae43df9b66 Removed manual symlink creation
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:11:29 +01:00
Alexander Borsuk
2397b676b6 Fixed dependencies when building with -DSKIP_TESTS or -DSKIP_TOOLS
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:11:29 +01:00
Alexander Borsuk
e514f3bcbb Automatically create data symlink for tests
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:11:29 +01:00
Alexander Borsuk
4e56318e6f [github] Use Xcode 15.0.1 for builds
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-28 14:07:44 +01:00
828f2da0d4 [ios] fix: ActionBar button height
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2023-11-28 11:44:44 +01:00
8d52c786f6 [ios] fix: search started criteria to correctly update observers
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2023-11-28 11:44:44 +01:00
6a1321fddc [android] Enable Address Sanitizer (ASAN) for debug and beta
GWP-ASan is a native memory allocator feature that helps find use-after-free
and heap-buffer-overflow bugs. Its informal name is a recursive acronym,
"GWP-ASan Will Provide Allocation SANity". Unlike HWASan or Malloc Debug,
GWP-ASan does not require source or recompilation (that is, works with
prebuilts), and works on both 32- and 64-bit processes (although 32-bit
crashes have less debugging information).

Closes #6633

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-27 21:02:36 +02:00
Viktor Govako
8719964eb6 [generator] Assign railway/highway station types to Nodes and Ways.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-27 09:38:45 -03:00
Viktor Govako
52afb5d3c4 [generator] Do not erase leading zeros in house number.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-27 09:27:02 -03:00
d48a2546cc [ios] fix: background color for cells selected state
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2023-11-26 23:55:12 +01:00
3807c7207e [ios] fix: remove grabber for PP view on ipad
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2023-11-26 23:40:54 +01:00
Viktor Govako
561f7043b9 [search] Skip small ranks (population < 800) in scoring.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-26 12:08:14 -03:00
Viktor Govako
d5c2ddabec [search] Correct Ranker::m_pivotRegion initialization.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-26 12:08:14 -03:00
Viktor Govako
f8dd250a90 [search] Match addr:place + addr:housenumber.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-26 12:08:14 -03:00
Viktor Govako
79017b25db [search] Using FeatureID in Locality.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-26 12:08:14 -03:00
4d70c97790 [styles] Regenerate for <1 dashdots
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-26 10:32:13 +01:00
9277ff4d98 [styles] Fix inconsistent boundaries' dash patterns
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-26 10:32:13 +01:00
6757278ec8 [drape] Ensure dashdot values are >=1 AFTER applying vs
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-26 10:32:13 +01:00
189a083cd6 [tools] Update kothic (Allow <1 dashdot values)
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-26 10:32:13 +01:00
6482e1bae2 [android] Enable Java 17 language features
Almost all the new Java 12-17 **language** features can be used now:

- Text Blocks
  https://docs.oracle.com/en/java/javase/17/text-blocks/index.html

- Pattern Matching for switch Expressions and Statements
  https://docs.oracle.com/en/java/javase/17/language/pattern-matching-switch-expressions-and-statements.html

- Pattern Matching for instanceof
  https://docs.oracle.com/en/java/javase/17/language/pattern-matching-instanceof-operator.html

- Sealed Classes
  https://docs.oracle.com/en/java/javase/17/language/sealed-classes-and-interfaces.html

- Record Classes
  https://docs.oracle.com/en/java/javase/17/language/records.html
  This feature requires `java.lang.Record` class which is not available on
  old devices, but R8/D8 compiler in Android does so-called 'desugaring'.
  https://android-developers.googleblog.com/2023/06/records-in-android-studio-flamingo.html

More details on https://docs.oracle.com/en/java/javase/17/language/java-language-changes.html

Please note that Java 17 support doesn't extend to the new system classes
and APIs as they may not be available on old devices. The build toolchain
validates APIs based on the value minSdk setting, which is still API=21.
Certain APIs are available even on the old devices via R8/D8 'desugaring'.
See https://developer.android.com/build/jdks#compileSdk for details.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-26 09:58:51 +02:00
Ferenc Géczi
2531b6a476 [ge0] Fix compilation on gcc 11 when unity build is off
Fixes the following compiler error & note:

parser.hpp:10:13: error: 'array' in namespace 'std' does not name a template type
parser.hpp:6:1: note: 'std::array' is defined in header '<array>'; did you forget to '#include <array>'?

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-11-25 15:55:42 +01:00
950dd51a66 Fix distance color in ruler mode
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-25 14:58:00 +01:00
Ferenc Géczi
5cdcea575b [linux] Indicate compatibility with mobile form factor
So on mobile Linux UIs like Phosh and Plasma,
the Organic Maps icon shows up immediately,
without the need for the user to tap on "Show All Apps".

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-11-25 14:56:01 +01:00
Alexander Borsuk
6c65e90080 [android] Upgrade agp to 8.1.4
Upgrade other dependencies too

Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-25 15:50:29 +02:00
37b173d291 [styles] Regenerate for leisure-garden-residential
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-25 08:55:51 -03:00
cddb7185df [styles] Fix leisure-garden-residential area fills
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2023-11-25 08:55:51 -03:00
Viktor Govako
697f378d07 [strings] Regenerated.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-24 20:54:36 -03:00
Viktor Govako
02c747c992 [strings] Fixed parking.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-24 20:54:36 -03:00
1b58a18f47
[map] Fix the viewport when opening a geo: link (#6647)
* [map] Fix the viewport when opening a geo: link

Re-add lost trackVisibleViewport=true from the original implementation.

Closes #6641

Co-authored-by: Viktor Govako <viktor.govako@gmail.com>
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-24 18:47:01 -03:00
David Martinez
95c80cbceb [strings] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2023-11-24 17:54:25 -03:00
David Martinez
9be672d2e2 [strings] Add some more parking translations in Spanish
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2023-11-24 17:54:25 -03:00
Harry Bond
bc62dafa59 [styles] regenerated
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-24 14:03:13 +02:00
Harry Bond
0daffcf5fc [styles] flip Porto metro icon colours
also fix border to dark on night icons
Signed-off-by: Harry Bond <hrbond@pm.me>
2023-11-24 14:03:13 +02:00
7e3e3c3337
[docs][android] Add Android Auto development instructions
Closes #4719

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-24 08:37:10 +03:00
Matheus Gomes
2a77dd7e72 Update bbox Porto metro
Signed-off-by: Matheus Gomes <86851490+matheusgomesms@users.noreply.github.com>
2023-11-23 14:36:21 +01:00
7c6da4d6ff [android] Use system locale for map size and download progress strings
Signed-off-by: Gonzalo Pesquero <gpesquero@yahoo.es>
2023-11-23 11:02:20 +02:00
Ferenc Géczi
db7bc664c5 [3party] Treat utfcpp as a system header
* For compiler diagnostics
* For dependency management
* Extra symlink directory 3party/utf8cpp/include/utf8cpp/ added for xcode iPhone builds
  to have the same directory structure, (utf8cpp/utf8/unchecked.h)
  which would be created by CMake.
  See:
  https://github.com/nemtrif/utfcpp/blob
  /925e7147ece348a170f4fea3a7f94ee72b433030/CMakeLists.txt
  And:
  https://github.com/nemtrif/utfcpp/issues/54

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2023-11-23 10:29:26 +02:00
Andrew Shkrob
2d5d68039b [ci] Add test coverage check
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2023-11-23 10:28:30 +02:00