Commit Graph

16516 Commits

Author SHA1 Message Date
Tadej Novak
99cf6381ba [android] Fix some test classes (#139) 2021-08-29 22:54:30 +02:00
Tadej Novak
5c2414463f [qt] Move to modern signal/slot connection mechanism (#138) 2021-08-29 22:54:07 +02:00
Tadej Novak
fe041b80ca [msvc] Fix compilation errors and warnings (#141) 2021-08-29 22:53:42 +02:00
Nathan Gass
c0d76c69cc Egl option (#135)
* minimal changes to get platform linux to compile again

* adapt mbgl-glfw api for keyss to mbgl-offline and mbgl-render, use maptiler configuration for all three binaries

* add an option to compile with the egl backend on linux
2021-08-19 20:57:56 +02:00
Nathan Gass
408946a6ab Fix platform linux (#133)
* minimal changes to get platform linux to compile again

* adapt mbgl-glfw api for keyss to mbgl-offline and mbgl-render, use maptiler configuration for all three binaries
2021-08-19 20:51:58 +02:00
Nathan Gass
c34d6e0674 be explicit that not all implementations are immutable (fix #136) (#145) 2021-08-18 20:56:41 +02:00
Nathan Gass
58a2643c8f use hardcoded style url for this simple test to avoid dependency on any setup (#144) 2021-08-17 20:20:55 +02:00
Dan Paulat
8b804a1903 maplibre support for Qt6 and MSVC 2019 (#125)
* [qt] Updating CMake project files for Qt6

* [qt] Updating non-test projects for Qt6 and msvc2019

* [qt] Test fixes for Qt6 and msvc2019

* [qt] Link whole test archive for Qt and msvc2019

* [qt] Fixing Qt6 headless backend renderer

* [qt] Fixes for test failures

* [qt] Expression and style parser test fixes

* [qt] Backwards compatibility with Qt5 and Qt6

Minimum version is Qt 5.4 due to use of QOpenGLWidget

* [qt] LLVM is no longer required for a Windows build

* [msvc] msvc2019 fixes for maplibre

* Update test/storage/offline_database.test.cpp

Co-authored-by: Tadej Novak <tadej@tano.si>

* Vector + const is not standard C++

Co-authored-by: Tadej Novak <tadej@tano.si>
2021-08-07 11:10:45 -04:00
Florian Herzog
1eee73bdce [ios] Fix for #131 (#132) 2021-08-05 14:41:24 +02:00
Isaac Nickaein
1ce3a4b07b [core] fix perf regression in cached tiles of tile pyramid (#129) 2021-07-28 21:17:02 +02:00
Petr Pokorny
2a86dcefc0 Fixing #117 (#130) 2021-07-28 21:06:25 +02:00
Nic Hubbard
57b968c255 Updated README to mention the creation of Mapbox.xcframework file (#127) 2021-07-25 18:35:22 +02:00
RobLabs.com
19b86f750d Fix build for Xcode 12.5 & 13-beta. See https://github.com/maplibre/maplibre-gl-native/issues/14 2021-07-21 19:23:23 -07:00
Tadej Novak
aef3d4dd74 [qt] Deprecation warnings and Qt compatibility fixes (#118)
* [qt] Fix compilation of the sqlite wrapper

* [qt] Fix QImage-related warnings

* Update Qt redirection handling

Since 5.9 RedirectPolicyAttribute is preferred, and from 6.0 the
behavior of NoLessSafeRedirectPolicy is the default.

* [qt] Fix more deprecation warnings

Co-authored-by: Mårten Nordheim <morten242@gmail.com>
2021-07-16 09:52:48 +02:00
honjo2
043a06d803 [ios] Adjust local glyphs (#122) 2021-07-12 11:38:31 +02:00
Nic Hubbard
758ea28de6 Fixes for locales and using decimals or commas as seperator. (#121) 2021-07-10 16:39:40 -07:00
Tadej Novak
1fea606676 [qt] Ignore status code with 'data' URLs (#119) 2021-07-09 12:24:36 +02:00
Nic Hubbard
d28e4a040f Fix for annotations stuttering and drifting when panning (#113)
* Fix frame-delay bug affect UIViews

* Fixed stuttering and drifting issue with annotations

* Removed processPendingBlocks method that should not have been there.
2021-07-08 06:56:32 -07:00
Nic Hubbard
b35b328f50 scaleBar enhancements (#120)
* Updated scaleBar to allow setting dark label styles which show up much better when using dark map styles.

* Allows user to set if the scaleBar uses metric or not, rather than the system locale forcing this. This allows user flexability.

* Add methods to mapView to access new scaleBar properties
2021-07-07 18:14:56 -07:00
Tadej Novak
6be1249a19 [qt] Update for tile server configuration changes (#102) 2021-07-07 14:03:39 +02:00
Nic Hubbard
cfa3015d32 Address crash when localFontFamilyName is nil (#109) 2021-07-06 17:40:15 -07:00
Petr Pokorny
b76136178b Fix: invalid tile url template for MapLibre style (#107) 2021-07-06 14:57:28 +02:00
Petr Pokorny
d62ff400c6 Replacing hardcoded configuration with configurable API and removing Mapbox assets (#90)
* Refactoring online file source so that tile server configuration is not hardcoded - part 1

* Added default templates

* Update from master

* Renaming MGLAccountManager to MGLSettings. Passing ResourceOptions and TileServerOptions to relevant classes and method in order to remove mapbox hardocded configuration

* Fixing build

* Addedm missing theme

* Unit tests fixes

* Fixing unit tests, adding factory methods for creating predefined configuration.

* Fixing mapbox unit tests

* Additional unit test fixes

* Making MapboxConfiguration default

* Making get/set resource options available in all classes that inherits from FileSource

* Making get/set resource options available in all classes that inherits from FileSource - part 2

* Fixes for Android

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Removing hardcoded configuration in iOS project - part 1

* Fixing wrong file extension, making use of tile server options.

* Use apiKey and MGL_API_KEY everywhere

* Just a rename

* Re-enabling tests and improving MGLSettings init

* Removing mapbox hardcoded configuration, using api key everywhere, implementing JNI conversion for TileServerOptions

* Lint issues.

* Integrating configurable tile server properties into Android SDK - part 2

* Removing mabox accounts

* Exposing multiple configurations to Android SDK - bug fixes

* Removing TileServerOptions from public interface - native methods dont work before mapbox-gl library is loaded

* Adding support for configurable predefined styles

* Migrating predefined styles in test app + cleanup

* Parameter fix

* Bug fixes

* Fixing render test build

* Fixing offline tester

* Fixing benchmark tool

* Fix: typo in method name

* Adding code for public access to TileServerOptions

* Bug fixes and debug code removal

* Fixes for macOS, adding unit tests from MapLibre, removing redundant members from OnlineFileSource

* Unit test fixes

* MacOS test app - migrating to configurable tile server options, part 1

* Fixing offline maps

* Migrating macOS test app to MapTiler

* Minor improvements

* Putting back apiKey test

* Added unit tests for MapTiler configuration

* Migrating test resources to MapTiler

* minor fix

* A few fixes

* Fixing macOS tests, removing feedback functionality

* Migrating ios test app to MapTiler

* Migrating ui tests

* UI tests fix

* Benchmarking app fix

* Cleanup and strings updates

* Migrating benchmark app to maptiler

* API key injection in benchmark app

* Putting back release configuration

* Additional tests and fixing issues identified by thread sanitizer.

* Removing test filters

* Fixes and addressing lint issues

* More Maptiler tests + minro fix

* Android instrumentation test migration to MapTiler. Exposing missing TileServerOptions in Android SDK. Minor fixes.

* No requirements on API key format.

* Fixing offline cache test tool

* Adding configurable domain name for sources, adding source domain int MapTiler configuration, cleanup

* Migrating tests to MapTiler, adding code for canonicalizing URLs, removing mapbox stuff from comments, cleanup

* More tests

* Updated database size

* Lint issues

* Fixed test

* Updating developer config API key

* Fixes for Android, propagaing updated tileServerOptions to native file sources, more tests

* Just a few more fixes

* Propagating updated settings to file sources + additional unit test

* Lint issues

* Removing test filter and fixing incorrect uri

* Release preparation

* macos release notes
2021-06-29 12:44:51 +02:00
Rob | Labs
9a49fa16c9 README: list available tags 2021-06-22 15:48:25 -07:00
Jukka Hietanen
7567eaf152 [ios] Disable map snapshots by default. This fixes following issues: (#83)
* Map can flash another map style when brought to foreground
* Map can jump when brought to foreground
* Fixed "zoomed in" flash issue with Metal branch (https://github.com/maplibre/maplibre-gl-native/issues/76)
2021-05-28 22:36:15 +02:00
Nuno Goncalves
4ab0fd25a5 [core] fix: error: redundant move in return statement (#75)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-28 22:33:43 +02:00
Nuno Goncalves
8364eb872c [core] fix comparison of unsigned expression in ‘< 0’ is always false (#73)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-28 22:31:20 +02:00
Jukka Hietanen
1ebaff3378 Fixed testSetCenterCoordinatePauseRendering broken in PR https://github.com/maplibre/maplibre-gl-native/pull/68 (#88) 2021-05-21 00:37:28 +02:00
Petr Pokorny
75d915eff1 Update ios-release.yml 2021-05-20 13:14:50 +02:00
Petr Pokorny
692c66cfc9 Update ios-ci.yml 2021-05-20 13:14:31 +02:00
Petr Pokorny
c9f3fd1c4f Update ios-release.yml 2021-05-20 13:13:43 +02:00
Petr Pokorny
0079d07e10 Update ios-ci.yml 2021-05-20 13:13:07 +02:00
Christian Sturm
00f3af3ac2 Use DisplayLink to prevent crashes in willResignActive (#68)
* Use DisplayLink to prevent crashes in willResignActive

* Fixed screen freeze issue in the DisplayLink PR when bringing app back to foreground. Includes relevant changes from Mapbox PR (https://github.com/mapbox/mapbox-gl-native-ios/pull/432).

Co-authored-by: Jukka Hietanen <jukka.hietanen@accelbit.com>
2021-05-10 16:25:34 +02:00
Marcel Normann
e66fa56098 Add sponsorship button to repository 2021-05-07 09:41:20 +02:00
Christian Sturm
a2db858090 Ignore sizing and positioning for hidden elements in assertions (#80) 2021-05-07 08:35:45 +02:00
Petr Pokorny
8818a0c92e Update android-release.yml
Fixing signing key issues
2021-05-06 18:38:27 +02:00
Petr Pokorny
c93c0857ba Update macos-release.yml
Allow manual trigger only
2021-05-06 18:30:57 +02:00
Petr Pokorny
18623250e7 Update ios-release.yml
Allow manual trigger only
2021-05-06 18:30:40 +02:00
Petr Pokorny
f6bbb080b8 Update ios-pre-release.yml
Allow manual trigger only
2021-05-06 18:30:13 +02:00
Petr Pokorny
df55866c09 Update android-release.yml
Allow manual trigger only
2021-05-06 18:29:51 +02:00
RobLabs.com
babf093ad1 Merge branch 'ios-build-improvements' into upstream/master 2021-05-06 09:07:52 -07:00
Petr Pokorny
29cb016c2c Update android-release.yml 2021-05-06 17:10:45 +02:00
Petr Pokorny
14dabbe539 Update ios-pre-release.yml
Update to match pre-release (metal) branch
2021-05-06 16:10:34 +02:00
Petr Pokorny
82a3917fb4 Use hosted runner 2021-05-06 15:46:19 +02:00
Petr Pokorny
617f6afcc1 Typo 2021-05-06 13:56:56 +02:00
Petr Pokorny
452537d0ca Nitpick script fix & changelog update 2021-05-06 13:55:58 +02:00
Petr Pokorny
7d50ea7849 Keeping mapbox gestures and account dependencies 2021-05-06 13:39:49 +02:00
Petr Pokorny
39845f5c1e Fixing the submodule 2021-05-06 11:35:57 +02:00
Petr Pokorny
6d100397ea Migration to maplibre-java library 2021-05-06 11:32:16 +02:00
Nuno Goncalves
c3acb9fe4b [glfw] fix help for Q and C shortcuts (#71)
With 72df1658fa the query annotations
shortcut was introduced using the previously used shortcut 'Q', which
was replaced by 'C'. Help was not updated for either.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2021-05-04 19:52:22 +02:00