Commit Graph

16768 Commits

Author SHA1 Message Date
Alexander Shalamov
03bb17f8c5 [core] Use constexpr map for verticalized punctiation 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
Alexander Shalamov
e9ca844d66 [core] Update unit tests 2019-08-13 13:32:56 +03:00
Alexander Shalamov
44c92b837a [core] Break lines for vertical writing mode 2019-08-13 13:32:56 +03:00
Alexander Shalamov
be974ea65c [core] Rotate text collision box based on text-rotation value 2019-08-13 13:32:56 +03:00
Alexander Shalamov
9aa529576f [core] Implement support for "text-writing-mode" layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
075d458403 [core] Add style bindings for "text-writing-mode" layout property 2019-08-13 13:32:56 +03:00
Alexander Shalamov
fc94852b28 [core] Bump mapbox-gl-js verstion 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
bc09cdbf76 [build] Fix pluralization nit 2019-08-08 18:21:28 -07:00
Jason Wray
bbaf1ee1ad [ios] Minor style edits to changelog 2019-08-08 18:13:17 -07:00
Jason Wray
a3a661e846 [build] Skip CI jobs if there are no relevant changed files 2019-08-08 15:35:56 -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
Jason Wray
56e46b98a3 [ios, build] Add CI jobs running Xcode 11 betas 2019-08-08 11:36:51 -07:00
Wolfram Manthey
3b848b77e5 [build] Made cmake command configurable 2019-08-08 14:45:57 +03:00
Aleksandar Stojiljkovic
7cdeed7cb4 Changelog entries and a nit for #15281 2019-08-08 12:14:48 +03:00
Aleksandar Stojiljkovic
8cf5103452 [core] Reuse flyTo constant screen velocity calculation for easeTo implementation.
When using flyTo for easeTo:
Limit zoom out to min(startZoom, targetZoom).
Reduce cinematic zoom in animation at the end of transition,
Linear zoom interpolation.

The patch also sets linear interpolation for flyTo edgeInsets animation, as it looks more appropriate to follow the approach taken for pitch and bearing.

Fixes: #15144
2019-08-08 12:14:48 +03:00
Aleksandar Stojiljkovic
9ed6a84df6 [core] easeTo: linear interpolation over zoom instead of scale
Fixes: 15144
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
Jason Wray
5722136680 [core] Disable flaky OfflineDatabase.MaximumAmbientCacheSize test 2019-08-07 10:42:35 -07:00
Aleksandar Stojiljkovic
d1d5999354 Mark tests flaky on Linux only. #15322
fill-opacity/zoom-and-property-function-pattern,
fill-pattern/literal,
fill-pattern/opacity,
fill-pattern/zoomed,
line-translate/literal,

Addresses: #15322, #14423, #14870, #14768, #14859
2019-08-07 13:59:04 +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
Aleksandar Stojiljkovic
75f1c72618 Ignore flaky line-pattern/opacity test on Linux bot
Related to: https://github.com/mapbox/mapbox-gl-native/issues/15320
2019-08-07 10:26:39 +03:00
Aleksandar Stojiljkovic
b5d71fbca0 mbgl-render-test runner - use the same tolerance as with node render test
Two render tests failing only with mbgl-render-tests are added to platform
specific ignores. This is to be extended with fill-extrusion-pattern failing only on mac.
2019-08-07 10:26:39 +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
Mikhail Pozdnyakov
c763c262c8 [core] Remove ProjectedCollisionBox from CollisionBox
- Minus 20 bytes from CollisionBox size.
- Fix constness at Placement::placeBucket
2019-08-05 16:13:26 +03:00
Mikhail Pozdnyakov
65d2f7ed6a [core] Introduce ProjectedCollisionBox type
ProjectedCollisionBox encapsulates geometry of the projected
collision box, it is using union and thus provides memory save
- 12 bytes per collision box instance.
2019-08-05 16:13:26 +03:00
Mikhail Pozdnyakov
55581b6e61 [core] Remove unused CollisionBox::offset 2019-08-05 16:13:26 +03:00
Mikhail Pozdnyakov
9b34997986 [core] Fix using of uninitialized circle in collision index
In `CollisionIndex::placeLineFeature()` check that previous circle
was initialized before asking its center coordinates.
2019-08-05 16:13:26 +03:00
Alexander Shalamov
d30dc89cf7 [core] Increase round join approximation precision 2019-08-05 13:00:35 +03:00
Alexander Shalamov
5784e326e2 [core] A more accurate algorithm for approximating round line joins
Port for https://github.com/mapbox/mapbox-gl-js/pull/8275
2019-08-05 09:40:15 +03:00
Jason Wray
92a8c185c0 [ios, build] Make CocoaPods CI deployment synchronous
Otherwise it may not be allowed to finish before the CI job ends.
2019-08-01 11:24:27 -07:00
Langston Smith
afab287553 [android] adding latitude value check for android test app CameraPositionActivity (#15286) 2019-08-01 09:28:09 -07:00
Mikhail Pozdnyakov
8180bada3a [CI] Remove Source.RenderTileSetSourceUpdate from Sanitize build 2019-08-01 18:20:21 +03:00
Mikhail Pozdnyakov
187962e425 [core] Fix render tile set source update
Before this change, the `RenderTileSetSource` implementation
ignored update calls for the sources whose description was not yet
loaded and it lead to missing of relayout requests.
2019-08-01 18:20:21 +03:00
tobrun
9cf1746e35 [android] - load style without url or json 2019-08-01 17:40:48 +03:00
Mikhail Pozdnyakov
04309e01ce [core] Switch test build to googletest git submodule 2019-08-01 13:54:28 +03:00
Mikhail Pozdnyakov
baceb47bff [core] Add googletest git submodule 2019-08-01 13:54:28 +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