Aleksandar Stojiljkovic
926e8e8a5b
Refactor: coordinatePointMatrix skip recomputation ( #14507 )
...
coordinatePointMatrix is always used with getZoom():
Projection::worldSize(scale) / std::pow(2, z) is computed as
scale * util::tileSize / std::pow(2, z)
scale is equal to std::pow(2, z).
____________________________________=>
Projection::worldSize(scale) / std::pow(2, z) => util::tileSize.
2019-05-13 22:13:37 +03:00
Łukasz Paczos
d2dd3cc2c8
[android] split image missing test
2019-05-13 19:57:04 +02:00
Minh Nguyễn
615c5387fc
[macos] Copyedited changelog
...
Synchronized the changelog with the iOS changelog. Removed some entries about internal changes or iOS-only changes. Recategorized entries.
2019-05-10 08:08:51 -07:00
tobrun
1b8eb9a7c6
[android] - use atomic boolean for hasSurface, check if renderer is created by validating if mapboxMap isn't null when invoking MapView#onLowMemory
2019-05-10 14:29:12 +02:00
tobrun
8675d11e5e
[android] - only invoke AndroidRendererFrontend::reduceMemoryUse with an active renderer
2019-05-10 14:29:12 +02:00
Łukasz Paczos
0f599ce804
[android] keep strong callback reference and use application context during cache path change
2019-05-10 14:15:06 +02:00
Łukasz Paczos
e0f32000df
[android] FileUtils read/write permission check tasks retain a strong reference
2019-05-10 14:15:06 +02:00
Łukasz Paczos
b7fafaa429
[android] use strong references to the offline merge callbacks
2019-05-10 14:15:06 +02:00
Thiago Marcos P. Santos
cf08f6428a
[node] Remove NodeThreadPool
...
Simplify, use the default thread pool, less platform abstraction.
2019-05-10 14:20:38 +03:00
Thiago Marcos P. Santos
06f1dc48a2
[core] Make the BackgroundScheduler a singleton
...
- Do not carry it over everywhere as parameter, it is a shared
instance anyway and the lifecycle is pretty much the app lifecycle
from the moment we instantiate a map.
- Rename to BackgroundScheduler because it is a Scheduler that will
do tasks in the background, we don't make assumptions if it is a
thread pool or a single thread.
- Most importantly, remove the dependency from `core` on `platform`.
2019-05-10 14:20:38 +03:00
Tobrun
947bc75f56
[android] - remove internal gesture event handling code, deprecate public gesture event hooks
2019-05-10 12:12:52 +02:00
tobrun
fd527b1d23
[android] - remove/readd listener to avoid recursion
2019-05-10 12:11:49 +02:00
Mikhail Pozdnyakov
b41f39d545
[core] Make ActorRef methods const
...
So that the lambdas calling these methods do not have to be mutable.
2019-05-10 11:59:02 +03:00
Łukasz Paczos
9fb41a74bc
[android] normalize previous rotation values of the location animator
2019-05-10 10:09:27 +02:00
tobrun
b1c1471713
[android] - remove skuId from schema test
2019-05-10 06:57:00 +02:00
Jason Wray
49b8e0a626
[ios] Remove obsolete telemetry gesture events
2019-05-09 14:52:44 -07:00
Alexander Shalamov
a53c4593d6
[core] Schedule invocation of onStyleImageMissing completion callback on the same thread
...
Before this change, ImageManger's 'done' callback for onStyleImageMissing observer
notification that was created on renderer thread, could be called from different thread,
therefore, is not thread safe. For example, on Android platform, callback was invoked
from UI thread. This change makes callback to be scheduled on originating thread.
2019-05-09 20:45:06 +03:00
Łukasz Paczos
6fa1d357b3
[android] option to provide custom values for location camera transition
2019-05-09 19:43:49 +02:00
tobrun
dbfab81e2c
[android] - update output path aar file
2019-05-09 16:08:26 +02:00
tobrun
e70ace2a09
Revert "Revert "[andriod] - bump gradle tooling for AS 3.4""
...
This reverts commit 038c6a1e01 .
2019-05-09 16:08:26 +02:00
tobrun
f586ec378e
[android] - add javadoc to highlight imcompatible onIdle with snapshot API, update test app example to use OnFullyRenderedFrame callback instead
2019-05-09 15:58:09 +02:00
Mikhail Pozdnyakov
842ee6b6f5
[android] Update ImageMissingTest
...
Make sure that the `addOnStyleImageMissingListener` callback
is invoked for missing images if sprite request has failed.
2019-05-09 16:48:08 +03:00
Mikhail Pozdnyakov
c953fdad24
[core] Failed sprite requests do not block tiles rendering
2019-05-09 16:48:08 +03:00
Łukasz Paczos
06b790dc75
[android] updates changelog entry for #14486
2019-05-09 15:14:58 +02:00
Łukasz Paczos
aa4c89ed25
[android] remove missing image log
2019-05-09 11:00:38 +02:00
Nadia Barbosa
fc218f8209
[ios] Podspec & changelog updates for v4.12.0-alpha.2
2019-05-08 12:55:12 -07:00
Łukasz Paczos
89b2615779
[android] changelog for 7.5.0-alpha.2
2019-05-08 19:10:42 +02:00
Mikhail Pozdnyakov
cb73f0dd1c
[core] Remove clipping option from RenderTile and style::Layer
2019-05-08 15:18:33 +03:00
Konstantin Käfer
a53c88159f
[core] upgrade mapbox-gl-js pin to the most recent version
2019-05-08 14:10:11 +02:00
Konstantin Käfer
20a807fdf3
[core] render extrusions directly in the main framebuffer
2019-05-08 12:25:22 +02:00
Mikhail Pozdnyakov
ef48d53e78
[core] Placement order matches viewport-y sort
...
Symbols are placed accordingly to their viewport Y order,
if the style `symbol-z-order` is set to `viewport-y`.
This improves rendering of symbol layers, where icons are allowed
to overlap but not text.
2019-05-08 12:21:47 +03:00
Minh Nguyễn
f703c6f255
[ios, macos] Include fix-it suggestions in deprecation warnings
2019-05-07 22:18:02 -07:00
Minh Nguyễn
84a11ba4e5
[ios, macos] Removed MGLStyleValue references from documentation ( #14552 )
2019-05-07 17:13:44 -07:00
Alexey
88eb1c9b27
[build] Upgrade from Xcode 9.3.0 to 9.3.1 on CircleCI
...
CircleCI will soon deprecate Xcode 9.3.0 on CircleCI for macOS. Moving mapbox-gl from 9.3.0 to 9.3.1 should have no impact on the CircleCI jobs, plus it will help the project hit fewer Xcode bugs.
2019-05-07 14:51:49 -07:00
Minh Nguyễn
e69efb996d
[ios] Interpret negative direction as unchanged when setting visible coordinates ( #14575 )
...
* [ios] Fixed negative direction when setting visible coordinates
* [ios] Document behavior of negative direction
2019-05-03 09:02:03 -07:00
Julian Rex
359f2bb743
[ios] Uppercase'd "string" to remove cmake warning ( #14576 )
2019-05-03 10:45:11 -04:00
Alexander Shalamov
8a3d07fcd8
[core] Add custom source to glfw-app
2019-05-03 10:01:19 +03:00
Alexander Shalamov
ad30ba2cd1
[core] Guard access to CustomTileLoader's data members with mutex
2019-05-03 10:01:19 +03:00
Alexander Shalamov
86b94e30e1
[core] Keep shared_ptr to thread pool in CustomGeometrySource
...
CustomGeometrySource should keep strong reference to shared thread
pool that is used by CustomTileLoader.
2019-05-03 10:01:19 +03:00
Julian Rex
f7915fdc51
[ios] Static analysis fix tweaks - part 2 ( #14572 )
2019-05-02 14:08:48 -04:00
Osana Babayan
c611d085b3
[android] - update changelog for v7.4.0-beta.3 ( #14571 )
2019-05-02 11:44:57 -04:00
Konstantin Käfer
2489afdd0d
[build] change style code generator to sort properties alphabetically
...
JSON keys in our style specification don't have a defined order. This change sorts them alphabetically so that we can rely on the order remaining them same across code generation runs.
2019-05-02 17:44:18 +02:00
Konstantin Käfer
a48152a981
[build] change special casing for LineFloorWidth in shader generation
2019-05-02 17:44:18 +02:00
tobrun
989bf69c3b
[android] - update changelog for v7.5.0-alpha.1
2019-05-02 15:47:34 +02:00
tobrun
038c6a1e01
Revert "[andriod] - bump gradle tooling for AS 3.4"
...
This reverts commit 33b140863e .
2019-05-02 15:47:34 +02:00
Kevin Li
386b013c5e
[Android]Expand schema test, modify performance event ( #14535 )
...
* expand schema test, modify performance event
* enclose java doc
* revert int to long
2019-05-02 16:55:20 +08:00
Nadia Barbosa
3e4afbc788
[iosapp] Move token setting to build script
...
[ios] Switch to script-based token insertion for benchmarking app
[ios] Update Developing.md
[iosapp, benchmark app] Look for token file outside of version-controlled directory
[iosapp, benchmark app] Remove remaining code for access token checking from app delegates
Feedback edits for @friedbunny
2019-05-01 18:30:46 -07:00
Nadia Barbosa
8b91a4a037
[ios] Add changelog header for v4.12.0-alpha.1
2019-05-01 16:12:15 -07:00
Nadia Barbosa
5b28c1eb9c
[ios] Update Podspecs for v4.12.0-alpha.1
2019-05-01 15:15:12 -07:00
Julian Rex
d5822ab386
[ios] Update podspecs for 4.11.0-beta.2 ( #14556 )
2019-05-01 15:10:53 -04:00