Commit Graph

2101 Commits

Author SHA1 Message Date
Fabian Guerra Soto
fed201aaed [ios, macos] Fix number conversions when expressions cast to large numbers. (#13580)
* [ios, macos] Fix number conversions when expressions cast to large numbers.

* [ios, macos] Update changelogs.
2018-12-14 14:40:16 -08:00
Konstantin Käfer
1d8235f5b8 [build] rework platform/default directory and add -files.txt for vendored libs 2018-12-14 11:03:03 +01:00
Fabian Guerra Soto
bbeec8dacb [ios, macos] Add enablePlacementTransitions to MGLStyle. (#13565)
* [ios, macos] Add enablePlacementTransitions to MGLStyle.

* [ios, macos] Update changelogs.
2018-12-13 10:19:56 -08:00
Alexander Shalamov
b6b1067caf [ios, darwin] Make MGLFeature.attributes non-nullable and add integration test
Enforce non-nullable semantics for MGLFeature.attributes, to avoid construction of invalid mbgl::Feature properties
from nil NSDictionary object and align with public SDK property definition.

Integration test "testShapeSourceWithLineDistanceMetrics" is added to verify that MGLFeature is correctly converted.

Fixes issue #13378
2018-12-13 19:38:50 +02:00
Julian Rex
e84748c170 [core] Updated iOS/macOS change logs. (#13564) 2018-12-12 19:37:51 -05:00
Julian Rex
3e413de150 Update podspecs for v4.7.0-beta.2 (#13562) 2018-12-12 16:43:45 -05:00
Chris Loer
662a495561 [docs] EnterIdle -> BecomeIdle 2018-12-11 11:46:16 -08:00
Chris Loer
70c2d5a4ca [core, darwin, android] Add onDidEnterIdle to MapObserver.
didEnterIdle fires whenever render completes and no repaint is scheduled.
2018-12-11 11:46:16 -08:00
Minh Nguyễn
04c70f55a5 [ios] Announce POI categories where available 2018-12-08 02:18:56 -08:00
Minh Nguyễn
3dffb1fd53 [ios] Added CJK string transforms 2018-12-08 02:18:56 -08:00
Jason Wray
7cdbe6664a [ios, macos] Update for streets-v8 data and coalesced name fields in v11 styles 2018-12-07 21:46:46 -05:00
Fabian Guerra
32bdff817d [ios] Bump podspec to 4.7.0-beta.1. 2018-12-05 14:42:46 -08:00
Minh Nguyễn
741f6e1deb [ios, macos] Copyedited changelogs 2018-12-05 12:13:23 -08:00
Jason Wray
ffe0624d77 [ios, build] Move symbol strip settings to Xcode project 2018-12-05 12:34:39 -05:00
Jason Wray
d80d88d57b [ios, build] Add RelWithDebInfo build configuration 2018-12-05 12:34:39 -05:00
Jason Wray
e49953df14 [ios, build] Replace -symbols with -stripped build flavor 2018-12-05 12:34:39 -05:00
Minh Nguyễn
ff0f7a8754 [ios, macos] Refined source removal errors
Clarified and copyedited the descriptions of errors that are raised when attempting to remove a source from a style. Worded the changelog entry more generically because the same method in Swift throws an error instead of returning.

A mismatch would occur if the identifier is used by a different source than the one being removed. An application could cause this error to occur by keeping a reference to an MGLSource after changing the style URL of an MGLMapView. Another way would be to remove a source from the style, add another source to the style with the same identifier, then attempt to re-remove the original source from the style.
2018-12-04 22:29:39 -08:00
Maxime Le Moine
2b84c2df27 [ios] Update French translation - telemetry (#13360)
* Update French translation - telemetry

"Make better" is better translated by "Améliorer". "Rend meilleure les cartes Mapbox" is also grammatically incorrect.

* Update from Transifex
2018-12-01 22:00:31 -08:00
Bruno de Oliveira Abinader
c0bfa99b66 [android,ios,macos] Update changelogs 2018-11-29 14:23:55 +02:00
Bruno de Oliveira Abinader
e64c28613a [core] Support fill-extrusion-vertical-gradient 2018-11-29 14:23:55 +02:00
Julian Rex
4146699c38 [ios] Updated podspecs for 4.7.0-alpha.3 (#13472) 2018-11-28 18:36:39 -05:00
Julian Rex
f5336ae98d [ios] Reordered the 4.7.0 change log (#13471) 2018-11-28 17:47:24 -05:00
Jason Wray
46edc91656 [ios] Reorganize iosapp debug settings 2018-11-27 14:39:41 -05:00
Jason Wray
c7f9f1582f [ios] Add frame duration graph view to iosapp 2018-11-27 14:39:29 -05:00
Bruno de Oliveira Abinader
e8f7866e9e [core] Remove error-prone setlatLng overload 2018-11-27 21:38:36 +02:00
Mikhail Pozdnyakov
361982fef8 [core][Android][Darwin] LayerManager creates RenderLayer instances
`LayerManager` is now responsible for `RenderLayer` instances creation,
so that there is a single entry point for creating of objects, which
correspond to a certain layer type.

The `LayerType type` field is dropped from `Layer::Impl`.
2018-11-27 18:10:21 +02:00
Julian Rex
cca37e765b Updated Info.plist docs. (#13436) 2018-11-26 14:31:28 -05:00
Chris Loer
4172076d92 [docs] Changelog entries for local font usage by 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
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
Julian Rex
53bbf9d699 [ios] Added teardown of core objects when receiving UIApplicationWillTerminateNotification (#13367) 2018-11-20 14:31:09 -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
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
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
Julian Rex
e25111dba7 [ios] Fixed changelog typo (#13376) 2018-11-15 12:01:12 -05: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
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
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
9d7d7a1d73 [ios, macos] Copyedited changelogs 2018-11-08 14:22:21 -08:00
Jason Wray
bd1ac92e3b [ios] Bump podspecs and update changelog for 4.6.0 2018-11-07 13:46:42 -05:00
Mikhail Pozdnyakov
ffdeef3a26 Refer corresponding LayerFactory instance from the Layer::Impl 2018-11-07 16:34:20 +02:00