Commit Graph

16768 Commits

Author SHA1 Message Date
Mikhail Pozdnyakov
0e45138547 [core] RenderLayerSymbolInterface is not used in CrossTileSymbolIndex 2019-05-19 18:15:33 +03:00
tobrun
52a69044e8 [android] - wrap jni callback with try-catch 2019-05-17 19:36:23 +02:00
tobrun
99f090b955 [android] - bump snapshot version to 8.1.0 2019-05-17 17:05:19 +02:00
Osana Babayan
ff3295bd05 [android] added connectivity state attribute to tile loading metric (#14667) 2019-05-17 09:27:37 -04:00
tobrun
0b776ff175 [android] - updat changelog for releasing v6.8.2 2019-05-17 10:57:05 +02:00
tobrun
8281a929e6 Revert "[android] new manifest flag to enable/disable sku tokens"
This reverts commit 71fd147480.
2019-05-17 09:28:29 +02:00
Nadia Barbosa
a0467ca76d [ios] Podspec updates for v4.12.0-beta.1 2019-05-16 15:03:54 -07:00
Fabian Guerra
65990b3e25 [ios] Rename performance's metrics variable names. 2019-05-16 11:13:39 -07:00
tobrun
517e8f8ae5 [android] - update changelog for v8.0.0-beta.1 2019-05-16 20:04:31 +02:00
tobrun
3f48f27363 [android] - ignore telemtry schema size test for map load 2019-05-16 19:31:56 +02:00
Jason Wray
6e92ca5de3 [ios] Update to libmbxaccounts 0.0.5 (#14683) 2019-05-16 09:43:42 -04:00
Łukasz Paczos
60a6ae2d0f [android] pull in Polish translation and updates to Czech and Hungarian 2019-05-16 10:06:04 +02:00
Sam Fader
163c085c38 [ios, macos] clarified documentation for newCamera param of the shouldChangeFromCamera delegate (#14680)
* [ios, macos] clarified documentation for newCamera in shouldChangeFromCamera

* [ios, macos] clarified documentation for newCamera param of the shouldChangeFromCamera delegate part 2
2019-05-15 18:30:28 -07:00
Fabian Guerra
295ce38f2b [ios] Update podspec to v4.11.0. 2019-05-15 14:34:54 -07:00
Konstantin Käfer
3a6ff7710f [core] add gfx::UploadPass, split startRender into prepare and upload 2019-05-15 11:57:43 -07:00
Konstantin Käfer
bf0998697e [core] don't upload empty buffers 2019-05-15 11:57:43 -07:00
Konstantin Käfer
03e434e901 [core] use float for storing opacity attribute 2019-05-15 11:57:43 -07:00
Konstantin Käfer
179c5fe83b [core] add gfx::CommandEncoder::present() 2019-05-15 11:57:43 -07:00
Konstantin Käfer
da5bd4d6e3 [core] use unique IDs for DrawScopes 2019-05-15 11:57:43 -07:00
tobrun
d5e7fabf45 [android] - remove CI execution of android nitpick, now part of android check 2019-05-15 19:32:15 +02:00
tobrun
ec2e5fc6be [android] - add nitpick validation to make android-check 2019-05-15 19:32:15 +02:00
Osana Babayan
a4c98f5a62 [android] Changelog for 7.4.0 release (#14677) 2019-05-15 11:43:13 -04:00
Łukasz Paczos
ab8caabd15 [android] fix FragmentBackStackActivity navigation 2019-05-15 16:58:13 +02:00
Łukasz Paczos
0ecf45edbd [android] refactor ViewPager example 2019-05-15 16:58:13 +02:00
Łukasz Paczos
c31bda732c [android] deactivate file source when DownloadRegionActivity's finished 2019-05-15 16:58:13 +02:00
Łukasz Paczos
eb4a6ae7a2 [android] fix DoubleMapActivity main map not interactive after rotation 2019-05-15 16:58:13 +02:00
Łukasz Paczos
3843bf472d [android] re-enable rotation velocity animator when toggled 2019-05-15 16:58:13 +02:00
Osana Babayan
7b2dcaaa51 [android] Mapbox Java SDK bump to 4.8.0 (#14608) 2019-05-14 18:31:42 -04:00
tobrun
46e14f0110 [android] - bump version to 8.0.0 2019-05-14 23:35:45 +02:00
Łukasz Paczos
0613e502f0 Revert "Revert "Revert "[andriod] - bump gradle tooling for AS 3.4"""
This reverts commit e70ace2a
2019-05-14 18:22:02 +02:00
Łukasz Paczos
718d6476f7 Revert "[android] - update output path aar file"
This reverts commit dbfab81e
2019-05-14 18:22:02 +02:00
Konstantin Käfer
89fb4962cd [core] update CA bundle 2019-05-14 08:08:52 -07:00
Łukasz Paczos
ea50c776cd [android] expose trackingGesturesManagement attribute 2019-05-14 13:05:45 +02:00
Mikhail Pozdnyakov
5b6a262e15 [core] GeometryTile and TileLoader keep strong reference to FileSource
Thus we fix a potential bug: if `Renderer` outlives the `Map` it will hold a stale reference to the `FileSource` instance.
2019-05-14 11:29:24 +03:00
Mikhail Pozdnyakov
7e77aff8df [core] Make FileSource API clearer 2019-05-14 11:29:24 +03:00
Mikhail Pozdnyakov
953ee5e81b [core] Create glyph manager at renderer construction time
Avoid unnecessary glyph manager presence check in `Renderer::Impl::()`.
2019-05-14 11:29:24 +03:00
Mikhail Pozdnyakov
81823e35a6 [core] RenderTile shall never be created for a not renderable tile
A RenderTile is already never created for a not renderable tile, guarantied by the checks in `updateRenderables()`.

However, the client code had plenty of `isRenderable()` checks in the render path, which complicated the code and affected rendering performance.

This patch removes the unneeded checks from the client code and puts an assertion to `TilePyramid::addRenderTile()`.
2019-05-14 11:19:56 +03:00
Jason Wray
cd24f4c45f [build, darwin] Fix ENOBUFS in build scripts on NodeJS 12.x 2019-05-13 15:12:55 -07:00
Jason Wray
4d935b9d31 [build, darwin] Update CircleCI to Xcode 10.2.1 2019-05-13 14:44:00 -07:00
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