Commit Graph

13460 Commits

Author SHA1 Message Date
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
01d9005c3b [test] Add test for when requesting the same resource many times
This test would have prevented the crash fixed by the previous patch.
2018-11-13 23:26:34 +02: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
Thiago Marcos P. Santos
4e15a0c8cd [qt][build] Use the latest version of Qt available on AppVeyor
And stop breaking the build every time AppVeyor updates Qt on their
images.
2018-11-13 17:19:55 +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
Jason Wray
c88312b5d6 [build] Temporarily reduce number of jobs for failing CI builds
This should be reverted once higher-resource CI containers are available again.
2018-11-09 12:26:47 -05: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
Jason Wray
ae4915de29 [build] Update to Xcode 10.1 on CircleCI 2018-11-08 19:22:34 -05: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
Minh Nguyễn
be56409d80 [core] Cleared out staged changelog entries 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
30cec1b844 [all] - move cloudformation to be mbxcli compatible 2018-11-08 18:49:33 +01:00
Alexander Shalamov
86d2e928f2 [core] Vendor libbenchmark
Prebuilt binaries for libbenchmark might be incompatible with some
environments, for example, when mbgl-benchmark target is compiled
on host with GCC and linked against mason's clang 5.0 compiled binaries.
Vendored libbenchmark avoids aforementioned issue, as the target and
the binary compiled with same compiler / options.
2018-11-08 14:19:23 +02: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
Alexander Shalamov
f2d9d92d26 [core] Change toLowerHex to produce lower hex sequences 2018-11-07 11:29:40 +02: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
Molly Lloyd
22a3e9f024 [build] update octokit dependency version (#13269)
createInstallationToken endpoint had a breaking change and this update uses the new endpoint
2018-11-05 13:20:36 -08: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
947af3059c [ios, build] Stop running Integration Tests target on CircleCI
These are evidently too inconsistent to run on CircleCI under Xcode 10.
2018-11-02 17:49:33 -04:00
Jason Wray
1c140438cb [build] Update CircleCI jobs to Xcode 10.0 2018-11-02 17:49:33 -04: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