Commit Graph

6970 Commits

Author SHA1 Message Date
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
Blake Thompson
a16c67d953 Fixes problems associated with node 10 and NAN (#14847)
* Fixes problems associated with node 10 and NAN

* Follow up removal of unnecessary linking to map object

* Remove header left over from debugging
2019-06-26 13:38:06 -05:00
Tobrun
012ccecaa4 [android] - update changelog for v8.2.0-alpha.1 2019-06-26 19:40:04 +02:00
tobrun
6aa0792977 [android] - bring back opacity manual regression test 2019-06-26 19:22:04 +02:00
Michael Muesch
abf60753cb Remove assert from deconstructor of run_loop.cpp
In the deconstructor of run_loop.cpp there is an assert that checks to make sure the Scheduler is null before setting it to null. In some rare scenarios where the app is being put into the background or closed the Scheduler can be null before the deconsturctor is called. This can cause an unnecessary crash. Since the goal here is to just set the Scheduler to null either way, it should not matter what the state of the Scheduler is before the function call.
2019-06-26 17:15:39 +03:00
Kevin Li
3b90d95b93 [android]Add MicroSoft AppCenter lib. (#14995) 2019-06-26 16:33:59 +08:00
Bruno de Oliveira Abinader
3b0e5a59a2 [core] Implement C++ render test runner 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
1a9e07e4ed [core] DefaultFileSource dynamic support for cache-only requests 2019-06-25 20:10:21 +03:00
Bruno de Oliveira Abinader
3f83c8a9de [darwin] Ensure the runloop is awake in RunLoop::runOnce() 2019-06-25 20:10:21 +03:00
tobrun
c5b04677f0 [android] - add setVerbosity to Logger, add LogLevel IntDef 2019-06-25 14:39:14 +02:00
Łukasz Paczos
8fbe63b51b [android] invalidate camera when setting a padding 2019-06-25 13:29:20 +02:00
Jason Wray
290a9fcad5 [darwin] Add warning about certain tests requiring en_US locale 2019-06-24 16:52:17 -07:00
Łukasz Paczos
41980af469 [android] refactor LocationComponentTest to use consistent mocking tools 2019-06-24 11:37:21 +02:00