Commit graph

22070 commits

Author SHA1 Message Date
Gary Qian 19b76ade6f
Revert "Roll Engine from 2e5833b7c572 to 9cb4d2dd243d (32 revisions) (#73594)" (#73609)
This reverts commit 4606a69b0f.
2021-01-08 14:37:07 -08:00
engine-flutter-autoroll 4606a69b0f
Roll Engine from 2e5833b7c572 to 9cb4d2dd243d (32 revisions) (#73594) 2021-01-08 13:44:20 -08:00
engine-flutter-autoroll 892f8c7db0
b3bc1f2e2 [battery] Migrate battery_plugin_interface to null safety (flutter/plugins#3366) (#73588) 2021-01-08 12:59:07 -08:00
Michael Goderbauer 24d434d156
Revert "Revert "Fix _LateInitializationError for RenderObjectElement.renderObject (#70974)" (#73575)" (#73580) 2021-01-08 12:49:04 -08:00
Jenn Magder 5b503c7c93
Revert "Mark firebase tests as flaky (#73586)" (#73591)
This reverts commit f364bcb5bd.
2021-01-08 12:20:21 -08:00
Yegor 1f8501f0a4
web benchmark choose renderer explicitly (#73582) 2021-01-08 12:04:03 -08:00
Jonah Williams 25dd8684b1
[flutter_tools] add 483 to non-recoverable errors (#73579) 2021-01-08 11:56:13 -08:00
Jonah Williams df98145548
[flutter_tools] add API for passing arbitrary flags to tester binary (#73576) 2021-01-08 11:46:15 -08:00
engine-flutter-autoroll e54533a33b
Roll Plugins from 1b7afc52353c to d01c84cb64d1 (3 revisions) (#73573) 2021-01-08 11:24:03 -08:00
Alabhya 12f426f317
[Api docs]Added dartpad demo for Bottom App Bar (#73044) 2021-01-08 11:20:35 -08:00
Jenn Magder f364bcb5bd
Mark firebase tests as flaky (#73586) 2021-01-08 11:19:10 -08:00
Michael Goderbauer edfb6305d8
Revert "Fix _LateInitializationError for RenderObjectElement.renderObject (#70974)" (#73575)
This reverts commit c243d834ce.
2021-01-08 10:24:10 -08:00
Michael Goderbauer c243d834ce
Fix _LateInitializationError for RenderObjectElement.renderObject (#70974) 2021-01-08 09:35:10 -08:00
jensjoha 5bc725bea8
[dev] Don't use await for on stdout and stdin; pass local engine argument (#72136)
* [dev] Don't use await for on stdout and stdin; pass local engine argument

1) Don't use await for on stdout followd by await for on stderr.
   This can cause nothing to happen. E.g. if one didn't do something
   like `flutter pub upgrade` dev/automated_tests and the version in the
   old one was pre-nnbd (but flutter itself use lots of nnbd stuff) lots
   of errors would be emitted, but because we basically only listen to
   stdout nothing will happen (deadlock once stderr buffer runs out).
   Note that it still awaits the exit-code below.
2) Pass --local-engine (if given) so there won't be any crashes because
   of that.
2021-01-08 08:12:36 +01:00
Pierre-Louis 1bd89a9617
Revert "Add material icons golden test (#73361)" (#73521)
This reverts commit d3a2db22e7.
2021-01-07 18:58:12 -08:00
Jenn Magder 1fdf60a2ed
Revert "[web] Switch flutter tool web-renderer default for web to auto (#73502)" (#73529)
This reverts commit d4c77f31ef.
2021-01-07 18:08:03 -08:00
Shi-Hao Hong f6a499135b
[State Restoration] Scaffold.drawer and Scaffold.endDrawer (#72788) 2021-01-07 16:29:03 -08:00
Michael Goderbauer 5d1306e7ab
Update outdated links (#73514) 2021-01-07 16:28:12 -08:00
Kate Lovett f461f1c9c8
Remove deprecated WidgetsBinding.[deferFirstFrameReport, allowFirstFrameReport] (#72893) 2021-01-07 16:09:04 -08:00
engine-flutter-autoroll 29e2cfe9a2
Roll Plugins from d026d07afea2 to 1b7afc52353c (2 revisions) (#73507) 2021-01-07 16:04:03 -08:00
Jenn Magder 45d71e25ab
Build iOS apps using Swift Packages (#73508) 2021-01-07 15:59:09 -08:00
Ian Hickson 544a41eb55
Remove an obsolete comment from pubspec.yaml (#73505) 2021-01-07 15:59:04 -08:00
Ferhat d4c77f31ef
[web] Switch flutter tool web-renderer default for web to auto (#73502) 2021-01-07 15:54:04 -08:00
Gary Roumanis 705811fee2
Fix launching DevTools with Flutter Web applications (#72110) 2021-01-07 15:49:09 -08:00
Michael Goderbauer 918100f8e8
Migrate missed sample code to NNBD (#73509) 2021-01-07 15:44:13 -08:00
赵裕 0e684d02b5
[flutter_tools]fix typo in printHowToConsumeAar,which case sync fail (#71196) 2021-01-07 15:44:08 -08:00
Jenn Magder f596fdc008
Revert "Exclude arm64 from valid iOS simulators (#73458)" (#73511)
This reverts commit 273630c09d.
2021-01-07 14:06:32 -08:00
Jenn Magder bc7286f118
Use simctl exit code instead of stderr (#73070) 2021-01-07 13:13:56 -08:00
Jenn Magder 273630c09d
Exclude arm64 from valid iOS simulators (#73458) 2021-01-07 13:03:52 -08:00
Pierre-Louis d3a2db22e7
Add material icons golden test (#73361)
* Create icons golden test

* Update icons_test.dart

* Update icons_test.dart

* Update icons_test.dart

* change test name

* Add ability to load material icon font for golden tests

* formatting

* Skip test for browser

* Add end of file newline
2021-01-07 21:59:37 +01:00
Oscar Robles 71c6f1b9f0
AdoptAWidget - Update ActionListener with an example (#69717)
Adds an example to the docs for ActionListener.
2021-01-07 12:40:35 -08:00
Justin McCandless c6aa20d4b7
Revert "Add BuildContext parameter to TextEditingController.buildTextSpan (#72344)" (#73503)
This reverts commit 4901744e62, which was a minor breaking change that I missed.  Will try to open the PR again following the breaking change process.
2021-01-07 12:34:03 -08:00
Jenn Magder b78b17630a
Run pod repo update in iOS extension test (#73442) 2021-01-07 11:59:40 -08:00
engine-flutter-autoroll 9fc48454bd
d026d07af [camera] set useAutoFocus to true by default (flutter/plugins#3396) (#73500) 2021-01-07 11:54:02 -08:00
xster e0dcb787dc
groovy escaping was wrong for aar (#72554) 2021-01-07 11:43:27 -08:00
engine-flutter-autoroll 6a5ff9ad17
43ee609f0 [camera_platform_interface] Add platform interface methods for locking capture orientation. (flutter/plugins#3389) (#73469) 2021-01-07 10:49:02 -08:00
Justin McCandless fc27828c87
Work around the crash by preventing deletes on -1,-1 selection (#73417) 2021-01-07 10:44:02 -08:00
Nathan Walker b65a235139
SliverAppBar with ShrinkWrap Patch (#73195) 2021-01-07 10:39:02 -08:00
David LJ 84ddffb36b
fix(cupertinoDatePicker): do not display previous day when minimumDate is midnight (#72933) 2021-01-07 10:34:03 -08:00
Kate Lovett 925ff2dcb1
Remove deprecated StatefulElement.inheritFromElement (#72901) 2021-01-07 10:29:04 -08:00
Jonah Williams ed66037f51
[flutter_tools] describe current null safety build mode (#73426) 2021-01-07 10:26:51 -08:00
Zachary Anderson 5a4df0ad2c
Revert "Roll Engine from 2e5833b7c572 to 7f00e2f6c53c (3 revisions) (#73465)" (#73490)
This reverts commit 655cd1e2a6.
2021-01-07 09:16:32 -08:00
engine-flutter-autoroll 655cd1e2a6
Roll Engine from 2e5833b7c572 to 7f00e2f6c53c (3 revisions) (#73465) 2021-01-07 00:19:03 -08:00
engine-flutter-autoroll 239f8badec
2e5833b7c Apply local patch to chromium accessibility code (flutter/engine#23110) (#73457) 2021-01-06 23:14:02 -08:00
engine-flutter-autoroll 01babcac16
Roll Engine from c98ff298fe0e to 1758eaa4edc3 (17 revisions) (#73449) 2021-01-06 19:34:03 -08:00
engine-flutter-autoroll 63e2eb7f7c
dac4b6f3c [camera_platform_interface] Add platform interface methods for setting auto focus. (flutter/plugins#3369) (#73436) 2021-01-06 17:19:02 -08:00
Ian Hickson e2439ea708
Remove an obsolete (and now incorrect) comment in the pubspec.yaml (#72641) 2021-01-06 17:04:03 -08:00
Ian Hickson 5b8c7c5dac
Minor tweaks to CONTRIBUTING.md (#73375) 2021-01-06 16:54:03 -08:00
Ian Hickson fdab8546a0
Minor doc, style, and perf updates to Navigator/Routes (#71689)
* Minor doc, style, and perf updates to Navigator/Routes

These are minor fixes I ended up making while working on a larger
project that never went anywhere.

- Used a ColoredBox instead of a DecoratedBox for ModalBarrier
  (probably a trivial memory/perf win).

- A bunch of Navigator documentation fixes around when things rebuild.

- Mark routes dirty when the Navigator has a dependency change. I
  cannot find a way to test this because as far as I can tell it makes
  no actual difference to when things rebuild because whenever the
  Navigator rebuilds the Overlay rebuilds and whenever that happens
  every OverlayEntry rebuilds, but in theory that's not guaranteed so
  this is sort of a correctness fix. It may even be a perf loss. We do
  something similar in didUpdateWidget already. I could be convinced
  to maybe remove these...

- Make ModalRoute.filter public like everything else.

- Made ModalRoute update its barrier when it gets an update, in case
  e.g. the modal barrier depends on inherited widgets via the
  navigator context. Again, not sure of any way to detect this, it
  might actually be moot, but it seems to be the technically correct
  solution?

- Minor style fixes.

All in all I couldn't figure out a way to test any of this (I wrote
multiple large tests but it turns out they all already pass on master
and are effectively redundant with existing tests).

* Remove extraneous blank line
2021-01-06 16:15:05 -08:00
Jonah Williams 50dfd137ef
[flutter_tools] prevent hot reload/restart if device has not finished devFS initialization (#73420) 2021-01-06 15:54:04 -08:00