John Firebaugh
150fc6b643
[core] Don't transition new layers on a setStyle operation
2017-06-26 09:42:35 -07:00
Thiago Marcos P. Santos
c3900e42d6
[core] Removed unused methods
...
No longer needed after refactoring ::setResourceTransform.
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
1ed059a15b
[darwin] Use ResourceTransform for setting URL transform callbacks
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
aefa8cb551
[android] Use ResourceTransform for setting URL transform callbacks
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
ea34cb5725
[core] Use the ResourceTransform instead of callbacks
...
Based on the actor model, can be considered safer to use since
we don't need to worry about object lifetime anymore.
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
515ffa975d
[core] Store pointer instead of referect to the Object in ActorRef
...
GCC complains about implicitly deleted assigment constructor
when trying to do this:
void setResourceTransform(optional<ActorRef<ResourceTransform>> transform) {
resourceTransform = transform;
}
optional<ActorRef<ResourceTransform>> resourceTransform;
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
6beccef517
[core] Introduce the ResourceTransform
...
Wrapper for transforming URLs on the OnlineFileSource.
2017-06-26 16:32:21 +03:00
Thiago Marcos P. Santos
54c3ccc37d
[core] Make the mbgl/actor headers public
...
They will be needed by the DefaultFileSource, something that we
also export as public.
2017-06-26 16:32:21 +03:00
Minh Nguyễn
9b0b74dba6
[ios] Fixed infinite loop zooming in past z23
...
At zoom levels where the minimum 1 meter or 4 feet would be wider than the scale bar’s maximum width, the local variable holding the preferred row was left undefined. A loop that later iterated based on this row would effectively iterate infinitely until memory pressure forces the system to quit the application.
2017-06-24 13:14:05 -07:00
Pablo Guardiola
19e872b15c
remove bitrise config file ( #9356 )
2017-06-23 22:04:25 +02:00
Tobrun
f8fd09f722
[android] - build release package once during ci build ( #9351 )
2017-06-23 15:26:55 +02:00
Fabian Guerra
3e40cab22d
[ios] Update pods spec for iOS v3.6.0-rc.1
2017-06-22 16:39:04 -04:00
Bruno de Oliveira Abinader
461387343d
[build] Switch from Travis CI to CircleCI
2017-06-22 13:33:16 -07:00
Bruno de Oliveira Abinader
3a0c5b046c
[build] Updated valgrind suppressions
2017-06-22 13:33:16 -07:00
Minh Nguyễn
50922433cd
[ios, macos] Updated changelogs
...
Also corrected the version number in the macOS changelog.
2017-06-22 12:28:35 -07:00
Minh Nguyễn
5b4f8fd822
[ios] Updated German localization
2017-06-22 12:24:42 -07:00
Minh Nguyễn
9436eca1d4
[ios] Added Hungarian localization from Transifex
2017-06-22 12:24:42 -07:00
Minh Nguyễn
eedd0553b4
[ios] Allow delegate to keep wandering pinch from panning map
...
MGLMapView consults MGLMapViewDelegate about whether to zoom the map in response to a pinch gesture, but it should also account for the delegate’s response when panning the map due to the pinch’s center point wandering.
Fixes #9168 .
2017-06-22 12:17:17 -07:00
Fabian Guerra Soto
a1c5b32da6
Boxing ObjC structs ( #9343 )
...
* [ios, macos] Make structs boxable
* [ios, macos] Update changelogs.
2017-06-22 14:36:21 -04:00
Minh Nguyễn
b7ec96d352
[ios, macos] Corrected MGLSource subclassing documentation
2017-06-22 09:58:47 -07:00
Minh Nguyễn
2a5dc2d55b
[ios, macos] Rewrote MGLStyle class documentation
...
The documentation comment now provides a high-level overview of the runtime styling API and its components, as well as the main workflow for using a style.
2017-06-22 09:58:47 -07:00
John Firebaugh
40e4755621
[core] Move setStyleJSON/URL to Style; add Map::setStyle
2017-06-22 08:04:39 -07:00
John Firebaugh
1520a56813
[all] Promote Style to public API
2017-06-22 08:04:39 -07:00
John Firebaugh
be7e9bbb8d
[core] Refactor CustomLayer internals
...
Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
2017-06-22 08:04:39 -07:00
John Firebaugh
e4201e207c
[tests] Add tests for MapObserver::on{WillStart,DidFinish}LoadingMap
2017-06-22 08:04:39 -07:00
Romain Quidet
d3730241bb
7910: cancel tracking if ongoing animation is stopped manually ( #7916 )
...
* 7910: cancel tracking if ongoing animation is stopped manually
* 7910 updating change log
* [ios] Fix map camera animation when a significant change occurs
* [ios] Update cancel tracking documentation.
2017-06-22 06:50:09 -07:00
Konstantin Käfer
122db77581
[core] document lifetimes of GeometryTileFeatures
2017-06-21 17:18:08 -07:00
Konstantin Käfer
244484ca6c
[core] retain GeometryTileLayer in SymbolLayout
...
We're storing GeometryTileFeature objects in SymbolLayout, but they may reference data in GeometryTileLayer, which could go away if we don't retain it.
2017-06-21 17:18:08 -07:00
Konstantin Käfer
7b90af5d35
[core] always return owning pointers for GeometryTileData::getLayer()
2017-06-21 17:18:08 -07:00
Konstantin Käfer
2cc330463d
[core] switch to vector-tile library for decoding Mapbox vector tiles
2017-06-21 17:18:08 -07:00
Konstantin Käfer
0f300d8dcd
[core] shared feature data for GeoJSONTileData objects
2017-06-21 17:18:08 -07:00
Konstantin Käfer
4ea4715179
[core] shared data among AnnotationTileFeature objects
2017-06-21 17:18:08 -07:00
Konstantin Käfer
4bfc559223
[core] add benchmark for vector tile parsing
2017-06-21 17:18:08 -07:00
Konstantin Käfer
6ec406b6af
[core] add MBGL_CHECK_ERROR to some locations where it was missing
2017-06-21 15:53:51 -07:00
John Firebaugh
72e71658bc
[build] Unbreak Travis
2017-06-21 14:19:31 -07:00
John Firebaugh
7610d42849
[build] Unbreak Travis
2017-06-21 14:17:11 -07:00
Tobrun
d47eab05f6
[android] - restore LatLngBounds conversion, add regression test ( #9324 )
2017-06-21 15:43:02 +02:00
Pablo Guardiola
2deba0f1f0
[android] annotate Mapbox class with @UiThread to make clear that it is required to be started from the main thread as it loads the native library for connectivity change events ( #9309 )
2017-06-21 15:18:21 +02:00
Thiago Marcos P. Santos
7e8bdadb91
[core] Rename ThreadedObject to Thread
...
Now that the old Thread class is gone, we can give ThreadedObject
a better name.
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
1427628c56
[core] Remove util::Thread
...
Fixes #6425
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
bfdc4ef646
[tests] Port the ThreadLocalStorage test to the actor model
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
1178256ae9
[tests] Port the AsyncTask test to the actor model
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
c247a4b10c
[android] Replace util::Thread with util::ThreadedObject
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
476975dbf3
[core] Convert LocalFileSource to ThreadedObject
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
495f06ac4d
[core] Convert AssetFileSource to ThreadedObject
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
999de53f11
[core] Convert DefaultFileSource to ThreadedObject
...
Fixes #6426
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
c34d1cfaa7
[tests] Added tests for ThreadedObject
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
0de17ea5f4
[core] Added the ThreadedObject
...
Actor model version of util::Thread.
2017-06-21 14:30:09 +03:00
Tobrun
651e70aec7
[android] - update CHANGELOG for release 5.1.0-beta.5 ( #9316 )
2017-06-21 09:14:11 +02:00
Minh Nguyễn
2676ad05b0
[ios] Update SMCalloutView to fix iOS 10 build warnings
...
Reapplied 76a2a2db28 , which was partially rolled back in f6e79d7073 .
2017-06-20 18:04:10 -07:00