Minh Nguyễn
288194c904
[ios, macos] Added snapshot test of locally rendered font
...
Disabled on iOS for now due to actual differences in Core Text behavior. Disabled on macOS because the test is too strict without any tolerance.
2020-04-24 18:31:33 -07:00
Minh Nguyễn
50d067f4ad
[ios, macos] Allow specifying multiple fonts or font families for local font rendering
...
Removed MGLIdeographicFontFamilyName validation from MGLRendererConfiguration, since mbgl::LocalGlyphRasterizer performs more robust validation. Removed C++ from MGLRendererConfiguration interface, implementation, and tests for simplicity.
Pass all the specified font and font family names into mbgl so that mbgl::LocalGlyphRasterizer can form a full font cascade list.
2020-04-24 18:31:29 -07:00
Minh Nguyễn
93890681af
[ios] Embed MapboxMobileEvents.framework in iosapp
2020-04-02 17:33:34 -07:00
Julian Rex
171ff9484a
Adds delegate to MGLNetworkConfiguration ( #228 )
2020-03-27 10:28:21 -04:00
Minh Nguyễn
ecf9a141a0
[ios, macos] Unit-test snapshotter
2020-03-26 15:29:33 -07:00
Minh Nguyễn
c225a50f25
[ios, macos] Added image stretching tests
2020-03-11 16:55:18 -07:00
Minh Nguyễn
5b4fb6c216
mapbox-gl-native v1.3.0
2020-02-28 11:45:09 -08:00
Minh Nguyễn
18f3b1d14f
[ios, macos] Factored out Darwin build settings
...
iOS and macOS once again share most build settings.
2020-02-26 12:12:41 -08:00
Julian Rex
6cc7ace49d
Tweaks for failing integration tests on simulators ( #170 )
2020-02-19 15:49:41 -05:00
Julian Rex
e62a7cade3
Updates mapbox-gl-native submodule to release-unicorn branch ( #151 )
...
* Update submodule
* [ios] Ignore patches
* Use new FileSourceManager interface
* Remove filesource-files.json
* Update submodule
* Remove http_file_source.mm from this repo for clarity.
* Adds set of MGLNativeNetworkManager (via MGLMapView and MGLOfflineStorage); includes tests.
* - Create testing methods, so that we don't need to export MGLNativeNetworkManager in GL
- Singleton accessors now set the delegate with each call; tests modified accordingly.
* Add test for expected properties
* [ios] Update MGLResourceTests for SKU changes
Co-authored-by: Alexander Shalamov <alexander.shalamov@mapbox.com >
Co-authored-by: Jordan Kiley <jmkiley@users.noreply.github.com >
2020-01-22 15:09:18 -08:00
Nadia Barbosa
87ada1e735
Preparations for ios-v5.7.0-alpha.1 ( #139 )
...
* Podspec & changelog updates for 5.7.0-alpha.1
* Bump to mapbox-gl-native/d3a5ed
* Add files from #16031 (#140 )
* [ios] Add changed files
* [ios] Add files to project
* [ios] Bumped submodule
* Bump vendor/mapbox-gl-native to master again
Co-authored-by: Jordan Kiley <jmkiley@users.noreply.github.com >
2020-01-10 11:05:11 -08:00
Julian Rex
1d2f6326a9
Move common configuration settings into shared xcconfig ( #70 )
...
* Move common compiler settings to xcconfig file.
* Allow float loop counter
* Removed pch
* Re-add -fcxx-modules post rebase.
2019-11-26 17:16:41 -05:00
Julian Rex
5e31b8fc36
Integrate Telemetry SDK as framework dependency ( #60 )
2019-11-25 17:44:36 -05:00
Jordan Kiley
04547cfba0
Update changelog and mapbox-gl-native submodule ( #67 )
2019-11-23 08:25:16 -05:00
Julian Rex
a23fa5152e
Update to mapbox-gl-native sangria ( #41 )
2019-10-29 16:56:18 -04:00
Fabian Guerra Soto
b8194452bc
Update test target configuration for new build system ( #18 )
...
* Update test target configuration.
* Add libz conf and change sideload database route.
2019-10-21 11:42:15 -07:00
Fabian Guerra Soto
688fd7a164
Update cmake to use the next build system. ( #14 )
...
* Update cmake to use the next build system.
* Set up header paths and link libraries (#15 )
* Update build system.
2019-10-18 16:26:25 -07:00
Fabian Guerra Soto
5c565a5e51
[ios] Fixes an issue that caused the ornaments ignore contentInset property. ( #15584 )
...
* [ios] Add mapView content inset tests.
* [ios] Fix an issue that caused the ornaments ignore the contentInsets.
Fixed an issue that caused ornaments ignore the contentInset. Added a new property automaticallyAdjustContentInset that has the same purpose as UIViewController. automaticallyAdjustsScrollViewInsets. This was changed due to the latter being deprecated.
* [ios] Fix automaticallyAdjustsScrollViewInsets legacy behavior.
The property automaticallyAdjustsScrollViewInsets overrode automaticallyAdjustsScrollViewInsets which caused a breaking change. This is fixed to consider the legacy property when calculating the content insets and added tests for both cases.
* [ios] Fix the contentInset value after adding padding to the camera.
Fixed an issue that caused a discrepancy between the contentInset in MGLMapView and the padding in the transformation state.
When padding is passed through methods such as setCamera it’s persisted. This fix resets the contentInsets.
* [ios] Fix pinch test.
* [ios] Update automaticallyAdjustsScrollViewInsets name and documentation.
* [ios] Update changelog.
2019-10-04 17:13:00 -07:00
Julian Rex
33a70100b8
[ios] Adds pointForCoordinate/coordinateForPoint to MGLMapSnapshotOverlay ( #15746 )
...
* [ios] Adds `pointForCoordinate:`/`coordinateForPoint:` to MGLMapSnapshotOverlay
* [ios] Adds PR #
* [ios, macos] Update file lists & mac contexts
* [macos] Fix for image scale in overlay.
* [ios] Updated change log based on PR feedback.
2019-10-04 13:51:40 -04:00
Julian Rex
2b08c1d7bf
[ios, macos] Fix MGLOfflinePack invalidate crash ( #15582 )
2019-09-18 18:13:07 -04:00
Thiago Marcos P. Santos
8ee6cfa8fb
[build] Cosmetics on vendor packages
...
- Add include guards on all the files
- Add a vendor package for sqlite and gtest
- Use relative paths to all the files
2019-09-17 12:28:55 +03:00
Mikhail Pozdnyakov
5207a36074
[core, ios, macos] SDK objects should hold weak pointers to the core style objects ( #15539 )
2019-09-09 23:55:38 -04:00
Jason Wray
8ccf15069d
[darwin] Use en_US as default test locale/language
2019-09-09 10:26:01 -07:00
Julian Rex
96581fd3ff
[core, ios] Call transitionFinishFn for jumpTo. ( #15473 )
2019-09-05 00:21:58 -04:00
Julian Rex
4010b1d256
[ios] Added pending completion blocks ( #15122 )
2019-08-25 01:02:29 -04:00
Jordan Kiley
6f78560f24
[ios] Add threshold for triggering the rotate gesture recognizer ( #14929 )
2019-08-20 22:12:08 -07:00
Julian Rex
c0cd8d021d
[ios] Adds annotation selection tests with rotation & scaling of the map ( #15123 )
2019-08-20 10:51:14 -04:00
Jason Wray
b6dd995813
[ios, build] Stop copying iosapp token script into framework
2019-07-26 12:38:52 -07:00
m-stephen
2e5897c0f4
[ios, macos]MGLLoggingConfiguration can filter logs from core ( #15120 )
...
* [ios, macos] update proj config
* [ios, macos] implement the logging logic
* [ios, macos] update comments
* [ios, macos] update mac os config
* [ios, macos] re-generate sdk files
* [ios, macos] re-generate sdk files json
* [ios, macos]re-generate json files
* [ios, macos] re-generate ios json files
* [ios] change conditions to bit mask
* [ios, macos]send messages to platform
* [ios, macos] add changelogs
* [ios, macos] revert `logging_nslog`
* [ios, macos] add event name and code into log msg
* [ios, macos] update changlog
* [ios, macos] fix a nit
* [ios, macos]Fix nits.
2019-07-25 15:39:01 +08:00
Jason Wray
5b820a926d
[ios] Add MGLMapViewZoomTests
2019-07-17 12:38:15 -07:00
Jason Wray
4e1ba601b3
[ios] Clean-up direction and compass tests
2019-07-17 12:38:15 -07:00
Julian Rex
3c488e05ef
[ios] Adds thread safe access to MGLNetworkConfiguration events dictionary ( #15113 )
2019-07-15 21:11:17 -04:00
Jason Wray
5b488225fb
[ios] Add MGLCompassButton and MGLOrnamentVisibility
2019-07-11 16:06:54 -07:00
Jason Wray
d6c1c838eb
[ios, build] Add tests for MGLMapView pitch setting and tilt gesture
2019-07-08 21:18:18 -07:00
Jason Wray
9872416c1f
[build, darwin] Enable aggressive API usage warnings
2019-06-14 09:20:10 -07:00
Nadia Barbosa
92f282b52d
[iosapp] Introduce map state manager ( #14591 )
2019-06-13 09:35:41 -07:00
Konstantin Käfer
d372124219
[ios] fix benchmark app
2019-06-12 18:08:18 +02:00
Julian Rex
edd04d31eb
[ios] Added offline query parameter ( #14857 )
2019-06-11 18:22:20 -04:00
Fredrik Karlsson
ad1b448da5
[ios] get sku token return value
2019-06-11 18:35:07 +02:00
Alf Watt
9ebd831e32
[ios] Integrate Mapbox Mobile Events 0.9.4 ( #14868 )
...
* [ios] Mapbox Events 0.9.4
* Run `scripts/generate-file-lists.js`
* Explicitly use the shared manager instead of init
* There can be only one `Scripts`
2019-06-06 13:43:23 -07:00
Alexander Shalamov
a71ccae141
[ios] Add integtation test that verifies MGLMapViewImpl size
2019-06-05 00:03:13 -07:00
Konstantin Käfer
9eb43a587b
[ios,macos] refactor MGLMapViewImpl
2019-05-29 18:27:42 +02:00
Jason Wray
9229556dd9
[ios, build] Specify Mapbox development team for project iOS apps
2019-05-24 13:28:11 -07:00
Julian Rex
f7915fdc51
[ios] Static analysis fix tweaks - part 2 ( #14572 )
2019-05-02 14:08:48 -04:00
Nadia Barbosa
3e4afbc788
[iosapp] Move token setting to build script
...
[ios] Switch to script-based token insertion for benchmarking app
[ios] Update Developing.md
[iosapp, benchmark app] Look for token file outside of version-controlled directory
[iosapp, benchmark app] Remove remaining code for access token checking from app delegates
Feedback edits for @friedbunny
2019-05-01 18:30:46 -07:00
Julian Rex
9bd59bf041
[ios, macos] Fixes for static analyzer warnings ( #14453 )
2019-04-30 17:08:37 -04:00
Jason Wray
d5569f4b01
[ios] Add SKU tokens to all Mapbox requests ( #14421 )
2019-04-17 18:27:54 -07:00
Randall Lee
1bd23e2182
[iOS] Events submodule update ( #14388 )
...
* [iOS] Update Events submodule to v0.9.3
Internal change -- shouldn't require changelog notes.
2019-04-10 17:50:40 -04:00
Fabian Guerra Soto
2f0af0e8f4
[ios] Deactivate MGLMapView IBDesignable ( #14379 )
...
Removed MGLMapView's IBDesignable attribute. The map's view render attributes
uses GL, making changes through the inspectables were not reflected in the storyboard
and were causing IB crashes.
* [ios] Deactivate MGLMapView IBDesignable.
* [ios] Remove IBDesignable agent code.
* [ios, macos] Remove NSProcessInfo category from iOS.
2019-04-10 13:01:59 -07:00
Fabian Guerra Soto
8389e746b6
[ios, macos] Add Mapbox Maps SDK metrics manager. ( #13997 )
...
Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times.
* [ios, macos] Add tile download performance event.
* [ios, macos] Modify the performance event format.
* [ios, macos] Add Mapbox Maps SDK events manager.
* [ios, macos] Remove events delegate.
* [ios, macos] Remove deprecated macro.
* [ios, macos] Rename MGLEventsManager to MGLMetricsManager.
* [ios, macos] Make MGLMetricsDelegate follow delegate convention.
* [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager.
* [ios, macos] Update metrics manager documentation.
* [ios, macos] Add device metadata.
* [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
2019-04-09 16:10:14 -07:00