740 Commits

Author SHA1 Message Date
Jonah Williams
7e1e840999
[framework] revert removal of opacity (#111202) 2022-09-08 18:33:23 +00:00
Jason Simmons
f57fcac717
Clear the static _debugDoingBaseline flag if baseline calculation throws (#110387) 2022-08-30 19:49:17 +00:00
Greg Spencer
ee8488e871
Remove warnings when UnconstrainedBox and ConstraintsTransformBox are clipped (#110393) 2022-08-29 17:21:04 +00:00
Kate Lovett
7e12b37111
Deprecate 2018 text theme parameters (#109817) 2022-08-22 20:00:34 +00:00
Jonah Williams
44d3181deb
[framework] remove restriction on texture layer rasterization (#109900) 2022-08-20 03:06:23 +00:00
fzyzcjy
0e85609cf8
Fix that RenderEditable (TextField) ignores offset in painting, making text selections shifted when offset is nonzero (#109287)
Small fix in text layout math, unlikely to affect most normal usages.
2022-08-16 09:39:06 -07:00
Michael Goderbauer
ed0c8d77f8
Remove some outdated ignores from framework (#108915) 2022-08-03 22:42:06 +00:00
Michael Goderbauer
c7498f607b
Improve dumpSemanticsTree error when semantics are unavailable (#108574) 2022-07-29 22:37:06 +00:00
Dan Field
0cc7db54ce
Guard against usage after async callbacks in RenderAndroidView, unregister listener (#108496) 2022-07-28 18:36:04 +00:00
Tomasz Gucio
16c25caa44
Add RenderRepaintBoundary.toImageSync() method (#108280) 2022-07-27 05:17:04 +00:00
Jonah Williams
9ae37030ae
Use toPictureSync for faster zoom page transition (#106621) 2022-07-22 15:58:04 +00:00
Alexandre Ardhuin
ccd33631e3
enable combinators_ordering (#107847) 2022-07-18 22:04:07 +00:00
Christopher Fujino
b26346f2cc
fix null safe check in RenderIndexedStack (#107581) 2022-07-13 22:36:05 +00:00
Kohei Seino
41405ff0f3
Add RelativeRect.fromDirectional factory (#107059)
Add `fromDirectional` factory to `RelativeRect` for when an app needs to consider both TextDirection.ltr and TextDirection.rtl.

```
RelativeRect.fromDirectional(
    textDirection: textDirection,
    start: 10.0,
    top: 20.0,
    end: 30.0,
    bottom: 40.0,
);
```

Addresses https://github.com/flutter/flutter/issues/107058.
2022-07-07 10:18:06 -07:00
Jonah Williams
d36ecec5b9
[framework] partial removal of forced compositing from opacity (#106989) 2022-07-02 16:49:06 +00:00
LongCatIsLooong
09a5382ff9
Add error messages to _debugCanPerformMutations (#105638) 2022-07-02 00:55:04 +00:00
Xilai Zhang
a7fe235c8c
Revert "Reland "Clipping if only one character text overflows (#99146)" (#102130)" (#106964)
This reverts commit 3f43d9f3d4105d4190c839e087c42d79ebe092e8.
2022-07-01 12:46:21 -07:00
xubaolin
3f43d9f3d4
Reland "Clipping if only one character text overflows (#99146)" (#102130)
Fixes a text clipping edge case.
2022-06-29 14:57:16 -07:00
Alexandre Ardhuin
526ca0d498
Export public API types from foundation/scheduler/gestures/semantics (#106409) 2022-06-24 21:21:05 +00:00
Jonah Williams
c12b0de004
remove opacity layer at fully opaque (#106351) 2022-06-21 11:05:24 -07:00
Bruno Leroux
58007fc64c
Fix debugPaintSize throws 'Null Check error' (#106108) 2022-06-17 06:16:06 +00:00
Alexandre Ardhuin
56c4e3cdd8
add some exports of public API in foundation/serialization.dart (#104231) 2022-06-08 13:33:12 -07:00
Zachary Anderson
ac7e29a40f
Revert "remove forced compositing from opacity" (#105489) 2022-06-07 00:43:05 -07:00
Jonah Williams
febc6a14f5
remove forced compositing from opacity (#105334) 2022-06-06 12:13:07 -07:00
Pierre-Louis
e71eb183d8
Use curly_braces_in_flow_control_structures for rendering (#104611)
* Use `curly_braces_in_flow_control_structures` for `rendering`

* fix comments

* fix dangling
2022-05-25 19:57:57 +02:00
Michael Goderbauer
d5fbc3750e
Remove unused code from tests (#104550) 2022-05-25 09:38:09 -07:00
chunhtai
efb9368573
Supports global selection for all devices (#95226)
* Support global selection

* addressing comments

* add new test

* Addressing review comments

* update

* addressing comments

* addressing comments

* Addressing comments

* fix build
2022-05-24 13:53:55 -07:00
gaaclarke
914556ea64
Started sharing SemanticsProperties between the Widget and the RenderObject (#104281) 2022-05-23 16:18:08 -07:00
Dan Field
1c852cedaa
Do not assert callbacks contains key if disposed (#104292) 2022-05-20 14:51:14 -07:00
Casey Hillers
da105b2b24
Revert "[framework] inline AbstractNode into RenderObject" (#104257) 2022-05-20 11:43:11 -07:00
Jonah Williams
24bd28f696
[framework] inline AbstractNode into RenderObject (#103832) 2022-05-19 14:28:09 -07:00
Dan Field
d50b5a0749
Stop recommending "shrinkWrap" (#104008) 2022-05-18 17:47:15 -07:00
Dan Field
1662a14bc8
More missing clipBehavior respects (#103931) 2022-05-17 11:32:11 -07:00
Dan Field
d54cdf9e18
Add a mechanism to observe layer tree composition. (#103378) 2022-05-17 11:22:11 -07:00
Dan Field
fe87538b76
Implement paintsChild on RenderObjects that skip painting on their children (#103768) 2022-05-16 11:29:07 -07:00
Dan Field
4f96419612
Make _RenderCustomClip respect clipBehavior (#103748) 2022-05-13 17:14:07 -07:00
Bruno Leroux
c18097178c
Fix empty Stack with infinite constraints throws (#102642) 2022-05-07 04:34:06 -07:00
xubaolin
b20e27e77e
Does not replace the root layer unnecessarily (#101748) 2022-05-05 18:44:10 -07:00
xubaolin
82afe3ea43
Clear the cached data of RenderBox if its parent re-layout (#101493) 2022-05-05 18:39:10 -07:00
Tong Mu
55881f7ae6
Reland "Fix crash from alt-tab'ing just after startup" (#103093) 2022-05-05 17:44:08 -07:00
Darren Austin
3c9f417326
Revert "Fix crash from alt-tab'ing just after startup (#102453)" (#103074)
This reverts commit 74e9a6d9cd8a26287b14b88790a104ea41f9de65.
2022-05-04 12:13:02 -07:00
Jeremy Schlatter
74e9a6d9cd
Fix crash from alt-tab'ing just after startup (#102453) 2022-05-04 11:14:12 -07:00
Phil Quitslund
bca071815f
rename local functions with _s (#102615) 2022-04-27 09:14:57 -07:00
Jonah Williams
fba9214d11
[framework] remove usage and deprecate physical model layer (#102274) 2022-04-26 16:14:04 -07:00
Jonah Williams
0cb5772e73
[framework] allow other RenderObjects to behave like repaint boundaries (#101952) 2022-04-26 10:19:09 -07:00
Dan Field
34d84209cf
Avoid scheduling a forced frame when there is no child to the renderView (#102556) 2022-04-26 08:44:09 -07:00
Justin McCandless
8817521ad1
Revert "Clipping if only one character text overflows (#99146)" (#102092)
This reverts commit 08e467dde7a1c3906ce6f4231d9f1d1b36b64022 (Google test failures after merge).
2022-04-18 12:30:59 -07:00
ColdPaleLight
94d7f5e672
Refactor 'FakeSceneBuilder' to use 'NoSuchMethod Forwarding' (#101970) 2022-04-15 20:59:07 -07:00
xubaolin
08e467dde7
Clipping if only one character text overflows (#99146) 2022-04-14 10:24:13 -07:00
Michael Goderbauer
51bcdb9407
super parameters for framework (#100905) 2022-04-13 22:38:40 -07:00