Commit Graph

6982 Commits

Author SHA1 Message Date
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
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
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
Ł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
Aleksandar Stojiljkovic
4d84e52ce2 Enable ignored but passing run-time styling tests (#6745) 2019-07-09 17:53:34 +02: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
Alexander Shalamov
81fc495023 [android][ios][macos] Update changelog for #14930 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
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
tobrun
dd16eadc38 [android] - add ktlint, optimise code for ktlint validation 2019-07-04 12:08:49 +02:00
Bruno de Oliveira Abinader
16f1854a9c [node] Parse 'sdf' option when adding an image 2019-07-04 11:45:10 +03:00
Łukasz Paczos
869ff70e0d [android] changelog for 8.2.0-alpha.2 2019-07-03 22:58:23 +02:00
Fabian Guerra Soto
12e0a6b0c6 [ios] Add removeStyleImage to MGLMapView (#14769)
* [ios] Add shoulRremoveStyleImage to MGLMapViewDelegate.

* [ios] Changelog update.

* [ios, macos] Update shouldRemoveStyle method documentation.
2019-07-02 16:33:09 -07:00
Jason Wray
3b1d437460 [ios, build] Add podspec lint script 2019-07-02 12:22:03 -07:00
Jason Wray
93ecf9ae30 [ios, build] Stop packaging local podspec with releases 2019-07-02 11:43:01 -07:00
Mikhail Pozdnyakov
664c50f3bd [core] Update changelog files 2019-07-02 16:05:09 +03:00
tobrun
21f7522967 [android] - add binding integration for cache management API 2019-07-02 14:23:24 +02:00
Mikhail Pozdnyakov
4c896cbb31 [core] Fix error handling in HeadlessFrontend::render() 2019-06-28 16:33:52 +03:00
Juha Alanen
0ca8ea6f16 [core] Add number-format expression 2019-06-27 15:51:22 +03:00
Jason Wray
98a5c64d34 [ios] Fix ios-v5.2.0-alpha.1 podspec versions
Versions had a period instead of a dash between the numbers and pre-release string.
2019-06-26 16:50:01 -07:00
Jason Wray
f17154d7dc [ios] Release ios-v5.2.0-alpha.1 2019-06-26 14:16:58 -07:00
Jason Wray
e26a60d0c9 [ios] Remove previously deprecated unavailable methods and properties 2019-06-26 13:36:30 -07:00
Jason Wray
8a9567e072 [ios, macos] Deprecate methods in favor of new completion handler versions 2019-06-26 12:18:22 -07:00