Mikhail Pozdnyakov
353d07f40f
[core] Move setResourceTransform() to FileSource interface
2020-02-26 22:31:59 +02:00
Mikhail Pozdnyakov
aad13f6a3f
[core] FileSourceManager::getFileSource() returns PassRefPtr
2020-02-26 22:31:59 +02:00
Mikhail Pozdnyakov
1399040087
[core] Move mbgl::Pass and mbgl::PassRefPtr to a separate header
2020-02-26 22:31:59 +02:00
Alexander Shalamov
ff6c1426e8
[core] Update changelog
2020-02-26 18:15:23 +02:00
Alexander Shalamov
616fb48fd1
[core] Update baselines for gl-native tools
2020-02-26 18:15:23 +02:00
Alexander Shalamov
d49284776b
[core] Update Map.UniversalStyleGetter test
2020-02-26 18:15:23 +02:00
Alexander Shalamov
fb5be4c80c
[core] Add unit test for layer serialization
2020-02-26 18:15:23 +02:00
Alexander Shalamov
02a1a31136
[core] Fix TransitionOptions serialization
2020-02-26 18:15:23 +02:00
Alexander Shalamov
e55a46e5d1
[core] Fix Color serialization
2020-02-26 18:15:23 +02:00
Alexander Shalamov
8785f77cd6
[core] Generate layer code
2020-02-26 18:15:23 +02:00
Alexander Shalamov
713299c429
[core] Add layer serialization method
2020-02-26 18:15:23 +02:00
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
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
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
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
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