Commit graph

20326 commits

Author SHA1 Message Date
Jonah Williams 06c3de3285
[flutter_tools] remove most globals from build system and tests (#63697)
Remove globals and testbed to simplify test cases, using the existing environment configuration. This is some pre-factoring work to make landing #63610 easier
2020-08-13 15:00:27 -07:00
renyou 32ee00849c
Revert "Fix RangeMaintainingScrollPhysics" (#63611) 2020-08-13 14:46:04 -07:00
Ming Lyu (CareF) 360023e2bc
Clean up flutter_gallery__transition_perf (#63609) 2020-08-13 14:41:04 -07:00
Paul Berry 8f896c9027
Ignore another dead_code hint for a weak-only null check. (#63602) 2020-08-13 14:36:08 -07:00
godofredoc 0ec50a8e63
Add win (#63594) 2020-08-13 14:31:09 -07:00
Jonah Williams 9e162cb310
Revert "Add native stacktrace field for PlatformException (#63502)" (#63705)
This reverts commit c67eafa87d.
2020-08-13 14:03:11 -07:00
LI DONGZE c67eafa87d
Add native stacktrace field for PlatformException (#63502)
* Add native stacktrace field for PlatformException

* Mute the readValue check for stacktrace.

* polish

* Add unit test and further polish

* Added more comments

* remove unnecessary import

* fill in stacktrace to JSONMethodCodec and fix tests

* fix style

* Fix format

* Remove unnecessary TODO since not all explicitly declared errors have stacktrace in it from native side.

* Handle case for exception without stacktrace on jsonMethodCodec

* Add more unit tests

* format test

Co-authored-by: Ben Li <libe@google.com>
2020-08-13 11:43:50 -07:00
stuartmorgan fcbee10da9
[windows] Propagate startup errors in template (#63612) 2020-08-13 11:31:03 -07:00
Nils Reichardt 337c5cfc52
Update finders.dart (#63600) 2020-08-13 11:30:34 -07:00
Jonah Williams 2526ef1235
[flutter_tools] update size analysis (#63617) 2020-08-13 11:28:52 -07:00
Chase Latta b1a9f56487
remove fuchsia_entrypoint_shim directory (#63605) 2020-08-13 11:26:05 -07:00
Haeseok Lee 0174af8bd7
Update LinearGradient docs (#63604) 2020-08-13 11:21:04 -07:00
Rami 1de673bcda
Ensure time picker input mode lays out correctly in RTL (#63599) 2020-08-13 14:16:15 -04:00
Kate Lovett eb60849e93
Pin goldctl (#63593) 2020-08-13 11:16:04 -07:00
Greg Spencer 21f4096267
Revert: Update prepare_package.dart to use the process_runner package instead having duplicate code. #62710 (#63608)
This reverts #62710, since it has a noSuchMethodError in some circumstances.

This isn't just a straight git revert, because I had to resolve the conflicts in the reverted pubspec.yaml files and re-run flutter update-packages --force-upgrade to make the checksums match.
2020-08-13 08:43:20 -07:00
Konstantin Scheglov bd1a58a991
Add arguments for required parameters. (#63598) 2020-08-13 08:16:33 -07:00
Shi-Hao Hong 0a7c6243fa
[gen_l10n] Absolute project path parameter (#63368) 2020-08-13 05:11:05 -07:00
Ming Lyu (CareF) 0629030a05
WidgetTester.drag with time duration (#63410) 2020-08-12 21:01:03 -07:00
engine-flutter-autoroll 4ad90c4d1c
Roll Engine from ccfc7e5179db to 7571e7c380fd (2 revisions) (#63567) 2020-08-12 18:01:05 -07:00
Emmanuel Garcia febcbcb885
Print dex when analyzing the APK (#63538) 2020-08-12 17:56:04 -07:00
Dan Field bc74ae5437
Remove unused files (#63532) 2020-08-12 15:41:05 -07:00
Mouad Debbar cbb821abe4
Hide benchmark a/b results from git (#63518) 2020-08-12 15:36:06 -07:00
Justin McCandless 441d7f3fb8
InteractiveViewer scale interpretation improvement (#63543) 2020-08-12 15:31:09 -07:00
Alexandre Ardhuin afc9509996
allow null in compute for weak mode (#63515) 2020-08-12 15:31:05 -07:00
Alexandre Ardhuin be868397be
migrate part of painting to nullsafety (#63495) 2020-08-12 15:26:09 -07:00
chunhtai 72619b8642
fix wrap intrinsic height calculation (#63420) 2020-08-12 15:21:07 -07:00
Markus Aksli 41d41b3223
Add gaplessPlayback docs default discussion (#62859) 2020-08-12 13:46:05 -07:00
Jonah Williams 04bc6123a9
[null-safety] update to several framework test cases/APIs for null assertions (#62946) 2020-08-12 13:41:09 -07:00
Jason C.H 7d1842bf4f
Deprecate iOS13 style ActivityIndicator (#62741) 2020-08-12 13:41:05 -07:00
Jenn Magder 6b2ef0df7b
Fix App.framework path in Podfile (#63412) 2020-08-12 13:36:12 -07:00
Ming Lyu (CareF) 2384376f64
Migrate gallery/transitions_perf test to e2e (#62064) 2020-08-12 13:36:07 -07:00
LongCatIsLooong cea055ef00
Make Scrollable's free scroll initial velocity matches that of iOS (#60501) 2020-08-12 13:31:05 -07:00
engine-flutter-autoroll 54f21ec7aa
ccfc7e517 Add missing reply in C++ MethodChannel unit test (flutter/engine#20420) (#63548) 2020-08-12 05:01:03 -07:00
engine-flutter-autoroll d9637ed784
Roll Engine from 9893a2936658 to 6381b1511b4c (3 revisions) (#63544) 2020-08-11 20:51:03 -07:00
engine-flutter-autoroll 4a1a0c1e22
Roll Engine from 06458d2f6c90 to 9893a2936658 (11 revisions) (#63539) 2020-08-11 19:46:02 -07:00
Jonah Williams 9225d8d5b7
[flutter_tools] move to fake_async, skip failing tests (#63536) 2020-08-11 19:36:05 -07:00
Jonah Williams 16df32b1eb
[flutter_tools] handle invalid yaml in plugin dependency (#63526) 2020-08-11 19:31:03 -07:00
Christopher Fujino 8dcb4c338a
Fix version parsing to use git tag --points-at (#63505) 2020-08-11 17:29:35 -07:00
Shi-Hao Hong c36b75e45b
Remove Special Handling of Norwegian Locales (#63034)
* Regenerate _no.arb and _nb.arb from scratch

* Revert no <--> nb synonym logic
2020-08-12 07:29:17 +08:00
engine-flutter-autoroll 787e567de3
Roll Engine from 9b4ce4e3a04a to 06458d2f6c90 (2 revisions) (#63504) 2020-08-11 15:56:02 -07:00
godofredoc 8bef71b910
Update prod builders. (#63492)
* Update prod builders.

This is to make the builders show up in the flutter dashboard.

Bug:
  https://github.com/flutter/flutter/issues/63256

* Add mac and windows bots.

* Fix flaky flag.

* Rename taskName as task_name.
2020-08-11 15:52:20 -07:00
Darren Austin eb941ce9d6
Removed the inputFormatters from the text input fields used by the Date Pickers (#63461) 2020-08-11 14:56:03 -07:00
xster df8e537f96
move compile/target sdk versions to 29 (#62799) (#63008) 2020-08-11 14:51:02 -07:00
Filip Hracek 54cdb6fc3f
Add “See also” links to favorite class API docs (#62805) 2020-08-11 14:46:04 -07:00
Greg Spencer a344fb1e2c
Update prepare_package.dart to use the process_runner package instead having duplicate code. (#62710)
Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
2020-08-11 14:44:57 -07:00
Greg Spencer 54095e1b61
Make modifier key side handling consistent among platforms (#63417)
This makes the processing of RawKeyboardEventData.getModifierSide consistent among the platforms.

Before this change, some platforms (Android) didn't handle the case where the "either" flag was set, but no side flag was set (e.g. "shift" was set, but not "shift left"), and instead said that no keys were down by returning null (which was wrong).

Some platforms (Linux, Windows) also returned KeyboardSide.any from getModifierSide, when the contract says that it will never return KeyboardSide.any. Those methods now return KeyboardSide.all in the case where no side is specified, as macOS and Fuchsia already did.

Now, all platforms will return KeyboardSide.all from getModifierSide when it's not clear which side the key was on.
2020-08-11 14:44:40 -07:00
Jonah Williams 49fac9a885
[flutter_tools] add more error context to tree shaker failure (#63446) 2020-08-11 11:44:03 -07:00
Hans Muller d06c8fa54e
Updated old button references in dev/integration_tests/flutter_gallery ... full_screen_dialog_demo (#63491) 2020-08-11 11:39:20 -07:00
Jonah Williams c86d090e6f
[flutter_tools] add --null-assertions flag for debugging with null safety (#63416) 2020-08-11 11:36:03 -07:00
guolinaileen cbe0999d1f
Introduce onAppPrivateCommand to TextField (#62712) 2020-08-11 11:31:02 -07:00