- 06 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 05 May, 2017 2 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
- 03 May, 2017 2 commits
-
-
Ian Hickson authored
Also, I had a question about flutter_test matchers and our style guide says that when I have a question I should update the docs so I did that and then got a bit carried away.
-
Ian Hickson authored
-
- 02 May, 2017 2 commits
-
-
Ian Hickson authored
This splits the frame pipeline into two, beginFrame and drawFrame. As part of making this change I added some debugging hooks that helped debug the issues that came up: * I added debugPrintScheduleFrameStacks which prints a stack whenever a frame is actually scheduled, so you can see why frames are being scheduled. * I added some toString output to EditableText and RawKeyboardListener. * I added a scheduler_tester.dart library for scheduler library tests. * I changed the test framework to flush microtasks before pumping. * Some asserts that had the old string literal form were replaced by asserts with messages. I also fixed a few subtle bugs that this uncovered: * setState() now calls `ensureVisualUpdate`, rather than `scheduleFrame`. This means that calling it from an AnimationController callback does not actually schedule an extra redundant frame as it used to. * I corrected some documentation.
- 24 Apr, 2017 1 commit
-
-
Adam Barth authored
This patch introduces the notion of a keyboard token, which generalizes the logic in EditableText for distinguishing between gaining focus by default and gaining focus because of an explicit use action. Fixes #7985
-
- 19 Apr, 2017 1 commit
-
-
Ian Hickson authored
-
- 18 Apr, 2017 1 commit
-
-
Mikkel Nygaard Ravn authored
-
- 14 Apr, 2017 1 commit
-
-
Hans Muller authored
-
- 13 Apr, 2017 1 commit
-
-
Ian Hickson authored
-
- 12 Apr, 2017 2 commits
-
-
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
-
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 1 commit
-
-
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
-
- 07 Apr, 2017 1 commit
-
-
Ian Hickson authored
Aggressively apply the const lint.
-
- 05 Apr, 2017 1 commit
-
-
Ian Hickson authored
-
- 02 Apr, 2017 1 commit
-
-
Adam Barth authored
Also, fix an issue where hint text wasn't visible when the InputDecoration was collapsed. Fixes #8541
-
- 31 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
- 30 Mar, 2017 1 commit
-
-
Ian Hickson authored
-
- 29 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 21 Mar, 2017 1 commit
-
-
Adam Barth authored
This patch prepares us to remove InputValue in favor of TextEditingValue.
-
- 20 Mar, 2017 1 commit
-
-
Adam Barth authored
Fixes #4017
-
- 17 Mar, 2017 2 commits
-
-
Adam Barth authored
This machinery is useful for arbitrary boxes (e.g., with FittedBox). Fixes #6463
-
Mikkel Nygaard Ravn authored
Breaking change: removed deprecated methods of PlatformMessages, leaving only binary messaging there. All other use of platform communication now goes through PlatformMessageChannel and PlatformMethodChannels. Retained use of String and JSON codecs for now. Companion engine PR: flutter/engine#3482
-
- 15 Mar, 2017 2 commits
-
-
Alexandre Ardhuin authored
-
Alexandre Ardhuin authored
-
- 13 Mar, 2017 1 commit
-
-
Ian Hickson authored
-
- 10 Mar, 2017 2 commits
-
-
Alexandre Ardhuin authored
-
Alexandre Ardhuin authored
-
- 08 Mar, 2017 2 commits
-
-
Ian Hickson authored
-
Ian Hickson authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 23 Feb, 2017 2 commits
-
-
Phil Quitslund authored
* Bump to test `0.12.20`. Some test `0.12.20` highlights: * introduces `expectLater()` that returns a `Future` that completes when the matcher has finished running * deprecates the `verbose` parameter to `expect()` and the `formatFailure()` (to be removed in `0.13.0`) Otherwise: * to keep up w/ the deprecation of `verbose`, removes `widget_tester` API to pass `verbose` flag (alternatively we could suppress the warning for now) * Update stack manipulation. * Fix framecount.
-
Alexandre Ardhuin authored
-
- 21 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
Fixes #7734
-
- 18 Feb, 2017 1 commit
-
-
Todd Volkert authored
-
- 15 Feb, 2017 1 commit
-
-
Hans Muller authored
-
- 14 Feb, 2017 1 commit
-
-
Ian Hickson authored
-
- 08 Feb, 2017 1 commit
-
-
Adam Barth authored
Tabs are now fully driven by slivers.
-