- 14 Dec, 2015 2 commits
-
-
Eric Seidel authored
This will allow writing tests/benchmark which want to use the engine's default beginFrame and normal passage of time. @Hixie
-
Ian Hickson authored
-
- 09 Dec, 2015 1 commit
-
-
Eric Seidel authored
I had to add a setLocale method to WidgetTester and split the code in FlutterBinding which handled locale changes to allow me to dispatch a locale change w/o actually changing what the c++ code reports as the locale. Also added the test to Travis. @abarth @jason-simmons
-
- 05 Dec, 2015 1 commit
-
-
Ian Hickson authored
Instead of PointerInputEvent having a "type" field, we now have a different class for each pointer type. This has ripple effects throughout the system. I also did code cleanup in affected files while I was there.
-
- 03 Dec, 2015 1 commit
-
-
Hixie authored
Also: - minor code reindents in places. - reset the widget tree between tests. - once you generate a route, don't let its builder change (previously it would keep changing as the routes table changed). - revert the stocks app toolbar-fading-on-forward-transition thing.
-
- 02 Dec, 2015 2 commits
-
-
Florian Loitsch authored
The names are probably less familiar, but more consistent: - FrameCallback: a callback that is relative to the frame and wants the frame offset (a duration) as argument. - addXFrameCallback: adds the given callback to the internal lists/maps. - scheduleXFrameCallback (currently only X = ""): add the callback, but also trigger a new frame. - handleX: the method that is invoked when the event-loop or the frame calls into the scheduler. - ensureXYZ: ensure that the callback happens. Unfortunately there is the ambiguity between a "callback": it can be a closure, or the action of doing a callback, so we end up with: ensureBeginFrameCallback, and ensureEventLoopCallback, where "callback" means the action of being called back.
-
Florian Loitsch authored
-
- 23 Nov, 2015 1 commit
-
-
Adam Barth authored
This package contains WidgetTester, which is very useful when writing tests for widgets.
-
- 20 Nov, 2015 1 commit
-
-
Hixie authored
- `Scaffold.of(context).showBottomSheet(widget);` - Returns an object with .closed Future and .close() method. - Uses a StateRoute to handle back button. - Take the Navigator logic out of the BottomSheet widget. - Support showing a sheet while an old one is going away. - Add Navigator.remove().
-
- 17 Nov, 2015 1 commit
-
-
Adam Barth authored
To make the units clear.
-
- 16 Nov, 2015 1 commit
-
-
Hixie authored
- force the time dilation to 1.0 for the Widget tests, so that a local change doesn't break all the tests during development. - add missing license block to all the files. - set ui.window.onBeginFrame to null when you use WidgetTester, so that the engine doesn't trigger any confusing frames after our fake frames.
-
- 13 Nov, 2015 1 commit
-
-
Ian Hickson authored
-
- 12 Nov, 2015 1 commit
-
-
Hixie authored
Turns out that ignoring all error lines that match the empty string is a poor way to go. Also, we have to update all the example packages now too, since we analyze them. So just have travis use our update script. Also, remove flutter_tools' old travis stuff. It's now part of a bigger repo. Also, make travis use the dev Dart SDK, since we need the new analyzer. Stable is way too out of date, e.g. it still complains about libraries not having names and mixins using 'super', and the strong mode hints are even more aggressive than on dev.
-
- 11 Nov, 2015 2 commits
-
-
Hans Muller authored
-
Hans Muller authored
-
- 28 Oct, 2015 1 commit
-
-
Adam Barth authored
-
- 15 Oct, 2015 1 commit
-
-
Jason Simmons authored
-
- 13 Oct, 2015 1 commit
-
-
Kris Giesing authored
-
- 10 Oct, 2015 3 commits
-
-
Adam Barth authored
-
Adam Barth authored
-
Adam Barth authored
-
- 02 Oct, 2015 1 commit
-
-
Adam Barth authored
Fixes #1320
-
- 01 Oct, 2015 3 commits
-
-
Adam Barth authored
Fixes #1084
-
Adam Barth authored
-
Adam Barth authored
Now that we've ported all the widget tests to fn3, we don't need a separate fn3 directory.
-
- 26 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 21 Sep, 2015 1 commit
-
-
Adam Barth authored
All the use cases for EventDisposition are now addressed by the gesture detection system.
-
- 15 Sep, 2015 1 commit
-
-
Hixie authored
Also: - don't mark a node as from the new generation if it is dirty, since we know it still has to be built. - establish the rule that you can't call setState() during initState() or build(). - make syncChild() return early for unchanged children. - update the tests, including adding a new one.
-
- 08 Sep, 2015 1 commit
-
-
Adam Barth authored
Move the animation libraries into src/animation and change importers to use package:sky/animation.dart. Also, move scheduler.dart into the animation library so that the animation library can be self-contained.
-
- 04 Sep, 2015 1 commit
-
-
Hans Muller authored
-
- 02 Sep, 2015 1 commit
-
-
Hans Muller authored
Makes PageableList with itemsWrap:true work again. Plumbed the itemsWrap parameter through to HomogenousViewport. Fixes issue #877.
-
- 31 Aug, 2015 2 commits
-
-
Hans Muller authored
Convert Dismissable to use the ScrollStart, ScrollUpdate, and ScrollEnd gestures. Support for fling gestures is TBD. Included a basic unit test that checks that one item can be dismissed with a press-drag-release gesture. Fixed the scroll gesture recognizer: if the last pointer goes up and candidate recognizers still exist, then reject the gesture.
-
Adam Barth authored
This parameter makes it easier to do math when you don't want to center your tranform at (0, 0).
-
- 30 Aug, 2015 1 commit
-
-
Adam Barth authored
If there are no other gestures in the arena, we should kick off the scroll gesture right away. This change pulled a refactoring of how we dispatch events to Widgets. Now we dispatch events to Widgets interleaved with their associated RenderObjects. (Previously we dispatched to all of the RenderObjects first.)
-
- 28 Aug, 2015 4 commits
-
-
Hixie authored
add/remove/add smoketest basic vertical behaviour basic horizontal behaviour
-
Adam Barth authored
This patch replaces the scroll gestures used by Scrollable with ones detected by the ScrollGestureDetector.
-
Adam Barth authored
We're now using it at the widget layer for everything except scrolling and flinging.
-
Adam Barth authored
These gestures use the new gesture detection system.
-
- 27 Aug, 2015 1 commit
-
-
Eric Seidel authored
Also includes changes to widget_tester sufficient to test scrolling. @abarth
-
- 26 Aug, 2015 1 commit
-
-
Adam Barth authored
Also, rename build_utils.dart to widget_tester.dart. These files are now named for their most commonly used classes. Finally, add a .analysis_options to silence the (intentional) analyzer warnings in append_child_test.dart.
-