- 17 Apr, 2017 4 commits
-
-
John McCutchan authored
The first hot reload does a bunch of work that we used to hide behind the loader screen. This PR changes the messsage printed to the user on the first reload from: 'Performing hot reload...' to: 'Initializing hot reload...' Subsequent reloads say 'Performing hot reload...'
-
Hans Muller authored
-
Chris Bracken authored
Also switches to single quotes for consistency with surrounding code.
-
Dwayne Slater authored
-
- 16 Apr, 2017 1 commit
-
-
Brian Slesinsky authored
When invoked from the command line, relative paths aren't typically used, but they are when invoked from within IDEA and prevents IDEA from reading the files. Also, remove flutterPackagesDirectory since it's not used
-
- 15 Apr, 2017 4 commits
-
-
Zachary Anderson authored
-
Brian Slesinsky authored
IDEA gets confused unless the filename matches the project library name, including getting the case right.
-
Ian Hickson authored
With this patch, you can do: ```dart Future<Null> foo() async { try { await controller.forward().orCancel; await controller.reverse().orCancel; await controller.forward().orCancel; } on TickerCanceled { // did not complete } } ``` ...in a State's async method, and so long as you dispose of the controller properly in your dispose, you'll have a nice way of doing animations in sequence without leaking the controller. try/finally works as well, if you need to allocate resources and discard them when canceled. Simultaneously, you can do: ```dart Future<Null> foo() async { await controller.forward().orCancel; await controller.reverse().orCancel; await controller.forward().orCancel; } ``` ...and have the same effect, where the method will just silently hang (and get GC'ed) if the widget is disposed, without leaking anything, if you don't need to catch the controller being killed. And all this, without spurious errors for uncaught exceptions on controllers.
-
Yegor authored
-
- 14 Apr, 2017 10 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
Zachary Anderson authored
-
Adam Barth authored
There are more places we can use this annotation, but this patch just gets us started.
-
Jason Simmons authored
-
Brian Slesinsky authored
Generates an android.iml file and a package-level library for flutter.jar. Does not set up an Android SDK in IDEA; this isn't possible with a template-based approach. But IDEA shows a clear warning, so the user can fix this by setting the SDK. (When creating a Flutter project from within IDEA, we can fix this up afterwards in the plugin.)
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/9258
-
Devon Carew authored
-
Devon Carew authored
* update the font used for docs.flutter.io * update to use the flutter primary color * update the header background color
-
Phil Quitslund authored
Brings us inline with the latest internal push.
-
- 13 Apr, 2017 10 commits
-
-
Hans Muller authored
* Scaffold appBar is-a PreferredSizeWidget, etc * Updated * Updated per review feedback
-
Ian Hickson authored
-
Chris Bracken authored
-
Chris Bracken authored
Tests that updates to selection base/offset editing state is updated on controller updates. Tests TextEditingValue.clear() clears text.
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/8690
-
Ian Hickson authored
I can't figure out if this is genius or a giant hack. This lets you use DefaultTextStyle.merge and IconTheme.merge without specifying a BuildContext. It automatically merges in at the appropriate place in the tree using a Builder widget.
-
Ian Hickson authored
In particular, if stdout.supportsAnsiEscapes is false, don't output ANSI. Also, output stdout/stderr of tests that are normally silenced, if they fail. Also, update the output to be more convenient when debugging. Also, expand some abbreviations.
-
Yegor authored
-
xster authored
-
xster authored
-
- 12 Apr, 2017 7 commits
-
-
xster authored
Remove intermediate animation listener
-
Hans Muller authored
-
Hans Muller authored
-
Ian Hickson authored
* Manually fix every use of Point.x and Point.y Some of these were moved to dx/dy, but not all. * Manually convert uses of the old gradient API * Remove old reference to Point. * Mechanical changes I applied the following at the root of the Flutter repository: git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g' git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g' git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g' git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g' git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g' git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g' git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g' git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g' git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g' git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g' git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g' git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g' git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g' git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g' git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g' git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g' * Mechanical changes - dartdocs I applied the following at the root of the Flutter repository: git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g' git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g' * Further improvements and a test * Fix minor errors from rebasing... * Roll engine
-
Chris Bracken authored
-
Hans Muller authored
-
Ian Hickson authored
* Fix tests to use Ahem, and helpful changes around that - Fix fonts that had metric-specific behaviours. - LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed to LiveTestWidgetsFlutterBinding.framePolicy. - LiveTestWidgetsFlutterBinding now defaults to using a frame policy that pumps slightly more frames, to animate the pointer crosshairs. - Added "flutter run --use-test-fonts" to enable Ahem on devices. - Changed how idle() works to be more effective in live mode. - Display the test name in live mode (unless ahem fonts are enabled). - Added a toString to TextSelectionPoint. - Style nit fixes. * Roll engine to get Ahem changes. * Update tests for dartdoc changes. * Fix flutter_tools tests
-
- 11 Apr, 2017 4 commits
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/7715
-
Devon Carew authored
-
xster authored
Rename State.config to State.widget Rename State.didUpdateConfig to State.didUpdateWidget Renamed all State subclasses' local variables named config to something else
-