Commit Graph

13482 Commits

Author SHA1 Message Date
Alexander Shalamov
44906b1ff3 [core] Remove downcasts for layers that require 3D render pass 2018-11-19 14:06:21 +02:00
Alexander Shalamov
527851e2aa [core] Add static layer properties to mbgl::style::LayerTypeInfo 2018-11-19 14:06:21 +02:00
Thiago Marcos P. Santos
9be6c8b1b7 [build] Add more vendor packages
* jni.hpp
 * cheap-ruler-cpp
 * pixelmatch-cpp
2018-11-16 18:58:30 +02:00
Łukasz Paczos
8757ccddb0 [android] changelog for 6.7.1 2018-11-16 15:20:35 +01:00
Minh Nguyễn
425a3ade9e [ios, macos] Harmonize bundle identifiers
For consistency with each other and with their product name and module name, the iOS and macOS map SDKs now have a bundle identifier of com.mapbox.Mapbox, whether in the form of a static or dynamic framework. The logging subsystem identifier has also been changed to match.
2018-11-15 22:00:30 -08:00
Osana Babayan
8961768eb0 Setting UTF-8 encoding for JavaDoc task (#13384) 2018-11-15 17:02:39 -05:00
Huyen Chau Nguyen
8d0b06d5dd [core] add test about number of maximum concurrent requests 2018-11-15 12:19:48 -08:00
Huyen Chau Nguyen
9a606caf0b [core] define number of concurrent downloads in online file source variable 2018-11-15 12:19:48 -08:00
Julian Rex
e25111dba7 [ios] Fixed changelog typo (#13376) 2018-11-15 12:01:12 -05:00
Mikhail Pozdnyakov
33818233cf [core][android] Introduce mbgl::style::LayerTypeInfo
The `LayerTypeInfo` contains static meta data about certain layer type.

Each layer module should have a single immutable `LayerTypeInfo` instance
for the represented layer type. Both `LayerImpl` and `LayerFactory` from the
module always refer to the same `LayerTypeInfo` instance, so address of this
instance can be used as a layer module Id during the process life time.
2018-11-15 18:32:31 +02:00
Julian Rex
73dcfe2d0d [ios] Release preparations for 4.7.0-alpha.1 (#13375) 2018-11-14 21:48:50 -05:00
Fabian Guerra Soto
c8fbcfd322 [ios, macos] Logging. (#13235)
* [ios, macos] Update the logging subsystem to platform agnostic.

* [ios, macos] Add coordinate to string function.

* [ios, macos] Add BOOL to string function.

* [ios, macos] Add tracing logs.

* [ios, macos] Add tracing logs to generated style classes.

* [ios, macos] Split logging categories accordingly to MGLLoggingLevel.

* [ios, macos] Log network requests.

* [ios, macos] Migrate NSAssert to MGLAssert.

* [ios, macos] Include MGLLoggingConfiguration to filesource-files.txt.

* [ios, macos] Fix logger string specifier for the line parameter.

* [ios, macos] Add logs to shapes classes.

* [ios, macos] Add logs to offline classes.

* [ios, macos] Add logs to annotation classes.

* [ios, macos] Add logs to foundation classes.

* [ios, macos] Fix snapshotter size logging.

* [macos] Add logs to map view.

* [ios, macos] Fix string from boolean prefix, add custom function for NSCAssert.

* Log size test

* [ios, macos] Add logging conditional compilation flag.

* [ios, macos] Rename function NSStringFromMGLTransition to MGLStringFromMGLTransition.

* [ios, macos] Remove verbose logging for release builds.

* [ios, macos] Rename NSStringFromCLLocationCoordinate2D to MGLStringFromCLLocationCoordinate2D.

* [ios, macos] Clean unnecesary blank lines in MGLLight.mm set methods.

* [ios, macos] Fix logging grammar, format, function names.

* [ios, macos] Remove compilation flag, rename flags.
2018-11-14 15:42:18 -08:00
Osana Babayan
86677b97c6 update changelog for v7.0.00-alpha.1 (#13373) 2018-11-14 13:34:08 -05:00
Łukasz Paczos
0df37421fa [android] catch and re-throw throwables thrown inside map state callbacks 2018-11-14 18:22:43 +01:00
Osana Babayan
6afc63caf7 bump mapboxServices to 4.1.0 (#13357) 2018-11-14 12:14:06 -05:00
Konstantin Käfer
c45371780e [linux] update CA bundles used by cURL 2018-11-14 18:13:50 +01:00
Osana Babayan
0f6f73fb9f [android] Removed previously deprecated colorToRgbaString and colorToRgbaArray (#13337)
from PropertyFactory
2018-11-14 12:12:31 -05:00
Tobrun
1ceea72e6d [android] - remove MarkerView API 2018-11-14 16:25:35 +01:00
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
Konstantin Käfer
34e4ae8d41 [build] use updated docker images 2018-11-14 12:30:32 +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
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