Kate Lovett
5ca4cc8852
Restored change ( #48529 )
2020-01-14 09:38:02 -08:00
rami-a
68d0c89ffc
Return the correct number of semantic children for the ListView.separated constructor ( #48741 )
2020-01-14 16:18:48 +00:00
Jonah Williams
b3ea191407
[flutter_tools] Update template for web application to correct typo ( #48778 )
2020-01-14 08:13:01 -08:00
xster
9eb9ea0ffa
Let the tool warn about all old API plugins ( #48282 )
2020-01-13 21:30:42 -08:00
Jonah Williams
79c286705c
[flutter_tools] Refactor Environment and FileStore to be context-free ( #48759 )
2020-01-13 19:25:35 -08:00
Michel Feinstein
9585acd478
Fixing AutomaticKeepAlive Docs ( #48575 )
2020-01-13 17:18:02 -08:00
Jonah Williams
9f145f6ced
[flutter_tools][web] Add basic service worker generation support to web applications ( #48344 )
2020-01-13 17:13:02 -08:00
Dan Field
0a600e1ddc
Fix tool test order ( #48735 )
2020-01-13 17:11:32 -08:00
Prerak Mann
8b6b3b62c1
Passes scrollPhysics ( #48342 )
2020-01-13 17:08:01 -08:00
Zachary Anderson
ef62092b9b
Revert "[flutter_tools] File system utilities ( #48738 )" ( #48755 )
...
This reverts commit 0349660622
.
2020-01-13 14:30:37 -08:00
Jacob MacDonald
03a59bff03
Serve packages uris in flutter_tools dev web server ( #48743 )
...
* support mapping /packages/<package>/<path> requests to package:<package>/<path> uris in the web device file server
2020-01-13 13:21:57 -08:00
Zachary Anderson
0349660622
[flutter_tools] File system utilities ( #48738 )
2020-01-13 13:17:45 -08:00
Tianguang
d7d642653a
Add asserts requiring BoxConstraints' parameters to be non-null ( #48295 )
2020-01-13 21:34:30 +01:00
Kate Lovett
8f92cb710e
Fixing PageScrollPhysics to get along with NestedScrollView ( #48457 )
2020-01-13 11:58:03 -08:00
Greg Spencer
6495d3775d
Allow requestFocus on an unattached FocusNode to create a deferred focus request ( #48589 )
...
This changes the behavior of requestFocus when it is called on a FocusNode that does not yet have a parent, so that it defers requesting focus until it receives a parent. Before this change, calling requestFocus before it had a parent was a no-op.
This allows scenarios where a widget is newly added and wishes to immediately request the focus. Previously, it was very hard to make that work because requesting focus before the widget's focus node had a parent was ignored, so the developer had to wait until two frames later to request focus (one for the widget's node to be added to the focus tree, and one to request the focus).
Now, in order to have a widget be focused when initially added, you just need to call requestFocus on its node when you create it, and as soon as it is added, it will automatically request focus.
This is different from the autofocus attribute on the Focus widget, because it unconditionally requests focus when added (autofocus will only request focus if nothing else in the scope has focus).
2020-01-13 11:56:47 -08:00
Zachary Anderson
23a3d1014f
[flutter_tool] Make BotDetector context free ( #48605 )
2020-01-13 10:12:06 -08:00
Michael Goderbauer
6a5964d89c
Make ParentDataWidget usable with different ancestor RenderObjectWidget types ( #48541 )
2020-01-13 10:08:01 -08:00
Ian Hickson
e2b169ebd3
Apply void_checks lint. ( #48267 )
2020-01-13 10:03:01 -08:00
Dan Field
5129c2d295
Fix typo ( #48385 )
2020-01-10 17:06:16 -08:00
Zachary Anderson
4d096c434f
[flutter_tool] Make CommandHelp context free ( #48584 )
2020-01-10 16:53:01 -08:00
Chris Yang
7dba0da277
Fix platform view pointer event global route position detection ( #48459 )
2020-01-10 16:52:22 -08:00
Angjie Li
1d08642a90
Create helper functions to handle WebDriver actions. Some actions on base … ( #48538 )
2020-01-10 14:48:02 -08:00
Kate Lovett
6397c022bb
Adding error handling for SocketExceptions to local comparator ( #48517 )
2020-01-10 14:43:01 -08:00
Emmanuel Garcia
fca5917519
Test hot reload targeting a Fuchsia device ( #48472 )
2020-01-10 14:38:01 -08:00
Zachary Anderson
8b139a8c41
[flutter_tool] Use the delegate's toString in the ErrorHandlingFileSystem ( #48597 )
2020-01-10 14:35:49 -08:00
Zachary Anderson
67a68e9fa6
[flutter_tools] Fix analytics opt out event ( #48585 )
2020-01-10 14:35:19 -08:00
Maya
c90b118247
Add padEnds option to SliverFillViewport ( #48207 )
2020-01-10 14:33:02 -08:00
Tim Sneath
5280dda15b
Improve toolchain text ( #48102 )
2020-01-10 14:28:03 -08:00
LongCatIsLooong
02db6a8052
DiagnosticsTreeStyle.oneLine for CupertinoThemeData ( #48084 )
2020-01-10 14:23:02 -08:00
Emmanuel Garcia
ec2d58335a
Make subcommands return success instead of null ( #48100 )
2020-01-10 11:28:01 -08:00
Gerrit
a8c5f4e8c4
Add missing indentation to assets-images example ( #45833 )
2020-01-10 11:23:01 -08:00
Ben Konyi
d907a26229
Fixed issue where PaginatedDataTable would not fill the width of its containing Card ( #48531 )
2020-01-10 09:44:22 -08:00
gaaclarke
31f399f973
Stopped increasing the cache size to accomodate large images. ( #47387 )
2020-01-10 09:43:03 -08:00
Jonah Williams
5d30c0970a
[flutter_tools][web] Add support for web app manifests and arbitrary resource files (from web/) ( #48316 )
2020-01-10 09:37:20 -08:00
Jonah Williams
749589d896
[flutter_tools] Remove context usage from status and clean up test cases ( #48446 )
2020-01-10 09:36:49 -08:00
Shi-Hao Hong
db08afd07f
Allow for customizable ModalRoute barrierTween ( #48345 )
2020-01-09 19:28:01 -08:00
Hans Muller
169f157908
Step 1 of 2: Warn about Flutter's FloatingActionButton dependency on ThemeData accent properties ( #48435 )
2020-01-09 10:30:17 -08:00
Greg Spencer
1df6e2af5d
Simplify the Shortcuts widget diagnostic output ( #48265 )
...
This simplifies the diagnostic output for the Shortcuts widget so that if a debugLabel is supplied, then that is printed instead of the full list of shortcut keys in the map. Also, the output of the shortcut map is simplified to have the list of keys presented in more readable text.
2020-01-09 09:54:23 -08:00
Shi-Hao Hong
51e24a3561
Implement reverseTransitionDuration for TransitionRoute ( #48274 )
...
* Implement reverseTransitionDuration in TransitionRoute
2020-01-09 09:31:38 -08:00
creativecreatorormaybenot
c241f9f6b2
Document reasoning for why CustomMultiChildLayout size can't depend on children and how to do it ( #48451 )
2020-01-09 08:28:02 -08:00
Alexandre Ardhuin
82262d8896
format operator== according to flutter style guide ( #48449 )
2020-01-09 08:23:02 -08:00
Zachary Anderson
23ce192a8f
Reland: Reword flutter run help screen. ( #48423 )
2020-01-09 08:18:03 -08:00
Kate Lovett
84aa29ce63
Gold Pre-submit flow for contributors without permissions ( #47551 )
2020-01-09 08:08:03 -08:00
Greg Spencer
fabf4e3d0d
Reverse the sense of the terms snippet and sample. ( #48254 )
2020-01-08 15:28:02 -08:00
Tong Mu
dbed575c01
Add test of scrolling competition ( #47492 )
2020-01-08 15:23:02 -08:00
Zachary Anderson
07161e8267
[flutter_tool] Don't use context in ProcessUtils ( #48444 )
2020-01-08 15:20:32 -08:00
Sunbreak
4e6d649f14
Add optional endian
argument for WriteBuffer/ReadBuffer ( #46661 )
2020-01-08 15:18:03 -08:00
stuartmorgan
58d6c425e4
Check for desktop project files before building ( #48350 )
...
Moves the checks that projects have been configured for desktop to a lower level, where they will cover more codepaths (e.g., 'run'), and improves them to check for native build projects, rather than just directories, to catch cases where the directory exists (e.g., due to accidental creation of generated files).
Also adds links to the error messages pointing to instructions on adding desktop support to a project.
Fixes #47145
2020-01-08 12:39:49 -08:00
Lau Ching Jun
67c843f7b6
Rename conditional imported files to match convention ( #48356 )
2020-01-08 12:38:03 -08:00
Jonah Williams
f7b8d62cbc
[flutter_tool] Refactor Logger and Terminal to (mostly) no longer depend directly on context ( #47269 )
2020-01-08 12:35:12 -08:00
Marius Meißner
0384c8c482
Flexible padding (header height) for expanded panels ( #47951 )
...
* Added property for expanded padding of expansion panel for solving #24071
* #24071 : Renamed default const name for being more descriptive
* #24071 : Improved comment of property expandedPadding
* #24071 : Improved test by expanding the expansion panel by header tap + precise assertion
* #24071 : Renamed property to be more descriptive
* #24071 : Adjusted property comment and added missing trailing commas
* #24071 : Improved test by checking real exact header size
* #24071 : Added test for default header padding
* #24071 : Improved comment of expandedHeaderPadding + code style adjustments
* #24071 : Added missing trailing comma
2020-01-08 12:33:25 -08:00
Tim Sneath
6b66412136
Update first-run information URLs ( #48154 )
2020-01-08 12:33:03 -08:00
David Iglesias
f65f7f0118
Change video_demo slightly so it works on web. ( #46719 )
2020-01-08 12:28:01 -08:00
Greg Spencer
8b132015bb
Add CatmullRomCurve and CatmullRomSpline ( #47547 )
...
This adds CatmullRomCurve animation curve, and a CatmullRomSpline, which is what it uses to do interpolation.
This allows us to create animation curves which can smoothly interpolate the values given to the curve.
Since I've introduced a 2D spline curve, I also created a Curve2D base class for such parametric curves.
2020-01-08 07:59:54 -08:00
Dan Field
505af78ae1
StackTrace parser, fix assertion error message ( #48343 )
2020-01-07 22:49:27 -08:00
Dan Field
4552724f0e
Don't use local file system in devfs test ( #48367 )
2020-01-07 22:49:09 -08:00
Alexander Aprelev
b4c79239da
Cleanup accidental use of global fs in test. ( #48358 )
...
This is follow-up to ee7a37f1d3
.
2020-01-07 22:35:03 -08:00
Alexander Aprelev
317b9e786b
Revert "Document reasoning for why CustomMultiChildLayout size can't depend on children and how to do it ( #47797 )" ( #48369 )
...
This reverts commit de2514c0e2
as it breaks analyze-linux and web_tests-0-linux checks.
2020-01-07 21:42:18 -08:00
creativecreatorormaybenot
de2514c0e2
Document reasoning for why CustomMultiChildLayout size can't depend on children and how to do it ( #47797 )
2020-01-07 18:48:01 -08:00
Zachary Anderson
a1bf03f87a
Revert "Esarbanis flutter run help ( #48314 )" ( #48351 )
...
This reverts commit 866fa64dce
.
2020-01-07 15:06:40 -08:00
Dan Field
134c2ff076
analytics ordering issue ( #48278 )
2020-01-07 12:23:02 -08:00
Jonah Williams
bf6c4c4a41
[flutter_tools]web]Add support for --csp mode to build web ( #48319 )
2020-01-07 12:20:03 -08:00
Sam Rawlins
965ba387d4
Remove unused public static members of private classes/enums ( #48218 )
2020-01-07 12:18:02 -08:00
wise86-android
c86517c0bb
[issue 7293] add test for rettangle box decoration with boarder radius ( #47915 )
2020-01-07 12:13:02 -08:00
Zachary Anderson
866fa64dce
Esarbanis flutter run help ( #48314 )
...
* Reword flutter run help screen.
* As per Hixie request, added Efthymios Sarmpanis to the AUTHORS file
* fix test
Co-authored-by: Efthymis Sarmpanis <e.sarbanis@gmail.com>
2020-01-07 12:10:08 -08:00
Kate Lovett
76b21d2867
Refactor SliverFillRemaining ( #47379 )
2020-01-07 12:08:02 -08:00
Sam Rawlins
5005824763
Mark unused but desired private constructors as such ( #46200 )
2020-01-07 12:03:03 -08:00
Kate Lovett
f974c295b5
SliverFadeTransition ( #45950 )
2020-01-07 11:58:01 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Dan Field
d73b3682c9
Fix state in test ( #48269 )
2020-01-06 16:33:31 -08:00
Dan Field
79c4c38cc9
Make analyze once test not depend on test order or flutter create command ( #48003 )
2020-01-06 16:33:01 -08:00
Mouad Debbar
f6a88d0309
Registering multiple transformed events should work ( #48149 )
2020-01-06 14:24:52 -08:00
Jonah Williams
2221a9f514
[flutter_tool] Cache the path context in the flutter tool ( #48250 )
...
recomputing the path context in the getter violates flutter repo style guide and adds a small but measurable overhead to all path operations
2020-01-06 13:57:13 -08:00
Dan Field
ea799d97f4
.. ( #48263 )
2020-01-06 13:30:21 -08:00
Ben Konyi
a0e5621956
Added showCheckboxColumn
parameter to DataTable and PaginatedDataTable ( #47552 )
...
`showCheckboxColumn` will determine whether or not selectable rows in
DateTable or PaginatedDataTable will contain a leading CheckBox.
2020-01-06 16:29:36 -05:00
Jacob MacDonald
c3f590a872
update dependencies for flutter_tool ( #48260 )
2020-01-06 13:08:06 -08:00
Jonah Williams
ee7a37f1d3
[flutter_tools] Ensure that global variables are easily identifiable ( #47398 )
2020-01-06 11:04:20 -08:00
Dan Field
19c7550540
fix mockStopWatch creation ( #48098 )
2020-01-06 11:03:01 -08:00
神楽坂花火
80ee2ff04f
Add Border.symmetric
constructor ( #47523 )
2020-01-06 09:48:02 -08:00
Phil Quitslund
7fee0c52d3
mark widget == and hashCode as nonVirtual ( #46900 )
2020-01-06 09:43:02 -08:00
Alexandre Ardhuin
1fc43d9330
add key to constructors of public widgets ( #47884 )
...
* add key to constructors of public widgets
* fix a test
* fix a test
2020-01-06 17:41:54 +01:00
Jenn Magder
0aed0b61a1
Add newlines between plugin names in GitHub template ( #46937 )
2020-01-03 17:53:54 -08:00
Shi-Hao Hong
fa1ebab88e
Added API docs on opening a Scaffold's drawer programmatically ( #48152 )
...
* Added docs on how to set drawer to open only programmatically
2020-01-03 15:20:48 -08:00
LongCatIsLooong
adc6482784
Implement CupertinoDatepicker time/dateTime constraints ( #44628 )
2020-01-03 14:50:41 -08:00
LongCatIsLooong
7511d8c06a
fix MediaQuery override in CupertinoDatePicker ( #48001 )
2020-01-03 11:05:50 -08:00
Devon Carew
c924f499f5
ignore a (potentially) unused import in generated code ( #47593 )
2020-01-03 11:04:03 -08:00
creativecreatorormaybenot
b383bdfd1f
Initial ( #47831 )
2020-01-03 10:53:32 -08:00
Shi-Hao Hong
62e436f049
Implement AlertDialog.actionsPadding and AlertDialog.buttonPadding ( #47709 )
...
* Implement AlertDialog.actionsPadding and AlertDialog.buttonPadding
2020-01-03 08:18:21 -08:00
Dan Field
7b69d137c8
reset state between runs of devFS tests ( #48101 )
2020-01-03 08:18:02 -08:00
Dan Field
d7c347f027
make pub get test shufflable ( #48095 )
2020-01-03 08:13:03 -08:00
Dan Field
5ff7225450
fix io_test ( #48097 )
2020-01-02 19:53:02 -08:00
Angjie Li
9df1790f24
Flutter Web Driver Support ( #47890 )
2020-01-02 19:48:01 -08:00
chunhtai
57a93419b4
EditableText should not update textinput style when the textinput is … ( #47904 )
2020-01-02 16:19:52 -08:00
Jenn Magder
dc99d61e5d
Remove simulator arch in Profile and Release, App.xcframework ( #48002 )
2020-01-02 13:03:01 -08:00
Jenn Magder
a6c3ffe10c
Allow Xcode project Info.plist to be moved ( #47993 )
2020-01-02 12:03:02 -08:00
Dan Field
24f39d40a4
Revert "Revert "Add many more global analyses. ( #47875 )" ( #48080 )" ( #48081 )
...
This reverts commit 04ea3183ce
.
2020-01-02 11:47:28 -08:00
Francisco Magdaleno
04ea3183ce
Revert "Add many more global analyses. ( #47875 )" ( #48080 )
...
This reverts commit e768c92fbc
.
2020-01-02 09:25:59 -08:00
Ian Hickson
e768c92fbc
Add many more global analyses. ( #47875 )
...
* Update packages.
* Add many more global analyses.
* Catch trailing spaces and trailing newlines in all text files.
Before we were only checking newly added files, but that means we
missed some.
* Port the trailing spaces logic to work on Windows too.
* Correct all the files with trailing spaces and newlines.
* Refactor some of the dev/bots logic into a utils.dart library.
Notably, the "exit" and "print" shims for testing are now usable
from test.dart, analyze.dart, and run_command.dart.
* Add an "exitWithError" function that prints the red lines and
then exits. This is the preferred way to exit from test.dart,
analyze.dart, and run_command.dart.
* More consistency in the output of analyze.dart.
* Refactor analyze.dart to use the _allFiles file enumerating logic
more widely.
* Add some double-checking logic to the _allFiles logic to catch
cases where changes to that logic end up catching fewer files
than expected (helps prevent future false positives).
* Add a check to prevent new binary files from being added to
the repository. Grandfather in the binaries that we've already
added.
* Update all the dependencies (needed because we now import crypto in
dev/bots/analyze.dart).
2019-12-30 17:12:19 -08:00
Kate Lovett
4fbef2a4a9
Revert "Testing tryjob triage ( #47893 )" ( #47985 )
...
This reverts commit 659dc8129d
.
2019-12-30 13:09:14 -08:00
Kate Lovett
659dc8129d
Testing tryjob triage ( #47893 )
2019-12-30 09:24:47 -08:00
Devon Carew
43a8c24344
fix an analysis ignore for the missing_required_param hint ( #47956 )
2019-12-29 12:28:57 -08:00
神楽坂花火
b28dd0c296
Reland "Add brightness
to CupertinoNavigationBar ( fixes #46216 ) ( #47521 )" ( #47855 )
2019-12-27 18:33:01 -08:00
Francisco Magdaleno
bc0d35c34e
Reland "fix duration event of timeline summary ( #47742 )" ( #47889 )
...
This reverts commit 50d421224d
.
2019-12-27 11:15:48 -08:00
Francisco Magdaleno
50d421224d
Revert "fix duration event of timeline summary ( #47742 )" ( #47888 )
...
This reverts commit e43fd1c54d
.
2019-12-27 10:26:49 -08:00
Gityuan
e43fd1c54d
fix duration event of timeline summary ( #47742 )
...
* fix duration event of timeline summary
* Revert "fix duration event of timeline summary"
This reverts commit 699aa45ed3
.
* fix duration event of timeline summary
2019-12-27 09:36:59 -08:00
LongCatIsLooong
ae24f18414
Reland 39919 CupertinoPicker ( #47837 )
2019-12-26 17:26:55 -08:00
Jonathan White
1fe05983e6
Fix typos in DefaultTabController.of documentation ( #46907 )
...
Fix error in `DefaultTabController.of` documentation
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2019-12-26 09:45:25 -08:00
LongCatIsLooong
b7af5e714d
Revert "Add brightness
to CupertinoNavigationBar ( fixes #46216 ) ( #47521 )" ( #47805 )
2019-12-25 23:49:55 -08:00
神楽坂花火
2cbf126fe8
Add brightness
to CupertinoNavigationBar ( fixes #46216 ) ( #47521 )
2019-12-25 21:54:12 -08:00
Shi-Hao Hong
6e72facad1
Fix Icon.color docs ( #47691 )
2019-12-24 10:54:04 -08:00
Chen Yumin
0265cb6849
Make tab's icon margin configurable ( Fix #47363 ) ( #47364 )
...
Adds the `iconMargin` parameter to Tab
2019-12-23 15:37:16 -08:00
Francisco Magdaleno
f2f9d0e4fd
Revert "Flutter Web Driver Support ( #47470 )" ( #47698 )
...
This reverts commit cc1c9649c4
.
2019-12-23 15:20:11 -08:00
Jenn Magder
9861a1c045
flutter build ios-framework generate Flutter.podspec ( #47556 )
2019-12-23 13:12:36 -08:00
Alexandre Ardhuin
4adad2c652
update list of lints ( #47661 )
2019-12-23 18:40:56 +01:00
Jim Graham
fcaf9c4070
Support for ImageFiltered widget to apply ImageFilter to children. ( #47489 )
2019-12-21 14:03:01 -08:00
Lau Ching Jun
ef398d9e87
Disable most screenshot tests for web until we understand the flakes. ( #47554 )
2019-12-20 18:43:01 -08:00
Jenn Magder
85e9be36bf
Revert "Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #47266 )" ( #47568 )
...
This reverts commit 648a5d8a1e
.
2019-12-20 17:45:16 -08:00
Greg Spencer
19b9206add
Add variant testing to testWidgets ( #45646 )
...
This adds the ability to define variants of tests with different environmental values for a particular testWidgets test.
This allows you to run the same test multiple times with a different test environment. One test variant has been implemented that allows running a test with different settings of the TargetPlatform.
2019-12-20 15:00:16 -08:00
gaaclarke
72a3d914ee
Added a code sample for replacing the image cache. ( #47467 )
2019-12-20 08:50:42 -08:00
Dan Field
93f718b386
Fix requestExistingInputState response ( #47472 )
2019-12-20 03:33:01 -08:00
Angjie Li
cc1c9649c4
Flutter Web Driver Support ( #47470 )
2019-12-19 19:53:01 -08:00
Matt Sullivan
f6922d57fc
Fixed incorrect offsetting when applying ShaderMasks ( #45654 )
2019-12-19 19:48:01 -08:00
LongCatIsLooong
e3c8ecaf7f
Reland "Fix sliver geometry assert ( #47027 )"
2019-12-19 14:27:35 -08:00
Jenn Magder
648a5d8a1e
Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #47266 )
2019-12-19 14:18:10 -08:00
Dan Field
41a911099b
comments ( #47473 )
2019-12-19 13:48:02 -08:00
Gary Qian
b011ea5468
Pass _caretPrototype to prevent cache miss ( #46720 )
2019-12-20 06:46:49 +09:00
Jonah Williams
3fe6668849
[flutter_tool] ensure extraGenSnapshotArguments are forwarded to gen_snapshot from Android builds ( #47059 )
2019-12-19 13:44:21 -08:00
Dan Field
4ad8271bf5
Reland text state ( #47464 )
2019-12-19 13:43:02 -08:00
Justin McCandless
92c21a5701
Fix a typo in the docs ( #47391 )
...
Just a docs text change.
2019-12-19 09:40:01 -08:00
Alexandre Ardhuin
78db965642
Reland implicit-casts: false ( #47431 )
2019-12-19 02:23:01 -08:00
Lau Ching Jun
a4858782da
Revert "implicit-casts: false ( #47199 )" ( #47428 )
...
This reverts commit c235998acf
.
2019-12-18 23:53:00 -08:00
Alexandre Ardhuin
c235998acf
implicit-casts: false ( #47199 )
2019-12-18 23:23:01 -08:00
Dan Field
0a9ff388bf
Revert "Use platform appropriate filepaths" ( #47395 )
2019-12-18 18:08:02 -08:00
Lau Ching Jun
d51956a9ea
Revert "Call setEditingState when text changes. ( #47177 )" ( #47397 )
...
This reverts commit d4b49ce9fc
.
2019-12-18 18:03:24 -08:00
Lau Ching Jun
2df964581f
Revert "Flutter Web Driver Support ( #45951 )" ( #47389 )
...
This reverts commit 1ef0eadb45
.
2019-12-18 17:02:31 -08:00
Lau Ching Jun
f32dee6e30
Revert "Fix sliver geometry assert ( #47027 )" ( #47390 )
...
This reverts commit 117dfaf287
.
2019-12-18 17:02:11 -08:00
Kate Lovett
c281369356
Fix subdirectory output ( #47256 )
2019-12-18 16:33:01 -08:00
Gary Qian
f05ab50370
Detect and dump flaky LineMetrics test data ( #46213 )
2019-12-19 09:28:02 +09:00
Jenn Magder
9184f4d6fb
Build iOS frameworks with relative output path ( #47369 )
2019-12-18 15:31:54 -08:00
Michael Goderbauer
beb86d2cc4
Revert "Simplify Chip slightly ( #47254 )" ( #47353 )
2019-12-18 14:03:01 -08:00
Dan Field
b23238890a
Pipe through test-randomize-ordering-seed ( #47243 )
2019-12-18 13:58:01 -08:00
KalilDev
b39ebcb55f
Fix CupertinoContextMenuAction color behavior ( #47151 )
...
"destructive" color wasn't working for ContextMenuAction, this PR fixes it.
2019-12-18 13:57:40 -08:00
Lau Ching Jun
bc67d22449
Revert "iOS UITextInput autocorrection prompt ( #45354 )" ( #47373 )
...
This reverts commit 0f8c0da0a9
.
2019-12-18 13:56:44 -08:00
Shi-Hao Hong
bde351eea2
Make AlertDialog scrollable through AlertDialog.scrollable parameter ( #45079 )
...
* Add AlertDialog.scrollable
* Add deprecation notice
* Ignore deprecation warning in dialog.dart with TODO
2019-12-18 12:31:16 -08:00
Lau Ching Jun
7850e2525f
Is executable doesn't mean a+x ( #47359 )
2019-12-18 12:21:46 -08:00
Angjie Li
1ef0eadb45
Flutter Web Driver Support ( #45951 )
...
* Support Flutter Driver test for Flutter Web application.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation issues.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation.
* Remove unused file from dartdoc check.
* Sync to date.
* Revert change to dartdoc.
* Address comments.
* Apply suggestions from code review
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update copyrights.
* Update allowed list for browsers.
* Verify command line arguments for Drive command is correctly parsed.
* Make waitUntilFirstFrameRasterized throw unimplementedError for Flutter Web Driver.
* Add comment for why sync WebDriver is used.
* Update documentations.
* Add more unit tests and update documentation.
* Configure test.dart so that web_extension_test will be executed with --platform=chrome.
* Revert unnecessary changes.
* Add new file path for Windows to blacklist.
* Reconstruct the structure of flutter_driver/test/src folder to remove filtering logic in dev/bots/test.dart/
* Fix path to web_extension_test.dart.
* Add instructions for how to use WebFlutterDriver.
* Update getLayerTree to use sendCommand instead of _sendCommand.
* Update pubspec files.
2019-12-18 10:45:39 -08:00
Alex Vincent
f546aa7def
Fix buildCounter returns a widget when set to return null. ( #45749 )
...
When buildCounter returns null it no longer produces a widget that takes up space.
2019-12-18 10:45:28 -08:00
Zachary Anderson
d328e0cea0
[flutter_tool] Improve iOS mDNS failure error message ( #47348 )
2019-12-18 09:23:00 -08:00
Scott Hyndman
ceef460a64
Correct name in DecorationImage error string ( #47260 )
2019-12-18 00:23:02 -08:00
Emmanuel Garcia
9884f9980f
Change meaning of a plugin not supporting the android platform ( #47015 )
2019-12-17 19:48:01 -08:00
Shouichi Kamiya
0764548231
s/v-sync/Vsync/g ( #46660 )
2019-12-17 19:43:03 -08:00
神楽坂花火
0ec73510ec
Add textScaleFactor to SelectableText ( #44682 )
2019-12-17 19:38:01 -08:00
Jenn Magder
65ad8d805a
Revert "Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #46928 )" ( #47264 )
...
This reverts commit e54e301d50
.
2019-12-17 17:20:57 -08:00
Michael Goderbauer
b7d221227c
Simplify Chip slightly ( #47254 )
2019-12-17 16:23:05 -08:00
LongCatIsLooong
0f8c0da0a9
iOS UITextInput autocorrection prompt ( #45354 )
2019-12-17 16:22:28 -08:00
Jenn Magder
e54e301d50
Check Xcode build setting FULL_PRODUCT_NAME for the name of the built app during flutter run ( #46928 )
2019-12-17 16:13:01 -08:00
Emmanuel Garcia
a15a81be21
Fix androidSdk NPE ( #47187 )
2019-12-17 14:10:36 -08:00
Jenn Magder
1cdf0f44db
Only set flutter run
usage values for targeted device platforms ( #46931 )
2019-12-17 14:09:34 -08:00
Alek Åström
853c8c569f
[flutter_tools] Add violating plugin name to validation errors ( #46601 )
2019-12-17 14:08:03 -08:00
George Wright
56f4eaf58c
Re-enable --no-link-platform for JIT mode ( #47242 )
2019-12-17 17:05:32 -05:00
Dan Field
d4b49ce9fc
Call setEditingState when text changes. ( #47177 )
2019-12-17 14:03:04 -08:00
Michael Goderbauer
862289fa79
fix imports to unawaited ( #47181 )
2019-12-17 13:29:26 -08:00
LongCatIsLooong
a82a399733
remove mediaQuery bottom padding when the tab scaffold has an opaque navbar ( #46106 )
2019-12-16 23:28:02 -08:00
Jonah Williams
0a2d8e0cce
[flutter_tool] Remove direct usage of package:linter in the flutter_tools ( #47174 )
2019-12-16 18:37:20 -08:00
LongCatIsLooong
117dfaf287
Fix sliver geometry assert ( #47027 )
2019-12-16 18:19:23 -08:00
Jonah Williams
a723c94650
[flutter_tool] restructure ProjectFileInvalidator to no longer directly depend on context ( #45739 )
2019-12-16 18:12:04 -08:00
Shi-Hao Hong
7874bca248
Move localization executables to bin folder ( #46251 )
2019-12-16 17:30:57 -08:00
Shi-Hao Hong
7f56a61417
Fix isDense default for DropdownButtonFormField ( #47160 )
2019-12-16 16:40:15 -08:00
Alexandre Ardhuin
dfbd585668
implicit-casts:false in flutter/test ( #46245 )
2019-12-16 15:03:02 -08:00
Alexandre Ardhuin
aa071efd17
implicit-casts:false in flutter/lib/src/cupertino ( #45502 )
2019-12-16 14:58:03 -08:00
Zachary Anderson
a72cca137d
[flutter_tool] Print a helpful message on some mDNS failures ( #47157 )
2019-12-16 14:57:29 -08:00
George Wright
9a76b4209e
Add support for getting a string representation of the LayerTree ( #47014 )
2019-12-16 15:39:06 -05:00
Dan Field
467f3d49ec
remove duplicative checks ( #47026 )
2019-12-16 12:38:02 -08:00
Kate Lovett
b0b8b91b97
RenderProxySliver ( #45942 )
2019-12-16 12:37:57 -08:00
Kate Lovett
9024231030
SliverVisibility ( #45582 )
2019-12-16 12:23:03 -08:00
Kate Lovett
89d72a1208
Throwing when goldctl cannot authorize/initialize ( #45925 )
2019-12-16 12:18:03 -08:00
Yuwen Yan
fba96809f4
Add enableDrag configuration for showModalBottomSheet ( #46685 )
2019-12-16 12:14:24 -08:00
Justin McCandless
c06bf6503a
iOS smart quote/dash configuration ( #44923 )
...
smartDashesType and smartQuotesType params for text fields to control iOS's smart punctuation feature.
2019-12-13 17:42:35 -05:00
Dan Field
1bca434cdd
Check for NaN in sliver constraints, improve error messaging ( #46995 )
2019-12-13 14:39:07 -08:00
Dan Field
82f6d43bf1
Avoid NaN for shrinkwrapping viewports ( #46265 )
2019-12-13 14:36:53 -08:00
Todd Volkert
fc9b30a4f1
Revert "flutter_tools: Remove unused //ignore comments; change flutter-specific ones to "ignore_for_flutter" ( #45917 )" ( #46999 )
...
This reverts commit f28592018d
.
It broke forbidden_imports_test, which uses a custom ignore directive.
2019-12-13 12:23:12 -08:00
Sam Rawlins
f28592018d
flutter_tools: Remove unused //ignore comments; change flutter-specific ones to "ignore_for_flutter" ( #45917 )
2019-12-13 12:03:02 -08:00
liyuqian
6a5ef29a75
More clarifications on mutating Widget's children ( #46725 )
2019-12-13 09:53:01 -08:00
Alexandre Ardhuin
d81d91606a
implicit-casts:false in flutter/lib/src/material ( #45567 )
...
* implicit-casts:false in flutter/lib/src/material
* address review comments
2019-12-13 08:55:12 +01:00
Jonah Williams
0497235c20
[flutter_tool] experimental resident web runner is not debuggable ( #46916 )
2019-12-12 19:05:48 -08:00
Jenn Magder
dfa6eb31a0
Revert "flutter run FULL_PRODUCT_NAME ( #46838 )" ( #46925 )
2019-12-12 17:34:54 -08:00
Jenn Magder
7a7e2bb247
flutter run FULL_PRODUCT_NAME ( #46838 )
2019-12-12 17:03:01 -08:00
Jonah Williams
5ba2830c83
[flutter_tool][gallery] Standardize target platform override behavior in tool and update flutter gallery to support it ( #46206 )
2019-12-12 15:20:52 -08:00
Hans Muller
187c89b69d
Remove accentTextTheme from sliders and chips, tests and docs ( #46801 )
2019-12-12 15:14:01 -08:00
Jonah Williams
23b7853dfd
[flutter_tool] remove ability to disable Fingerprinter with DISABLE_FLUTTER_BUILD_CACHE env variable ( #46913 )
2019-12-12 15:12:53 -08:00
Jonah Williams
8ca55605c8
[flutter_tool] forward device-vmservice-port to iOS device launch arguments ( #46822 )
2019-12-12 13:55:42 -08:00
Jonah Williams
592a842b86
[flutter_tool] fix NPE in daemon caused by returning null connection info from experimental web runner ( #46909 )
2019-12-12 13:55:09 -08:00
Dan Field
948e2b0101
Avoid exceptions for control flow ( #46897 )
2019-12-12 13:53:01 -08:00
Emmanuel Garcia
a467932d5b
Skip plugins that don't have an android impl when building AARs ( #46835 )
2019-12-12 12:38:09 -08:00
Danny Tuppeny
4944622b5d
Support URL tunnelling (pass dwds UrlEncoder through to editors via daemon) ( #44271 )
...
* Prposal for supporting URL tunnelling
* Update daemon.md
* Add the ability for daemon to call clients to expose URLs
* Fix dwds mock in web_fs tests
* Fix type error
* Remove build_runner import from run
* Move appStartedTime back to after the app has started
* Remove nested DI scope and pass urlTunneller down
* Fix import
* Tweak TODO
* Fix existing tests
* Fix spec to use result instead of params for response object
* Fix exposeUrl to use a url field, as spec'd
* Test that the daemon's exposeUrl sends a request and handles the response
2019-12-12 18:43:58 +00:00
Lau Ching Jun
be53bc14aa
Reset the global variable before running a test. ( #46203 )
...
The variable debugDisableShadows wasn't reset before each test, so the
output of the test is different depending on whether the previous test
has passed.
2019-12-12 10:37:42 -08:00
Lau Ching Jun
535526b03c
Enable web for some of the golden tests ( #46820 )
...
* Make golden test timeout longer, some tests are flaky if the timeout is too short
* Enable some golden tests for web
2019-12-12 10:36:41 -08:00
Sean Freiburg
418b814555
Add buildNumber param to "flutter build aar" command ( #46291 )
2019-12-12 10:28:01 -08:00
Emmanuel Garcia
354f80b84a
Check and give execute permission to Gradle if needed ( #46748 )
2019-12-11 16:36:03 -08:00
Jonah Williams
8b88c8296f
remove test_api dependency from flutter_tools/base/io ( #46796 )
2019-12-11 13:31:30 -08:00
Jonah Williams
d0e5824040
[flutter_tool] Update require.js artifact location for tests ( #46787 )
2019-12-11 12:56:58 -08:00
Zachary Anderson
895ffc80dc
[flutter_tool] Handling of certain unrecoverable filesystem errors ( #46617 )
2019-12-11 12:54:36 -08:00
Kate Lovett
ceab1248d0
Use FlutterLocalFileComparator when user permission denied on Cirrus ( #46688 )
2019-12-11 11:03:21 -08:00
Alexandre Ardhuin
36e599eb5d
implicit-casts:false in flutter_localizations ( #45241 )
2019-12-11 07:27:13 +01:00
Jonah Williams
01953a1015
[flutter_tool] fix NPE in log reader for web server device ( #46729 )
2019-12-10 16:14:48 -08:00
Taufiq Rahman
c5f61ac3e8
Feature: ExpandIcon
should use the size
parameter ( #45712 )
...
* ExpandIcon should use the size parameter
2019-12-10 15:18:56 -05:00
Koichi Ishida
4938ea0385
Fix typo in gradle tools exit message ( #46580 )
2019-12-10 13:41:31 -05:00
Jonah Williams
bda9d90804
[flutter_tool] Reland: support --fast-start for Android applications (as an opt-in) ( #46140 )
2019-12-10 10:26:14 -08:00
Shi-Hao Hong
0bec3dc3d2
Add UniqueKey documentation regarding const constructor ( #46647 )
2019-12-10 13:24:58 -05:00
Shi-Hao Hong
ac9fefdfa6
Fix InputDecorator.isDense typo from true -> false ( #46648 )
2019-12-10 13:24:44 -05:00
Sebastian Döll
645c32311e
Set modal bottom sheet barrier color ( #45067 )
2019-12-10 10:07:32 -08:00
Anthony
8a205f8194
Revert "Made the behavior for caching large images modular. ( #46010 )" ( #46629 )
...
This reverts commit 86dd664fef
.
2019-12-10 11:44:52 -05:00
Jonah Williams
81aa2710d2
[flutter_tool] add a vmservice API for hot ui requests ( #45649 )
2019-12-09 21:31:34 -08:00
Jonah Williams
523ac7b6f5
[flutter_tool] Always re-copy Framework/podspec when regenerating iOS module project ( #45877 )
2019-12-09 21:18:09 -08:00
Jonah Williams
d0526d3f92
[flutter_tool] Prevent accidental calls to io.exit in unit tests ( #46639 )
2019-12-09 18:58:29 -08:00
Ian Hickson
14145a4ec9
Try re-enabling all these tests. ( #46615 )
2019-12-09 18:58:02 -08:00
Jonah Williams
a491697893
[flutter_tool] Ensure dependency constraint for templates created with a driver test are correct
2019-12-09 17:32:03 -08:00
Christopher Fujino
0268510480
Fix analytics regression ( #46242 )
2019-12-09 15:13:02 -08:00
Tong Mu
a4f7a0dfb9
Revert changes to TestPointer; MouseTracker no longer relies on Add events ( #46285 )
...
* Revert test pointer
* Synthesize new state
2019-12-09 15:12:11 -08:00
Jonah Williams
63cc4ad3aa
Revert "[flutter_tool] Prevent accidental calls to io.exit when asserts are active in unit tests ( #46210 )" ( #46630 )
...
This reverts commit b698c9d72e
.
2019-12-09 13:13:59 -08:00
Jonah Williams
b698c9d72e
[flutter_tool] Prevent accidental calls to io.exit when asserts are active in unit tests ( #46210 )
2019-12-09 13:01:37 -08:00
Emmanuel Garcia
f264d6c277
Allow plugins that don't support the Android platform ( #46282 )
2019-12-08 20:04:19 -08:00
Lau Ching Jun
c2eb0681ce
Implement screenshot test for flutter web. ( #45530 )
2019-12-06 14:25:39 -08:00
Tom Robinson
9233b53255
Update SliverPersistentHeader docs ( #46081 )
2019-12-06 14:17:29 -08:00
Amr Yousef
237c478683
Update iOS build signing error message ( #45835 )
2019-12-06 10:41:06 -08:00
Jonah Williams
7f235ea8bc
Mitigation for current tool test skips on CI ( #46181 )
2019-12-05 23:16:25 -08:00
Tong Mu
ad20d368ff
Fix null event crash in TapGestureRecognizer ( #45943 )
2019-12-05 19:33:01 -08:00
Greg Spencer
bc7ed36db5
Add visualDensity to checkbox, radio, icon button, and chip. ( #46091 )
...
This adds a visualDensity attribute to checkbox, radio, icon button, and chip.
2019-12-05 17:36:42 -08:00
Jonah Williams
e6fa5717d1
fix release web builds where the target file is not under lib ( #46179 )
2019-12-05 15:57:12 -08:00
Greg Spencer
e3005e6962
Fixes Focus and FocusScope's assignment of canRequestFocus. ( #46168 )
...
This fixes an issue where lines like this:
focusNode.canRequestFocus = widget.canRequestFocus ?? focusNode.canRequestFocus;
Were causing the canRequestFocus bit to copy the status of the enclosing scope, since canRequestFocus also looks to the enclosing scope to decide if it can focus.
2019-12-05 15:33:05 -08:00
Chris Bracken
fa0c49d775
Dispatch hover events to PlatformViewController ( #46124 )
...
This adds support to PlatformViewLayer for handling hover events. Prior
to this, PlatformViewLayers only supported events forwarded by the
gesture recognizers associated with the PlatformViewRenderBox. Hover
events don't participate in gesture recognition and as such are dropped
in GestureBinding. That said, hover event processing in platform views
is expected for desktop and other platforms with hover event support.
This adds support for passing an optional MouseTrackerAnnotation to
PlatformViewLayer. PlatformViewRenderBox populates this with a mouse
tracker annotation that forwards hover events to
PlatformViewController.dispatchPointerEvent() for handling by users.
2019-12-05 13:31:50 -08:00
gaaclarke
86dd664fef
Made the behavior for caching large images modular. ( #46010 )
...
Introduced LargeImageHandler to ImageCache class.
2019-12-05 12:46:59 -08:00
Greg Spencer
c6fe7bb9e1
Normalizes all of the "See also" blocks in comments. ( #46121 )
...
This normalizes all of the "See also" blocks in comments so that they conform in style.
They all look like this now:
/// See also:
///
/// * [MyFavoriteWidget], because it's cool.
class Foo {}
I removed some useless "See also" blocks, and added commentary to ones that were just "bare" references.
This is my penance for adding so many bullets that are "-" instead of "*". :-)
2019-12-05 12:27:05 -08:00
Tong Mu
f8027a795d
Only schedule callback when there is mouse ( #46113 )
2019-12-05 12:18:03 -08:00
Jenn Magder
fb69a393b8
Add bitcode and architectures to App.framework build ios framework command ( #46130 )
2019-12-05 12:16:54 -08:00
Zachary Anderson
e98acc7d1d
[flutter_tool] Print version info on a no-op upgrade. ( #46109 )
2019-12-05 12:16:48 -08:00
Zachary Anderson
99684ce159
[flutter_tool] Make Device.dispose() abstract ( #46006 )
2019-12-05 08:48:00 -08:00
Alexandre Ardhuin
649e188562
implicit-casts:false in flutter/lib/src/painting ( #45621 )
2019-12-05 09:41:49 +01:00
Jenn Magder
d01de941b9
Revert "Support --fast-start for Android applications (as an opt-in) ( #45431 )" ( #46138 )
...
This reverts commit 2a113165c0
.
2019-12-04 18:12:57 -08:00
Jonah Williams
2a113165c0
Support --fast-start for Android applications (as an opt-in) ( #45431 )
2019-12-04 17:34:25 -08:00
Greg Spencer
f7d1616173
Overridable default platform key bindings ( #45102 )
...
This adds actions and shortcuts arguments to WidgetsApp (and MaterialApp and CupertinoApp) to allow developers to override the default mappings on an application, and to allow for a more complex definition of the default mappings.
I've stopped using SelectAction here, in favor of using ActivateAction for all activations, but haven't removed it, to avoid a breaking change, and to allow a common base class for these types of actions. This is because some platforms use the same mapping (web) for both kinds of activations (both select and activate).
2019-12-04 16:07:01 -08:00
Kate Lovett
9011cece25
Pre-Submit Tryjobs for Flutter Gold ( #44474 )
2019-12-04 15:43:36 -08:00
Emmanuel Garcia
9e94eb93bc
Remove flutterBuildPluginAsAarFeature flag ( #46101 )
2019-12-04 15:42:08 -08:00
Greg Spencer
09927b94c3
Add a VisualDensity manual test ( #46083 )
...
Adds a manual test that allows testing of density for buttons. Also updates some of the button tests to be somewhat simpler and to test the child positions in the test to make sure they are consistent.
2019-12-04 10:48:06 -08:00
Christopher Fujino
dfc108c66c
improve resetChanges() dartdoc ( #46008 )
2019-12-04 09:58:01 -08:00
Brian Egan
3ea8c87ce9
Api Samples and Diagrams for 10 more classes / functions ( #45603 )
...
* Api Samples and Diagrams for the following classes and methods:
- AlertDialog
- SimpleDialog
- SingleChildScrollView
- showDatePicker
- RichText
- InputDecoration
- Divider
- StreamBuilder
- DataTable
- BottomSheet
- showBottomSheet
- showModalBottomSheet
* Update packages/flutter/lib/src/material/divider.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/widgets/basic.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/material/data_table.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/material/bottom_sheet.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Update packages/flutter/lib/src/material/scaffold.dart
Co-Authored-By: Kate Lovett <katelovett@google.com>
* Move animation out of sample
* Remove "widget.size", replace with "60"
2019-12-04 13:27:23 +01:00
Alexandre Ardhuin
4956bcc2f9
implicit-casts:false in flutter_driver ( #45175 )
...
* implicit-casts:false in flutter_driver
* address review comments
2019-12-04 11:10:50 +01:00
Alexandre Ardhuin
a5f9b3b036
implicit-casts:false in flutter/lib/src/rendering ( #45720 )
...
* implicit-casts:false in flutter/lib/src/rendering
* address review comments
2019-12-04 10:27:04 +01:00
Alexandre Ardhuin
166d422b05
implicit-casts:false in flutter/lib/src/widgets ( #45728 )
...
* implicit-casts:false in flutter/lib/src/widgets
* address review comments
* address review comment
2019-12-04 09:43:54 +01:00
Alexandre Ardhuin
4049460d31
implicit-casts:false in flutter/lib/src/semantics ( #45722 )
2019-12-04 08:59:19 +01:00