Commit Graph

43 Commits

Author SHA1 Message Date
bonesyjr
07f8f33e52 Convert a PMTiles metadata decompression failure into an error response (#4399)
Co-authored-by: Bart Louwers <bart@emeel.net>
2026-07-14 23:53:32 +00:00
Mike Taves
fba652eb72 fix: typos (#4202)
Co-authored-by: Bart Louwers <bart@emeel.net>
2026-07-13 15:08:27 +00:00
Vladyslav Odobesku
62d716aed5 fix(test): convert with-server.js to ESM (use import syntax instead of require) (#4363)
Co-authored-by: Vladyslav Odobesku <VladyslavOdobesku@intellias.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-10 11:01:17 +00:00
Taku Fukada
887e6021e6 feat(core): render local CJK glyphs at 2x texture resolution (#4304)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2026-07-01 14:52:01 +03:00
twopastmidnight
a2eb4409aa core: ambient cache for pmtile sources (#4290) 2026-06-06 21:10:10 +02:00
Tim Sylvester
9a4fd44c3a core: better handle tile compression in PMTiles sources (#4159)
Co-authored-by: Bart Louwers <bart@emeel.net>
2026-03-18 16:08:46 -07:00
Andrew Calcutt
3cce5d8551 Fix linux-coverage CI job failures (#4174) 2026-03-15 22:28:06 +01:00
Bart Louwers
5882a9c94e update linux-ci to Ubuntu 24.04, apply clang-tidy fixes (#3998) 2025-12-11 21:56:24 +01:00
Stefan Karschti
44d9d06766 Fix issues reported by ASAN (#3671) 2025-07-29 13:29:04 +02:00
tdcosta100
b12008aa7b Support for MSYS2 builds (#3621) 2025-07-20 13:07:50 +02:00
Bart Louwers
d3ea080e06 Revert #2648 (#3631) 2025-07-17 23:29:48 +02:00
saleh-amazon
d350dc39e0 [addresses #2648] add Resource URL to HTTP response object in case of an error (#3427)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-16 16:08:21 +02:00
tdcosta100
307470439a Add support to range requests in AssetFileSource (#3404)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-13 19:45:04 +02:00
Bart Louwers
00956faefb Revert #3035 which was causing memory growth issue (#3315) 2025-03-17 19:00:07 +01:00
Yuri Astrakhan
a8f4f70636 Fix trailing whitespaces (#3205)
See https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace
2025-02-09 03:33:24 +00:00
Tim Sylvester
14559245d8 Eliminate copies in deferred cleanup (#3035) 2025-02-07 18:48:16 +00:00
Bart Louwers
c79b6dcf52 Add end-of-file-fixer pre-commit hook (#3176)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-24 20:43:50 +01:00
tdcosta100
cf9f41cf61 Add Initial PMTiles support (#2882)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2025-01-07 14:32:17 +01:00
tdcosta100
e932cae2fe Add Windows to CI tests (#2968) 2024-12-01 00:21:25 +01:00
pre-commit-ci[bot]
b4c8b12ba3 [pre-commit.ci] pre-commit autoupdate (#2815)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-01 13:09:03 +02:00
Bart Louwers
8ad4a51f2f Use ESM in Node.js code generation scripts (#2739) 2024-08-23 14:31:36 +02:00
Bart Louwers
544f918c17 Use C++20 (#2659) 2024-08-11 15:04:14 +02:00
JRW
9432d805cd Add getOfflineRegion Kotlin API (#2516) 2024-08-08 16:49:49 +02:00
Bart Louwers
77bb8871e0 Use path.string() to fix Windows (#2658) 2024-07-29 11:36:22 -05:00
Bart Louwers
1fa3bb4cd8 Replace platform-specific code with std::filesystem in MBTiles test (#2634) 2024-07-29 00:17:04 +00:00
Bart Louwers
a31e01dd25 Use std::variant for Database::tryOpen (#2481) 2024-06-11 16:45:24 +02:00
Bart Louwers
8c743d2467 Use std::variant with OfflineRegionDefinition (#2482) 2024-06-11 16:45:09 +02:00
Bart Louwers
f9defa4e83 Remove MBGL_UNUSED (#2172) 2024-04-02 22:48:52 -04:00
Bart Louwers
32d65850c9 iOS C++ Unit Tests Bazel target & running on CI (#1534) 2023-08-22 21:52:20 +02:00
mwilsnd
a5ac21587c Linux CI: Retry failed XOpenDisplay calls and only log errors in coverage run (#1368)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-07-26 16:35:42 +02:00
Bart Louwers
d388d651ec Skip flaky test MainResourceLoader.CachedResourceLowPriority (#1311) 2023-07-05 21:38:29 +02:00
Bart Louwers
2f17d910b7 Include excluded tests in coverage report, use xorg-dummy-driver (#1193) 2023-06-07 09:24:16 -05:00
Bart Louwers
824199f25a Linux tests + coverage report with Bazel (#1139) 2023-05-15 19:42:30 +02:00
Tadej Novak
bd91b2362a [qt] Make unit tests build and run (#1042)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-08 15:04:35 +02:00
Bart Louwers
71f6da2722 Add clang-format (#1086)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-05-01 16:57:37 +02:00
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +02:00
Wei Chen
42aea6f198 Enable C++ unit test on macOS CI (#674)
Co-authored-by: wei chen <wei.chen@grabtaxi.com>
Co-authored-by: Ovidiu Voda <ovi.voda@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-02-08 12:16:57 +01:00
Tadej Novak
1341f33ba4 Add ClientOptions to be able to pass around client name and version (#365)
* ClientOptions and Qt user agent

* Update CHANGELOG.md

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-08-13 15:36:50 +02:00
Brendan Ward
834a198c98 Handle nonexistent mbtiles files, add MBTilesFileSource tests (#292)
* Handle nonexistent mbtiles files, add MBTilesFileSource tests

* minor formatting fix
2022-05-27 14:57:25 -07:00
Tadej Novak
2dcc9d8b61 [msvc] Avoid warnings in tests (#276) 2022-04-26 17:44:49 +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
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
Petr Pokorny
41f0be34e7 [general] moving ios and android project under ./platform folder 2020-12-20 12:38:56 +01:00