John Firebaugh
76ed5079a5
[core, ios, macos, android] Add data-driven-styling support for text-font
2018-01-10 15:31:12 -08:00
Jason Wray
0806e16eb3
[ios] Fix and expand accessibility feature transliteration
...
- Fixed pre-iOS 11 compatibility.
- Expanded transliteration to all supported languages.
2018-01-10 17:26:11 -05:00
John Firebaugh
06033885b7
[ios, macos, android] Commit accumulated make style-code updates
...
Manually ignoring all heatmap and hillshade related changes.
2018-01-10 11:15:49 -08:00
John Firebaugh
3fd95b4e85
[ios, macos] Add documentation overrides for icon-image and text-field
2018-01-10 11:15:49 -08:00
John Firebaugh
7ca62ec602
[build] Special case heatmap-color so it doesn't crash make style-code
2018-01-10 11:15:49 -08:00
Minh Nguyễn
9f89832827
[ios, macos] Fixed inconsistent indentation
2018-01-10 11:15:49 -08:00
Minh Nguyễn
f8d5b2511c
[ios, macos] Qualify references to properties in enum docs
...
jazzy requires these property references to be qualified by class names in order to auto link them.
2018-01-10 11:15:49 -08:00
Minh Nguyễn
834e9cda58
[ios, macos] Update cross-refs to properties in doc comments
2018-01-10 11:15:49 -08:00
Minh Nguyễn
c7b2c5c601
[ios, macos] Removed redundant typedef
...
Fixed a jazzy warning.
2018-01-08 16:41:53 -08:00
Fabian Guerra
187b6dc31c
Merge branch 'release-agua' into master
...
# Conflicts:
# circle.yml
# cmake/core-files.cmake
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/build.gradle
# platform/android/MapboxGLAndroidSDK/gradle.properties
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/CameraChangeDispatcher.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/text/LocalGlyphRasterizer.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/utils/BitmapUtils.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/DebugModeActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/LocalGlyphActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/userlocation/MyLocationTintActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml
# platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml
# platform/darwin/src/MGLMapSnapshotter.mm
# platform/darwin/src/MGLRendererConfiguration.h
# platform/ios/CHANGELOG.md
# platform/ios/DEVELOPING.md
# platform/ios/INSTALL.md
# platform/ios/README.md
# platform/ios/resources/bg.lproj/Localizable.strings
# platform/ios/resources/es.lproj/Localizable.strings
# platform/ios/resources/vi.lproj/Localizable.strings
# platform/ios/src/MGLMapView.mm
# platform/macos/macos.xcodeproj/project.pbxproj
# src/mbgl/text/glyph_manager.cpp
2018-01-04 12:55:19 -06:00
Fabian Guerra
cbb9002d4f
[ios, macos] Update mode.hpp file path
2018-01-03 11:37:53 -06:00
Chris Loer
e8abb8c81a
[ios,macos] Revert ideographic->ideograph name change.
...
Original GL JS name was meant to represent "font family to use for locally generating ideographs", but "ideographic font family" communicates a similar intent more concisely.
2018-01-03 11:37:53 -06:00
Chris Loer
b94929ca08
[ios,macos] Update docs to use Apple-friendly "PingFang" font example.
2018-01-03 11:37:53 -06:00
Chris Loer
45e59e4da8
[ios,macos] Remove dead/non-functioning font-weight and glyph metric code.
...
Add local font family to default iosapp configuration.
2018-01-03 11:37:53 -06:00
Andrew Kitchen
38bffda85a
[darwin, macos] Rename Info.plist key for consistency
...
Also removes related dead code in macos MGLMapView.mm
2018-01-03 11:37:53 -06:00
Andrew Kitchen
314c51611c
[darwin, ios, macos] Introduces an MGLRendererConfiguration class
...
Instructions for enabling client-side rendering of CJK glyphs live in
this header, and this class provides the rest of the values needed for
instantiating the renderer on iOS and macOS.
2018-01-03 11:37:53 -06:00
Chris Loer
0dc00ad877
[ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.
...
- Changing font weight does not currently appear to be working.
- Glyph metric extraction code not working; currently unused.
2018-01-03 11:37:53 -06:00
Jason Wray
637892cd6f
[ios, macos] Move private categories into explicitly private headers
...
Instead of creating `MGLAdditions` categories/files for our own classes, this standardizes on the `Private` convention that we had been using elsewhere.
This also fixes build errors where the `MGLAdditions` categories weren't importing their parents.
2018-01-02 19:36:31 -05:00
Minh Nguyễn
3685cb3589
[ios, macos] Updated MGLImageSource example
...
Ran make darwin-update-examples to ensure that headers reflect the tested example code.
2017-12-21 12:02:20 -08:00
Minh Nguyễn
1b407e85e9
[ios, macos] Fixed MGLMapSnapshotter test crash
...
Fixed a crash in MGLDocumentationExampleTests caused by an asynchronous snapshot call that the test wasn’t waiting on, compounded by the use of a style that requires an access token (as opposed to the one-liner style that uses no remote resources. Employed some Swiftisms to fulfill expectations without making the example code look weird.
2017-12-21 12:02:20 -08:00
Asheem Mamoowala
6a9eec8ed5
Fix CustomLayer context retain count ( #10765 )
...
* [core] RenderCustomLayer should de-initialize old context
* [iOS, macOS] Use toll-free bridging to retain/release MGLOpenGLStyleLayer instead of a separate array.
2017-12-20 14:51:30 -08:00
Fabian Guerra
f644d188be
[ios, macos] Remove duplicated variables between MGLMapSnapshotOptions and MGLMapSnapshotter
2017-12-20 09:01:15 -06:00
Minh Nguyễn
7f5dfb16bc
Update iOS, macOS SDK translations ( #10738 )
...
* [ios, macos] Updated Bulgarian, Spanish, Vietnamese localizations
* [ios, macos] Added Arabic localization
* [ios, macos] Updated localizations
2017-12-20 02:26:05 -08:00
Minh Nguyễn
9c1dfe46cf
[ios, macos] Cleaned up base localization files
...
Localizable strings in Darwin classes need to specify “Foundation” as the table so that NSBundle consults the right .strings files. Reran make genstrings to add some missing strings to the base localizations and undo some manual edits to the base localizations that contained errors.
2017-12-18 11:41:56 -08:00
Jason Wray
c5e7bd35fc
[ios] Fix strict prototypes warnings in blocks
2017-12-15 19:21:44 -05:00
Chris Loer
4fcf1853b0
[ios,macos] Revert ideographic->ideograph name change.
...
Original GL JS name was meant to represent "font family to use for locally generating ideographs", but "ideographic font family" communicates a similar intent more concisely.
2017-12-11 10:43:00 -08:00
Chris Loer
6dbb9eb22a
[ios,macos] Update docs to use Apple-friendly "PingFang" font example.
2017-12-11 10:43:00 -08:00
Andrew Kitchen
4418edbfcd
[darwin, macos] Rename Info.plist key for consistency
...
Also removes related dead code in macos MGLMapView.mm
2017-12-11 10:43:00 -08:00
Chris Loer
155804be4d
[ios,macos] Remove dead/non-functioning font-weight and glyph metric code.
...
Add local font family to default iosapp configuration.
2017-12-11 10:43:00 -08:00
Andrew Kitchen
b2f06677a7
[darwin, ios, macos] Introduces an MGLRendererConfiguration class
...
Instructions for enabling client-side rendering of CJK glyphs live in
this header, and this class provides the rest of the values needed for
instantiating the renderer on iOS and macOS.
2017-12-11 10:43:00 -08:00
Chris Loer
cb380064bb
[ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.
...
- Changing font weight does not currently appear to be working.
- Glyph metric extraction code not working; currently unused.
2017-12-11 10:43:00 -08:00
Jason Wray
627587694d
[ios, macos] Append SDK version parameter to feedback URL
2017-12-07 19:01:04 -05:00
Jordan Kiley
f89afa0b27
[ios, macos] Rename the iOS and macOS SDKs ( #10610 )
2017-12-06 10:13:17 -05:00
Chris Loer
966b6a53ce
[core, ios, qt, android] Close race condition in RunLoop (issue #9620 )
...
Because a message we queue from the foreground may cause the background to complete, exit, and tear down the AsyncTask, we have to block queue processing until we've finished our call to AsyncTask::send().
Broadening the scope of a mutex is scary, but I audited the code of our four implementations of AsyncTask and I don't see any way this could cause a deadlock.
2017-12-06 12:37:48 +01:00
Jordan Kiley
8f3cc3dbc4
[ios, macos] Rename the iOS and macOS SDKs ( #10610 )
2017-12-04 16:40:14 -08:00
Fabian Guerra
784b71a81c
[ios, macos] Refactor snapshot attribution.
2017-12-04 17:04:40 -05:00
Konstantin Käfer
2eec5a1980
[core] move HeadlessBackend extension initialization code into Impl
2017-11-29 15:48:51 +01:00
Konstantin Käfer
335f04f7e1
[core] fold HeadlessDisplay into the headless RenderBackend implementation
2017-11-29 15:48:51 +01:00
Andrew Kitchen
c178bd2d25
[darwin] Fixes CGImageRef leak when creating a map snapshot ( #10585 )
2017-11-28 14:51:30 -08:00
Andrew Kitchen
09b97e037c
[darwin] Adjusts initializer body to avoid premature ivar usage ( #10582 )
2017-11-28 13:43:45 -08:00
Andrew Kitchen
a2817ff5ed
[darwin, macos, ios] Renames CGImage creation function to imply +1 retain count ( #10570 )
2017-11-27 16:47:58 -08:00
Chris Loer
5da5ba7706
[core, ios, qt, android] Close race condition in RunLoop (issue #9620 )
...
Because a message we queue from the foreground may cause the background to complete, exit, and tear down the AsyncTask, we have to block queue processing until we've finished our call to AsyncTask::send().
Broadening the scope of a mutex is scary, but I audited the code of our four implementations of AsyncTask and I don't see any way this could cause a deadlock.
2017-11-27 14:42:44 -08:00
Asheem Mamoowala
3067b77c65
[core, ios, macos] Implement unique_any and remove linb::any
2017-11-22 13:56:38 -08:00
Asheem Mamoowala
246417ef24
[ios, macos] Implement MGLComputedShapeSource binding for CustomGeometrySource
2017-11-22 13:56:38 -08:00
Jesse Crocker
b2925e71ac
[darwin] Abstract ShapeSource interface
2017-11-22 13:56:38 -08:00
Fabian Guerra
5eb050dc35
[ios, macos] Update the attribution format for small snapshots.
2017-11-17 16:40:12 -05:00
Jordan Kiley
a0cfac4c1a
Update MGLMapSnapshotter docs ( #10438 )
2017-11-10 10:02:45 -08:00
Tobrun
225fba8a0a
Merge branch 'release-agua' into tvn-merge-release
2017-11-10 06:16:35 +01:00
Fabian Guerra
a936fd6f8a
[ios, macos] Cleanup duplicated snapshotter frame code.
2017-11-08 16:40:50 -05:00
Fabian Guerra
93e363bd8c
[ios, macos] Add attribution to snapshots.
2017-11-07 17:56:09 -05:00