Commit Graph

17582 Commits

Author SHA1 Message Date
Alexander Shalamov
71efb24e2d Bump mapbox-base to 1.2.0 2020-03-23 11:33:06 -04:00
zmiao
648ce071d3 Add Changelog 2020-03-23 12:19:39 +02:00
Thiago Marcos P. Santos
4b139b5905 [build] Thread clang-tidy performance-* warnings as errors
With all them fixed, they won't come back.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
d15b9c1f9c [core] Fix performance-unnecessary-value-param errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
37802eec36 [core] Fix performance-type-promotion-in-math-fn errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
991cfee7df [core] Fix performance-noexcept-move-constructor errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
6223fc2898 [core] Fix performance-inefficient-vector-operation errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
5210d720ad [core] Fix performance-unnecessary-copy-initialization errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
cedb7368f1 [core] Fix performance-for-range-copy errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Tobrun
d8c919f1dd [mapview] expose queuEvent to schedule runnable to execut on thread of MapRenderer (#284) 2020-03-23 07:51:37 +01:00
Thiago Marcos P. Santos
ef19a33866 [build] Trigger the downstream CI and get the status back
Allows triggering a pipeline at any other repository
passing parameters.
2020-03-20 13:59:23 +02:00
Mikhail Pozdnyakov
8bf841a951 [core] Render::clearData clears fonts 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
cb1d5053b0 Update changelog 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
2a8e89d355 Update metrics 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
2ae96ad687 [core] Introduce Renderer::clearData() instead of keepRenderData map options
`Renderer::clearData()` is a better API than the removed `MapOptions::keepRenderData()`:
- gives more flexibility to the client
- similar to the existing `Renderer::reduceMemoryUse()`
- the `MapOptions::keepRenderData()` API implementation could not handle the raise condition, which
happened if the new still image request had come before all tiles from the previous requests were loaded.

Co-authored-by: Dane Springmeyer <dane@mapbox.com>
2020-03-20 11:43:59 +02:00
Jordan Kiley
6d0c81ddaf Add triage label to new issues (#232)
* Add triage label automatically

* change to status: triage
2020-03-19 17:23:07 -07:00
Julian Rex
3aa84ed731 Refactor metrics triggering (#231) 2020-03-19 13:41:48 -04:00
galinelle
bc45d65c58 Add additional transformState::latLngToScreenCoordinate getter (#16311)
This change adds a latLngToScreenCoordinate overload, to retrieve
the projected vec4 in additional to the ScreenCoordinate object,
that is useful to detect whether the projected latLng is in front
or behind the camera.
2020-03-19 18:53:09 +02:00
zmiao
f3cf855894 Update metrics 2020-03-19 14:40:49 +02:00
zmiao
b45cae286e Refactor within function 2020-03-19 14:40:49 +02:00
zmiao
c3a1caf612 update test 2020-03-19 14:40:49 +02:00
zmiao
df79b05178 [core] Using TileCoordinates for geometry comparison 2020-03-19 14:40:49 +02:00
zmiao
6989ee6e03 [build] Use found code sign identities 2020-03-19 10:20:44 +02:00
Julian Rex
be34d3f420 Remove multiline. (#230) 2020-03-19 00:38:00 -04:00
Julian Rex
f719de9ff4 Updates metrics trigger. (#229) 2020-03-18 23:06:40 -04:00
Mikhail Pozdnyakov
52f72dd8b4 Change log entry 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
11e6bd46c2 Add Map.KeepRenderData and Map.DontKeepRenderData tests 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
0f5e5311fa Update metrics 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
9e80a9f922 [render tests] Unset MapOptions::keepRenderData() flag in tile mode 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
6a68305e1e [core] Add ImageManager::clear() 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
b48900b0a7 [core] Add RenderOrchestrator::clearData() 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
3536de5124 [core][tile|static mode] Introduce MapOptions::keepRenderData() flag
Render orchestrator stores the render data between render frames if this flag is set.
2020-03-18 20:14:15 +02:00
Minh Nguyễn
81df48df70 ios-v5.8.0-beta.1, macos-v0.15.0-beta.1 2020-03-17 12:27:35 -07:00
Julian Rex
d0bed6e00d Try with 1 less core. 2020-03-17 12:27:04 -07:00
Minh Nguyễn
e27b889215 [ios, macos] Sorted a changelog entry 2020-03-17 02:14:03 -07:00
Minh Nguyễn
7b92e2a032 [macos] Highlight UC POIs 2020-03-17 02:14:03 -07:00
Minh Nguyễn
5196e37d48 [ios, macos] Convert NSDictionary to GeoJSON 2020-03-17 02:14:03 -07:00
Minh Nguyễn
93f5290c0e [ios, macos] SELF IN MGLShape expressions
Added support for the expression syntax “SELF IN shape” or “shape CONTAINS SELF”, which is interpreted as a “within” expression in JSON format.
2020-03-17 02:13:53 -07:00
Tobrun
14eb8f038a [textureview] validate TextureView surface texture when creating egl window surface (#278) 2020-03-17 10:12:38 +01:00
Minh Nguyễn
957296b2fb [ios, macos] Convert geometries to shapes, not features
Fixed an issue where GeoJSON geometries were converted to MGLFeature instances instead of MGLShape objects.
2020-03-17 01:48:28 -07:00
Minh Nguyễn
342606db99 [ios, macos] Documented new aggregate predicate support 2020-03-17 01:47:53 -07:00
Minh Nguyễn
fb559ea8d4 [ios, macos] Aggregate equality predicates
Added support for “ANY … =” and “ALL … !=” as synonyms for “IN” and “NOT IN”, respectively.
2020-03-17 01:47:49 -07:00
Minh Nguyễn
bc6f434a88 [ios, macos] Removed in expression workaround
Removed the match-based in expression workaround in favor of real support for an in expression operator. Avoid interpreting “literal IN literal” predicates as legacy filters.
2020-03-17 01:46:22 -07:00
Kevin Li
69b2d4c765 Add change log for v9.1.0-beta.1 (#275)
* Add change log for v9.1.0-bate.1

* improve existing entries, add gl-native entries

* add known issue release note

* fix link

* this is what the beta release tag description should look like

* make changes for changelog.md file

* fix inconsistencies

* minor fixup

* Apply suggestions from code review

Co-Authored-By: Minh Nguyễn <mxn@1ec5.org>

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* tighten up sort key entry

* use android naming

* add release note about snapshotter regression

* fix nits

* remove release note about regression

waiting for GL Native 1.4.1 patch instead

Co-authored-by: Chloe Krawczyk <chloe.krawczyk@mapbox.com>
Co-authored-by: Minh Nguyễn <mxn@1ec5.org>
2020-03-17 08:51:24 +01:00
Kevin Li
c0dfb15890 Bump gl-native to v1.4.1 (#279) 2020-03-17 15:24:33 +08:00
Minh Nguyễn
363610c7df [ios] Test snapshotting on background queue 2020-03-16 18:17:08 -07:00
Minh Nguyễn
3318a0a383 [ios, macos] Keep MGLMapSnapshotter alive through completion 2020-03-16 18:17:08 -07:00
Minh Nguyễn
d357f8c511 [ios, macos] Clarify threading in snapshotter documentation 2020-03-16 18:13:58 -07:00
Minh Nguyễn
8148cb7ff9 [ios, macos] Document changes to snapshotter memory management 2020-03-16 18:13:58 -07:00
Minh Nguyễn
8998f7a314 [ios, macos] Documented performance and caching improvements in mbgl v1.4.0 2020-03-16 18:13:58 -07:00