Commit Graph

7053 Commits

Author SHA1 Message Date
Ł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
Langston Smith
2873547589 [android] Additional changelog item to v7.4.1 mojito patch release section (#15277) 2019-07-31 14:07:23 -07:00
Langston Smith
abc6f5c91a [android] updated android changelog for 7.4.1 patch release (#15274) 2019-07-31 12:49:18 -07:00
Langston Smith
b1d6c5bd39 [android] updating android changelog for 8.0.2 patch release (#15273) 2019-07-31 11:19:47 -07:00
Langston Smith
c9c46ce9fc [android] updated android changelog for 8.2.1 patch release (#15272) 2019-07-31 11:00:01 -07:00
tobrun
eca5d56084 [android] update changelog for the v8.3.0-alpha.1 release 2019-07-31 20:20:58 +03:00
Łukasz Paczos
300f0b5980 [android] do not reinitialize camera/render mode if it hasn't changed
Camera/Render mode updates can be streamed from various different stateless sources and we should make sure to skip an update to a mode that's already set. This keeps the callbacks tidy and does not perform unnecessary work.
2019-07-31 18:17:16 +03:00
Łukasz Paczos
275d8ffb2b [android] save location animation timestamp only when fed
When all location layer animations were reset, due to the mode change, we were recalculating the time of the animation, while we should be taking the remaining duration. Frequent recalculation requests resulted in a really short animation duration.
2019-07-31 13:06:55 +03:00
Łukasz Paczos
703c76ada2 [android] package ideographs flag in the offline definition parcel 2019-07-31 12:12:22 +03:00
Łukasz Paczos
45e5e6341e [android] do not include CJK ideographs in the offline packs by default 2019-07-31 12:12:22 +03:00
Julian Rex
4237fca318 [ios] Update changelog for 4.11.2, 5.0.2, 5.1.2 (#15259) 2019-07-30 18:11:13 -04:00
Jason Wray
af32a452e0 [ios, build] Automatically deploy to CocoaPods 2019-07-30 13:58:30 -07:00
Jason Wray
061bc59d1f [ios, build] Install cocoapods as a deployment dependency 2019-07-30 13:58:30 -07:00
Łukasz Paczos
f86f0226dd [android] ensure default local ideographs font family is not overwrote 2019-07-30 13:53:03 +02:00
Łukasz Paczos
ac94186508 [android] harden MapGestureDetector tests 2019-07-30 09:24:49 +02:00
Bruno de Oliveira Abinader
6f0cda8c8b [build] Use mapbox-base optional 2019-07-29 18:36:08 +03:00
Jason Wray
b6dd995813 [ios, build] Stop copying iosapp token script into framework 2019-07-26 12:38:52 -07:00