Julian Rex
2b08c1d7bf
[ios, macos] Fix MGLOfflinePack invalidate crash ( #15582 )
2019-09-18 18:13:07 -04:00
Julian Rex
461358be4b
[ios] Fix for failing tests:
...
- testRemovingLayerBeforeAddingSameLayer
- testRemovingSourceInUse
2019-09-18 16:21:59 +03:00
Jason Wray
8ccf15069d
[darwin] Use en_US as default test locale/language
2019-09-09 10:26:01 -07:00
Jason Wray
00d4f812ac
[ios] Update MGLTileSetTests.testTileSetFromTileURLTemplates for Xcode 11
2019-08-21 11:08:44 +03:00
Jason Wray
2f43a7b87b
[ios] Updates for offline pricing
2019-08-20 17:21:55 -07:00
Alexander Shalamov
603c02ccc2
[darwin] Generate plural version of property name, yet, keep singular version of an enum
2019-08-13 13:32:56 +03:00
Alexander Shalamov
0ff218d688
[darwin] Add plural override for 'text-writing-mode' layout property
2019-08-13 13:32:56 +03:00
Alexander Shalamov
f944600413
[darwin] Bindings for new 'text-writing-mode' layout property
2019-08-13 13:32:56 +03:00
Jason Wray
56e7bbc0b7
[darwin] Remove unnecessary framework imports from Swift-based tests
...
Was tripping up Xcode 11 betas with:
Imported declaration 'UITableViewDiffableDataSourceCellProvider' could not be mapped to 'UITableViewDiffableDataSourceReference.CellProvider'
2019-08-08 12:05:43 -07:00
Jordan Kiley
9d8839c4b8
[ios] Cache Management API ( #14978 )
2019-07-16 14:58:32 -07:00
m-stephen
d2434d0751
[ios , macos] Exclude CJK resources from offline download by default ( #14952 )
...
* [iOS, macOS] exclude CJK glyphs resources download by default.
* [iOS, macOS] update iosapp
* [iOS, macOS] update macOS
* [iOS, macOS] update iOS change log
* [iOS, macOS] update macOS change log
* [iOS, macOS] update comment & add test cases
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/ios/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/macos/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
2019-07-16 11:39:34 +08:00
m-stephen
6b59db8fb0
[ios, macos] Default to local rendering of CJK characters, using system font ( #14862 )
...
* Change default CJK font from "PingFang" to "Helvetica"
* Add CHANGELOG.
* Update CHANGELOG.
* [ios] Enable client-side rendering and use `Helvetica` by default. Set `MGLIdeographicFontFamilyName` to `NULL` for using your custom remote font.
* [ios] Update change log
* [ios] Change default CJK configuration in `iosapp` project
* [ios] Update comment
* [ios] return local font name using default system font.
* [ios] Update changelog
* [ios] update changelogs & comments
* [iOS, macOS]Support mac os
* [iOS, macOS] fix bug
* [iOS, macOS] update change log
* [iOS, macOS] fix nit.
* [iOS, macOS] Ability to specify an array of fonts for fallbacks for `localIdeographicFontFamily`
* [iOS, macOS] Update comments
* [iOS, macOS] Update change log
* [iOS, macOS] update for mac OS font family names
* Fix nit.
* Update platform/ios/CHANGELOG.md
Co-Authored-By: Minh Nguyễn <mxn@1ec5.org >
* [iOS, macOS] Set `MGLIdeographicFontFamilyName` to a Boolean value `NO` for using your custom remote font.
* [iOS, macOS] remove `MGLIdeographicFontFamilyName` from info.plist & update Info.plist Keys.md
* [iOS, macOS] remove `MGLIdeographicFontFamilyName` from macOS demo app project and update info.plist Keys.md
* [iOS, macOS] update macOS changelog
* [iOS, macOS] Change docs
* Update Change log
* [iOS, macOS] Test case
* Update platform/macos/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/macos/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/ios/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/src/MGLRendererConfiguration.mm
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/darwin/test/MGLRendererConfigurationTests.mm
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/macos/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/macos/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/macos/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* [iOS, macOS] update comments
* [iOS, macOS] add plist value test && filter for invalid string
* [iOS, macOS] fix nit
* Update platform/ios/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/ios/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/ios/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/macos/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/ios/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* Update platform/ios/docs/guides/Info.plist Keys.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com >
* [iOS, macOS] add invalid value type test
* Apply own suggestions from code review
2019-07-10 10:00:35 +08:00
Jason Wray
290a9fcad5
[darwin] Add warning about certain tests requiring en_US locale
2019-06-24 16:52:17 -07:00
Minh Nguyễn
f7f74a6deb
[ios, macos] Added completion handlers to animated MGLMapView methods
2019-06-21 17:45:36 -07:00
Jason Wray
aa0beaddaf
[ios] Simplify -[MGLOfflineStorageTests testAddFileContent]
2019-06-19 12:20:53 -07:00
Julian Rex
edd04d31eb
[ios] Added offline query parameter ( #14857 )
2019-06-11 18:22:20 -04:00
Alexander Shalamov
32376115c3
[darwin] Generate style code for symbol-sort-key
2019-04-17 15:04:08 +03:00
Fabian Guerra Soto
a8526b4c91
[ios, macos] Fix MGLSymbolStyleLayer.text localization issue. ( #14405 )
...
Fixed an MGLSymbolStyleLayer.text localization bug caused by the introduction of MGLAttributedExpression object. The localization parsing was ignoring the latter.
* [ios, macos] Fix a localization issue.
* [ios, macos] Add formating expressions localization test.
* [ios, macos] Update MGLSymbolStyleLayer.text documentation.
2019-04-15 13:54:53 -07:00
Nadia Barbosa
2ee967a036
[ios, macos] Premultiply color values for mgl_color
...
Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
2019-04-12 11:07:46 -07:00
Jason Wray
cfd398a499
[ios] Remove unused line from MGLExpressionTests
2019-04-03 15:56:28 -07:00
Mikhail Pozdnyakov
1eaae50ffe
[darwin] Support for variable text placement API
2019-03-29 16:18:41 +02:00
Julian Rex
c7d53676d0
[ios, core] Updates project for iOS SDK 12.2 / Always use vendored optional ( #14241 )
2019-03-27 09:58:41 -04:00
Fabian Guerra Soto
1d7b243a06
[ios, macos] Support expressions in formatting parameters. ( #14198 )
...
Modified MGLAttributedExpression object to support NSExpressions as formatting attributes only. This aligns with GL and Android implementation and specification.
Modified the documentation accordingly, and changed MGLFontSizeAttribute to MGLFontScaleAttribute to clarify the true function of the formatting parameter.
2019-03-22 13:45:39 -07:00
Fabian Guerra Soto
1388f3a502
[ios, macos] Fix conditional expression parsing error. ( #14181 )
...
Fixed an error that caused conditional expressions to crash when a conditional parameter was also a conditional expression.
2019-03-21 12:36:39 -07:00
Fabian Guerra Soto
fc77090fce
[ios, macos] Fix format expression parsing. ( #14168 )
...
Fixed a parsing issue when a non-constant expression was passed to MGLAttributedExpression.expression property.
2019-03-20 10:49:23 -07:00
Fabian Guerra Soto
174c8fa7e4
[ios, macos] Add text-color support to format expressions. ( #14146 )
...
Added the possibility of overriding paint properties inside the format expression.
Added an example of how to create an MGLAttributedExpression object and documented the attributes keys and value types.
Fixed a bug that ignored the font names.
2019-03-19 14:53:35 -07:00
Fabian Guerra Soto
7939ff213a
[ios, macos] Add format expression convenience methods support. ( #14094 )
...
Added the ios/macos format expression bindings.
The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector.
A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category.
Updated the symbol style layer text test to use the bindings.
Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
2019-03-15 16:10:27 -07:00
Jason Wray
fb1b601038
[darwin] Fix MGLMapView.direction wrapping
...
Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
2019-03-12 14:49:49 -07:00
Fabian Guerra Soto
79f3307c4b
[ios, macos] Fix a bug with multiple format expressions. ( #14064 )
...
Fixed a bug where `format` expressions using the generic `MGL_FUNCTION` binding ignored multiple formatting parameters.
2019-03-07 19:28:20 -08:00
Jason Wray
d0ffaa4245
[ios] Reset access token state after running tests
2019-03-07 11:36:04 -08:00
Jason Wray
c00d44740f
[ios] Mock MGLOfflineStorage in MGLDocumentationExampleTests
...
Otherwise we risk kicking-off long-running offline pack downloads that could interfere with other tests.
2019-02-19 16:33:27 -08:00
Fabian Guerra Soto
63065e1268
[ios, macos] Update unit test bundle identifier. ( #13875 )
2019-02-05 14:49:00 -08:00
Josh Erb
5d891b4b2a
[ios][documenation] add additional code snippets to API docs
2019-01-30 13:18:45 -05:00
Antonio Zugaldia
d5659aa664
[core,ios,android] Update feedback URL in code and tests ( #13710 )
...
* [core,ios] rename all occurrence of www.mapbox.com/map-feedback to apps.mapbox.com/feedback
* [ios,android] rename all occurrence of www.mapbox.com/feedback to apps.mapbox.com/feedback
2019-01-17 17:00:56 -08:00
Julian Rex
c8c664fbf3
[ios, macos] Support getLeaves (and related) clustering methods ( #12952 ) following feature extension API ( #13382 )
2019-01-14 15:17:13 -05:00
Minh Nguyễn
4be73454e6
[ios] Migrated tests, playground to Swift 4.2
2019-01-09 14:52:30 -05:00
Fabian Guerra Soto
4a858eb381
[ios, macos] Renames MGLStyle.enablePlacementTransitions ( #13685 )
...
* [ios, macos] Rename enablePlacementTransitions to performsPlacementTransitions.
* [ios, macos] Update changelogs.
2019-01-08 11:56:25 -06:00
Chris Loer
387fa1800f
[ios, macos] Add "includesIdeographicGlyphs" option to MGLOfflineRegion.
2018-12-21 15:13:48 -08:00
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
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
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
Bruno de Oliveira Abinader
e64c28613a
[core] Support fill-extrusion-vertical-gradient
2018-11-29 14:23:55 +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
fd4b470158
[ios] Adds support for MGLCollisionBehaviorPre4_0 in NSUserDefaults ( #13426 )
2018-11-21 13:56:41 -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
83ecb76562
[darwin] Fix GCC_WARN_SIGN_COMPARE warnings
2018-11-20 11:48: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
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