9740 Commits

Author SHA1 Message Date
skia-flutter-autoroll
5f1efe64ff
Roll src/third_party/skia/ cb3124813..275df2e87 (3 commits; 1 trivial rolls) (#5123)
Auto-roller completed checks. Merging.
2018-04-27 20:18:22 -04:00
Chinmay Garde
8a5c92b22f
Label threads before engine launch so early lifecycle crashes and logs have thread labels on them. (#5121) 2018-04-27 16:26:16 -07:00
Chinmay Garde
4d106f8520
In case of empty Dart data responses, don’t call the buffer method on null. (#5114)
Fixes regression introduced in https://github.com/flutter/engine/pull/5101.
2018-04-27 15:22:16 -07:00
skia-flutter-autoroll
a386519882
Roll src/third_party/skia/ cbdf5d5bf..cb3124813 (6 commits; 1 trivial rolls) (#5118)
Auto-roller completed checks. Merging.
2018-04-27 16:49:21 -04:00
Yegor
cf026b098d
Revert "Hold a global reference to the AssetManager Java object backing the APKAssetProvider (#5078)" (#5116)
This reverts commit ac682632d7b050463e0461cbb416aaedbcba4bcf.

It causes engine crashes in some Android Espresso tests.
2018-04-27 13:47:26 -07:00
Alexander Aprelev
b28a35dde3
Roll dart to cd0c4e4fe1e5b69ac15c0a670f9dde2ee9733fc7. (#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
69b22553ee
Roll src/third_party/skia/ 82a334251..cbdf5d5bf (4 commits) (#5111)
Auto-roller completed checks. Merging.
2018-04-27 12:50:21 -04:00
skia-flutter-autoroll
f0c967e684
Roll src/third_party/skia/ a886544a7..82a334251 (1 commit) (#5110)
Auto-roller completed checks. Merging.
2018-04-27 09:22:21 -04:00
skia-flutter-autoroll
017b32c97e
Roll src/third_party/skia/ 414be9b33..a886544a7 (1 commit) (#5109)
Auto-roller completed checks. Merging.
2018-04-27 03:10:21 -04:00
skia-flutter-autoroll
31992cdba2
Roll src/third_party/skia/ a070ed7fc..414be9b33 (4 commits; 1 trivial rolls) (#5108)
Auto-roller completed checks. Merging.
2018-04-26 22:03:21 -04:00
Chinmay Garde
5b5d920746
Use interface handles for transferring ownership of channels across threads. (#5107)
* Scenic is used on the GPU thread and is owned by the session connection held by the rasterizer.
* The view container is used to initialize the mozart bindings on the UI thread.
* Accessibility bridge is used on the platform thread.
2018-04-26 18:40:53 -07:00
Jason Simmons
b6be9377c5
Create message response external typed data objects as Uint8Lists (#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
bd3f2f7953
Roll src/third_party/skia/ 47ed6f10e..a070ed7fc (21 commits; 1 trivial rolls) (#5106)
Auto-roller completed checks. Merging.
2018-04-26 18:34:21 -04:00
Chinmay Garde
a9a53d404b
Use the non-thread-hostile FontProviderSyncPtr for font resolution. (#5105) 2018-04-26 15:31:43 -07:00
Jonah Williams
e11905c6e5
Add tooltip method to Android AccessibilityBridge (#5103) 2018-04-26 15:03:47 -07:00
Chinmay Garde
2ee36e2700
Always enable verbose logging on fuchsia. (#5104) 2018-04-26 14:40:04 -07:00
Chinmay Garde
131349f839
Update flutter runner process name to reflect last running shell. (#5102) 2018-04-26 13:41:03 -07:00
skia-flutter-autoroll
ad9826cbbb
Roll src/third_party/skia/ c79e2d155..47ed6f10e (10 commits; 1 trivial rolls) (#5100)
Auto-roller completed checks. Merging.
2018-04-26 15:05:21 -04:00
Jason Simmons
7617d2889b
libtxt: post-process glyph positions in order to accurately right-justify text (#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
895c965ce0
Set file modified callback. (#5096)
This fixes dart1 hot reload regression caused by 58e84c8bf.
2018-04-26 08:43:28 -07:00
skia-flutter-autoroll
956f3eeca5
Roll src/third_party/skia/ 5c9369eb1..c79e2d155 (7 commits) (#5099)
Auto-roller completed checks. Merging.
2018-04-26 11:34:21 -04:00
skia-flutter-autoroll
6e5112214c
Roll src/third_party/skia/ 643ab1bf5..5c9369eb1 (1 commit; 1 trivial rolls) (#5098)
Auto-roller completed checks. Merging.
2018-04-26 08:05:21 -04:00
skia-flutter-autoroll
a9180ca20e
Roll src/third_party/skia/ 6b043cb9c..643ab1bf5 (3 commits; 3 trivial rolls) (#5097)
Auto-roller completed checks. Merging.
2018-04-26 04:35:21 -04:00
skia-flutter-autoroll
82d461049c
Roll src/third_party/skia/ 1366282bc..6b043cb9c (2 commits) (#5095)
Auto-roller completed checks. Merging.
2018-04-26 01:05:21 -04:00
skia-flutter-autoroll
fb4926e65e
Roll src/third_party/skia/ 580aee2fa..1366282bc (2 commits) (#5094)
Auto-roller completed checks. Merging.
2018-04-25 21:36:21 -04:00
Dan Field
c249b7026f Path metrics/getBounds/combinations again (#4957)
* add path measure

* fix typo

* getBound and addPathWithMatrix

* Add myself to Authors, add PathOps

* fix linting issues

* update licenses_flutter to add new files

* Use matrix4 instead of matrix3 for consistency/interop

* put pubspec back

* fix bug in getSegment

* fix typo

* Add return value for PathOp

* refactoring from review

* refactoring from review - still TBD on computeMetrics()

* add doc

* lint issue

* fix computeMetrics, add Path.from

* add missing wireup for clone

* change PathMetrics to iterable, fix bug with angle on Tangent

* prefer std::make_unique

* cleanup docs

* add path measure

* fix typo

* getBound and addPathWithMatrix

* Add myself to Authors, add PathOps

* fix linting issues

* update licenses_flutter to add new files

* Use matrix4 instead of matrix3 for consistency/interop

* put pubspec back

* fix bug in getSegment

* fix typo

* Add return value for PathOp

* refactoring from review

* refactoring from review - still TBD on computeMetrics()

* add doc

* lint issue

* fix computeMetrics, add Path.from

* add missing wireup for clone

* change PathMetrics to iterable, fix bug with angle on Tangent

* prefer std::make_unique

* cleanup docs

* fix iterator bug

* remove unnecessary clone for computeMetrics

* fix some doc issues

* fix PathMeasure iterator, extendWithPath, isClosed, and pubspec.lock

* get rid of orElse; use StateException

* StateError, not StateException

* doc improvements and nits

* add unit tests, fix bugs found during testing

* fix two uncommited doc changes

* one more

* change sign of tangent angle, update docs

* update unit tests for inverted angle

* update tangent to include vector

* Doc fixes

* Fix MSVC compilation and unit test
2018-04-25 15:35:01 -07:00
skia-flutter-autoroll
df255b828c
Roll src/third_party/skia/ de5cffbc4..580aee2fa (16 commits) (#5092)
Auto-roller completed checks. Merging.
2018-04-25 18:06:21 -04:00
Ben Konyi
e44e1b49f3
Initial plugin support for background downloads + content fetching (#5082)
* Added handleEventsForBackgroundURLSession and
performFetchWithCompletionHandler handlers in FlutterAppDelegate to
allow for plugins to perform background downloads and fetch small
amounts of data opportunistically.
2018-04-25 13:35:01 -07:00
Ryan Macnak
78f8a0f45a
[fuchsia] Changes for running Dart 2 on flutter_runner. (#5080)
- Remove assumption that we're in Dart 2 mode only if there's a platform kernel.
 - Load core snapshots from the package instead of linking them in.
2018-04-25 13:31:13 -07:00
skia-flutter-autoroll
cbec56a3de
Roll src/third_party/skia/ 77e95f706..de5cffbc4 (14 commits) (#5090)
Auto-roller completed checks. Merging.
2018-04-25 14:37:21 -04:00
Jason Simmons
8da9398ed3
Throw an exception if a secondary isolate tries to send a platform message (#5069)
Platform messages are only support in the UI isolate.  Secondary isolates
do not have a window that can receive incoming messages, and outgoing messages
are not tagged with a destination isolate and thus will always be dispatched
to the UI isolate.

Fixes https://github.com/flutter/flutter/issues/16846
2018-04-25 10:29:20 -07:00
Michael Goderbauer
cb2092b3fd
Roll Dart to 8d4074175fb95cd4da810b4bf652a956449bac37 (#5089) 2018-04-25 10:03:19 -07:00
skia-flutter-autoroll
cc72fc1c30
Roll src/third_party/skia/ ec4e7358b..77e95f706 (1 commit) (#5088)
Auto-roller completed checks. Merging.
2018-04-25 11:03:43 -04:00
skia-flutter-autoroll
ee2532f2d2
Roll src/third_party/skia/ e1c37a7b8..ec4e7358b (1 commit) (#5087)
Auto-roller completed checks. Merging.
2018-04-25 10:18:17 -04:00
skia-flutter-autoroll
dd34fd1787
Roll src/third_party/skia/ 058f2e6ed..e1c37a7b8 (4 commits) (#5086)
Auto-roller completed checks. Merging.
2018-04-25 08:18:06 -04:00
Michael Goderbauer
b08b15290e
Revert "Roll dart to 29d6e963702fcbb0ed0d5ca67d6b5f977ac0c328 (#5083)" (#5085)
This reverts commit 9859af123eb383ade52208a9db58ac39db84bfc2.
2018-04-24 18:49:40 -07:00
Michael Goderbauer
9859af123e
Roll dart to 29d6e963702fcbb0ed0d5ca67d6b5f977ac0c328 (#5083)
Picks up a fix for math on 32bit ARM devices running iOS, required for https://github.com/flutter/flutter/issues/2089.
2018-04-24 18:06:53 -07:00
Chinmay Garde
6a93ef1c70
Call SkGraphics::Init earlier on Fuchsia. (#5079) 2018-04-24 16:02:54 -07:00
Chinmay Garde
f1234eb077
Add disabled failing test for floating point errors on matrix decomposition. (#5076) 2018-04-24 16:02:38 -07:00
Jason Simmons
ac682632d7
Hold a global reference to the AssetManager Java object backing the APKAssetProvider (#5078)
Fixes https://github.com/flutter/flutter/issues/16222
2018-04-24 15:50:52 -07:00
skia-flutter-autoroll
0e95bb2c4a
Roll src/third_party/skia/ 2d2c1e32c..058f2e6ed (35 commits; 1 trivial rolls) (#5077)
Auto-roller completed checks. Merging.
2018-04-24 18:02:07 -04:00
skia-flutter-autoroll
3e20562a1d
Roll src/third_party/skia/ 5209d7fce..2d2c1e32c (42 commits; 1 trivial rolls) (#5070)
Auto-roller completed checks. Merging.
2018-04-24 14:35:06 -04:00
Ryan Macnak
a20fd83039
[fuchsia] Remove dead package file generation from core snapshots. (#5071) 2018-04-24 09:33:52 -07:00
Chinmay Garde
79b9ffb14b
Fixup Fuchsia content handler post shell refactor. (#5072) 2018-04-23 20:16:01 -07:00
Yegor
ec611470b5
replace nextNodeId/previousNodeId with hitTestPosition (#5066) 2018-04-23 16:16:17 -07:00
Jason Simmons
2970c099f7
Use the default microtask scheduler on all isolates except the UI isolate (#5068)
See https://github.com/flutter/flutter/issues/16846
2018-04-23 15:02:19 -07:00
Yegor
96af3b29e7
ios: remove geometric order; it will be supplied by framework (#4937) 2018-04-23 13:17:25 -07:00
Chinmay Garde
3b84a47024
Apply unaddressed comments in pull/5062 (#5065) 2018-04-23 12:16:15 -07:00
skia-flutter-autoroll
29816a6607 Roll src/third_party/skia/ 3d0e8507f..5209d7fce (14 commits) (#5061)
https://skia.googlesource.com/skia.git/+log/3d0e8507face..5209d7fce35f

$ git log 3d0e8507f..5209d7fce --date=short --no-merges --format='%ad %ae %s'
2018-04-20 bsalomon Fix starting location in GrRTC::drawOval when converting to GrShape
2018-04-20 bsalomon Analytic dashing of circles with single on/off intervals and butt caps.
2018-04-20 brianosman Fix argument names and documentation for SkMatrix44::set3x3()
2018-04-18 enne Reland "Add stub gpu workaround generators"
2018-04-20 robertphillips Add ability to dump opList info at flush-time
2018-04-20 benjaminwagner Fix Housekeeper-PerCommit-InfraTests
2018-04-20 scroggo Reduce threads used for DNG decodes on Android
2018-04-19 benjaminwagner Add SwiftShader Build jobs.
2018-04-19 benjaminwagner Add cmake_linux asset.
2018-04-20 egdaniel Add discard check when deciding if we should execute op list or not.
2018-04-20 robertphillips Remove another writePixels instance
2018-04-18 csmartdalton ccpr: Don't solve for cubic roots that are out of range
2018-04-19 benjaminwagner Add SwiftShader to DEPS.
2018-04-19 csmartdalton ccpr: Fix flatness and triangle-ness detection for conics

Created with:
  roll-dep src/third_party/skia
2018-04-23 10:26:06 -04:00
Chinmay Garde
4691a0b23e
Import intrusively ref counted shared pointers into FML. (#5062) 2018-04-21 20:50:03 -07:00