summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation issues on GCC 9Bruno de Oliveira Abinader2020-04-221-0/+1
|
* [core] Database file source does not return stored tiles for volatile resourcesMikhail Pozdnyakov2020-04-221-1/+2
| | | | The `DatabaseFileSource.VolatileResource` test is included.
* [core] Add Resource::StoragePolicy and consider it in resource loaderMikhail Pozdnyakov2020-04-221-0/+2
|
* [node] Blacklist Node ABI 83Thiago Marcos P. Santos2020-04-211-0/+1
| | | | Not supported at the moment
* [build] Fix the output path of the iOS ccache scriptsSudarsana Babu Nagineni2020-04-211-2/+2
| | | | | | iOS ccache wrapper scripts should be in the top level of the CMake build tree, so fix the output path in the configure_file().
* [macos] Fixed minimum deployment targetMinh Nguyễn2020-04-201-3/+1
|
* [core] Introduce `Resource::minimumUpdateInterval`Mikhail Pozdnyakov2020-04-201-25/+30
| | | | | | Introduce `Resource::minimumUpdateInterval` and consider it in the online file source. The `minimumUpdateInterval` is used to throttle the requests, which were initiated due to resource expiration.
* [core] Add platform abstractions for utils::now()Thiago Marcos P. Santos2020-04-206-0/+16
| | | | | Some platforms might require special permissions or custom APIs to access the current time of the day.
* [core] Fix -Werror={pessimizing,redundant}-move from GCC 9Bruno de Oliveira Abinader2020-04-205-5/+5
|
* Introduce a mean to add render features in layers with no sourcesGali Nelle2020-04-171-0/+5
| | | | | | This change also uses the support in the LocationIndicator layer, to return a point feature when queried in correspondence of the location indicator.
* [glfw] Fix clang-10 buildThiago Marcos P. Santos2020-04-171-3/+3
| | | | Implicit conversion from int to float.
* [node] Fix clang-tidy errors on the Node bindings headersThiago Marcos P. Santos2020-04-177-35/+24
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-171-3/+3
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-equals-default errors in header filesThiago Marcos P. Santos2020-04-172-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix google-default-arguments errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-171-9/+5
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-member-init errors in header filesThiago Marcos P. Santos2020-04-172-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix readability-avoid-const-params-in-decls errors in header filesThiago Marcos P. Santos2020-04-171-2/+1
| | | | As reported by clang-tidy-8.
* [build] Disable benchmark for MacOS debug CI buildsJuha Alanen2020-04-151-1/+4
|
* [android, ios] Increase benchmark repetition countJuha Alanen2020-04-151-1/+1
| | | | More repetitions give more stable results.
* [android] Fix onStyleImageMissing callback in Snapshotter not fired issue. ↵Kevin Li2020-04-101-0/+4
| | | | (#16386)
* Fix LocationIndicator LayerGali Nelle2020-04-101-4/+4
| | | | | | | | | This changes image size properties to be scales instead of pixel sizes. The commit also adds fixes for handling image updates with the same ID, adds tests for expressions in paint properties, as well as tests for using images with pixel ratio greater than 1. Finally it moves image-tilt-displacement and perspective-compensation properties from layout to paint properties, and includes other minor cleanups.
* Make location indicator bearing a paint propertyGali Nelle2020-04-081-3/+4
| | | | | | This change introduces a new property type, Rotation, that uses a custom interpolator, and that is currently applied to all style properties named "bearing", with a period attribute.
* Add LocationIndicatorLayerGali Nelle2020-04-087-1/+137
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* [build] Fix undefined behavour sanitizer (#16375)zmiao2020-04-073-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [build] Fix integer overflow runtime error for core part Temporarily remove circle ci UBSAN build precondition * [build] Enable all of the ubsans [build] Check runtime error [build] Update UBSAN_OPTION * [build] Add UBSAN blacklist [build] Ignore system libraries [build] Ignore vendor library * [build] Fix implicit conversion runtime error in core * [build] Fix division by zero runtime error * [build] Add unfixed error to ubsan blacklist * [build] Make UBSAN halt on error Revert "Temporary remove build precondition" * [build] Fix division by zero error * [build] Make UBSAN officially work without FIXME prefix * [build] Fix implicit conversion from int64_t to uint64_t * [build] Rename style test json file name * Address review findings
* [android] Remove forgotten JNI bindgings from android platform. (#16374)Igor Tarasov2020-04-032-302/+0
| | | Cleanup after PR #16356.
* [android] [build] [ci] Move Android JNI bindings code to ↵Igor Tarasov2020-04-02173-14109/+2
| | | | mapbox-gl-native-android repo. (#16356)
* [android] Add Android bindingsAlexander Shalamov2020-04-012-7/+30
|
* [darwin] Remove debug leftoverThiago Marcos P. Santos2020-03-311-3/+0
| | | | Remove debug leftover added by 9009089a93.
* [core] Fix misc-* errorsThiago Marcos P. Santos2020-03-302-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-3010-20/+27
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-virtual-near-miss errorsThiago Marcos P. Santos2020-03-302-10/+10
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-exception-escape errorsThiago Marcos P. Santos2020-03-302-2/+10
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-macro-parentheses errorsThiago Marcos P. Santos2020-03-301-2/+1
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-too-small-loop-variable errorsThiago Marcos P. Santos2020-03-303-3/+3
| | | | As reported by clang-tidy-8.
* [core] Fix google-readability-casting errorsThiago Marcos P. Santos2020-03-302-3/+3
| | | | As reported by clang-tidy-8.
* [core] Fix google-explicit-constructor errorsThiago Marcos P. Santos2020-03-301-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix google-explicit-constructor errorsThiago Marcos P. Santos2020-03-307-16/+9
| | | | As reported by clang-tidy-8.
* [core] Fix google-readability-casting errorsThiago Marcos P. Santos2020-03-303-5/+5
| | | | As reported by clang-tidy-8.
* [build] Enable ccache for iOS CI buildsJuha Alanen2020-03-271-1/+5
| | | | | Now ccache can be optionally enabled. Enable it for CI builds. By default it is disabled due to issues in some environments.
* [build] Use cheap-ruler-cpp provided via mapbox-baseBruno de Oliveira Abinader2020-03-271-3/+1
|
* Add NSURLSession delegation to http_file_source.mm (#16321)Julian Rex2020-03-253-33/+58
|
* [core] Use const& for the OfflineRegion objectThiago Marcos P. Santos2020-03-251-5/+7
| | | | | | | | | | It is used as const and also fixes a build issue on iOS: ``` Non-const lvalue reference to type ‘mbgl::OfflineRegion’ cannot bind to a temporary of type ‘typename remove_reference<OfflineRegion &>::type’ (aka ‘mbgl::OfflineRegion’) ```
* [android] Expose getLayer, getSource and Observer interface for snapshotterAlexander Shalamov2020-03-2518-59/+84
| | | | So that users can modify properties of an existing layer / source objects
* [android] - use RGB values instead of alpha values for local glyph generationtobrun2020-03-241-1/+3
|
* [android] Add jni binding for styleable snapshotter (#16286)Kevin Li2020-03-2432-242/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [android] Add jni binding for styleable snapshotter * Remove Map parameter from factories - remove unused map from factory interfaces. Map is only needed for repaint. * implement addlayer function * Implement addsource function for snapshotter * Implement addImages function * format codes * Apply baseline * Update CHANGELOG.md * Update map_snapshotter.cpp * Destroy snapshotter on the thread it was created * Activate file sources in start * Use custom deleter for snapshotter * format codes * Release snapshotter pointer to deleting lambda * Clang format * Update CHANGELOG.md * Fix review comments * FIx review comments Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com>
* [core] Fix modernize-use-override errorsThiago Marcos P. Santos2020-03-232-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-pass-by-value errorsThiago Marcos P. Santos2020-03-231-1/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-deprecated-headers errorsThiago Marcos P. Santos2020-03-231-3/+4
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-equals-default errorsThiago Marcos P. Santos2020-03-232-2/+2
| | | | As reported by clang-tidy-8.