Commit Graph

6174 Commits

Author SHA1 Message Date
Chris Loer
4172076d92 [docs] Changelog entries for local font usage by MapSnapshotter 2018-11-24 09:57:32 -08:00
Chris Loer
0bba794e98 [android] Expose "local ideograph font family" in MapSnapshotter::Options
Use local glyph generation in test app's MapSnapshotterActivity.
2018-11-24 09:57:32 -08:00
Chris Loer
336409b861 [ios, macos] Pass program cache path and local font family config options to MGLMapSnapshotter. 2018-11-24 09:57:32 -08:00
Chris Loer
afdc243042 [core] Expose "local ideograph font family" in MapSnapshotter. 2018-11-24 09:57:32 -08:00
Julian Rex
6bb1e977ea [ios] Update podspecs for ios-v4.7.0-alpha.2 (#13434) 2018-11-21 15:23:56 -05:00
Osana Babayan
df2a81a4cd Changelog for 7.0.0-alpha.2 (#13433) 2018-11-21 14:27:39 -05:00
Julian Rex
fd4b470158 [ios] Adds support for MGLCollisionBehaviorPre4_0 in NSUserDefaults (#13426) 2018-11-21 13:56:41 -05:00
Minh Nguyễn
7d5be980e2 [core] Fixed {prefix} evaluation
This appears to have been an attempt to use the std::string fill constructor, but it ended up creating a one-character-long string and attempting to overwrite the null terminator.
2018-11-21 09:54:05 -08:00
Steve
5c832c225f Add specific name logging in failure scenarios of PropertyValue
Hard to track down value/expression issues currently when they are not being named.
2018-11-21 13:32:54 +01:00
Tobrun
66c91667f4 [android] - add overlay example with custom drawing using paint and canvas 2018-11-21 13:25:48 +01:00
Konstantin Käfer
f30429832e [build] use GLFW as a submodule and update to most recent version
this fixes https://github.com/glfw/glfw/issues/1334 for macOS Mojave
2018-11-21 10:12:59 +01:00
Julian Rex
53bbf9d699 [ios] Added teardown of core objects when receiving UIApplicationWillTerminateNotification (#13367) 2018-11-20 14:31:09 -05:00
Jason Wray
8b232f693d [darwin] Fix stray semicolon at end of method definition
Per -Wsemicolon-before-method-body.
2018-11-20 11:48:18 -05:00
Jason Wray
c17e74d457 [darwin] Don't redefine mbgl::style::GeoJSONOptions struct as a class
Per -Wmismatched-tags.
2018-11-20 11:48:18 -05:00
Jason Wray
950c7b75e6 [ios] Remove deprecated -[MGLMapView setDebugActive:] implementation 2018-11-20 11:48:18 -05:00
Jason Wray
ddcecdf7f7 [darwin] Rename variables to avoid shadow declarations
Per GCC_WARN_SHADOW.
2018-11-20 11:48:18 -05:00
Jason Wray
4519f8a867 [darwin] Fix typos in pragma diagnostic declarations
Per GCC_WARN_UNKNOWN_PRAGMAS.
2018-11-20 11:48:18 -05:00
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
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
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
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
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
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