Jason Wray
83ecb76562
[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
2018-11-20 11:48:18 -05:00
Jason Wray
00d0864441
[darwin, build] Harmonize ios/macos/darwin build warnings with mbgl
2018-11-20 11:34:18 -05:00
Julian Rex
90f609ca8f
[ios, macos] Added -(BOOL)[MGLStyle removeSource:error:] that provides an NSError. ( #13399 )
2018-11-20 10:26:09 -05:00
Łukasz Paczos
9ac444a08d
[android] removing plain text getter for "text-field"
2018-11-20 12:22:16 +01:00
Łukasz Paczos
1d73bda00d
[android] use locale sensitive DecimalFormat for color alpha conversion
2018-11-20 12:21:55 +01:00
Łukasz Paczos
c3c88012d3
[android] update map feedback URL
2018-11-20 12:21:28 +01:00
Łukasz Paczos
e08e143c12
[android] getting a constant layer filter fix
2018-11-20 12:20:50 +01:00
Julian Rex
d0520d02f1
[ios, macos] Enable CODEOWNERS for iOS/macOS/Darwin directories. ( #13368 )
2018-11-19 18:00:56 -05:00
Nadia Barbosa
569dc0d785
[ios] Don't pause camera animations when zoom/pitch/rotate/scroll are disabled
...
[ios] Move up code
[ios] Changelog
newline
2018-11-19 12:48:22 -08:00
Mikhail Pozdnyakov
8077055b1a
[ios, macos] Layer manager for Darwin platforms
...
The newly introduced `MGLStyleLayerManager` is now responsible
for creating both style layer objects and their obj C peers on Darwin.
2018-11-19 22:31:20 +02:00
Mikhail Pozdnyakov
8ac87ec5cb
Refactor util::fontStacks()
...
So that it does not downcast `Layer::Impl` instances.
Also, an unneeded `std::vector` construction was removed from
`Parser::fontStacks()`.
2018-11-19 17:16:54 +02:00
Alexander Shalamov
9592e61288
[core] Construct RenderItem objects in-place and remove unused headers
2018-11-19 14:06:21 +02:00
Alexander Shalamov
e59110d586
[core] Remove RenderLayer's is<> as<> methods
2018-11-19 14:06:21 +02:00
Alexander Shalamov
77911f1cc9
[core] Replace RenderSymbolLayer downcast with symbol interface
2018-11-19 14:06:21 +02:00
Alexander Shalamov
20c471669c
[core] Remove casts in buckets
2018-11-19 14:06:21 +02:00
Alexander Shalamov
eb170b250a
[core] Add use LayerTypeInfo::Layout for the layers that require Layout
2018-11-19 14:06:21 +02:00
Alexander Shalamov
05d5edfa74
[core] Remove casts where expected type is part of the contract
2018-11-19 14:06:21 +02:00
Alexander Shalamov
767745e8b8
[core] Remove casts for Custom and Background render layers
2018-11-19 14:06:21 +02:00
Alexander Shalamov
a7274f66d0
[core] Move layer specific color ramp updates behind common update() method
2018-11-19 14:06:21 +02:00
Alexander Shalamov
f6ad5f378e
[core] Move RenderTile filtering / sorting logic to render layers
2018-11-19 14:06:21 +02:00
Alexander Shalamov
006ee8b003
[core] Move markContextDestroyed() to the RenderLayer
2018-11-19 14:06:21 +02:00
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