Adam Barth
fb98a387aa
Support flutter test with prebuilt binaries
...
Now you can run tests with and without --flutter-repo with a prebuilt binary on
Linux.
Fixes #307
2015-12-03 10:05:57 -08:00
Ian Hickson
17533e1d74
Merge pull request #693 from Hixie/yak2-transitions
...
buildForwardTransition()
2015-12-02 18:22:04 -08:00
Hixie
bc5307f5af
buildForwardTransition()
...
For those times when you want to do something as you move away from a
route into the next one, as well as when you move into it from the
previous one.
2015-12-02 17:16:43 -08:00
Florian Loitsch
9d86ac5e35
Merge pull request #664 from floitschG/scheduler.renames
...
Rename some of the functions from the scheduler.
2015-12-02 15:42:53 -08:00
Florian Loitsch
728211526a
Rename some of the functions from the scheduler.
...
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.
2015-12-02 15:37:11 -08:00
Adam Barth
c13fe8eb5a
Merge pull request #680 from abarth/fix_analyzer
...
Add missing import to flutter_sprites
2015-12-02 14:54:00 -08:00
Adam Barth
43bf82a8b8
Merge pull request #683 from abarth/mimic_overlay
...
Add liftToOverlay to Mimicable
2015-12-02 14:29:06 -08:00
Adam Barth
f538d3b750
Add liftToOverlay to Mimicable
...
This patch integrates Mimicable with Overlay such that you can tell a Mimicable
to lift up into the overlay and animate towards another widget identified by a
global key.
2015-12-02 14:20:56 -08:00
Hans Muller
2c016459b0
Merge pull request #682 from HansMuller/progress_indicator
...
Fix a typo in _CircularProgressIndicatorPainter
2015-12-02 12:08:59 -08:00
Eric Seidel
95eac98fac
Merge pull request #681 from eseidelGoogle/trace
...
Make trace --stop fail if the adb pull fails.
2015-12-02 12:00:01 -08:00
Hans Muller
46f57d2d57
Fix a typo in _CircularProgressIndicatorPainter
2015-12-02 11:47:10 -08:00
Eric Seidel
5b2cc1ae67
Make trace --stop fail if the adb pull fails.
...
@chinmaygarde
2015-12-02 11:27:27 -08:00
Adam Barth
12304965a4
Add missing import to flutter_sprites
2015-12-02 10:39:20 -08:00
Adam Barth
853c42fc08
Merge pull request #677 from abarth/behavior
...
Rename _updateScrollBehaviour to _updateScrollBehavior
2015-12-02 10:20:29 -08:00
Ian Hickson
a4b7cb37b8
Merge pull request #674 from Hixie/duplicate-keys-in-stocks
...
Fix crash when going back in stocks app.
2015-12-02 09:52:07 -08:00
Adam Barth
4f43a782c8
Rename _updateScrollBehaviour to _updateScrollBehavior
...
Fixes #675
2015-12-02 09:51:09 -08:00
Ian Hickson
d5e072c35b
Fix crash when going back in stocks app.
...
Heroes with the same tag have to have keys that are unique across the
entire subtree. Since we can now show both stock lists, this means we
have to include the tab in the heroes' keys.
Fixes #668 .
2015-12-01 22:54:11 -08:00
Florian Loitsch
38aa83b046
Merge pull request #663 from floitschG/remove_animation_scheduler
...
Remove animation scheduler.
2015-12-01 20:47:13 -08:00
Florian Loitsch
018bcbf2d9
Remove animation scheduler.
2015-12-01 20:36:52 -08:00
Florian Loitsch
43e1dc9db4
Merge pull request #662 from floitschG/scheduler.merge_schedulers
...
Merge the two schedulers.
2015-12-01 19:41:17 -08:00
Florian Loitsch
10c80f2e1a
Merge the two schedulers.
2015-12-01 17:48:38 -08:00
Jason Simmons
3fe160d89b
Merge pull request #661 from jason-simmons/switch_track_color
...
Initialize the track color fields in _RenderSwitch
2015-12-01 16:47:41 -08:00
Jason Simmons
79fd04de1a
Initialize the track color fields in _RenderSwitch
2015-12-01 16:39:38 -08:00
Jason Simmons
bbd84bce93
Merge pull request #660 from jason-simmons/apk_output_label
...
Add output to "flutter apk" indicating where the APK file was written
2015-12-01 15:50:52 -08:00
Jason Simmons
da3a0b8ea2
Merge pull request #659 from jason-simmons/apk_init_manifest
...
Generate an Android manifest in "flutter init"
2015-12-01 15:47:29 -08:00
Jason Simmons
01ff4ef6bc
Add output to "flutter apk" indicating where the APK file was written
2015-12-01 15:44:15 -08:00
Jason Simmons
76ced91388
Generate an Android manifest in "flutter init"
2015-12-01 15:28:19 -08:00
Ian Hickson
abf3f1bb00
Merge pull request #651 from Hixie/zero-size-painting-context
...
Remove the assert when opening popup menus.
2015-12-01 02:17:09 -08:00
Ian Hickson
fbd612e662
Remove the assert when opening popup menus.
...
Some paint bounds are in fact empty, e.g. at the start of a growing
animation if there's also a fade, the initial 0x0 box will also be
opacity:0, and might get a dedicated layer and PaintingContext.
2015-12-01 01:52:25 -08:00
Ian Hickson
1a0bdf4103
Merge pull request #621 from Hixie/material-ink
...
Model ink splashes more physically
2015-12-01 01:43:42 -08:00
Ian Hickson
ee802bfe31
Model ink splashes more physically
2015-12-01 01:36:11 -08:00
Adam Barth
366d078dcb
Merge pull request #647 from abarth/update_test
...
Update package:test to the latest version
2015-11-30 21:31:18 -08:00
Adam Barth
f41869f639
Update package:test to the latest version
2015-11-30 18:41:10 -08:00
Adam Barth
c19102a3ef
Merge pull request #648 from abarth/icon_button
...
Makes it easier to hit IconButton
2015-11-30 18:34:54 -08:00
Adam Barth
4e6b5267d3
Makes it easier to hit IconButton
...
The right fix here is to use a radial reaction, but for now we can just make
the gesture detector including the padding acround the icon in its hit test
region.
Fixes #575
2015-11-30 17:38:26 -08:00
Adam Barth
08dbc7d6fb
Merge pull request #646 from abarth/input_padding
...
Fix Input padding to match the material spec
2015-11-30 17:17:55 -08:00
Adam Barth
6067b306dd
Fix Input padding to match the material spec
...
Also, handle the case of "dense" input widgets that have less margin.
Fixes #626
2015-11-30 17:05:50 -08:00
Adam Barth
6fbe39e256
Merge pull request #645 from abarth/hide_text
...
Add input#hideText
2015-11-30 17:05:02 -08:00
Adam Barth
179d191e3a
Add input#hideText
...
This feature can be used to implement password fields, where the user doesn't
want the text displayed on screen. Currently all the characters are hidden.
Eventualy we'll want to show the most recent character for some timeout.
Fixes #636
2015-11-30 16:56:38 -08:00
Ian Hickson
3b278c5677
Merge pull request #641 from Hixie/yak2-navigator-transactions
...
NavigatorTransaction
2015-11-30 15:32:17 -08:00
Hixie
f9ea1ce815
NavigatorTransaction
...
To make it easier to avoid pushing twice in one frame, provide a
transaction mechanism for the navigator.
2015-11-30 15:24:36 -08:00
Adam Barth
97cca4d47b
Merge pull request #639 from abarth/default_enter_exit
...
Add a default onEnter/onExit for EnterExitTransition
2015-11-30 15:13:18 -08:00
Adam Barth
6f17228e43
Merge pull request #634 from abarth/popup_menu_align
...
PopupMenu shouldn't use CustomPaint
2015-11-30 15:13:02 -08:00
Adam Barth
e0f35a5f0d
Add a default onEnter/onExit for EnterExitTransition
...
We now default to the identity transition.
2015-11-30 14:58:56 -08:00
Adam Barth
114135aadb
Merge pull request #633 from abarth/fling_sheet_up
...
Bottom sheets shouldn't dismiss when flung up
2015-11-30 14:24:30 -08:00
Adam Barth
c810b0501f
PopupMenu shouldn't use CustomPaint
...
Align is now powerful enough to do all the work we need to do here.
2015-11-30 14:23:14 -08:00
Ian Hickson
2f0e8eb1d7
Merge pull request #632 from Hixie/yak2-navigator-remove
...
New methods for manipulating Navigators.
2015-11-30 13:41:24 -08:00
Adam Barth
4472d06e02
Update engine
2015-11-30 13:37:06 -08:00
Adam Barth
7192dbb1c6
Bottom sheets shouldn't dismiss when flung up
2015-11-30 13:36:10 -08:00
Hixie
ce6a10412c
New methods for manipulating Navigators.
...
* NavigatorState.replaceRouteBefore()
* NavigatorState.removeRouteBefore()
* NavigatorState.popUntil()
2015-11-30 13:33:15 -08:00