Jordan Kiley
0895c698d9
[darwin] Restore platform check for sku token ( #16456 )
2020-05-01 16:35:07 -07:00
Gali Nelle
d60fd302b1
Update changelog for the maps-1.6.0 release
2020-04-30 17:27:00 +03:00
Alexander Shalamov
30b4e57828
[core] Fix rest of 'brace initialization' errors
2020-04-30 14:09:58 +03:00
zmiao
0ed719e0d6
[core] Fix geometry_util compilation error
2020-04-30 14:09:58 +03:00
Jordan Kiley
be37d804b6
[darwin] remove accountType check ( #16449 )
2020-04-30 01:34:53 -07:00
zmiao
296ca0d437
Update changelog
2020-04-30 02:31:15 +03:00
zmiao
f8d137a0c5
Update baseline
2020-04-30 02:31:15 +03:00
zmiao
23b6268a04
[core] Distance expression: Refine logic
2020-04-30 02:31:15 +03:00
zmiao
70fbc97e58
[test] Distance expression: Update unit tests
2020-04-30 02:31:15 +03:00
zmiao
0fa485092e
Add support for polygon in distance expression
2020-04-30 02:31:15 +03:00
zmiao
4a54da881f
[core] Distance expression: Remove code and comments related to unit argument
2020-04-28 23:10:04 +03:00
Mikhail Pozdnyakov
af14e1d510
Add change log entry
2020-04-28 20:50:18 +03:00
Mikhail Pozdnyakov
f21468b73a
Update baselines
2020-04-28 20:50:18 +03:00
Mikhail Pozdnyakov
b84449e35f
[core][tile mode] Further improve the label prioritization
...
The most important variable labels a placed right away at
"populate intersections" phase, even if they do not actually
intersect the tile borders.
2020-04-28 20:50:18 +03:00
Mikhail Pozdnyakov
2bf1610e6c
[core][tile mode] Fix placement order of the variable labels
...
Before this change, all variable labels that could potentially
intersect tile borders were placed first, breaking the style
label placement priority order.
2020-04-28 20:50:18 +03:00
Mikhail Pozdnyakov
e44598704d
[core] Label intersection prioritization
2020-04-28 20:50:18 +03:00
Thiago Marcos P. Santos
34e475c3ac
[build] Fix script that trigger downstream jobs
...
The API now replies with a 200 when the request is successful.
2020-04-28 11:51:06 +03:00
Thiago Marcos P. Santos
0d77ec465a
[repo] Update code owners
...
Require a member of the gl-native team to review a PR
2020-04-27 23:51:39 +03:00
Alexander Shalamov
4457f5ced9
Build default http stack if MBGL_PUBLIC_BUILD is set
2020-04-27 19:47:30 +03:00
Minh Nguyễn
de12a0647d
maps-v1.6.0-rc.2 ( #16435 )
2020-04-24 17:03:51 -07:00
zmiao
9bbb1b721e
[core] Distance expression: remove unit argument ( #16434 )
2020-04-24 15:12:45 -07:00
Alexander Shalamov
0ccc9f2689
Add test for PingFang TC Semibold
2020-04-24 13:46:40 -07:00
Minh Nguyễn
61a91d7fe8
[ios, macos] Increased tolerance for local glyph rasterization test
...
Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com >
2020-04-24 13:46:40 -07:00
Minh Nguyễn
13de47db26
[ios, macos] Match only one font name attribute at a time
2020-04-24 13:46:40 -07:00
Minh Nguyễn
9548365904
[ios, macos] Added and updated documentation
2020-04-24 13:46:40 -07:00
Minh Nguyễn
0588c50b09
[ios, macos] Get glyph metrics from font
...
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.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
bcfdbd187d
[ios, macos] Avoid redundant fallback in font cascade list
...
A font descriptor should not be a fallback for itself.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
c4c35449cb
[ios, macos] Choose fonts from font stack that match local fonts
...
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.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
76ddb15dbc
[core] Factored out default fonts
2020-04-24 13:46:40 -07:00
Minh Nguyễn
9b78a156de
[ios, macos] Take font family names from user defaults
...
Take font family names from user defaults before falling back to font family names in Info.plist.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
f97ca0ccf9
[ios, macos] Allow specifying multiple fonts or font families for local font 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.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
52d4c5e222
[ios, macos] Corrected PingFang test fixture
...
PingFangTC-Regular is better than PingFangTC-Thin. There is no font by the name “PingFang”.
2020-04-24 13:46:40 -07:00
Minh Nguyễn
cb3d9eab49
[ios, macos] Fixed receiving local file URL response
2020-04-24 10:27:29 -07:00
Sudarsana Babu Nagineni
3542db4fd4
[build] Remove incorrect include path in tests CMake
2020-04-24 19:19:38 +03:00
Mikhail Pozdnyakov
8f8b7afb26
[render tests] Update tile-avoid-edges expectations
...
And other affected tests metrics too.
2020-04-24 16:11:46 +03:00
Mikhail Pozdnyakov
9ceb619940
[core][tile mode] Make sure only a single tile is used
...
In tile mode, we're supposed to have only one tile, which is achieved with provided camera options.
However, if camera options are not accurate enough more tile could be used, which could cause:
* various symbol placement problems like, symbol duplications or cut-offs
* memory/cpu overhead
Now, if `mbgl::tileCover()` returns several tiles, only the first one is used (given that tiles are sorted by the distance to the map center)
2020-04-24 16:11:46 +03:00
Mikko Pulkki
9f8c9c61e8
Add vec3 math operations
2020-04-23 10:53:57 +03:00
Bruno de Oliveira Abinader
1798bda981
Fix compilation issues on GCC 9
2020-04-22 21:36:00 +03:00
Mikhail Pozdnyakov
64c5b46d9e
follow-up fixes after 16416
2020-04-22 19:21:56 +03:00
Mikhail Pozdnyakov
c75342e1d2
Add change log entry
2020-04-22 19:21:56 +03:00
Mikhail Pozdnyakov
d8639e2f9c
[core] Database file source does not return stored tiles for volatile resources
...
The `DatabaseFileSource.VolatileResource` test is included.
2020-04-22 19:21:56 +03:00
Mikhail Pozdnyakov
b120cdd207
Add Map.VolatileSource unit test
2020-04-22 19:21:56 +03:00
Mikhail Pozdnyakov
dc7b1dd34f
[core] Source::setVolatile enables Resource::StoragePolicy::Volatile for tiles
2020-04-22 19:21:56 +03:00
Mikhail Pozdnyakov
11efffb351
[core] Add TileUpdateParameters and use it
2020-04-22 19:21:56 +03:00
Mikhail Pozdnyakov
3bebd13d2e
[core] Add Resource::StoragePolicy and consider it in resource loader
2020-04-22 19:21:56 +03:00
Mikhail Pozdnyakov
eac6bdff16
[core] Add style::Source::setVolatile()/isVolatile() API
2020-04-22 19:21:56 +03:00
zmiao
7af1a175a3
Update changelog
2020-04-22 15:53:08 +03:00
zmiao
3a14e52f4c
[core] Distance expression: Fix expression serialization
2020-04-22 15:53:08 +03:00
zmiao
87c4cb5545
[core] Distance expression: Add index range checker, fix geojson type conversion
2020-04-22 15:53:08 +03:00
zmiao
b35d80cc1d
Update baseline
2020-04-22 15:53:08 +03:00