The new Fastlane feature enables incremental synchronization
of screenshots without fully removing them during each upload.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
1. Restore the original simple version of `configure.sh`
Restores 08e37f4 "Refactor configure.sh"
Reverts b87ee95b "Fixed configure.sh script and gh actions"
2. Use GitHub Secrets instead of a private git repository to enhance
security standards and ensure credentials are encrypted and safely
managed.
3. Document credentials used by GitHub Actions in docs/CREDENTIALS.md
4. Include `network_security_config.xml` directly into the repo
as it has nothing sensitive.
5. Include Apple WWDR intermediate certificates directly into the repo
as they are not sensitive and publicly available.
https://developer.apple.com/help/account/reference/wwdr-intermediate-certificates
6. Add `private.h` in the repository since it does not differ from
`private_defaults.h`.
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
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>
* [platform] add ProductsConfig
1. fetch and parse ProductsConfig json
2. save it to the separate file "products_settings.json"
3. small servers_list.cpp refactoring
4. add unit tests for servers config and products config
5. add products fetching to the framework
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
Rendered text is now properly shaped. Should fix text rendered in these languages:
- Indic
- Arabic
- Thai and Lao
- Khmer
- Myanmar
- Tibetan
- Hangul
- Hebrew
If text still looks wrong, then the font file for this text should be updated.
Signed-off-by: Alexander Borsuk <me@alex.bio>
- Added a font_tool to experiment and test runs algorithm
- Updated existing test to show/compare different lang strings rendered in different ways
Harfbuzz shaping requires splitting each string into segments (runs). Each run should have the same:
- font
- direction
- script
- language
The base idea of getting runs is based on the Chromium source code, with some changes and improvements.
There are many TODOs that can be handled later.
Signed-off-by: Alexander Borsuk <me@alex.bio>
* Set the same SDF spread/border (4) as it was before
* Removed the threaded glyph generator, SDF glyphs are created now on a single thread.
Before, the bitmap was rendered and then copied on the same single thread. By removing unnecessary overhead and by using
bsdf renderer which is faster than sdf, visually glyphs appear on the screen at comparable or even faster time.
* Removed GetGlyphSdfScale, it will be hardcoded or set in a different way if necessary
* Fixed some minor tidy warnings
Signed-off-by: Alexander Borsuk <me@alex.bio>
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>
This code was outdated and required a lot of fixes to work.
Even after fixes, it will generate map image that is inconsistent with GL/Metal/Vulkan version.
Restoring it later if necessary is always an option.
Signed-off-by: Alexander Borsuk <me@alex.bio>
* Link with Qt6::Network on windows
* Make find_program(BASH) REQUIRED to prevent build-time errors
* Link more targets explicitly to pickup transitive dependencies
* Don't add unsupported flags on MSVC
Drive-by: use add_compile_options instead of add_definitions to set -fno-omit-frame-pointer
* Move find_package(gflags) out of 3party
GLOBAL flag for find_package has been added in CMake 3.24
* Don't hardcode paths to 3party/utfcpp
* Use system expat explicitly if needed
* Use system jansson explicitly if needed
* Use find_package(ZLIB) to find zlib
* Don't use vendored Freetype, ICU and HarfBuzz when WITH_SYSTEM_PROVIDED_3PARTY is set
* Find pugixml explicitly
* Fix typo in target name
* Update utfcpp include path
* Let CMake handle /DEBUG flag for MSVC
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
- Increased MACOSX_DEPLOYMENT_TARGET to 10.15 (Catalina)
- Automatically generate info.plist file for test binaries
- Fixed paths to Qt6
Signed-off-by: Alexander Borsuk <me@alex.bio>
Fixes CMake warning about the symbol visibility policy CMP0063
caused by 3party libs that claim to support older CMake versions.
Updated expat build settings. We don't use DTD and general entities.
Signed-off-by: Alexander Borsuk <me@alex.bio>
* 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>
Add an experimental referral link "Details on KAYAK" to hotels on the map.
KAYAK is a metasearch engine that aggregates hundreds of travel sites
at once to find the best deals on the hotel bookings. The website provides
detailed property listings with photos, reviews, and information on
amenities and prices.
As always, Organic Maps doesn’t collect or share any information about
you and/or your device with KAYAK and/or its partners. As KAYAK is
a traditional website, be aware that they may have tracking on their
website like all travel websites.
All hotel bookings via KAYAK using links from the app will generate
a tiny commission to help fund the development of the project. Thanks for
your support of the project!
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>