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
zmiao
b4b27627d6
[core] Distance expression: Change template class into template function in geometry_util, add range assertion for distance contaniner IndexRange
...
Change distance units to small letters, update tests accordingly
2020-04-22 15:53:08 +03:00
zmiao
8dac8f1150
[core] Distance expression: add unit tests for distance expression
2020-04-22 15:53:08 +03:00
zmiao
75ebd4aa10
Bump mapbox-base version
2020-04-22 15:53:08 +03:00
zmiao
e52f23795d
[core] Introduce distance expression
...
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
2020-04-22 15:53:08 +03:00
Thiago Marcos P. Santos
78b0988525
[node] Blacklist Node ABI 83
...
Not supported at the moment
2020-04-21 22:42:56 +03:00
Sudarsana Babu Nagineni
dc86c60436
[build] Fix the output path of the iOS ccache scripts
...
iOS ccache wrapper scripts should be in the top level
of the CMake build tree, so fix the output path in the
configure_file().
2020-04-21 17:58:32 +03:00
Juha Alanen
6fa9eda136
[benchmark] Increase threshold to 15%
2020-04-21 11:04:04 +03:00
Juha Alanen
4be8c1ac34
[build] Increase the timeout for Android and iOS benchmark runners
2020-04-21 11:04:04 +03:00