Jason Simmons
e2c4b27600
Use Dart 2 camel case constants in the engine Dart libraries ( #4766 )
2018-03-09 13:11:21 -08:00
Adam Barth
14c940e277
Switch from fxl::Mutex to std::mutex ( #4764 )
...
We're going to remove fxl::Mutex soon.
2018-03-09 11:19:23 -08:00
Jason Simmons
6961f993c7
libtxt: use a fixed set of font manager roles instead of a list of font managers ( #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
7f7634fa17
Add SemanticsFlag for Header ( #4752 )
2018-03-06 15:43:13 -08:00
Sarah Zakarias
a00f8e8bc0
Read assets out of APK on Android ( #4742 )
2018-03-05 14:09:45 +01:00
Régis Crelier
485e7eef8f
List missing core lib bigint_patch.dart source for new Bigint implementation ( #4735 )
...
* work in progress
* work in progress
2018-03-01 14:57:21 -08:00
Alexander Markov
f7c5fea6fb
Move generated entry points JSON out of flutter_patched_sdk, add an option to pass entry points to frontend_server ( #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
6607231638
Prepare to enable global type flow analysis in AOT ( #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
3b4d0378f3
Fix SemanticsUpdate.dispose() native ( #4708 )
2018-02-26 08:32:40 -08:00
reed-at-google
85a7d603c8
remote tilemode count check, so Skia can add another one ( #4692 )
2018-02-20 14:05:08 -05:00
Vyacheslav Egorov
03a598358f
Make Paragraph methods really return List<int> if they are declared as such. ( #4676 )
...
Changed methods _getPositionForOffset and getWordBoundary to use
Dart_NewListOf(Dart_CoreType_Int, ...).
2018-02-14 19:07:05 +01:00
Jason Simmons
99319a3917
Roll Topaz/Tonic and call Dart_NewListOfType for TextBox lists ( #4667 )
...
Fixes https://github.com/flutter/flutter/issues/14555
2018-02-13 15:02:57 -08:00
Michael Goderbauer
36a9c343b7
Add nextId to traversal order ( #4666 )
2018-02-13 14:27:23 -08:00
Jason Simmons
50f375c359
libtxt: disable font fallback when test font mode is enabled ( #4661 )
2018-02-13 09:37:48 -08:00
Ryan Macnak
e5a597fb7e
[fuchsia] Decouple common packages from the core snapshot. ( #4660 )
2018-02-12 14:55:11 -08:00
Greg Spencer
f5a4a93787
Swap setTraversalBefore to setTraversalAfter, since setTraversalBefore is broken. ( #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
a00f94582b
Add accessibilityFocus and loseAccessibilityFocus as a11y actions ( #4655 )
2018-02-09 17:47:52 -08:00
Michael Goderbauer
8ac6f6efa1
Encode scrolling status into tree ( #4647 )
2018-02-09 15:39:58 -08:00
Alexander Markov
04933f61e9
Make native wrapper classes non-abstract ( #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
58e6c23ece
Modernize GrContext creation ( #4640 )
2018-02-06 13:45:31 -08:00
Zachary Anderson
76d4928b05
Reland: [fuchsia] Enable running from source packages ( #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
638af1532a
Some cleanups for building platform.dill. ( #4635 )
2018-02-05 15:33:55 -08:00
Yegor
6dd49f0695
iOS a11y text entry (~70% of it) ( #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
9bc2efdf47
Roll dart, remove patched_sdk from flutter now that frontend handles patching ( #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
151bb37435
Revert "[fuchsia] Enable running from source packages ( #4629 )" ( #4632 )
...
This reverts commit 8f638591e97b350962001f5af38d2464421ec3dc.
2018-02-02 22:38:49 -08:00
Zachary Anderson
8f638591e9
[fuchsia] Enable running from source packages ( #4629 )
2018-02-02 15:43:21 -08:00
Greg Spencer
96acd1a383
Adding semantics traversal order support ( #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
a1e4f2f991
Add semantic actions for copy, cut, and paste ( #4592 )
2018-01-26 12:11:38 -08:00
Michael Goderbauer
7c34dfafc9
Adds a11y action for selecting text (and moving cursor) ( #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
4c82c566ed
a11y: Announce changes to cursor position on Android ( #4587 )
2018-01-24 16:54:14 -08:00
Michael Goderbauer
e4cabae56f
Add a11y support for selected text ( #4584 )
2018-01-24 15:08:29 -08:00
Jason Simmons
f458d99e16
Wrapper for matrix image filters ( #4567 )
...
Fixes https://github.com/flutter/flutter/issues/14082
2018-01-19 10:01:57 -08:00
Ian Hickson
f7b7506d05
Explain Window metrics better. ( #4555 )
2018-01-18 20:22:06 -08:00
Ian Hickson
f3f005c457
Analysis cleanup of the Dart in the Engine repo ( #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
6fee2654f1
Make Canvas cullRect optional and make Rect.largest a static field. ( #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
e7e94c6307
Properly identify CheckBox and RadioButton on Android ( #4547 )
2018-01-12 15:27:55 -08:00
Brian Osman
e6c117d0fb
When blurring, clamp to image's edge pixels, not to black ( #4546 )
2018-01-12 16:27:17 -05:00
Ian Hickson
26c3ab08d9
Convert MaskFilter to pure-Dart. ( #4534 )
2018-01-11 23:25:18 -08:00
amirh
05fe72d068
Revive always using SkPath for physical models ( #4537 )
2018-01-11 15:11:00 -08:00
Ian Hickson
9536b80781
Offset.direction ( #4530 )
...
Since we've got a vector class, and it has a getter for the magnitude,
why not also a getter for the angle.
2018-01-09 22:17:57 -08:00
Michael Goderbauer
16e365e722
Rename SemanticsFlags to SemanticsFlag ( #4526 )
...
To align with `SemanticsAction`.
2018-01-09 09:25:52 -08:00
amirh
b7d99da3e2
Revert "Delete the SkPath/SkRRect code duplication in for physical model layers. ( #4519 )" ( #4527 )
...
This reverts commit d8740c70a58ada74aff5b773e2bec9d622c42a97.
2018-01-08 19:25:56 -08:00
amirh
d8740c70a5
Delete the SkPath/SkRRect code duplication in for physical model layers. ( #4519 )
2018-01-08 16:13:15 -08:00
Jason Simmons
bbefdf1980
Add a Rect.largest constructor equivalent to SkRect::MakeLargest ( #4520 )
2018-01-05 13:37:23 -08:00
Michael Goderbauer
12e0e38a8b
Split SemanticsFlags.isDisabled into two ( #4517 )
2018-01-04 15:15:54 -08:00
Siva
0f0b144b03
Add support for --strong option in the engine, create a strong mode version of the platform file ( #4504 )
...
* Add a --strong option to the front end server so we can use strong mode with preview-dart-2.
* Plumb the --strong option through the dart controller into the VM.
* - Build a strong version of platform.dill for use with the engine.
- Fix a strong mode static error in the assert statement
* Enable asserts when running debug version even in strong mode.
* Use the correct platform dill file for linking when doing the aot builds.
* Fix formatting issue.
2018-01-03 16:52:24 -08:00
Ian Hickson
fb0cfcd33c
Further improve painting.dart documentation. ( #4505 )
2018-01-03 16:34:09 -08:00
Michael Goderbauer
26010cf483
Add SemanticsFlag.isDisabled ( #4503 )
2018-01-02 15:57:52 -08:00
amirh
0b158a6bc4
Engine support for arbitrary shape physical layers ( #4488 )
...
* Adjust PhysicalModelLayer to use an abstract shape, and provide concrete RRect and Path shape implementations
* add a pushPhysicalShape to scene_builder and compositing.dart
2017-12-21 15:57:10 -08:00
Ian Hickson
e7a2947700
Specify what image formats are supported in the API docs. ( #4483 )
2017-12-21 15:07:17 -08:00