Commit Graph

4446 Commits

Author SHA1 Message Date
Jonah Williams
8bac5d84be Add Android accessibility bridge support for "longPress" and "tap" semantic events 2018-05-02 17:24:29 -07:00
skia-flutter-autoroll
7205eba53f Roll src/third_party/skia/ 97b48a9c7..0caef298c (6 commits) (flutter/engine#5158)
Auto-roller completed checks. Merging.
2018-05-02 20:03:22 -04:00
skia-flutter-autoroll
855d4835d6 Roll src/third_party/skia/ f9ab22385..97b48a9c7 (11 commits; 1 trivial rolls) (flutter/engine#5154)
Auto-roller completed checks. Merging.
2018-05-02 16:30:22 -04:00
skia-flutter-autoroll
e1cf25cc4c Roll src/third_party/skia/ 2050565fe..f9ab22385 (11 commits) (flutter/engine#5151)
Auto-roller completed checks. Merging.
2018-05-02 12:59:22 -04:00
skia-flutter-autoroll
9c67caa4f4 Roll src/third_party/skia/ 3fef39d94..2050565fe (2 commits) (flutter/engine#5150)
Auto-roller completed checks. Merging.
2018-05-02 09:23:22 -04:00
skia-flutter-autoroll
d2026d5fa8 Roll src/third_party/skia/ ef4142a9b..3fef39d94 (1 commit) (flutter/engine#5148)
Auto-roller completed checks. Merging.
2018-05-02 05:53:22 -04:00
skia-flutter-autoroll
160a694f3c Roll src/third_party/skia/ c86c5c014..ef4142a9b (2 commits) (flutter/engine#5147)
Auto-roller completed checks. Merging.
2018-05-01 22:29:21 -04:00
Yegor
37876134d9 Roll dart to 011676641a8b4b77bb372384c712709cbf037675 (flutter/engine#5146)
* Roll Dart to 011676641a8b4b77bb372384c712709cbf037675.

Reverts cb86a973a7 and uses Dart_NewExternalTypedDataWithFinalizer.

* update license goldens
2018-05-01 17:45:38 -07:00
skia-flutter-autoroll
9f73ba5b2e Roll src/third_party/skia/ 91368c9b9..c86c5c014 (4 commits) (flutter/engine#5145)
Auto-roller completed checks. Merging.
2018-05-01 18:58:45 -04:00
skia-flutter-autoroll
ace8f3164a Roll src/third_party/skia/ dc3192b30..91368c9b9 (12 commits; 1 trivial rolls) (flutter/engine#5144)
Auto-roller completed checks. Merging.
2018-05-01 15:28:45 -04:00
Ryan Macnak
4089df7bce Define Uri.base as CWD to match the standalone Dart VM. (flutter/engine#5137)
Bug: https://github.com/flutter/flutter/issues/17118
2018-05-01 09:30:30 -07:00
skia-flutter-autoroll
d63290d82c Roll src/third_party/skia/ 4912d903b..dc3192b30 (7 commits) (flutter/engine#5142)
Auto-roller completed checks. Merging.
2018-05-01 11:58:44 -04:00
skia-flutter-autoroll
e2f1055b5e Roll src/third_party/skia/ c353ee211..4912d903b (1 commit) (flutter/engine#5141)
Auto-roller completed checks. Merging.
2018-05-01 08:28:44 -04:00
skia-flutter-autoroll
1ca1502567 Roll src/third_party/skia/ d5750b6b3..c353ee211 (1 commit) (flutter/engine#5140)
Auto-roller completed checks. Merging.
2018-05-01 01:27:22 -04:00
Chinmay Garde
9b740511cb Roll buildroot to a69ebc4e1. (flutter/engine#5139) 2018-04-30 21:48:38 -07:00
skia-flutter-autoroll
a4182a700e Roll src/third_party/skia/ 0ce19fa0b..d5750b6b3 (3 commits; 1 trivial rolls) (flutter/engine#5138)
Auto-roller completed checks. Merging.
2018-04-30 21:56:21 -04:00
xster
fa659500dd Increase the GPU thread priority and add error logging (flutter/engine#5117) 2018-04-30 17:18:33 -07:00
Chinmay Garde
d9405b3004 Use the GPU object constructor to create a gradient shader. (flutter/engine#5136)
Fixes build break introduced in 3d2ae063e9.
2018-04-30 17:06:59 -07:00
Victor Choueiri
3d2ae063e9 Enable sweep gradients (flutter/engine#4950)
* Enable sweep gradients

* Use _matrix4IsValid

* Add assert for startAngle < endAngle

* Use radians for startAngle and endAngle

* Update AUTHORS

* Better assert on matrix4IsValid
2018-04-30 15:58:53 -07:00
skia-flutter-autoroll
5defa98d3a Roll src/third_party/skia/ 44a8c74e3..0ce19fa0b (6 commits; 1 trivial rolls) (flutter/engine#5135)
Auto-roller completed checks. Merging.
2018-04-30 18:27:21 -04:00
Greg Spencer
4b03aacc53 Adding Color.alphaBlend (flutter/engine#5119)
This is helpful for some Material Design widgets, which are specified as a semi-transparent color over top of a "material". In some cases, the resulting alpha-blended color can be used instead of compositing an additional shape with an opacity.

This new Color.alphaBlend function mimics the alpha blending function, and creates the resulting combined color. The optimization only works for solid color shapes that have the same geometry, of course.
2018-04-30 15:20:29 -07:00
Ryan Macnak
cb8d6bb865 Roll Dart to 0cc70c4a7c448078dd2aea8e45c56bc50fbbb31c. (flutter/engine#5133) 2018-04-30 13:57:32 -07:00
Jason Simmons
d47e663efa Re-land "Hold a global reference to the AssetManager Java object backing the APKAssetProvider" (flutter/engine#5132)
Fixes https://github.com/flutter/flutter/issues/16222
2018-04-30 12:29:40 -07:00
skia-flutter-autoroll
63c38bf6fa Roll src/third_party/skia/ ba36572d1..44a8c74e3 (6 commits) (flutter/engine#5134)
Auto-roller completed checks. Merging.
2018-04-30 14:56:22 -04:00
Jason Simmons
8c9ef95bea Detach from JNI during shutdown of the UI thread on Android (flutter/engine#5120)
The APKAssetProvider will hold a reference to its Java peer
(see c2b081e229)

After dropping this reference, the UI thread must detach from JNI before exiting.
2018-04-30 10:44:01 -07:00
skia-flutter-autoroll
9e955689ea Roll src/third_party/skia/ 58b90f7f1..ba36572d1 (3 commits) (flutter/engine#5131)
Auto-roller completed checks. Merging.
2018-04-30 11:26:21 -04:00
skia-flutter-autoroll
845ff168bc Roll src/third_party/skia/ efb4d08dd..58b90f7f1 (1 commit) (flutter/engine#5130)
Auto-roller completed checks. Merging.
2018-04-30 07:53:21 -04:00
skia-flutter-autoroll
c7da854104 Roll src/third_party/skia/ cccafe8cf..efb4d08dd (1 commit) (flutter/engine#5129)
Auto-roller completed checks. Merging.
2018-04-29 04:44:21 -04:00
skia-flutter-autoroll
a87540e28d Roll src/third_party/skia/ 5b6d4a354..cccafe8cf (1 commit) (flutter/engine#5128)
Auto-roller completed checks. Merging.
2018-04-28 17:00:21 -04:00
skia-flutter-autoroll
8d5cd3e99a Roll src/third_party/skia/ 0f97bac4a..5b6d4a354 (1 commit) (flutter/engine#5127)
Auto-roller completed checks. Merging.
2018-04-28 11:07:21 -04:00
skia-flutter-autoroll
3dc85d8d9d Roll src/third_party/skia/ 7df62b559..0f97bac4a (1 commit) (flutter/engine#5126)
Auto-roller completed checks. Merging.
2018-04-28 03:18:22 -04:00
Alexander Aprelev
4b423d5456 Undo pub_rev update that seems to be breaking Flutter. (flutter/engine#5122) 2018-04-27 21:30:13 -07:00
skia-flutter-autoroll
965f88c26e Roll src/third_party/skia/ 275df2e87..7df62b559 (1 commit) (flutter/engine#5125)
Auto-roller completed checks. Merging.
2018-04-27 23:47:21 -04:00
skia-flutter-autoroll
7146600967 Roll src/third_party/skia/ cb3124813..275df2e87 (3 commits; 1 trivial rolls) (flutter/engine#5123)
Auto-roller completed checks. Merging.
2018-04-27 20:18:22 -04:00
Chinmay Garde
bdaa00232e In case of empty Dart data responses, don’t call the buffer method on null. (flutter/engine#5114)
Fixes regression introduced in https://github.com/flutter/engine/pull/5101.
2018-04-27 15:22:16 -07:00
skia-flutter-autoroll
cb6fa1def5 Roll src/third_party/skia/ cbdf5d5bf..cb3124813 (6 commits; 1 trivial rolls) (flutter/engine#5118)
Auto-roller completed checks. Merging.
2018-04-27 16:49:21 -04:00
Yegor
2b58565cee Revert "Hold a global reference to the AssetManager Java object backing the APKAssetProvider (#5078)" (flutter/engine#5116)
This reverts commit c2b081e229.

It causes engine crashes in some Android Espresso tests.
2018-04-27 13:47:26 -07:00
Alexander Aprelev
3610085650 Roll dart to cd0c4e4fe1e5b69ac15c0a670f9dde2ee9733fc7. (flutter/engine#5113)
* Roll dart to cd0c4e4fe1e5b69ac15c0a670f9dde2ee9733fc7.

Changes since last roll:

```
cd0c4e4fe1 Kernel service just returns errors. Leaves printing to the VM.
010d8144bc Add missing copyright notice
70547d8197 Change linter subscriptions from functions to AstVisitor(s).
88a098c71c Improve fasta parser field name recovery
bd76221d58 fix #31489, JS interop to `prototype` getter in dartdevk
ca419a9251 dart2js status refresh
da49615c2c Don't filter out references to constructors.
cc968df178 [test] Fix analyzer warning in the recently added test
1c5d1a56e7 Clean up some hints
5a9a479a73 Fix #32966 too little stack overflow context to be useful
2786b9ff43 [vm/aot] Add detailed error messages and stack traces for null checks
fbfe5691cb Change completionTarget.forOffset to accept & wrap dangling AstNodes.
cb15b43c32 Add support for getting parse results synchronously
e0ddab3c4c Fix bots after preview-dart2 was switched on by default.
88099ffcc3 Stop importing front_end into analyzer_plugin.
115850ca1d Revert "Clean up the use of deprecated API in the analyzer_plugin package"
f95df2a26b [dartfmt] Bump dart:style to 1.0.11
c97d36c127 Add all concrete AST nodes for lints to subscribe.
1afe71c08a Enable preview-dart-2 as default for analyzer.
45e390003f [kernel] Report error for dangling node reference in metadata
c1c90358a2 Record a missing file offset
16be5d1e33 [VM] Fix missing update of off-heap class sizes
c8ad75d44a [VM] Make classes movable in sliding compactor
c59b390806 Update status
93511d523c Track RTI for noSuchMethod
f6db874416 fix some dartdevk behavior to match dartdevc in more cases
c0015fe23f [gardening] Skip tests that are meaningless in AOT configuration.
9f7a247c33 Remove dangling pubspec.lock from pkg/dev_compiler/test/
004ee9cd12 Fix how we use Comparable.compare, so we have a function with the appropriate type in JSArray.sort
30b53ceaab fix #30852, cyclic init errors in some cases in dartdevc
94f45c8876 Bring in the latest pub
328163bba9 [kernel] CloneVisitor should preserve isDefault on switch cases.
613c6d066c [vm][windows] Implement VirtualMemory::FreeSubSegment
7c6594c0bd fix #32302, friendlier `Type.toString()` in dartdevc
e7848a8cda [vm/kernel] Avoid dangling references to DartTypes from constant pool
d47203a71b Fix a crash in type inference
1030189d56 Add NodeLintRule and UnitLintRule that replace AstVisitor in lints.
9e9b50d19d Improve error messages for annotations involving undefined names (issue 27788)
d7ff30c3e1 Add a missing call to greatestClosure
c844011647 Don't skip pkg/kernel/test/metadata_test
```

* Update license hash. No changes to the licenses.
2018-04-27 12:56:09 -07:00
skia-flutter-autoroll
1f85337cda Roll src/third_party/skia/ 82a334251..cbdf5d5bf (4 commits) (flutter/engine#5111)
Auto-roller completed checks. Merging.
2018-04-27 12:50:21 -04:00
skia-flutter-autoroll
5c4fc8129b Roll src/third_party/skia/ a886544a7..82a334251 (1 commit) (flutter/engine#5110)
Auto-roller completed checks. Merging.
2018-04-27 09:22:21 -04:00
skia-flutter-autoroll
cdbb4c475e Roll src/third_party/skia/ 414be9b33..a886544a7 (1 commit) (flutter/engine#5109)
Auto-roller completed checks. Merging.
2018-04-27 03:10:21 -04:00
skia-flutter-autoroll
5ff7f8bdc0 Roll src/third_party/skia/ a070ed7fc..414be9b33 (4 commits; 1 trivial rolls) (flutter/engine#5108)
Auto-roller completed checks. Merging.
2018-04-26 22:03:21 -04:00
Jason Simmons
cb86a973a7 Create message response external typed data objects as Uint8Lists (flutter/engine#5101)
PlatformMessageResponseDart will wrap large responses in Dart external typed
data objects in order to avoid copying the data into a new buffer.

Previously these objects were created with the Dart_TypedData_kByteData type.
A weak persistent handle is then associated with the ByteData to provide a
finalizer that deletes the raw buffer.  However, the Dart VM could call
finalizer on the ByteData even if references still existed to the Dart ByteBuffer
object backing the ByteData.  The ByteBuffer would then be referencing a deleted
raw buffer.

This PR prevents that scenario by creating a Dart_TypedData_kUint8 object,
attaching the finalizer to that object, and then wrapping it in a ByteData.
2018-04-26 17:49:51 -07:00
skia-flutter-autoroll
421b5577f6 Roll src/third_party/skia/ 47ed6f10e..a070ed7fc (21 commits; 1 trivial rolls) (flutter/engine#5106)
Auto-roller completed checks. Merging.
2018-04-26 18:34:21 -04:00
Jonah Williams
08d8e86ff1 Add tooltip method to Android AccessibilityBridge (flutter/engine#5103) 2018-04-26 15:03:47 -07:00
skia-flutter-autoroll
c2ed40a942 Roll src/third_party/skia/ c79e2d155..47ed6f10e (10 commits; 1 trivial rolls) (flutter/engine#5100)
Auto-roller completed checks. Merging.
2018-04-26 15:05:21 -04:00
Jason Simmons
dd83413e52 libtxt: post-process glyph positions in order to accurately right-justify text (flutter/engine#5093)
Previously libtxt was applying right justification during line layout based on
the line width returned by the Minikin line breaker.  However, this width does
not include the width of leading or trailing whitespace.

So in a right justified line the starting offset of the first glyph would not
account for the advance of the leading whitespace, resulting in text being
clipped.

This PR applies line justification after the glyphs are laid out and the full
advance of the text is known.

Fixes https://github.com/flutter/flutter/issues/16333
2018-04-26 09:42:38 -07:00
Alexander Aprelev
7bbee90efb Set file modified callback. (flutter/engine#5096)
This fixes dart1 hot reload regression caused by 82c5c8fed.
2018-04-26 08:43:28 -07:00
skia-flutter-autoroll
a7dfc1e16c Roll src/third_party/skia/ 5c9369eb1..c79e2d155 (7 commits) (flutter/engine#5099)
Auto-roller completed checks. Merging.
2018-04-26 11:34:21 -04:00
skia-flutter-autoroll
8b1b4f36cf Roll src/third_party/skia/ 643ab1bf5..5c9369eb1 (1 commit; 1 trivial rolls) (flutter/engine#5098)
Auto-roller completed checks. Merging.
2018-04-26 08:05:21 -04:00