Commit Graph

6134 Commits

Author SHA1 Message Date
Tobrun
6ea511b65b [android] - add example of showing a MapView inside a ViewPager inside RecyclerView 2018-11-14 16:25:10 +01:00
Tobrun
bb5b558f21 [android] - harden activation/deactivation of underlying ref counting components 2018-11-14 16:25:10 +01:00
Tobrun
16c4c9a45c [android] - example with recyclerview 2018-11-14 16:25:10 +01:00
Bruno de Oliveira Abinader
db2e1b2e5f [core] Add RendererState::{pixelForLatLng,latLngForPixel} 2018-11-14 12:22:22 +02:00
Jordan Kiley
d44be9a91b [ios] Address bad access exception in MGLAttributionInfo (#13300)
* [ios] move creation of attributed string to global queue]

* [ios] check if on main queue
2018-11-13 16:07:19 -08:00
Thiago Marcos P. Santos
253ba55f1f [qt] Fix crash on Qt filesource
When opening many maps and sharing the same filesource:

- Say we open around 30 maps and they all have the same style.
- They will all request the same sprite.json, but Qt filesource will
  restrict simultaneous request to 20.
- Mapbox GL will send some sprite.json to the filesource and queue
  some internally along with other requests.
- When the first sprite.json arrives and the Qt filesource calls the
  callback, Mapbox GL will synchronously push queued requests to the
  Qt filesource when a request is handled.
- We are walking a QVector dispatching sprite.json requests, but more
  requests get added to this QVector while we are walking it using an
  iterator.
- That corrupts the iterator and we get a crash.

The fix is simple, just pop items from the QVector until it is empty
instead of using iterators.
2018-11-13 23:26:34 +02:00
Thiago Marcos P. Santos
cd92a231b3 [qt] Deprecate Qt4 and old versions of Qt5
Not enough adoption to keep the platform alive.
2018-11-13 22:55:26 +02:00
Josh Erb
b891a8d6b0 [ios][documentation] link API documentation to ios-sdk/examples 2018-11-13 11:39:39 -08:00
Bruno de Oliveira Abinader
bf8b24fa8d [build] Update to geometry v1.0.0 2018-11-13 17:28:26 +02:00
Minh Nguyễn
a3945bf840 [macos] Fixed syntax errors in changelog
Some headers were incorrectly at level 1, resulting in a jazzy docset cover page that included blurbs from too many releases.
2018-11-09 10:49:17 -08:00
Łukasz Paczos
361d8cce0f [android] bump telemetry to 3.5.4, update changelog for 6.6.7 2018-11-09 17:10:53 +01:00
Minh Nguyễn
d13cd54af6 [ios, macos] Renamed ambient cache prewarming method
Renamed the method for prewarming the ambient cache to conform to Cocoa and Swift naming conventions.
2018-11-08 14:40:23 -08:00
Minh Nguyễn
ad235d3f6c macos-v0.12.0 2018-11-08 14:22:21 -08:00
Minh Nguyễn
9d7d7a1d73 [ios, macos] Copyedited changelogs 2018-11-08 14:22:21 -08:00
Jordan Kiley
7cbd31e456 Switch code coverage system to CodeCov (#13297) 2018-11-08 10:56:44 -08:00
Tobrun
7cee81abfa [android] - annotate onMapReady with @NonNull 2018-11-08 11:54:58 +01:00
Tobrun
daccbaffbc [android] - update changelog for v6.7.0 and prior 6.6.x releases 2018-11-08 06:45:23 +01:00
Jason Wray
bd1ac92e3b [ios] Bump podspecs and update changelog for 4.6.0 2018-11-07 13:46:42 -05:00
Tobrun
81258a2553 [android] - nullify codebase with annotations 2018-11-07 18:32:07 +01:00
Mikhail Pozdnyakov
c8f59d3692 [mac] Fix wrong allocation at layerFromMBGLLayer
A leftover from https://github.com/mapbox/mapbox-gl-native/pull/13221
2018-11-07 18:42:22 +02:00
Langston Smith
3ef95685ed initial tweaks (#13295) 2018-11-07 08:08:27 -08:00
Mikhail Pozdnyakov
5a70f2b150 noexcept specifier for layer factory methods 2018-11-07 16:34:20 +02:00
Mikhail Pozdnyakov
1ba1ead3ea [android] Remove UnknownLayer 2018-11-07 16:34:20 +02:00
Mikhail Pozdnyakov
6f34e69b2e [android] layers.cpp/hpp -> layer_manager.cpp/hpp 2018-11-07 16:34:20 +02:00
Mikhail Pozdnyakov
80ec05cf47 [core][android] Implement LayerManager for Android
The newly introduced `LayerManagerAndroid` is now responsible
for creating both style layer objects and their java peers on Android.
2018-11-07 16:34:20 +02:00
Mikhail Pozdnyakov
ffdeef3a26 Refer corresponding LayerFactory instance from the Layer::Impl 2018-11-07 16:34:20 +02:00
Tobrun
f560b4f9ef [android] - handle null getMapAsync invocations, deliver onMapReady only once 2018-11-07 10:34:01 +01:00
Łukasz Paczos
bb55bae76d [android] verify if text-field is not null before performing compatibility operations 2018-11-06 17:39:13 +01:00
Łukasz Paczos
39423cc653 [android] log Java exception and fail silently instead of throwing a native exception in the map state callbacks 2018-11-06 15:32:06 +01:00
tobrun
1c733568b0 [android] - expose moveBy, replace CameraUpdateFactory hook to moveBy for scrolling api 2018-11-05 18:25:49 +01:00
Łukasz Paczos
68fd3a2822 [android] null-check nativeMapView in case it's destroyed 2018-11-05 18:08:31 +01:00
Antonio Zugaldia
18b00b95e9 [android] Makes gradle.properties license listing consisting with repo (#13271)
* [android] Makes gradle.properties license listing consisting with repo

* right license this time
2018-11-05 11:13:54 -05:00
Jason Wray
b6909748c1 [ios, tests] Bump integration tests timeout to 10s 2018-11-02 17:49:32 -04:00
Łukasz Paczos
a282b195d5 [android] deliver onMapReady only if mapboxMap is not null 2018-11-02 20:09:49 +01:00
Julian Rex
3b9618e025 [ios] Changed event attributes to be JSON serialization friendly. (#13266) 2018-11-02 11:56:09 -04:00
Łukasz Paczos
a3d0ff777b [android] improved CustomGeometrySource constructor typing 2018-11-02 13:48:53 +01:00
Łukasz Paczos
5a1735859c [android] increase result's delta in camera animation tests 2018-11-02 10:51:55 +01:00
Tobrun
4a3a62dbf6 [android] - update telemetry to v3.5.2 2018-11-02 10:17:30 +01:00
Tobrun
7882ce1274 [android] - remove deprecation notices and code 2018-11-01 22:57:10 +01:00
Łukasz Paczos
37a4967149 [android] reworked MoveCameraTest 2018-11-01 17:08:48 +01:00
Łukasz Paczos
b2b7105c40 [android] reworked CameraEaseTest 2018-11-01 17:08:48 +01:00
Łukasz Paczos
a3a12a2ac2 [android] easeCamera method that takes only update and cancellable callback as arguments 2018-11-01 17:08:48 +01:00
Łukasz Paczos
652c66e665 [android] reworked CameraAnimateTest 2018-11-01 17:08:48 +01:00
Thiago Marcos P. Santos
7ff85374a7 [build] Remove #pragma diagnostic for boost
Boost is now included as a system header and the compiler
should ignore it when issuing warnings.
2018-11-01 16:29:37 +02:00
Jason Wray
56b9928e46 [ios] Update changelog for 4.6.0-beta.1 2018-10-31 13:51:59 -04:00
Jason Wray
55900701e3 [ios] Bump podspecs for 4.6.0-beta.1 2018-10-31 13:51:59 -04:00
Tobrun
cd90f878cf [android] - remove deprecated OnMapChange interface and implementation 2018-10-31 18:26:47 +01:00
Tobrun
90f4d7f63a [android] - update changelog for v6.7.0-beta.1 and v6.6.3 2018-10-31 18:25:11 +01:00
Thiago Marcos P. Santos
69960afb8d [build] Add build system for submodules
Vendorize the submodules and a simple CMake build
system for all them. The dependencies will inherit
compilation options for core.

The goal is to make Mapbox GL Core completely self
contained with a simple offline build.
2018-10-31 18:19:28 +02:00
Tobrun
278aa33703 [android] - optimise imports, fixup small nitpicks 2018-10-31 14:53:56 +01:00