Jason Wray
4e1ba601b3
[ios] Clean-up direction and compass tests
2019-07-17 12:38:15 -07:00
Łukasz Paczos
3ced4a943b
[android] update Bintray's package name
2019-07-17 17:17:03 +02:00
Mikhail Pozdnyakov
f63a906ea1
Bump mapbox-gl-js version
2019-07-17 14:52:47 +03:00
Mikhail Pozdnyakov
8574b8b726
[core] Favor previous anchor only when still in the text-variable-anchor options
...
Port of https://github.com/mapbox/mapbox-gl-js/pull/8473
2019-07-17 14:52:47 +03:00
Heather Stenson
5f6f20e667
[ios, macos] Change "map ID" to "tileset ID" ( #15116 )
...
* map id --> tileset id
* styles map id -> style url
* update changelog
2019-07-16 18:36:07 -07:00
Jordan Kiley
9d8839c4b8
[ios] Cache Management API ( #14978 )
2019-07-16 14:58:32 -07:00
tobrun
0baa54a194
[android] - create map snapshot from testcase
2019-07-16 17:06:19 +02: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
Julian Rex
3c488e05ef
[ios] Adds thread safe access to MGLNetworkConfiguration events dictionary ( #15113 )
2019-07-15 21:11:17 -04:00
Josh Erb
cdd47c0358
[node] v4.2.0 release
2019-07-15 10:13:47 -04:00
Julian Rex
dae803f81d
Added changelog entry
2019-07-14 22:20:56 +03:00
Aleksandar Stojiljkovic
d968cbba15
[ios][macos] Fix center coordinate incorrect after pinch gesture
...
To changelog:
Fixed incorrect center coordinate after pinch regression caused by edge insets fix (#14664 ).
While working on #14664 , missed to understand the logic used in
```
CLLocationCoordinate2D centerCoordinate = _previousPinchCenterCoordinate;
mbgl::EdgeInsets padding { centerPoint.y, centerPoint.x, self.size.height - centerPoint.y, self.size.width - centerPoint.x };
self.mbglMap.jumpTo(mbgl::CameraOptions()
.withCenter(MGLLatLngFromLocationCoordinate2D(centerCoordinate))
.withPadding(padding));
```
Replacing this code by moveBy achieves the required translation.
Fixes : #14977 , #15082
2019-07-14 22:20:56 +03:00
Mikhail Pozdnyakov
a0e2064f75
[ios][android] Change log update
2019-07-12 19:38:23 +03:00
Mikhail Pozdnyakov
ff7fb5e46d
[core] RenderCustomGeometrySource should clear tiles after style update
...
Otherwise, the remaining stale tiles cannot be updated.
2019-07-12 19:38:23 +03:00
Jason Wray
5b488225fb
[ios] Add MGLCompassButton and MGLOrnamentVisibility
2019-07-11 16:06:54 -07:00
Łukasz Paczos
de71ff5102
[android] changelog for 8.2.0-alpha.3
2019-07-11 20:01:18 +02:00
Łukasz Paczos
ac0431eac5
[android] ensure that move detector is enabled if double-tap is interrupted
2019-07-11 18:18:48 +02:00
Łukasz Paczos
11cd2220a1
[android] fix up "match" expressions docs with stop arguments
2019-07-11 15:43:03 +02:00
Mikhail Pozdnyakov
d8d64cadda
[ios][android] Changelog update
2019-07-11 15:36:28 +03:00
Mikhail Pozdnyakov
fa5646d112
[core] Synchronize render passes and render tiles
...
Before this change render passes were assigned for the
whole layer at properties evaluation stage.
This caused problems, as layer render data are bound
to the tile and these data might differ from tile to
tile, depending on which tile has been updated by the
tile worker and which has not been yet updated.
This change takes into consideration the actual render
passes required for each tile and combines them for
the layer render passes. Naturally, this change also
introduces render pass check for each render layer in
`RenderLayer::render()` implementations.
2019-07-11 15:36:28 +03:00
Łukasz Paczos
200af48754
[android] add regression tests for recent quick zoom/double tap issues
2019-07-11 14:14:10 +02:00
Łukasz Paczos
0b0d7b844a
[android] allow map panning after quick zoom is disabled but a phantom gesture is executed
2019-07-11 14:14:10 +02:00
Łukasz Paczos
afa7cea4c0
[android] ensure location shadow's gradient is greater than 0
2019-07-11 13:27:13 +02:00
Łukasz Paczos
5b02434e88
[android] remove access token's nullability annotations to not impact Kotlin interop
2019-07-11 12:59:05 +02:00
Łukasz Paczos
4348169aac
[android] allow setting a null access token in the runtime
2019-07-11 11:02:24 +02:00
Łukasz Paczos
348c437c0a
[android] throw configuration exception when accessing Mapbox services with an invalid token
2019-07-11 11:02:24 +02:00
Jason Wray
1c931e4006
[ios] Prepare ios-v5.2.0-alpha.3 release
2019-07-10 13:39:03 -07:00
tobrun
32321d407c
[android] - update okhttp to latest stable version that support pre lolipop devices
2019-07-10 11:26:01 +03: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
18f7e4b84d
[build] Opt out of homebrew cleanup on CI
2019-07-09 10:19:32 -07:00
Łukasz Paczos
da8ed930de
[core] decrease the minimum pixel distance required to interpolate during camera animation
...
The changes introduced in #9199 changed the minimum required pixel distance between start and end points to >= 1px in order to interpolate, which in scenarios of big zoom changes and low pixel density can result in animation to the previous position and then a jump to the target.
2019-07-09 18:07:22 +02:00
Aleksandar Stojiljkovic
4d84e52ce2
Enable ignored but passing run-time styling tests ( #6745 )
2019-07-09 17:53:34 +02:00
Mikhail Pozdnyakov
6b8df343ef
[core] Put gfx backend scope guard to Renderer::reduceMemoryUse()
2019-07-09 17:36:10 +03:00
Mikhail Pozdnyakov
eaed0036ef
[glfw] Reduce memory use when window loses focus
2019-07-09 17:36:10 +03:00
Aleksandar Stojiljkovic
286bc66ba4
Issue #15065 changelogs and nit fix.
2019-07-09 15:13:38 +02:00
Aleksandar Stojiljkovic
2c5528e691
Fix layers rendering after fill-extrusion
...
This fixes following issues:
* Fix some false passing combinations/fill-extrusion-translucent--XXXX tests
* Fix and enable other, failing but ignored, combinations/fill-extrusion-translucent--XXXX tests
* Fix rendering of layers that are on top of fill-extrusion layers
state.getProjMatrix(nearClippedProjMatrix, 100) caused that tests with size 64x64 were not
rendering fill extrusions: far plane calculated as 96.9 and near plane set to 100 was the cause.
near plane is changed from hardcoded 100 to depend on state.getCameraToCenterDistance() - producing
similar value but one that follows max zoom.
This caused that e.g. combinations/fill-extrusion-translucent--fill-opaque was falsely passing as
only fill-opaque layer got rendered.
combinations/fill-extrusion-translucent--XXXX tests expose regression https://github.com/mapbox/mapbox-gl-native/issues/14844#issuecomment-503600034 in #14844 , #14779 .
Fix (opaquePassCutoff, is3D) is ported from https://github.com/mapbox/mapbox-gl-js/pull/7821
Fixes : #14844 , #14779 , #15039
2019-07-09 15:13:38 +02:00
Mikhail Pozdnyakov
929824ecc3
[core] Share render tiles lists between layers
...
This helps to avoid unneeded allocations.
2019-07-09 12:34:58 +03:00
Alexander Shalamov
81fc495023
[android][ios][macos] Update changelog for #14930
2019-07-09 11:43:46 +03:00
Alexander Shalamov
8d94bb1be0
[core] Reserve size for filtered render layers
2019-07-09 11:43:46 +03:00
Alexander Shalamov
57402314e1
[core] Improve performance for query rendered features
...
- query rendered symbols only from layers that support it
- remove unnecessary iterations over vectors
2019-07-09 11:43:46 +03: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
593ef252b6
[ios] Prepare ios-v5.2.0-alpha.2 release
2019-07-08 15:28:12 -07:00
Alf Watt
59c4204bf5
[ios] Mapbox Events - v0.9.5 ( #15077 )
2019-07-08 15:25:03 -07:00
Thiago Marcos P. Santos
3575695033
Revert "[core] Change severity of too many data-driven properties to "Info""
...
This reverts commit 2125080dc3 .
2019-07-08 20:29:43 +03:00
tobrun
ee0d831a2f
[android] - introduce MapboxMapOptins facility creation method.
2019-07-08 16:33:26 +02:00
tobrun
532e9dc6ae
[android] - add snapshotter and offline test
2019-07-08 08:12:36 +02:00
Kevin Li
64e9784d79
[android] Add command to run app center in Makefile ( #15056 )
...
* Add command to run app center in Makefile
* rename command
2019-07-05 09:20:26 +08:00
Mikhail Pozdnyakov
da3b7749b0
[core] RenderSource creates render items
2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
8b78398190
[core] Remove down-casting of render sources
2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
1155121530
[core] Introduce ImageSourceRenderData and RenderSource::getImageRenderData()
...
Image source render data is owned by render source, which is simpler than the
previous approach and aligned with the render tiles ownership model.
2019-07-04 16:56:43 +03:00