Commit Graph

9763 Commits

Author SHA1 Message Date
Jonah Williams
6701bbc528 update fuchsia-attach (#29764) 2019-03-21 16:13:04 -07:00
Jonah Williams
40cbdd11cd Use Dart version in script cache check (#29721) 2019-03-21 15:56:13 -07:00
xster
8e7e435706 Add heart shapes to CupertinoIcons (#29630) 2019-03-21 15:31:46 -07:00
Rubens de Melo
a8c1960fc2 Include brackets on OutlineButton doc (#29654) 2019-03-21 15:28:51 -07:00
Jonah Williams
e38be671a7 Update upgrade to rebase and stash local changes. (#29192) 2019-03-21 14:32:52 -07:00
Jonah Williams
fc9f7dea1a Allowing adding/updating packages during hot reload (#29747) 2019-03-21 13:59:38 -07:00
Mouad Debbar
c80366a160 Avoid flickering while dragging to select text (#29563) 2019-03-21 13:25:29 -07:00
Jonah Williams
469a859c72 Enable code generation features in tool (#29399) 2019-03-21 13:12:10 -07:00
Shayne Kelly II
db096cdfd8 Update DropdownButton underline to be customizable (#29138) 2019-03-21 10:32:43 -07:00
Christopher Fujino
a4b9ef2e79 Fix more tests for ANSI terminals (#29699)
* have tests that log error messages use a FakePlatform that does not support Ansi color, to fix tests started from color terminals
* add the override to the other tests too, in case someone copy & pastes them in the future for a test involving an error message
2019-03-21 09:11:58 -07:00
Jonah Williams
377f4451ca fix asset reloading (#29469) 2019-03-21 09:03:28 -07:00
Alexander Aprelev
12c4e050be Use source list from the compiler to track invalidated files for hot reload. (#29693)
* Use source list from the compiler to track invalidated files.

* Revert accidental change

* Fix first-time-seen-the-file logic

* Fix/simplify invalidate logic now that we can rely on compiler to let us know what is the cut-off point for invalidation.

* Update devfs mock to accommodate for new fields

* Fix deleted files case

* Analyzer found missing final
2019-03-20 21:58:15 -07:00
Dan Field
5c258366d4 Reland composite physical layers for all platforms (#29701)
* Composite physical layers even if elevation is 0
2019-03-20 17:37:47 -07:00
Anthony
bdf582fd15 [Material] Create a FloatingActionButton ThemeData and honor it within the FloatingActionButton (#28735)
Adds a FloatingActionButtonThemeData so that FABs can be themed at the Theme level and independently. The properties that are now on the theme must be defaulted at the build level, in order to respect any contributing theme properties. Because of this, some tests had to be modified to look at properties after they are built. Also, since default behaviors are now tested in the FAB Theme test, some default tests in the FAB test no longer applied and were removed.

The themable properties are:
-backgroundColor
-foregroundColor
-elevation
-disabledElevation
-highlightElevation
-shape
2019-03-20 19:43:56 -04:00
Jonah Williams
5f727126ca Download secondary SDK (#29633) 2019-03-20 15:41:45 -07:00
Jonah Williams
c72f18fcd5 Add builders and engine hash to fingerprint (#29434) 2019-03-20 15:40:37 -07:00
Alexandre Ardhuin
a6af422874 some spaces formatting (#29452)
* some space formattings

* always use blocks in if-else if a block is used

* format spaces in for and while

* allow multiline if conditions

* fix missing space
2019-03-20 23:23:31 +01:00
Marco Scannadinari
4418ec467b Adjust remaining Cupertino route animations to match native (#28597) 2019-03-20 14:53:22 -07:00
Lau Ching Jun
c33d263830 Fix typo (#29625) 2019-03-20 14:22:10 -07:00
Jonah Williams
b123846cb0 Improve flutter test startup time (#29404) 2019-03-20 13:58:57 -07:00
Shi-Hao Hong
cf12c31465 DropdownButton Icon customizability (#29572) 2019-03-20 13:38:40 -07:00
Ben Konyi
e8b98f9648 Manual engine roll for 2019-03-19 (#29627)
* Manual engine roll for 2019-03-19
* Applying patch for Dart SDK changes (see PR #29004)
2019-03-19 20:01:03 -07:00
Jonah Williams
edd4c6207a prevent stream notifications from interfering with reload (#29467) 2019-03-19 16:19:45 -07:00
Dan Field
5764aee67c Revert "Reland composite physical layers on all platforms (#29532)" (#29623)
This reverts commit 803b15e0db.
2019-03-19 15:17:05 -07:00
Shi-Hao Hong
dffbfebbf1 added friendlier error for invalid AndroidManifest.xml (#29604) 2019-03-19 14:44:22 -07:00
Phil Quitslund
8707f1f335 make literals const for @immutable constructors (#29619) 2019-03-19 14:17:37 -07:00
Hans Muller
b3046a6c67 Update progress indicator API docs (#29564) 2019-03-19 14:13:11 -07:00
Jonah Williams
f8f2b043e1 remove explicit frame schedule (#29461) 2019-03-19 10:24:55 -07:00
Priit Lätt
cdbd0f9ddd Use async execution for xcodebuild commands (#29048) 2019-03-19 09:19:34 -07:00
Brian Wilkerson
2b7ad97419 Update another SDK constraint (#29454) 2019-03-19 07:08:06 -07:00
Dan Field
5e27ebbe8d Add semantic label finders (#29342)
* Add semantic label finders
2019-03-18 20:32:03 -07:00
liyuqian
79e3bf4ad3 Manually roll engine to 5088735e5 (#29566)
Need this manual roll because of golden changes.

flutter/engine@5088735e5 Clip to clip_rect instead of paint bounds (flutter/engine#8183)
flutter/engine@8818a6c41 Roll src/third_party/skia 2c043c288169..4a522b7e916c (3 commits) (flutter/engine#8201)
flutter/engine@048d70bc0 Support dartdevc, dart2js with shared source files, dartdevc sdk (flutter/engine#8105)
flutter/engine@e0782dec7 Roll src/third_party/skia 576b2a5596bc..2c043c288169 (2 commits) (flutter/engine#8200)
2019-03-18 17:34:20 -07:00
Filip Hracek
644f499ab7 Add sample to forEachTween (#29195)
The current documentation for `AnimatedWidgetBaseState.forEachTween` is exhaustive but a little hard to grok. This dartdoc example provides some clarity.
2019-03-18 14:37:57 -07:00
Dan Field
803b15e0db Reland composite physical layers on all platforms (#29532)
Reland composite physical layers and update tests
2019-03-18 12:30:02 -07:00
xster
59ce7d6bff Make real JSON in arb (#29463) 2019-03-18 11:20:10 -07:00
Francisco Magdaleno
c163ed9618 Adds macOS raw keyboard mapping (#29231) 2019-03-18 11:12:04 -07:00
Jonah Williams
75c50da5f6 Ensure that different formatting of ndk properties file does not crash tool (#29528) 2019-03-18 10:51:24 -07:00
Ivan Schütz
bd697d4b5a Improve Navigator documentation (#29540) 2019-03-18 10:31:02 -07:00
Dan Field
8e14c227eb Make it easier to ensure semantics in widgetTests (#29387)
* Make it easier to ensure semantics
2019-03-18 10:08:23 -07:00
liyuqian
0bf0f5c1da Add doc about MediaQuery to Chip (#29445)
Fixes https://github.com/flutter/flutter/issues/21232
2019-03-15 22:03:13 -07:00
Jonah Williams
72605d2406 Switch flutter_tools from script to app-jit snapshot. (#27749) 2019-03-15 19:33:24 -07:00
Jonah Williams
fa52f345d6 fix for sometimes packages file is an APK (#29456) 2019-03-15 15:52:40 -07:00
Jonah Williams
cd803ac7f2 Improve hot reload performance (#28152) 2019-03-15 15:02:45 -07:00
Shi-Hao Hong
2a21c1a188 add assert if length of TabController and number of tabs do not match (#29332) 2019-03-15 14:25:56 -07:00
Anthony
87e6beecad Fix Flex class docs by replacing 'vertical space' with 'space on its main axis' so that the language fits both column and row. (#29057) 2019-03-15 13:33:51 -07:00
Kate Lovett
71bd5d4f55 Sample code for Align class. ref:#13637 (#29442) 2019-03-15 13:32:03 -07:00
Mouad Debbar
5787fc3ae2 Fix text selection when user is dragging in the opposite direction (#29395) 2019-03-15 13:09:27 -07:00
liyuqian
be5c83b9b8 Add dump-shader-skp flag to flutter tools (#29258)
This is the accompanying change for https://github.com/flutter/engine/pull/8148 and it needs the engine PR to land first.

For https://github.com/flutter/flutter/issues/813
2019-03-15 12:37:53 -07:00
xster
fa149eea9b Cupertino localization step 1: add an English arb file (#29200) 2019-03-15 12:10:35 -07:00
liyuqian
0067efca61 No shrinking for BackdropFilter's cull rect (#28174)
* No shrinking for BackdropFilter's cull rect

This will be a breaking change. Our old behavior may generate confusions
for a sample app like our added golden test: Skia will shrink the cull
rect (and thus the filtered area) to the text. The new behavior will
fill the BackdropFilter to its parent/ancestor clip. This is more
in align with our clip behaviors (no clip by default).

If this breaks your app, wrap the BackdropFilter with a ClipRect.

[wip] The golden images are not uploaded yet. I'll wait for the initial
round of review to approve the golden test before uploading them.

* Statically define the callback

* Add TODO to remind the hacking code removal

* Nit fix

* Update goldens
2019-03-15 09:42:11 -07:00