Commit Graph

7069 Commits

Author SHA1 Message Date
tobrun
073a243862 [android] provide default font list for pre lollipop 2019-08-20 11:36:12 +03:00
Jason Wray
f4e187bde4 [ios, docs] Update CocoaPods installation instructions 2019-08-19 09:17:39 -07:00
Łukasz Paczos
1846c0582d [android] synchronize TextureView EGL context creation 2019-08-19 13:32:20 +02:00
Thiago Marcos P. Santos
0bdc5a2558 [ios,android] Added changelog entry for use after std::move fix 2019-08-19 13:37:23 +03:00
Łukasz Paczos
bf34fb0190 [android] check if the CustomGeometrySource's java peer is valid when the thread is shutting down 2019-08-19 10:22:45 +02:00
Łukasz Paczos
98dbed241b [android] move #15398 out of v8.3.0-alpha.3 changelog (#15401) 2019-08-16 16:54:59 -07:00
Mikhail Pozdnyakov
13fd3ad181 [android][ios] Add change log entry 2019-08-16 18:33:30 +03:00
Mikhail Pozdnyakov
8792e7c322 Enable text-variable-anchor/{pitched-rotated-debug|rotated-offset} render tests 2019-08-16 16:25:59 +03:00
Dane Springmeyer
1165f62df6 [core][test] fix leaks from sqlite usage 2019-08-16 15:51:42 +03:00
zmiao
0f34eb7b25 Indroduce clusterProperty option for aggregation (#15287)
* indroduce clusterProperty option for aggregation

* remove unnecessary codes

* update geojson_option conversion

* fix reviewing findings
2019-08-16 15:03:48 +03:00
Łukasz Paczos
61e07b7b48 [android] changelog for 8.3.0-alpha.3 2019-08-16 10:54:13 +03:00
Łukasz Paczos
8e1bd18eae [android] execute quickzoom scale change based on the Y axis delta change
Using finger's Y axis position allows for a linear zoom additions/deductions during the quick-zoom changes. This is in contrast to the previously used scale factor, which is based on the current span (distance from the origin) to previous span ratio and increases the closer the finger is to the origin of a gesture because the values are smaller.

The scale ratio based changes are also reliant on series of motion events' values and because the Android framework can skip some events, going back and forth during a quick-zoom might not have resulted in the same transformation. This was reproduced by the round-tripping test introduced in this commit.
2019-08-15 20:34:29 +03:00
Alexander Shalamov
1cb30268d7 [core] Ignore updated icon-text-fit render tests 2019-08-15 18:25:10 +03:00
Alexander Shalamov
148d65bced [core][node] Serialize formatted expression's text-color option
This enables proper round-tripping for serialized format expression.
2019-08-15 18:25:10 +03:00
Łukasz Paczos
eab3fbf5bf [android] bring back scale delta span threshold when rotation is started first 2019-08-15 18:08:29 +03:00
Łukasz Paczos
acc6079b08 [android] improve rotation inertia, adjust velocity ratios for screen density 2019-08-15 18:08:29 +03:00
Łukasz Paczos
3e73e4d49f [android] improve scale + rotation behavior 2019-08-15 18:08:29 +03:00
Łukasz Paczos
18971395d6 [android] improve scale inertia 2019-08-15 18:08:29 +03:00
Łukasz Paczos
09fd9dace6 [android] bump gestures library to v0.5.0 2019-08-15 18:08:29 +03:00
Jordan Kiley
cb186aa33d [ios] Release v5.3.0-alpha.3 (#15379) 2019-08-14 15:03:41 -07:00
Langston Smith
1ffb417bdb [android] Test app tweaks from 8.3.0-alpha.2 QA (#15360) 2019-08-13 07:58:51 -07:00
Alexander Shalamov
b330375aeb [core] Unskip text-rotate/with-offset fixed by #14932 2019-08-13 16:55:33 +03:00
Mikhail Pozdnyakov
12615d4927 [ios][Android] Add changelog entries 2019-08-13 15:20:46 +03:00
Mikhail Pozdnyakov
0c0bee52cb Enable number format expression tests 2019-08-13 15:17:09 +03:00
Alexander Shalamov
75874cb546 [macos][ios][android][node] Add changelog entry for text-writing-mode layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
e6e751abd3 [darwin] Update documentation text for enum array value 2019-08-13 13:32:56 +03:00
Alexander Shalamov
603c02ccc2 [darwin] Generate plural version of property name, yet, keep singular version of an enum 2019-08-13 13:32:56 +03:00
Alexander Shalamov
0ff218d688 [darwin] Add plural override for 'text-writing-mode' layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
f944600413 [darwin] Bindings for new 'text-writing-mode' layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
dad43ba8fc [android] Android bindings for new 'text-writing-mode' layout property 2019-08-13 13:32:56 +03:00
Jason Wray
ee1b4948e2 [ios] Bump to libmbxaccounts 1.0.1 2019-08-12 13:35:07 -07:00
Langston Smith
8fbe30be58 [android] Added #15330 to the 8.3.0-alpha.2 changelog (#15335) 2019-08-12 10:55:15 -07:00
tobrun
58d7734722 [android] add fallback support to local ideograph font families, allow setting a collection of fonts 2019-08-12 14:30:07 +03:00
Jason Wray
bbaf1ee1ad [ios] Minor style edits to changelog 2019-08-08 18:13:17 -07:00
Jason Wray
56e7bbc0b7 [darwin] Remove unnecessary framework imports from Swift-based tests
Was tripping up Xcode 11 betas with:

  Imported declaration 'UITableViewDiffableDataSourceCellProvider' could not be mapped to 'UITableViewDiffableDataSourceReference.CellProvider'
2019-08-08 12:05:43 -07:00
Aleksandar Stojiljkovic
7cdeed7cb4 Changelog entries and a nit for #15281 2019-08-08 12:14:48 +03:00
Jordan Kiley
d8d685de35 [ios] Release v5.3.0 alpha.2 (#15336)
* [ios] Update podspecs

* [ios] Update changelog

* Update platform/ios/CHANGELOG.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>
2019-08-07 15:33:43 -07:00
Langston Smith
24df594acd [android] updated changelog for 8.3.0-alpha.2 release (#15334) 2019-08-07 13:00:26 -07:00
Thiago Marcos P. Santos
47f498e642 [android] Do not try to wake up the RunLoop if a wake is already pending
Do not flood the RunLoop with wake up calls, potentially causing the
socket buffer to overflow.

Also, write calls are syscalls and will cause a context switch.
2019-08-07 22:41:12 +03:00
Aleksandar Stojiljkovic
3852129d59 Enable render tests flaky on node-gcc8
We don't use node-gcc8 bot to run render tests and no need to have the tests ignored.
2019-08-07 10:39:04 +03:00
Jordan Kiley
acfcd5c29c [ios] Document how scale bar visibility is determined (#15304)
* [ios] document scale bar visibility

* [ios] finished trailing sentence
2019-08-05 10:48:54 -07:00
Aleksandar Stojiljkovic
8103a2b028 [core] Enable opaque pass for background layer. fix heatmap+background test.
Follow the approach from mapbox-gl-js for enabling opaque pass for background layer (same as for fill layer).

Fix combinations/heatmap-translucent--background-opaque render test.
2019-08-05 18:56:07 +03:00
Konstantin Käfer
c523391b20 [macos,ios] Fix rare crash when downloading tiles that returned a 404
We were capturing the reference to an object that could go away when the request was canceled. However, the lambda could still be invoked by NSURLSession, creating a race condition with a resulting crash when the response to a tile request was 404 Not Found.
2019-08-05 16:15:45 +02:00
Langston Smith
afab287553 [android] adding latitude value check for android test app CameraPositionActivity (#15286) 2019-08-01 09:28:09 -07:00
tobrun
9cf1746e35 [android] - load style without url or json 2019-08-01 17:40:48 +03:00
Aleksandar Stojiljkovic
75453cc587 [core] revert platform/ios/vendor/mapbox-events-ios change submitted 2019-08-01 12:18:59 +03:00
Łukasz Paczos
7c66d029cb [android] remove unnecessary android:appComponentFactory reference 2019-08-01 12:07:36 +03:00
Aleksandar Stojiljkovic
8fda03a686 [core] Changelog entry for #15195 2019-08-01 09:28:36 +03:00
Aleksandar Stojiljkovic
73d9f26d03 [core] Limit pitch based on edge insets. Fix max Z calculation in getProjMatrix.
Patch partly fixes #15163 in a way that it doesn't allow loading tens of thousands of tiles and attempt to show area above horizon:

Limit pitch based on edge insets. It is not too bad - current limit of 60 degrees stays active until center of perspective is moved towards the bottom, to 84% of screen height. The plan is to split removal of 60 degrees limit to follow up patch.

Fix max Z calculation in getProjMatrix. TransformState::getProjMatrix calculation of farZ was complex with possibility to lead to negative z values. Replacing it with simpler, precise calculation:
furthestDistance = cameraToCenterDistance / (1 - tanFovAboveCenter * std::tan(getPitch()));

TransformState::getProjMatrix calculation of farZ was an aproximation. Replacing it with simpler, but precise calculation.

Related to: #15163
2019-08-01 09:28:36 +03:00
Jordan Kiley
375c3131af [ios] Release 5.3.0-alpha.1 (#15279)
* [ios] Bumped podspecs

* Update platform/ios/CHANGELOG.md
2019-07-31 14:24:22 -07:00