Collin Jackson
dbd39523ce
Re-land update to engine
...
This reverts commit b240cda819627024d5fd54a886b503ed339baed7.
2016-01-25 12:36:44 -08:00
Adam Barth
91e6b21ea6
Improve error messages for iOS workflow
...
We now check that you've got an "ios" directory and that you have the proper
version of Xcode.
2016-01-25 12:21:13 -08:00
Matt Perry
6610b7ea04
Support local paths to third-party jars in flutter apk.
...
Also improve the error message a bit if a download fails.
2016-01-25 15:05:06 -05:00
Seth Ladd
dc74fe3d6c
Merge pull request #1362 from sethladd/listenhelptext
...
get a bug fix for multi-line command descriptions
2016-01-25 10:58:10 -08:00
Seth Ladd
fa91b3ff75
get a bug fix for multi-line command descriptions
2016-01-25 09:28:42 -08:00
Ian Hickson
2d6dd63e37
Merge pull request #1361 from Hixie/getPadding
...
_getPadding was ignoring its argument
2016-01-23 22:05:27 -08:00
Ian Hickson
fae41c223d
_getPadding was ignoring its argument
2016-01-23 20:20:44 -08:00
Ian Hickson
63962d2cea
Merge pull request #1299 from Hixie/inherited-perf
...
Reimplement Inherited.notifyDescendants to use a registration list
2016-01-23 18:31:11 -08:00
Ian Hickson
0903cb5fef
Refactor Inherited to avoid all the tree walks during build.
2016-01-23 18:21:02 -08:00
Ian Hickson
5494323db9
Move us to HashSet to avoid the overhead of tracking the order
2016-01-23 18:13:13 -08:00
Ian Hickson
b9716b84db
Reimplement Inherited.notifyDescendants to use a registration list
...
...instead of a deep walk.
2016-01-23 18:13:13 -08:00
Adam Barth
0911e5d368
Merge pull request #1352 from abarth/input_features
...
Add material design features to Input
2016-01-23 17:57:39 -08:00
Adam Barth
5f3b2d4835
Add errorColor to ThemeData
...
That way folks can customize it if they want (and it makes the code a
bit more self-documenting).
2016-01-23 17:47:09 -08:00
Adam Barth
7faee3e18e
Add implicit animations to Input
...
Now the label animates from its inline position to above the text and
the focus highlight grows into place.
2016-01-23 12:22:15 -08:00
Adam Barth
61f82ee18c
Improve the factoring between Input and RawEditableLine
...
RawEditableLine is now responsible for the scrolling behavior, which
removes the need for callbacks between RawEditableLine and Input. It
also fixes a bug whereby the whole Input widget (including its icon)
would scroll when the text got long.
2016-01-23 01:09:22 -08:00
Adam Barth
432bfb4729
Add material design features to Input
...
Properly support labels, hints, icons, and custom typography.
2016-01-23 00:21:18 -08:00
Collin Jackson
b240cda819
Revert "Update engine"
...
This reverts commit ab3006345823b1ef8f25046e0a2b054ea4123e12.
2016-01-22 19:31:14 -08:00
Collin Jackson
ab30063458
Update engine
2016-01-22 19:07:59 -08:00
Eric Seidel
4eb4dab543
Merge pull request #1350 from eseidelGoogle/list_linux
...
Make `flutter list` not crash on linux.
2016-01-22 15:21:28 -08:00
Eric Seidel
7f3ae43b7f
Make flutter list
not crash on linux.
...
Turns out linux does have an ideviceinstaller package
however it doesn't contain idevice_id or any of the
other tools we use. Furthermore we don't have
xcrun or the rest of xcode on linux so we can't
manipulate simulators either.
No sense in printing out a warning that ios isn't supported
every time on linux, so I wrapped that block in osx only.
@chinmaygarde @devoncarew
2016-01-22 14:58:13 -08:00
Adam Barth
ed34622214
Merge pull request #1348 from abarth/focus_blur
...
Add the ability to lose focus
2016-01-22 14:13:22 -08:00
Adam Barth
4e83a5ccdb
Add the ability to lose focus
...
Fixes #1308
2016-01-22 14:01:51 -08:00
Adam Barth
d081dc677b
Merge pull request #1347 from abarth/editable_line
...
Input widget shrinks when typing a space
2016-01-22 13:35:06 -08:00
Adam Barth
bdef1038e9
Input widget shrinks when typing a space
...
This patch restructures how we size the editing region of the Input widget. Now
RenderEditableLine understands that it's a single-line editing widget and sizes
itself correctly.
2016-01-22 13:18:24 -08:00
Adam Barth
4357d08714
Merge pull request #1344 from abarth/icon_color
...
Simplify colorizing icons
2016-01-22 12:53:41 -08:00
Adam Barth
82e30c8649
Simplify colorizing icons
...
Now you can colorize an Icon simply by proving a Color for the Icon.
2016-01-22 12:07:45 -08:00
Devon Carew
caf5b7eabd
Merge pull request #1334 from devoncarew/refactor_device.dart
...
Refactor device.dart
2016-01-22 11:22:40 -08:00
Devon Carew
5bce2fbdec
refactor platform specific code out of device.dart
...
remove device type specific checks
2016-01-22 10:51:49 -08:00
Matt Perry
0f505fbf20
Merge pull request #1263 from mpcomplete/apk.tool
...
'flutter apk' now supports dynamically registered services.
2016-01-22 13:27:10 -05:00
Matt Perry
dcbb4960eb
'flutter apk' now supports dynamically registered services.
...
Third-party libraries can now provide their own mojo services. They do
so by adding a config.yaml file to their pub package which contains
- a list of service names and java classes which handles that service's
registration.
- a list of pre-built .jar files to statically link with the app's shell
when building the app.
2016-01-22 13:20:54 -05:00
Hans Muller
f88c945e05
Merge pull request #1338 from HansMuller/block_children
...
Change Block children to be a named parameter
This is a backwards incompatible change.
2016-01-22 08:05:10 -08:00
Hans Muller
8218ff683f
Change Block children to be a named parameter
2016-01-22 08:04:21 -08:00
Hans Muller
05f79b4e45
Merge pull request #1333 from HansMuller/sublist
...
Added TwoLevelList et al, a Material Expand/Collapse List Control
A TwoLevelList can can contain TwoLevelListItems, essentially ordinary list items, or TwoLevelSublists which have a list of items of their own. Tapping on a TwoLevelSublist causes it to expand, showing its items. Tapping again causes it to collapse.
2016-01-21 16:36:50 -08:00
Adam Barth
7c8e504eb2
Merge pull request #1337 from abarth/scroll_focus_into_view
...
Scroll focused input widgets into view
2016-01-21 16:27:50 -08:00
Hans Muller
5ae1b41ca4
Added TwoLevelList
2016-01-21 16:27:18 -08:00
krisgiesing
869d13c18d
Merge pull request #1336 from krisgiesing/mediaquery
...
Add device pixel ratio to MediaQuery
2016-01-21 16:23:47 -08:00
Adam Barth
dd5df79e7b
Scroll focused input widgets into view
...
When opening the keyboard or focusing an input widget, we should scroll the
widget into view so that the user can see what they're typing.
2016-01-21 16:20:54 -08:00
kgiesing
964c155014
Fix up MediaQuery's operator= and hashCode
2016-01-21 16:17:01 -08:00
kgiesing
4d73cf5cba
Add device pixel ratio to MediaQuery
2016-01-21 16:03:04 -08:00
Adam Barth
72931955c8
Merge pull request #1332 from abarth/no_autofocus
...
Don't autofocus Input widgets by default
2016-01-21 14:53:37 -08:00
krisgiesing
740b612205
Merge pull request #1335 from krisgiesing/asset_close
...
Remove unused close method from AssetBundle
2016-01-21 14:50:30 -08:00
kgiesing
dab7dde3dd
Remove unused close method from AssetBundle
2016-01-21 14:27:51 -08:00
Adam Barth
f176ed27de
Don't autofocus Input widgets by default
...
Instead, require the developer to opt-in to autofocusing because autofocusing
can be disruptive.
Fixes #1307
2016-01-21 14:11:50 -08:00
Adam Barth
d10c5628dc
Merge pull request #1330 from abarth/bottom_padding
...
Scaffold should respect window.padding.bottom
2016-01-21 13:36:51 -08:00
Adam Barth
da7e1e5d4d
Scaffold should respect window.padding.bottom
...
The space for the keyboard is now represented as bottom padding for the window.
By teaching the scaffold to respect the bottom window padding, we move the
floating action button and snackbars out of the way of the keyboard.
This currently works on Android. I'll need to see how to get the keyboard
geometry on iOS for a similar effect.
Fixes #103
2016-01-21 13:30:16 -08:00
Devon Carew
073ac691a7
Merge pull request #1329 from devoncarew/refactor_commands
...
refactor commands to move out re-usable functionality
2016-01-21 10:06:16 -08:00
Devon Carew
5daf58ce1e
refactor commands to move out re-usable functionality
2016-01-21 09:38:46 -08:00
Adam Barth
b5a098399a
Merge pull request #1328 from abarth/mv_scroll_behavior
...
Move scroll_behavior into widgets
2016-01-21 09:07:20 -08:00
Adam Barth
5065339ce3
Move scroll_behavior into widgets
...
Previously this code was in the animation layer, which didn't make much
sense because scrolling is a widget concern.
2016-01-20 23:21:11 -08:00
Devon Carew
5776c6e3a7
Merge pull request #1327 from devoncarew/ios_simulator_name
...
parse out the ios simulator device name
2016-01-20 22:12:29 -08:00