Fredrik Karlsson
fafe092822
[ios] remove ios-sim
2017-09-27 13:07:56 +02:00
Tobrun Van Nuland
79c9a7ffe7
[android] - deprecate MarkerView
2017-09-27 12:58:16 +02:00
Jesse Crocker
a06f4849bc
[core] Move *TileID hashing to separate impl
2017-09-26 10:55:40 -07:00
Tobrun Van Nuland
9eba7d8b3e
[android] - hide overlain views on init
2017-09-26 16:22:46 +02:00
Tobrun Van Nuland
ef0ce1a9a4
[android] - bump snapshot version to beta
2017-09-26 16:22:25 +02:00
Tobrun Van Nuland
2f4cc7e466
[android] - add API to perform platform side animations
2017-09-26 12:06:36 +02:00
Tobrun Van Nuland
3f52377543
[android] [auto] Update properties to version 5.1.4 in preparation for build.
2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
0108f7cd7e
[android] - latLngBounds test
2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
2511e78e1f
[android] - update changelog for 5.1.4 release.
2017-09-26 11:43:33 +02:00
Pablo Guardiola
0701de566b
bump MAS version number to 2.2.3 ( #9901 )
2017-09-26 11:43:33 +02:00
Pablo Guardiola
ac68df24d2
[android] fix is download complete (a download is complete when count and required resources match and the download state is inactive) ( #9913 )
2017-09-26 11:43:33 +02:00
Tobrun
4ff9ce7486
[android] - avoid adding duplicate points to bounds
2017-09-26 11:43:33 +02:00
Robin Darby
6dbdf3aaeb
[android] Clear out mapCallback's OnMapReadyCallbacks on onDestroy
2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
95092df8e9
[android] - harden offline region deletion
2017-09-26 11:43:33 +02:00
Radosław Juszczyk
9596940638
Do not check connection if it is local request
...
Requests to servers which run on localhost should be independent from internet connection.
2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
9ed623acb1
[android] - disable rotation gesture when pinch zooming
2017-09-26 11:43:33 +02:00
Tobrun Van Nuland
7bcb3232cc
[android] - update changelog for 5.1.4 release.
2017-09-26 10:40:48 +02:00
Minh Nguyễn
393ebc3ee8
macos-v0.5.1
2017-09-25 13:44:44 -07:00
Fabian Guerra Soto
7f50c50967
[ios] Bump podspec to 3.6.4 ( #10059 )
2017-09-25 15:43:28 -04:00
Konstantin Käfer
f281e6ae8a
[core] fix loading of stale must-revalidate resources
...
In https://github.com/mapbox/mapbox-gl-native/pull/9670 , we implemented support for the Cache-Control: must-revalidate header. While we now respect this header and don't show resources that are stale and have this header set, the optional cache request never completes. This means we're also never going to try to actually get a fresh tile and just never show this tile anymore.
This commit fixes this by responding with a Not Found error when the resource is unusable (= stale and has must-revalidate set). Since we actually still have the data (but can't use it due to caching rules), we're responding with the data as well. To avoid a second cache hit, tile_loader_impl.hpp now passes on the data from the Optional to the Required request so that it can be reused when we get a 304 Not Modified response from the server.
2017-09-25 10:47:20 +02:00
Tobrun Van Nuland
e556a57b7b
[all] - use resource_class large on Circle-CI to avoid OOM
2017-09-25 10:44:17 +02:00
Tobrun Van Nuland
e6fea1e726
[android] - disable rotation gesture when pinch zooming
2017-09-25 09:38:14 +02:00
Ivo van Dongen
04d7aced4d
[android] fix map in dialog activity
2017-09-22 23:33:56 +03:00
Ivo van Dongen
c6cafc5e10
[android] fix double map activity
2017-09-22 23:33:56 +03:00
Ivo van Dongen
779fc8aeee
[android] example custom layer - add context lost callback
2017-09-22 23:33:56 +03:00
Ivo van Dongen
d1e69c8baf
[android] CustomLayer - optionally accept a context lost callback function
2017-09-22 23:33:56 +03:00
Ivo van Dongen
97a010cc9b
[core] custom layer - add contextLost callback
...
- optional callback method that can be used to do cleanup when the context has been lost before re-initialisation
2017-09-22 23:33:56 +03:00
Ivo van Dongen
b0c06c764b
[android] re-implemented the fps listener api
2017-09-22 23:33:56 +03:00
Ivo van Dongen
bef58c38a8
[android] speed up ui tests
...
- Make the idling resource use a push model instead of polling for the ready state.
2017-09-22 23:33:56 +03:00
Ivo van Dongen
18bb6da109
[android] reset renderer on the GL thread when map is destroyed
...
- ensures cleanup of resources on the right thread
2017-09-22 23:33:56 +03:00
Ivo van Dongen
8b9794b1a7
[core] Actor/ActorRef - ask calls to void methods
...
- allows to wait for execution of void methods as well as non-void methods
2017-09-22 23:33:56 +03:00
Ivo van Dongen
c17be060fd
[android] map snapshots
2017-09-22 23:33:56 +03:00
Ivo van Dongen
8182b26dfe
[android] signal renderer when gl surface is re-initialized that gl context is lost
2017-09-22 23:33:56 +03:00
Ivo van Dongen
bda6ed26c6
[core] send signal to RenderCustomLayer when gl context has been lost
...
- Prevents cleaning up of GL resources that no longer exist, resulting in a crash
2017-09-22 23:33:56 +03:00
Ivo van Dongen
67285f3a95
[android] Re-initialise renderer, backend and context when the android system destroyed the underlying gl resources
2017-09-22 23:33:56 +03:00
Ivo van Dongen
6211db6968
[core] allow context to be abandoned on destruction
...
- This enables the use case where the system already destroyed the underlying GL resources. Otherwise, the cleanup would fail and crash
2017-09-22 23:33:56 +03:00
Ivo van Dongen
e0312ef208
[android] fix ZoomButtonController initialisation order
...
- prevents "java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController" when quitting the map before the receiver is properly registered
2017-09-22 23:33:56 +03:00
Ivo van Dongen
5d12503302
[android] self-contained map renderer
...
- Isolates the GL thread in a MapRenderer class with a native peer
2017-09-22 23:33:56 +03:00
Ivo van Dongen
15a47d116a
[android] schedule work on the gl thread using GLSurfaceView#queueEvent
2017-09-22 23:33:56 +03:00
Ivo van Dongen
347d7c19c0
[android] async rendering
...
- introduces GLSurfaceView
- introduces Orchestration thread
- renders on the gl thread
2017-09-22 23:33:56 +03:00
Ivo van Dongen
e780cdc29e
[android] extract RendererBackend from NativeMapView
2017-09-22 23:33:56 +03:00
Ivo van Dongen
c0544d8500
[android] remove texture view
2017-09-22 23:33:56 +03:00
Ivo van Dongen
e18da38faa
[core] remove throttling from geometry tile
...
- This doesn't work for asynchronous rendering - see https://github.com/mapbox/mapbox-gl-native/pull/9611
2017-09-22 23:33:56 +03:00
Konstantin Käfer
ca4f0bbcc5
[test] add test for rendering a 204 No Content tile
2017-09-22 19:24:42 +02:00
Minh Nguyễn
453c13dee2
[android, ios, macos] Updated translations
...
Updated Catalan, Spanish, Swedish, Traditional Chinese, Ukrainian, and Vietnamese.
2017-09-22 10:05:40 -07:00
Konstantin Käfer
796386473e
[glfw] Save/Restore online status of DefaultFileSource
2017-09-22 10:57:15 +02:00
Konstantin Käfer
3a8dc12a8e
[glfw] Always load settings, and allow CLI args to override them
2017-09-22 10:57:15 +02:00
Konstantin Käfer
bd553de7bc
[test] add ability to take the OnlineFileSource offline
...
This functionality is used for testing to ensure correct offline behavior when connectivity is missing.
2017-09-22 10:57:15 +02:00
Bruno de Oliveira Abinader
fc2ca19bc5
[build] Shuffle render tests in 'test-node-recycle-map' target
2017-09-21 18:31:29 -03:00
Lauren Budorick
a9ddf5b7fd
Preserve depth buffer between 3D layers + optimize render order ( #9931 )
...
Port of https://github.com/mapbox/mapbox-gl-js/pull/5101 : adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
2017-09-21 14:26:48 -07:00