Commit Graph

16897 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
20d960ed51 [core] Layer::setProperty() can set min/max zoom and filter 2020-03-24 20:53:55 +02:00
Mikhail Pozdnyakov
280b806777 [core] Move generic setProperty() parts to the base Layer class 2020-03-24 20:53:55 +02:00
Tobrun
02b5e60f86 [testapp] - add example using within expression (#288) 2020-03-24 12:52:54 +01:00
tobrun
99dbb3eed5 [android] - use RGB values instead of alpha values for local glyph generation 2020-03-24 06:03:03 -04:00
Kevin Li
3f45b0a24b [android] Add jni binding for styleable snapshotter (#16286)
* [android] Add jni binding for styleable snapshotter

* Remove Map parameter from factories

- remove unused map from factory interfaces. Map is only needed for repaint.

* implement addlayer function

* Implement addsource function for snapshotter

* Implement addImages function

* format codes

* Apply baseline

* Update CHANGELOG.md

* Update map_snapshotter.cpp

* Destroy snapshotter on the thread it was created

* Activate file sources in start

* Use custom deleter for snapshotter

* format codes

* Release snapshotter pointer to deleting lambda

* Clang format

* Update CHANGELOG.md

* Fix review comments

* FIx review comments

Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com>
2020-03-24 14:33:54 +08:00
Thiago Marcos P. Santos
1adc436c9d [test] Include cpp-httplib as a system library
This way it will not get warnings by linters and -Werror.
2020-03-23 23:04:51 +02:00
Thiago Marcos P. Santos
3e173e1b71 [build] Deprecated GCC 4.9 and set the minimum to GCC 5 2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
463876a7b1 [build] Prevent future modernize-* regressions
Also ignore modernize-avoid-c-arrays, not such a
big deal at the moment.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
d446a1cf63 [core] Fix modernize-use-override errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
9dbd0a666a [core] Fix modernize-pass-by-value errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
76b99eb8e8 [core] Fix modernize-deprecated-headers errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
23a248eacd [core] Fix modernize-use-equals-default errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
02e91428fd [core] Fix modernize-use-auto errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
cee3910f17 [core] Fix modernize-return-braced-init-list errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Alexander Shalamov
47594f003b Update LICENSE.mbgl-core.md license file 2020-03-23 11:33:06 -04:00
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