Commit Graph

14444 Commits

Author SHA1 Message Date
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
Ł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
Thiago Marcos P. Santos
bcbbc7e5f3 [build] Add vendored libboost
Custom extract made using bcp based on 1.65.1
2018-11-01 16:29:37 +02:00
Ander Conselvan de Oliveira
ca21cedb84 [build] Use clcache in appveyor build
clcache is a cache for compiled C and C++ objects similar to ccache but
compatible with Microsoft compilers. Using it should result in faster
builds.
2018-11-01 13:49:15 +02:00
Ander Conselvan de Oliveira
98e12c721e [build] Parametrize AppVeyor config to avoid duplication
The configuration for VS 2015 and VS 2017 were almost identical.
Parametrize the differences to avoid duplication.
2018-11-01 13:49:15 +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
da2f750bb4 [build] Update appveyor 2018-10-31 18:19:28 +02: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
Thiago Marcos P. Santos
3a3c05bd8a [build] Add dependencies as submodules
Do not use mason and build offline. These are
header only deps.
2018-10-31 18:19:28 +02:00
Mikhail Pozdnyakov
cfcb53128b Introduce the style::Layer factory classes
This patch introduces the initial implementation of
- A `LayerFactory` abstract class that creates `style::Layer` instances of
  a certain layer type (line, hillshade, round, ..)
- A singleton `LayerManager` class, which is responsible for initializing
  the `LayerFactory` instances and forwarding the `create()` calls to the
  corresponding factory.
2018-10-31 18:05:01 +02:00
Tobrun
278aa33703 [android] - optimise imports, fixup small nitpicks 2018-10-31 14:53:56 +01:00
Osana Babayan
cfe21330d6 [android] consolitdated OfflineRegionDefinitions (#13180) 2018-10-31 14:53:56 +01:00
Łukasz Paczos
48bbaa6c6e [android] option to consume map clicks, consuming location clicks 2018-10-31 14:53:56 +01:00