summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Enable local glyph rasterization for all scriptsupstream/1ec5-coretext-no-remote-7862Minh Nguyễn2020-04-221-2/+10
|
* [ios, macos] Added and updated documentationMinh Nguyễn2020-04-221-38/+96
|
* [ios, macos] Get glyph metrics from fontMinh Nguyễn2020-04-223-33/+58
| | | | | | 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-221-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-222-48/+52
| | | | | | 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.
* [core] Factored out default fontsMinh Nguyễn2020-04-222-8/+8
|
* [ios, macos] Take font family names from user defaultsMinh Nguyễn2020-04-221-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-222-7/+29
| | | | | | 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] Corrected PingFang test fixtureMinh Nguyễn2020-04-222-1/+1
| | | | PingFangTC-Regular is better than PingFangTC-Thin. There is no font by the name “PingFang”.
* Fix compilation issues on GCC 9Bruno de Oliveira Abinader2020-04-222-0/+2
|
* follow-up fixes after 16416Mikhail Pozdnyakov2020-04-222-3/+3
|
* Add change log entryMikhail Pozdnyakov2020-04-221-0/+8
|
* [core] Database file source does not return stored tiles for volatile resourcesMikhail Pozdnyakov2020-04-222-1/+33
| | | | The `DatabaseFileSource.VolatileResource` test is included.
* Add Map.VolatileSource unit testMikhail Pozdnyakov2020-04-221-0/+33
|
* [core] Source::setVolatile enables Resource::StoragePolicy::Volatile for tilesMikhail Pozdnyakov2020-04-224-3/+7
|
* [core] Add TileUpdateParameters and use itMikhail Pozdnyakov2020-04-2211-20/+32
|
* [core] Add Resource::StoragePolicy and consider it in resource loaderMikhail Pozdnyakov2020-04-223-0/+32
|
* [core] Add style::Source::setVolatile()/isVolatile() APIMikhail Pozdnyakov2020-04-223-3/+20
|
* Update changelogzmiao2020-04-221-0/+6
|
* [core] Distance expression: Fix expression serializationzmiao2020-04-222-12/+16
|
* [core] Distance expression: Add index range checker, fix geojson type conversionzmiao2020-04-222-15/+40
|
* Update baselinezmiao2020-04-224-6/+6
|
* [core] Distance expression: Change template class into template function in ↵zmiao2020-04-228-131/+170
| | | | | | geometry_util, add range assertion for distance contaniner IndexRange Change distance units to small letters, update tests accordingly
* [core] Distance expression: add unit tests for distance expressionzmiao2020-04-2210-5/+1211
|
* Bump mapbox-base versionzmiao2020-04-221-0/+0
|
* [core] Introduce distance expressionzmiao2020-04-2214-179/+866
| | | | | | | | | | | | | | | | | | Add distance unit choices Fix cmake and add license Add support for LineString Features Add template to geometry helper function Only support line and point Rename geometry_within.cpp hpp file to geometry_util.cpp .hpp Remove incorrect indexFilter, fix pointSetsDistance Fix distance expression
* [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().
* [benchmark] Increase threshold to 15%Juha Alanen2020-04-211-5/+5
|
* [build] Increase the timeout for Android and iOS benchmark runnersJuha Alanen2020-04-211-4/+4
|
* [macos] Fixed minimum deployment targetMinh Nguyễn2020-04-202-3/+3
|
* Add change log entryMikhail Pozdnyakov2020-04-201-0/+10
|
* Add Map.SourceMinimumUpdateIntervalOverride unit testMikhail Pozdnyakov2020-04-201-0/+57
|
* Add Source.SourceMinimumUpdateInterval unit testMikhail Pozdnyakov2020-04-201-0/+49
|
* [core] Tile pyramid passes minimum update interval to tilesMikhail Pozdnyakov2020-04-201-7/+6
|
* [core] TilePyramid::update accepts source implMikhail Pozdnyakov2020-04-209-79/+62
|
* [core] Introduce Source::setMinimumTileUpdateInterval APIMikhail Pozdnyakov2020-04-204-7/+36
| | | | | | The `Source::setMinimumTileUpdateInterval()` method sets the minimum tile update interval, which is used to throttle the tile update network requests. Default value is `Duration::zero()`.
* [core] Introduce Tile::setMinimumUpdateInterval()Mikhail Pozdnyakov2020-04-209-13/+51
|
* Add OnlineFileSource.RespectMinimumUpdateInterval unit testMikhail Pozdnyakov2020-04-201-0/+19
|
* [core] Introduce `Resource::minimumUpdateInterval`Mikhail Pozdnyakov2020-04-203-28/+34
| | | | | | 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-209-2/+34
| | | | | Some platforms might require special permissions or custom APIs to access the current time of the day.
* Update changelog for the maps-1.6.0-rc.1 releasemaps-v1.6.0-rc.1Gali Nelle2020-04-201-12/+16
|
* Add change log entryGali Nelle2020-04-201-0/+4
|
* [core] Fix -Werror={pessimizing,redundant}-move from GCC 9Bruno de Oliveira Abinader2020-04-2010-13/+10
|
* Add a name to CustomLayer LayerTypeInfoGali Nelle2020-04-201-1/+1
| | | | | | This to prevent confusion and enable proper error logging when registering layers with missing name in LayerTypeInfo where the name should instead be present.
* Add missing cast for unsigned long to int conversionGali Nelle2020-04-201-2/+2
|
* [build] Enable clang-analyzer checksThiago Marcos P. Santos2020-04-171-0/+8
|
* [core] Fix clang-analyzer-optin.cplusplus.VirtualCallThiago Marcos P. Santos2020-04-171-4/+6
| | | | Detected by clang-tidy-8.
* [core] Fix android-cloexec-fopen warningThiago Marcos P. Santos2020-04-171-1/+1
| | | | Detected by clang-tidy-8.
* Introduce a mean to add render features in layers with no sourcesGali Nelle2020-04-1714-12/+346
| | | | | | This change also uses the support in the LocationIndicator layer, to return a point feature when queried in correspondence of the location indicator.