360 Commits

Author SHA1 Message Date
Brian Osman
5c21933363 Make Rect.largest match the "largest" rect used in DefaultLayerBuilder (flutter/engine#4926) 2018-04-04 09:36:08 -04:00
Brian Osman
2e34fd3575 Remove use of legacy Skia API (flutter/engine#4917) 2018-04-02 13:59:49 -04:00
Luigi Rosso
92cf90b20a Allow setting transform on radial gradients. (flutter/engine#4916) 2018-03-31 20:01:40 -07:00
P.Y. Laligand
28bdac9c2a [fuchsia] Look for .packages under the proper directory. (flutter/engine#4909) 2018-03-30 21:08:47 -07:00
P.Y. Laligand
0774128838 [fuchsia] Use the dart_library template instead of the build system's implementation. (flutter/engine#4908) 2018-03-30 19:27:15 -07:00
Dan Field
151204edf5 Support Path.addCircle (flutter/engine#4783)
* add Path.addCircle

* docs formatting

* revert path.cc/path.h; remove addCircle and update docs on addOval

* add missing file.
2018-03-28 21:04:47 -07:00
Ian Hickson
f8f2558835 Document Window.defaultRouteName a little better. (flutter/engine#4851) 2018-03-22 15:55:59 -07:00
Ian Hickson
c8d191401f Slightly improve the docs for the internal _futurize method (flutter/engine#4847) 2018-03-22 10:52:50 -07:00
Michael Goderbauer
b716162f77 Rename isPassword to isObscured (flutter/engine#4815) 2018-03-19 15:52:16 -07:00
Jonah Williams
c407876859 Allow shadows to be colored when physical layer is drawn by engine (flutter/engine#4812)
* pass shadow_color from dart:ui to physical layer

* default shadow color to SK_ColorBLACK

* add doc comments to pushPhysicalShape
2018-03-19 14:16:17 -07:00
Michael Goderbauer
e93b5198e7 Support password fields on Android (flutter/engine#4781) 2018-03-19 10:25:09 -07:00
Jason Simmons
ce8547a315 Use Dart 2 camel case constants in the engine Dart libraries (flutter/engine#4766) 2018-03-09 13:11:21 -08:00
Adam Barth
9cacbff47a Switch from fxl::Mutex to std::mutex (flutter/engine#4764)
We're going to remove fxl::Mutex soon.
2018-03-09 11:19:23 -08:00
Jason Simmons
3e5ea529b5 libtxt: use a fixed set of font manager roles instead of a list of font managers (flutter/engine#4756)
Prior to this, the engine was adding font managers to the list every time the
app restarts (e.g. after a suspend-and-resume cycle), causing a leak.
2018-03-08 12:40:08 -08:00
Michael Goderbauer
ba8941f861 Add SemanticsFlag for Header (flutter/engine#4752) 2018-03-06 15:43:13 -08:00
Sarah Zakarias
9f5ad5fd1e Read assets out of APK on Android (flutter/engine#4742) 2018-03-05 14:09:45 +01:00
Régis Crelier
972406f074 List missing core lib bigint_patch.dart source for new Bigint implementation (flutter/engine#4735)
* work in progress

* work in progress
2018-03-01 14:57:21 -08:00
Alexander Markov
8bd1d0d50e Move generated entry points JSON out of flutter_patched_sdk, add an option to pass entry points to frontend_server (flutter/engine#4734)
Flutter downloads only one version of flutter_patched_sdk, which was obtained from host_debug build on Linux. Generated entry points JSON files are different in profile and release builds (as release build omits observatory), so these files should be downloaded independently of flutter_patched_sdk.

This PR moves generated entry points JSON files from flutter_patched_sdk to a separate directory (out/*/dart_entry_points) and adds an option to specify entry points to frontend_server (as Flutter tools will need to pass custom locations of entry points files outside of flutter_patched_sdk).
2018-03-01 14:02:35 -08:00
Alexander Markov
446118c542 Prepare to enable global type flow analysis in AOT (flutter/engine#4725)
* Generate Flutter-specific entry points JSON file while building engine.
* Add ''--tfa' option to front-end server.
* Rename _entryPoint field in front-end server to _mainSource to avoid disambiguation.
2018-02-28 15:31:52 -08:00
Zachary Anderson
f0c5780dbc Fix SemanticsUpdate.dispose() native (flutter/engine#4708) 2018-02-26 08:32:40 -08:00
reed-at-google
5d26fdffeb remote tilemode count check, so Skia can add another one (flutter/engine#4692) 2018-02-20 14:05:08 -05:00
Vyacheslav Egorov
553bb9da9d Make Paragraph methods really return List<int> if they are declared as such. (flutter/engine#4676)
Changed methods _getPositionForOffset and getWordBoundary to use
Dart_NewListOf(Dart_CoreType_Int, ...).
2018-02-14 19:07:05 +01:00
Jason Simmons
2c2cd2c9a5 Roll Topaz/Tonic and call Dart_NewListOfType for TextBox lists (flutter/engine#4667)
Fixes https://github.com/flutter/flutter/issues/14555
2018-02-13 15:02:57 -08:00
Michael Goderbauer
2adfbd3202 Add nextId to traversal order (flutter/engine#4666) 2018-02-13 14:27:23 -08:00
Jason Simmons
cee642fc13 libtxt: disable font fallback when test font mode is enabled (flutter/engine#4661) 2018-02-13 09:37:48 -08:00
Ryan Macnak
7b61378b7e [fuchsia] Decouple common packages from the core snapshot. (flutter/engine#4660) 2018-02-12 14:55:11 -08:00
Greg Spencer
8566625bfa Swap setTraversalBefore to setTraversalAfter, since setTraversalBefore is broken. (flutter/engine#4656)
It seems that setTraversalBefore doesn't work as well as setTraversalAfter for some reason, although I'm using them the same way. Some apps would lock up TalkBack when traversing if setTraversalBefore was set, but not with the equivalent setTraversalAfter.

It's not entirely clear why this is, but I'm going with this to at least get it fixed for apps we know about.

Addresses flutter/flutter#14600

See also flutter/flutter#14607
2018-02-12 10:02:25 -08:00
Michael Goderbauer
be8089ba88 Add accessibilityFocus and loseAccessibilityFocus as a11y actions (flutter/engine#4655) 2018-02-09 17:47:52 -08:00
Michael Goderbauer
27a581d213 Encode scrolling status into tree (flutter/engine#4647) 2018-02-09 15:39:58 -08:00
Alexander Markov
210eb79918 Make native wrapper classes non-abstract (flutter/engine#4607)
* Make native wrapper classes non-abstract as they are instantiated from native code
* Make constructors of native wrapper classes private
2018-02-09 12:17:36 -08:00
Brian Salomon
53b3c06c97 Modernize GrContext creation (flutter/engine#4640) 2018-02-06 13:45:31 -08:00
Zachary Anderson
cc7a67da96 Reland: [fuchsia] Enable running from source packages (flutter/engine#4634)
This relands https://github.com/flutter/engine/pull/4629 with a
tonic roll to fix the build.
2018-02-06 10:08:24 -08:00
Ryan Macnak
d7e1cd0ba2 Some cleanups for building platform.dill. (flutter/engine#4635) 2018-02-05 15:33:55 -08:00
Yegor
7df584d855 iOS a11y text entry (~70% of it) (flutter/engine#4575)
* implement iOS text field editing in a11y mode

* address Chinmay's comments

* replace node in child list when changing type
2018-02-05 15:14:13 -08:00
Alexander Aprelev
bf7f436e36 Roll dart, remove patched_sdk from flutter now that frontend handles patching (flutter/engine#4633)
* Fixes to make https://dart-review.googlesource.com/c/sdk/+/36641 work with Flutter

* Roll dart

* Update license

* Roll dart

* Update license

* Add libraries.json to dependencies
2018-02-05 13:44:16 -08:00
Zachary Anderson
f6af67a850 Revert "[fuchsia] Enable running from source packages (#4629)" (flutter/engine#4632)
This reverts commit a8da87e0af3fe3d46d34ee9f908069d98f3236d9.
2018-02-02 22:38:49 -08:00
Zachary Anderson
a8da87e0af [fuchsia] Enable running from source packages (flutter/engine#4629) 2018-02-02 15:43:21 -08:00
Greg Spencer
394c11e33f Adding semantics traversal order support (flutter/engine#4540)
This adds support for semantics traversal ordering.

It is a companion to flutter/flutter#14060, adding support for a sortIndex in the semantics data passed to the engine.

Addresses flutter/flutter#12187
2018-01-30 13:42:12 -08:00
Michael Goderbauer
0dec4daf0e Add semantic actions for copy, cut, and paste (flutter/engine#4592) 2018-01-26 12:11:38 -08:00
Michael Goderbauer
62750283ee Adds a11y action for selecting text (and moving cursor) (flutter/engine#4589)
See https://github.com/flutter/flutter/pull/14275 for framework side change.

Also includes some minor clean-ups for consistency. 

Required for https://github.com/flutter/flutter/issues/13469.
2018-01-25 15:00:29 -08:00
Michael Goderbauer
667959021d a11y: Announce changes to cursor position on Android (flutter/engine#4587) 2018-01-24 16:54:14 -08:00
Michael Goderbauer
0acff27cfc Add a11y support for selected text (flutter/engine#4584) 2018-01-24 15:08:29 -08:00
Jason Simmons
e07978ee0a Wrapper for matrix image filters (flutter/engine#4567)
Fixes https://github.com/flutter/flutter/issues/14082
2018-01-19 10:01:57 -08:00
Ian Hickson
043ce9d55e Explain Window metrics better. (flutter/engine#4555) 2018-01-18 20:22:06 -08:00
Ian Hickson
28564ac5f9 Analysis cleanup of the Dart in the Engine repo (flutter/engine#4554)
* Analysis cleanup of the Dart in the Engine repo

* Update painting.dart

* Update painting.dart
2018-01-17 09:48:56 -08:00
Ian Hickson
08f3598be8 Make Canvas cullRect optional and make Rect.largest a static field. (flutter/engine#4551)
Fixes https://github.com/flutter/flutter/issues/7201.

The change from `new Rect.largest()` to `Rect.largest` saves a few
allocations since we'll be using these with every Canvas.
2018-01-16 10:08:08 -08:00
Michael Goderbauer
2c53613b1f Properly identify CheckBox and RadioButton on Android (flutter/engine#4547) 2018-01-12 15:27:55 -08:00
Brian Osman
9cadf74d34 When blurring, clamp to image's edge pixels, not to black (flutter/engine#4546) 2018-01-12 16:27:17 -05:00
Ian Hickson
73634e73bc Convert MaskFilter to pure-Dart. (flutter/engine#4534) 2018-01-11 23:25:18 -08:00
amirh
af26adb128 Revive always using SkPath for physical models (flutter/engine#4537) 2018-01-11 15:11:00 -08:00