Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ios, macos] Match only one font name attribute at a time | Minh Nguyễn | 2020-04-24 | 1 | -7/+5 |
| | |||||
* | [ios, macos] Added and updated documentation | Minh Nguyễn | 2020-04-24 | 1 | -38/+96 |
| | |||||
* | [ios, macos] Get glyph metrics from font | Minh Nguyễn | 2020-04-24 | 1 | -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 list | Minh Nguyễn | 2020-04-24 | 1 | -15/+38 |
| | | | | A font descriptor should not be a fallback for itself. | ||||
* | [ios, macos] Choose fonts from font stack that match local fonts | Minh Nguyễn | 2020-04-24 | 1 | -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 defaults | Minh Nguyễn | 2020-04-24 | 1 | -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ễn | 2020-04-24 | 1 | -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 response | Minh Nguyễn | 2020-04-24 | 1 | -0/+2 |
| | |||||
* | Fix compilation issues on GCC 9 | Bruno de Oliveira Abinader | 2020-04-22 | 1 | -0/+1 |
| | |||||
* | [core] Database file source does not return stored tiles for volatile resources | Mikhail Pozdnyakov | 2020-04-22 | 1 | -1/+2 |
| | | | | The `DatabaseFileSource.VolatileResource` test is included. | ||||
* | [core] Add Resource::StoragePolicy and consider it in resource loader | Mikhail Pozdnyakov | 2020-04-22 | 1 | -0/+2 |
| | |||||
* | [node] Blacklist Node ABI 83 | Thiago Marcos P. Santos | 2020-04-21 | 1 | -0/+1 |
| | | | | Not supported at the moment | ||||
* | [build] Fix the output path of the iOS ccache scripts | Sudarsana Babu Nagineni | 2020-04-21 | 1 | -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 target | Minh Nguyễn | 2020-04-20 | 1 | -3/+1 |
| | |||||
* | [core] Introduce `Resource::minimumUpdateInterval` | Mikhail Pozdnyakov | 2020-04-20 | 1 | -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. Santos | 2020-04-20 | 6 | -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 9 | Bruno de Oliveira Abinader | 2020-04-20 | 5 | -5/+5 |
| | |||||
* | Introduce a mean to add render features in layers with no sources | Gali Nelle | 2020-04-17 | 1 | -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 build | Thiago Marcos P. Santos | 2020-04-17 | 1 | -3/+3 |
| | | | | Implicit conversion from int to float. | ||||
* | [node] Fix clang-tidy errors on the Node bindings headers | Thiago Marcos P. Santos | 2020-04-17 | 7 | -35/+24 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-equals-default errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-default-arguments errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -9/+5 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-redundant-member-init errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-avoid-const-params-in-decls errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -2/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [build] Disable benchmark for MacOS debug CI builds | Juha Alanen | 2020-04-15 | 1 | -1/+4 |
| | |||||
* | [android, ios] Increase benchmark repetition count | Juha Alanen | 2020-04-15 | 1 | -1/+1 |
| | | | | More repetitions give more stable results. | ||||
* | [android] Fix onStyleImageMissing callback in Snapshotter not fired issue. ↵ | Kevin Li | 2020-04-10 | 1 | -0/+4 |
| | | | | (#16386) | ||||
* | Fix LocationIndicator Layer | Gali Nelle | 2020-04-10 | 1 | -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 property | Gali Nelle | 2020-04-08 | 1 | -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 LocationIndicatorLayer | Gali Nelle | 2020-04-08 | 7 | -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) | zmiao | 2020-04-07 | 3 | -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 Tarasov | 2020-04-03 | 2 | -302/+0 |
| | | | Cleanup after PR #16356. | ||||
* | [android] [build] [ci] Move Android JNI bindings code to ↵ | Igor Tarasov | 2020-04-02 | 173 | -14109/+2 |
| | | | | mapbox-gl-native-android repo. (#16356) | ||||
* | [android] Add Android bindings | Alexander Shalamov | 2020-04-01 | 2 | -7/+30 |
| | |||||
* | [darwin] Remove debug leftover | Thiago Marcos P. Santos | 2020-03-31 | 1 | -3/+0 |
| | | | | Remove debug leftover added by 9009089a93. | ||||
* | [core] Fix misc-* errors | Thiago Marcos P. Santos | 2020-03-30 | 2 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-* errors | Thiago Marcos P. Santos | 2020-03-30 | 10 | -20/+27 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-virtual-near-miss errors | Thiago Marcos P. Santos | 2020-03-30 | 2 | -10/+10 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-exception-escape errors | Thiago Marcos P. Santos | 2020-03-30 | 2 | -2/+10 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-macro-parentheses errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -2/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-too-small-loop-variable errors | Thiago Marcos P. Santos | 2020-03-30 | 3 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-readability-casting errors | Thiago Marcos P. Santos | 2020-03-30 | 2 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-explicit-constructor errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-explicit-constructor errors | Thiago Marcos P. Santos | 2020-03-30 | 7 | -16/+9 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-readability-casting errors | Thiago Marcos P. Santos | 2020-03-30 | 3 | -5/+5 |
| | | | | As reported by clang-tidy-8. | ||||
* | [build] Enable ccache for iOS CI builds | Juha Alanen | 2020-03-27 | 1 | -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-base | Bruno de Oliveira Abinader | 2020-03-27 | 1 | -3/+1 |
| | |||||
* | Add NSURLSession delegation to http_file_source.mm (#16321) | Julian Rex | 2020-03-25 | 3 | -33/+58 |
| |