summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [build] Disable benchmarks in CI on Linux and MacJuha Alanen2020-05-182-3/+6
|
* Add camera demo to the glfw appMikko Pulkki2020-05-022-1/+60
|
* [darwin] Restore platform check for sku token (#16456)Jordan Kiley2020-05-011-0/+2
|
* [darwin] remove accountType check (#16449)Jordan Kiley2020-04-301-9/+4
|
* Build default http stack if MBGL_PUBLIC_BUILD is setAlexander Shalamov2020-04-275-8/+8
|
* [ios, macos] Match only one font name attribute at a timeMinh Nguyễn2020-04-241-7/+5
|
* [ios, macos] Added and updated documentationMinh Nguyễn2020-04-241-38/+96
|
* [ios, macos] Get glyph metrics from fontMinh Nguyễn2020-04-241-33/+56
| | | | | | Get glyph metrics from the font in the process of drawing each glyph into a bitmap context. These metrics result in more accurate kerning and better aligned baselines than the previous hard-coded values. Align iOS/macOS local glyph rasterization test fixture to Qt.
* [ios, macos] Avoid redundant fallback in font cascade listMinh Nguyễn2020-04-241-15/+38
| | | | A font descriptor should not be a fallback for itself.
* [ios, macos] Choose fonts from font stack that match local fontsMinh Nguyễn2020-04-241-47/+51
| | | | | | Prefer local fonts that match the names specified in the font stack (from the text-font layout property), except for the last resort fonts that mbgl hard-codes. Fall back to the list of fallback CJK fonts in user defaults, then the fonts passed in through the platform-agnostic interface (that come from Info.plist). Explicitly use the first font descriptor in the cascade list instead of the system default of Helvetica. Since the font stack can vary from one rasterization operation to the next, avoid caching the resolved font for now. Removed null checks that are unrealistic given the Core Text API contract.
* [ios, macos] Take font family names from user defaultsMinh Nguyễn2020-04-241-5/+8
| | | | Take font family names from user defaults before falling back to font family names in Info.plist.
* [ios, macos] Allow specifying multiple fonts or font families for local font ↵Minh Nguyễn2020-04-241-6/+25
| | | | | | rendering mbgl::Renderer and mbgl::MapSnapshotter can now contain a list of font family names, font display names, and font PostScript names, each name separated by a newline.
* [ios, macos] Fixed receiving local file URL responseMinh Nguyễn2020-04-241-0/+2
|
* 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.