3013 Commits

Author SHA1 Message Date
Ian Hickson
d46aff8a46 Merge pull request #750 from Hixie/yak3-performance-view-listener-refactor
Refactor PerformanceView listeners.
2015-12-04 16:10:45 -08:00
Hixie
4ba074f690 Refactor PerformanceView listeners.
Primarily, this rearranges how listeners are handled internally by the
various PerformanceView classes so that there's not so much redundancy.

It also fixes ReversePerformance and ProxyPerformance to not leak.
Previously, they never unhooked their listeners, so they'd leak until
the entire chain of performances was killed. Now, they unhook as soon as
they themselves have no listeners left, which is more idiomatic.
2015-12-04 16:10:11 -08:00
Adam Barth
0d6a564aec Merge pull request #747 from abarth/null_assert
Improve the asset for build functions that return null
2015-12-04 15:03:48 -08:00
Ian Hickson
f1b01f9a46 Merge pull request #746 from Hixie/homogeneous-fixes
Add more asserts to help catch the blackness bug
2015-12-04 14:51:24 -08:00
Adam Barth
59c3ecdcc6 Improve the asset for build functions that return null
Fixes #689
2015-12-04 14:47:51 -08:00
Collin Jackson
7dc7f16abb Merge pull request #741 from collinjackson/hero_wip
Support for hero transitions underneath the target page
2015-12-04 14:41:58 -08:00
Hixie
d4f3d0a072 Add more asserts to help catch the blackness bug 2015-12-04 14:32:56 -08:00
Collin Jackson
c253ca627b Support for hero transitions underneath a PageRoute 2015-12-04 14:26:31 -08:00
Collin Jackson
fa31a4ad37 Move HeroController into heroes.dart and PageRoute into pages.dart 2015-12-04 13:33:18 -08:00
Ian Hickson
519b190c0f Merge pull request #745 from Hixie/yak2-better-transitions-api
Refactor forward transition building
2015-12-04 13:12:28 -08:00
Hixie
a83eadccc0 Refactor forward transition building
Instead of separate functions for the 0->1 and 1->2 transitions, just
have one function.
2015-12-04 13:07:24 -08:00
Adam Barth
42eafce04a Merge pull request #740 from abarth/custom_layout_assert
MultiChildLayoutDelegate should assert that all children have had layoutChild called exactly once
2015-12-04 12:50:14 -08:00
Eric Seidel
8b3df8487d Merge pull request #742 from eseidelGoogle/profile_instructions
Make profile_startup.dart print instructions.
2015-12-04 12:35:56 -08:00
Ian Hickson
c0884943cb Merge pull request #739 from Hixie/builder-no-variables
BuilderTransition no longer requires variables
2015-12-04 12:34:25 -08:00
Adam Barth
b83187d8f3 MultiChildLayoutDelegate should assert that all children have had layoutChild called exactly once
Fixes #692
Fixes #690
2015-12-04 12:31:58 -08:00
Eric Seidel
047c53ee3e Make profile_startup.dart print instructions.
@chinmaygarde
2015-12-04 12:26:19 -08:00
Hixie
4789ee36c3 BuilderTransition no longer requires variables
Sometimes you want to just make a transition driven straight from the
performance's progress, rather than with an explicit variable.
2015-12-04 12:10:41 -08:00
Adam Barth
eaab8fa18f Merge pull request #735 from abarth/custom_clip
Add custom clipping to ClipRect and ClipOval
2015-12-04 11:31:47 -08:00
Adam Barth
975997113b Merge pull request #734 from abarth/foreground_painter
Add the ability to custom paint foregrounds
2015-12-04 11:28:08 -08:00
Adam Barth
f66726609d Add custom clipping to ClipRect and ClipOval 2015-12-04 11:26:34 -08:00
Eric Seidel
ccd154f60e Merge pull request #738 from eseidelGoogle/profile_startup
Add script for profiling startup using flutter trace on Android
2015-12-04 11:25:51 -08:00
Ian Hickson
7b518d955e Merge pull request #737 from Hixie/yak2-slider
Slider Improvements
2015-12-04 11:24:00 -08:00
Hixie
6c3459e0b6 Slider Improvements
Have the widget support min/max arguments to make the widget easier to
use. Also, fix the dragging so it's actually where the knob is.
2015-12-04 11:23:16 -08:00
Adam Barth
2a9de0aa97 Add the ability to custom paint foregrounds 2015-12-04 11:21:55 -08:00
Eric Seidel
5e70bd13f6 Add script for profiling startup using flutter trace on Android
This will work after the next Engine roll.  Currently it requires
a fix to tracing which isn't in the released engine.

Next steps are to make this work on a bot, and to add iOS support.

@abarth @chinmaygarde
2015-12-04 11:19:38 -08:00
Jason Simmons
87667cb7cc Merge pull request #714 from jason-simmons/stocks_i18n
Example of using the Dart internationalization package in Flutter
2015-12-04 10:00:17 -08:00
Jason Simmons
e08d446ebf Example of using the Dart internationalization package in Flutter 2015-12-04 09:48:32 -08:00
Adam Barth
a2b8f8b996 Merge pull request #721 from abarth/ink_response
Improve material ink response
2015-12-04 08:49:33 -08:00
Adam Barth
0608a02a97 Improve material ink response
This patch contains a number of improvements to the material ink response:

- The ink response now remains until you lift your finger
- When disappearing, the ink response now fades out
- The ink response is now the correct color (at least in the light theme)
- The ink response for IconButton now has a (circular) highlight
- The ink response for IconButton now repositions itself to be centered on the highlight

In addition, I've adjusted the various animation parameters to better match the
behavior of ink responses in the Java implementation of material.

Fixes #695
2015-12-04 00:17:12 -08:00
Ian Hickson
dc90783050 Merge pull request #718 from Hixie/core-basics
Introduce some basic utility classes.
2015-12-03 20:11:11 -08:00
Ian Hickson
1d4693fc9f Merge pull request #719 from Hixie/analyzer
Analyzer improvements
2015-12-03 20:10:49 -08:00
Ian Hickson
c5a26615d8 Introduce some basic utility classes.
One might argue, the most basic utility classes.
2015-12-03 20:03:31 -08:00
Ian Hickson
0290622bc6 Analyzer improvements
- strengthen analyzer against error messages that point past the
  bottom of the file.

- ignore any errors in intl's auto-generated files.
2015-12-03 19:52:23 -08:00
Adam Barth
2b47efc906 Merge pull request #716 from abarth/auto_menu
Automatically fill in the menu button when there's a drawer
2015-12-03 16:37:44 -08:00
Adam Barth
ed9fcc352c Merge pull request #711 from abarth/letter_spacing
Add support for letterSpacing to TextStyle
2015-12-03 16:31:39 -08:00
Adam Barth
e17c3eccf6 Automatically fill in the menu button when there's a drawer
Also, fill in a back arrow when we can go back.

Fixes #699
2015-12-03 16:30:06 -08:00
Adam Barth
20a49edd73 Add support for letterSpacing to TextStyle 2015-12-03 16:25:46 -08:00
Adam Barth
5ad32f2987 Update engine 2015-12-03 16:24:44 -08:00
Eric Seidel
f497d94fe8 Merge pull request #715 from eseidelGoogle/logcat_broken
Workaround logcat -c not working
2015-12-03 16:16:46 -08:00
Eric Seidel
7d4feaa71a Workaround logcat -c not working 2015-12-03 16:13:10 -08:00
Ian Hickson
1ff3a359e2 Merge pull request #712 from Hixie/yak2-discriminating-transitions
Be more discerning with forward transitions
2015-12-03 16:06:46 -08:00
Ian Hickson
15a13b8932 Merge pull request #713 from Hixie/title
Allow non-Material apps to use the Title widget.
2015-12-03 15:49:15 -08:00
Hixie
5dd8bd6e34 Allow non-Material apps to use the Title widget. 2015-12-03 15:42:59 -08:00
Ian Hickson
5252a3008d Merge pull request #709 from Hixie/canPop
Navigator.canPop(context)
2015-12-03 15:10:47 -08:00
Hixie
cd19702ce8 Be more discerning with forward transitions
So you don't fade out when going to a popup menu, for example.
2015-12-03 15:10:11 -08:00
Hixie
cf7a3b0473 Navigator.canPop(context) 2015-12-03 15:03:26 -08:00
Eric Seidel
93b1f10019 Merge pull request #708 from eseidelGoogle/trace_path
Make it possible to specify the saved path for trace --stop
2015-12-03 14:57:24 -08:00
Eric Seidel
5e2bc90daf Make it possible to specify the saved path for trace --stop
@chinmaygarde
2015-12-03 14:44:59 -08:00
Adam Barth
1a5639d35e Merge pull request #707 from abarth/tiny_flex
RenderFlex shouldn't assert when its out of space
2015-12-03 14:41:44 -08:00
Ian Hickson
ab74b1783c Merge pull request #705 from Hixie/yak3-material-app-route-classes
Let MaterialApp.onGenerateRoute return a Route
2015-12-03 14:40:36 -08:00