Commit Graph

29153 Commits

Author SHA1 Message Date
Hans Muller
a8bf594e59 Scale card demo titles if they will not fit (#6462) 2016-10-21 14:10:39 -07:00
Adam Barth
aa12716d44 Update engine.version (#6455) 2016-10-21 12:16:22 -07:00
Ian Hickson
729efa2501 Propagate platform through the subsidiary themes. (#6396)
Since we can change the theme's platform, we need to make sure we
propagate that throughout rather than having half the app use the native
platform and half the app use the selected platform.
2016-10-20 23:28:30 -04:00
Ian Hickson
039c2715fe Mention setState in onChanged docs. (#6442)
Add some docs to explain how to use setState() wiht Checkbox, Radio,
Slider, and Switch.

Based on experience of usability study participant P1.
2016-10-20 20:44:25 -04:00
Ian Hickson
fad62d4164 Update the flutter create template. (#6443)
This tries to capture some of the experience of usability study
participant P1.
2016-10-20 20:44:14 -04:00
Ian Hickson
fb25257fcb Point people to Block from some likely places. (#6444)
This is loosely based on the experience of usability study participant P1.
2016-10-20 20:44:05 -04:00
Hans Muller
605a636e5b Make Pageable itemCount public (#6438) 2016-10-20 17:18:41 -07:00
Chinmay Garde
e3fb94f630 Update engine revision to pull in iOS AOT build fixes. (#6441) 2016-10-20 17:03:31 -07:00
Ian Hickson
2e0beb842b Add more docs regarding color. (#6439)
Based on observations of usability study participant P1.
2016-10-20 16:08:12 -07:00
Matt Perry
fdb76da5c9 Remove default horizontal padding for Input. (#6437)
This partially reverts https://github.com/flutter/flutter/issues/626 ,
but horizontal padding is not in the spec, so we still match the spec.
2016-10-20 16:38:09 -04:00
John McCutchan
23c52fc7a1 Handle errors thrown while doing a DevFS sync via HTTP PUT. (#6434) 2016-10-20 13:21:42 -07:00
Jason Simmons
1b2049eff4 Fix app refresh on Android in no-hot-reload mode (#6435)
Also remove the obsolete "flutter refresh" command
2016-10-20 12:37:04 -07:00
Ryan Macnak
a97cf4b579 Adapt to vm isolate and isolate snapshot pieces being emitted as assembly. (#6433) 2016-10-20 12:11:31 -07:00
Devon Carew
f1d70fcdd3 create intellij metadata from flutter create (#6429) 2016-10-20 12:03:38 -07:00
John McCutchan
e72e174461 Encode DevFS filenames so they are safe for http headers (#6428) 2016-10-20 10:50:25 -07:00
John McCutchan
27ed4600de Bump engine to 28c29b32a8feed54b7dc9fb2bc8cf8b774d59b45 (#6425) 2016-10-20 10:10:05 -07:00
John McCutchan
dd52b7c5cb Use Chain.capture instead of RunZoned (#6420) 2016-10-20 09:40:00 -07:00
Dan Rubel
28384787d1 search for IntelliJ on Mac in /Application and sub folders 1 level deep (#6419) 2016-10-20 12:01:29 -04:00
John McCutchan
9112823802 Do not reassemble the application after a hot reload if the isolate is paused (#6370) 2016-10-20 07:30:24 -07:00
Adam Barth
c074265298 Add support for building on Fuchsia (#6415)
This patch makes it possible to build Flutter apps that use the framework on
Fuchsia.
2016-10-20 01:32:45 -07:00
Adam Barth
6d99acfdde Remove dependency on package:mojo (#6413)
Fixes #5843
2016-10-20 00:15:35 -07:00
Adam Barth
09f764494e Update engine.version (#6414) 2016-10-19 23:29:23 -07:00
Adam Barth
db9fb69b69 Migrate HostMessages to PlatformMessages (#6409)
We'll eventually remove HostMessages because it's just a pass-through to
PlatformMessages, but that will be a separate step.
2016-10-19 22:55:25 -07:00
Adam Barth
beb8afa456 Switch to the assets plugin (#6408)
This patch removes our dependency on asset_bundle.mojom.
2016-10-19 22:04:56 -07:00
Adam Barth
32e95cc6e1 Update engine.version (#6411) 2016-10-19 19:10:28 -07:00
Jason Simmons
edbe034847 Specify the algorithm used to sign APK packages (#6404)
Required for compatibility with older versions of Android
2016-10-19 16:10:46 -07:00
Hans Muller
5d19fe3537 export the Overflow enum (#6403) 2016-10-19 15:56:58 -07:00
Adam Barth
c08ea4eb33 Switch to TextInputPlugin (#6392)
This patch removes uses of keyboard.mojom in favor of the
TextInputPlugin.
2016-10-19 15:53:31 -07:00
Yegor
4f8da89dc4 Revert "reenable dev/devicelab/test/run_test.dart (#6364)" (#6378)
This reverts commit 8f273e49de.
2016-10-19 18:43:19 -04:00
Adam Barth
50b283144f Update engine.version (#6402) 2016-10-19 15:02:03 -07:00
Matt Perry
d39eb84ac4 Add a maxLines parameter for multiline Input. (#6328)
If maxLines is 1, it's a single line Input that scrolls horizontally.
Otherwise, overflowed text wraps and scrolls vertically, taking up at
most `maxLines`.

Also fixed scrolling behavior so that the Input scrolls ensuring the
cursor is always visible.

Fixes https://github.com/flutter/flutter/issues/6271
2016-10-19 17:18:16 -04:00
Matt Perry
97dbd9eacf Rename RawInputLine to RawInput, and RenderEditableLine to RenderEdit… (#6401)
They support multiline text now.
2016-10-19 17:17:51 -04:00
Ian Hickson
5bde9d284d Expand Semantics dartdocs. (#6399)
I based this on a conversation I had with @mpcomplete.
2016-10-19 17:01:04 -04:00
Hans Muller
9eef853580 Update Android scrolling physicsAndroid physics (#6391) 2016-10-19 09:08:54 -07:00
Adam Barth
2cfc040572 Add TextInput class for interacting with the IME (#6386)
This class will eventually replace the Keyboard class we currently use. As part
of this migration, we'll switch from using mojom to interact with the IME to
using platform messages.
2016-10-18 22:41:09 -07:00
Ian Hickson
cfddacbb81 Platform selector in gallery. (#6390) 2016-10-18 22:44:43 -04:00
Jason Simmons
1f1d72853b Enable call to Keyboard.ClearClient now that it's available in the engine (#6384)
Fixes https://github.com/flutter/flutter/issues/6274
2016-10-18 14:42:25 -07:00
Phil Quitslund
57044c2a63 Bump to Dart SDK 1.21.0-dev.0.0. (#6372)
Bump to latest Dart SDK dev build (`1.21.0-dev.0.0`).

* updates to analyzer w/ support for bazel workspaces
* removes deprecated analysis `cacheSize` variable access
2016-10-18 13:38:13 -07:00
Jason Simmons
ebe60bab22 BottomNavigationBar: fix the calculation of the expanding circle animation (#6373)
The circle's offset represents the position of a navigation button within the
row of buttons.  Previously, this offset had been applied to the entire width
of the bottom bar, not just the button region.

Fixes https://github.com/flutter/flutter/issues/6046
2016-10-18 11:51:34 -07:00
Yegor
1eda886e7e unlock device before running transition test (#6371) 2016-10-18 10:20:05 -07:00
Adam Barth
88cf68c847 Migrate Clipboard to platform messages (#6367)
The platform plugin now supports clipboard operations.
2016-10-18 10:04:17 -07:00
Adam Barth
50ebcd1dff Migrate RawKeyboard to platform events (#6366)
This patch moves RawKeyboard from mojom over to platform messages. In
the process, I've also cleaned up the interface substantially.

Currently raw key events are supported only on Android, but the
interfaces defined in this patch should scale up to multiple platforms.
2016-10-18 00:59:40 -07:00
Adam Barth
67a298443e Update engine.version (#6365) 2016-10-17 22:29:50 -07:00
Yegor
8f273e49de reenable dev/devicelab/test/run_test.dart (#6364)
I ran the test 10 times on Linux and Mac and it succeeded
consistently. Let's reenable until there are new reports that it's
flaky.

Fixes #5901
2016-10-17 19:31:58 -07:00
Yegor
eabadad6c0 Add more logging to the gallery transitions test (#6363) 2016-10-17 17:30:51 -07:00
Yegor
995fcdc92b add description to by-predicate finders (#6362)
Add an option to provide a custom description to predicate
finders. Without a custom description we default to printing the
predicate function's signature, which is not all that useful.

Use this new option in the driver extension to print the text of the
sought after tooltip.
2016-10-17 17:16:22 -07:00
Adam Barth
08ba8dc495 Add a mechanism for receiving platform messages (#6361) 2016-10-17 16:42:01 -07:00
Yegor
88e065de86 driver: forward device logs to local console (#6360)
Fixes #4261
2016-10-17 14:52:46 -07:00
Adam Barth
48690d7c2e Add support for persistent footer buttons (#6345)
Fixes #616
2016-10-17 12:50:47 -07:00
Adam Barth
c77798a384 PaintingContext should say when alwaysNeedsCompositing is needed (#6338)
Also, update the docs to point to the correct property.

Fixes #6224
2016-10-17 12:35:19 -07:00