Commit Graph

16768 Commits

Author SHA1 Message Date
zmiao
950fdcd447 Update Changelog 2020-02-26 16:05:28 +02:00
zmiao
18f9c29617 Backport https://github.com/mapbox/mapbox-gl-js/pull/9333 2020-02-26 16:05:28 +02:00
zmiao
1aeea289ca Bump GL JS 2020-02-26 16:05:28 +02:00
Juha Alanen
9aefd2f2fa [glfw] Add option to test pitch bounds 2020-02-26 11:21:04 +02:00
Juha Alanen
096570e737 [test] Verify pitch bounds 2020-02-26 11:21:04 +02:00
Juha Alanen
f3c8cefc7f [core] Return pitch bounds in degrees 2020-02-26 11:21:04 +02:00
Mikhail Pozdnyakov
384681a936 Add a changelog entry 2020-02-25 23:15:47 +02:00
Mikhail Pozdnyakov
c85e7cbce0 Add OfflineDownload.NoFreezingOnCachedTilesAndNewStyle unit test 2020-02-25 23:15:47 +02:00
Mikhail Pozdnyakov
7c48611f9e [core] Consolidate file source keys in the generic FileSource header
Thus we do not need to include specific headers to use `{set|get}Property`
API with key constants.
2020-02-25 23:15:47 +02:00
Mikhail Pozdnyakov
3c05bd984a [core] Fix offline region download freezing
Downloaded resources are put in the buffer and inserted in the database in batches.

Before this change, the buffer was flushed only at the network response callback
and thus it never got flushed if the last required resources were present locally
and did not initiate network requests -> it caused freezing.

Now the buffer is flushed every time the remaining resources container gets empty.
2020-02-25 23:15:47 +02:00
Juha Alanen
ba315b4bbb [test] Add test for min and max pitch options 2020-02-25 16:54:44 +02:00
Juha Alanen
fdf6bb3e34 [core] Add min and max pitch options 2020-02-25 16:54:44 +02:00
Kevin Li
65cf1d1cc7 Bump telemetry to 4.7.2 (#193) 2020-02-25 09:25:18 +08:00
Kevin Li
2e9f02140c Add runtime API for setting tile prefetch delta for Source class (#184)
* Add runtime API for setting tile prefetch delta for Source class

* Use Integer as param.

* Update gl native submodule.
2020-02-25 09:24:04 +08:00
Thiago Marcos P. Santos
f105100943 [build] Bump mapbox-base
This will move geojson-vt-cpp and shelf-pack-cpp
to mapbox-base collection of libraries.
2020-02-24 18:19:05 +03:00
Mikhail Pozdnyakov
75f861fe47 [core] Dismiss actors from sprite loader
and get rid of `SpriteLoaderWorker`, use `scheduleAndReplyValue()` API instead.
2020-02-24 14:02:57 +02:00
Kevin Li
43c1aac7e8 [android] add jni binding for source zoom delta (#16221)
* [android] and jni interface for source zoom delta

* handle nullopt in setter and getter

* Use jni::Integer
2020-02-24 18:47:16 +08:00
zmiao
5fcc6cf24f Update changelog 2020-02-21 21:39:48 +02:00
zmiao
7cdb526dcc [core] Add bounding box overlapping check before line within polygon test 2020-02-21 21:39:48 +02:00
zmiao
385fcd52a0 [test-runner] Add new metrics 2020-02-21 21:39:48 +02:00
zmiao
b9425dd4ec [core] Remove unnecessary includes, fix comments
This reverts commit b5c386ad7708ca9fe14f219b0ffc94cf6ce8fc88.
2020-02-21 21:39:48 +02:00
zmiao
b47fa36c1d Bump gl-js version 2020-02-21 21:39:48 +02:00
zmiao
351f421080 [core] Update unti tests. Remove unnecessary debugging code 2020-02-21 21:39:48 +02:00
zmiao
6764ab4675 [core] Move geometry within algorithm to util 2020-02-21 21:39:48 +02:00
zmiao
0cc042434d [core] Add support for "line within polygon" 2020-02-21 21:39:48 +02:00
Minh Nguyễn
df8a934376 [ios, macos] Streets tiles can contain Traditional Chinese, Vietnamese 2020-02-21 10:59:56 -08:00
Thiago Marcos P. Santos
44f9a694c5 [qt] Fix compilation error
GCC complains about this variable being potentially not initialized.
2020-02-20 19:41:03 +03:00
Jordan Kiley
e27055ff21 Revert "[ios, macos] Include SKU token for offline requests (#16130)" (#16193)
* Revert "[ios, macos] Include SKU token for offline requests (#16130) (#16133)"

This reverts commit d85ce77deba12167f1c25a911ef81f44e35daa2a.

* [ios] Keep skipping docs for ios-release
2020-02-19 15:10:50 -08:00
Julian Rex
6cc7ace49d Tweaks for failing integration tests on simulators (#170) 2020-02-19 15:49:41 -05:00
Kevin Li
18264df98d Add expression in. (#171)
* Add expression in.

* Add test for expression in.
2020-02-19 08:52:39 +08:00
Juha Alanen
d01c6aa322 [build] Bump Xcode and iOS versions for test runner builds
Use the latest Xcode 11.3.1 and run the tests on
iPhone 11 with the latest iOS 13.3.
2020-02-18 16:10:23 +02:00
Juha Alanen
850ba6ebba [build] Fix Android benchmark runner CI config
Save step had been removed.
2020-02-18 16:10:23 +02:00
Juha Alanen
4fb715f1fe [build] Enable iOS benchmark runner in CI 2020-02-18 16:10:23 +02:00
Juha Alanen
cea87c9f2d [benchmark] Add iOS benchmark runner 2020-02-18 16:10:23 +02:00
Juha Alanen
a5ec862a2a [test-runner] Share common code between test runners
Also remove some unnecessary files.
2020-02-18 16:10:23 +02:00
tobrun
6109d74b8a [build] remove buck, update to latest gl-native 2020-02-18 15:09:20 +01:00
Thiago Marcos P. Santos
1366078200 [deps] Bump GL Native to master
And update the buildsystem to reflect the changes.
2020-02-18 15:09:20 +01:00
Alexander Shalamov
a551f70c6d [core] Prepare changelog for maps-v1.2.0 (2020.02-release-vanillashake) release 2020-02-17 17:26:02 +02:00
Alexander Shalamov
96655276f8 [android] Don't construct weak sheduler in renderer's custructor
Android renderer creates mailbox that is owned by the scheduler that
is required by the mailbox itself. Construction should be split, so
that scheduler is fully constructed and it's weakPtr can be created.
2020-02-17 11:25:43 +02:00
Alexander Shalamov
f75c9a4dc3 [core] Update changelog 2020-02-17 10:14:05 +02:00
Alexander Shalamov
d0dfd40b0a [core] Add unit test for Style::Impl::onSpriteLoaded 2020-02-17 10:14:05 +02:00
Alexander Shalamov
b97f40469b [core] Fix sprite sheet merging in Style::Impl::onSpriteLoaded
If we get a new sprite sheet from the server, we need to merge current
sprite sheet with a new one, while overwiting duplicates and keeping
old unique images in a style.
2020-02-17 10:14:05 +02:00
Kevin Li
02274e7601 [core] Implement 'in' expression. (#16162)
* Implement in.cpp

* Fix review comments.

* Add expression_equality test for 'in'

* Fix review comments.

* [core] Update changelog.

* [core] Update mapbox-gl-js

* [core] Ignore render-tests/debug/padding

* [core] Update baseline.
2020-02-15 17:36:57 +08:00
Alexander Shalamov
59294aaef3 [core] Update changelog 2020-02-14 17:34:00 +02:00
Alexander Shalamov
9e14572762 [core] Update baselines 2020-02-14 17:34:00 +02:00
Konstantin Käfer
a876c965a5 [core] Store SegmentVectors in ephemeral render objects
We used some shared SegmentVectors, e.g. for drawing raster or background tiles.
In longer running maps, this lead to resource accumulation. By storing the SegmentVectors
and the contained gfx::DrawScope objects, we ensure that resources get released
when the associated render objects vanish.
2020-02-14 17:34:00 +02:00
Karim Naaji
189ed4aac3 Add changelog entry 2020-02-14 12:56:54 +02:00
Karim Naaji
f3f0aefead Apply new baselines 2020-02-14 12:56:54 +02:00
Karim Naaji
88da1ad6c7 Whitelist render-tests/line-dasharray/zero-length-gap 2020-02-14 12:56:54 +02:00
Karim Naaji
21107e0c1a Port line-dasharray fix from gl-js
* Fix artifact for zero-lenghted dash array
Fixes issue https://github.com/mapbox/mapbox-gl-js/issues/9213 and add
render test for coverage around 0-length dash arrays

Update distance field generation for regular dashes as follows:
1. Compute the dash array ranges and stretch location along the distance field
2. Collapse any 0-length distance field range
3. Collapse neighbouring same-type parts into single part

* combine consecutive dashes and parts

https://github.com/mapbox/mapbox-gl-js/pull/9246
https://github.com/mapbox/mapbox-gl-native/issues/16181
2020-02-14 12:56:54 +02:00