12250 Commits

Author SHA1 Message Date
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 de2514c0e2631e33996d131e8743fbcb7bbd57c4 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 866fa64dceab567750fb669f3a8f05b22e7e9342.
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