Commit Graph

6580 Commits

Author SHA1 Message Date
Ian Hickson
34584e99e0 Input docs and lifecycle improvements (#6321)
I added some documentation to Input as I was learning how it worked
(and some minor tweaks, like handling reparenting better).
2016-10-13 22:00:00 -04:00
Matt Perry
c13a6e275b Add a maxLines parameter for multiline Input. (#6310)
* Add a maxLines parameter for multiline Input.

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

* oops

* comments

* import

* test and RO.update fix

* constant

* fix.caretRect
2016-10-13 21:59:50 -04:00
Ian Hickson
71e05ff8f2 Clarify output of flutter create (#6305)
Previously it implied that you had to always say lib/main.dart in the "flutter run" command.
2016-10-13 21:21:59 -04:00
Adam Barth
c5a25fcbf5 Update engine.version (#6320) 2016-10-13 17:14:21 -07:00
Adam Barth
edef5a93ce Update engine.version (#6319) 2016-10-13 16:52:44 -07:00
Todd Volkert
904d524313 Add support for --use-application-binary on iOS (#6318)
Fixes #6283
2016-10-13 16:17:50 -07:00
Adam Barth
6e5c192cef Remove use of activity.mojom (#6317)
Instead, we now interact with the system navigator via SystemNavigator.
2016-10-13 15:16:54 -07:00
Ian Hickson
e8168401e5 Stop fields moving when focus changes (#6316)
Previously, if you focused a field, fields below it would shift down by one pixel.

This change tries to guarantee that that won't happen.
2016-10-13 18:15:59 -04:00
Adam Barth
3b56f12219 Fix composited transform bounds calculations (#6302)
We weren't computing the bounds for composited transforms correctly. We
need to conjugate the transform by the offset in order to get the
correct paint bounds for the composited layer. We now also use the same
math in the non-composited case for consistency.

Also, don't scale the z-coordinate in RenderFittedBox.

Fixes #6293
2016-10-13 15:00:34 -07:00
Jason Simmons
5b292aabd2 Set windowSoftInputMode=adjustResize in example apps that were missing it (#6312)
This is needed to update an app's layout when a soft keyboard is shown
2016-10-13 14:45:27 -07:00
Adam Barth
a3b4a7e147 Update engine.version (#6309) 2016-10-13 13:36:44 -07:00
Adam Barth
38c7c4d074 Update engine.version (#6307) 2016-10-13 12:10:57 -07:00
Phil Quitslund
bbf221ce2a Bump VERSION to 0.0.2. (#6306)
Sets a minimal baseline version for IDEs to verify a hot-reload supporting SDK.

Fixes: https://github.com/flutter/flutter-intellij/issues/293
2016-10-13 09:36:48 -07:00
Dan Rubel
e20ee045ba Flutter doctor detect IntelliJ on Mac (#6262)
* cleanup obtaining user home directory path
* refactor doctor and detect IntelliJ on Mac
* fix detect Flutter plugin for IntelliJ
2016-10-13 10:44:20 -04:00
Adam Barth
3f19b2db98 Switch to using PlatformPlugin instead of mojom (#6292)
* Switch to using PlatformPlugin instead of mojom

* Update engine.version
2016-10-13 02:10:32 -07:00
Devon Carew
8f0f19a5e2 increase the port check iteration count (#6301) 2016-10-12 23:48:08 -07:00
Adam Barth
a6b5293df9 Update iml files (#6300)
These changes were generated by IntelliJ.
2016-10-12 23:33:17 -07:00
Adam Barth
5af922edb0 Use antialiased clips (#6298)
The Skia team tells us that these go faster.
2016-10-12 18:27:40 -07:00
Chris Bracken
3884077609 Improve doctor reporting for iOS toolchain (#6289)
Previously, overall status was reported as good if Xcode and homebrew
were installed, even if there were issues with either of the tools. We
now report partial status if we detect issues with either installation.
2016-10-12 14:19:31 -07:00
P.Y. Laligand
2c41a40004 Updated mustache dependency for flutter_tools. (#6287) 2016-10-12 12:53:06 -07:00
Jason Simmons
2805e5f8b8 Remove logs about unrecognized service protocol object types (#6278) 2016-10-12 09:41:35 -07:00
Adam Barth
c4a86788eb Add an ergonomic wrapper for platform messages (#6281)
This wrapper will eventually replace HostMessages.
2016-10-12 09:41:05 -07:00
Adam Barth
6777766d2d Update engine.version (#6276) 2016-10-11 15:51:35 -07:00
Dan Rubel
cd65b7902c switch to package:mustache (#6273) 2016-10-11 17:44:12 -04:00
Phil Quitslund
6ec68c4734 Bump Dart SDK to 1.20.0-dev.10.2. (#6272)
Picks up a patched `dartdoc` (effecting, notablly, `crossdart`…)
2016-10-11 13:31:48 -07:00
John McCutchan
be22f0d2b2 Don't show restart help text when running from a prebuilt app (#6269) 2016-10-11 12:52:48 -07:00
Adam Barth
322d1041a8 Add label and children to semantics update (#6268)
We were missing these before.
2016-10-11 12:16:07 -07:00
Adam Barth
f5b9d388cd Switch to the new semantics backend (#6259)
This match switches the framework to use the semantics backend in `dart:ui`
rather than the Mojo backend.
2016-10-11 10:51:41 -07:00
Adam Barth
0975d04972 Remove media service example (#6264)
This example is misleading because it relies on the old services model.
Let's remove it until #6263 is fixed.
2016-10-10 20:14:34 -07:00
Todd Volkert
67254ef626 Run dartfmt on a few of the gallery example files (#6260) 2016-10-10 20:04:07 -07:00
P.Y. Laligand
3161d1a5b7 Use the version of analyzer available in the Fuchsia tree. (#6261) 2016-10-10 16:49:55 -07:00
Adam Barth
0f7ce00522 Update engine.version (#6257) 2016-10-10 16:44:38 -07:00
John McCutchan
87ba8699cb Don't try to update the cache if locking is disabled (#6258) 2016-10-10 15:25:01 -07:00
Adam Barth
f11bb25b8f SemanticsDebugger should use SemanticsNodes directly (#6252)
Instead of reading the mojom serialization and re-inflating it, the
SemanticsDebugger now shows the SemanticsNode objects directly.
2016-10-07 19:57:55 -07:00
Jason Simmons
bed0300b2a Wrap input widgets in a repaint boundary (#6248)
Performance improvement for https://github.com/flutter/flutter/issues/6008
2016-10-07 13:41:59 -07:00
Devon Carew
e303a7f735 add run configurations (#6243) 2016-10-07 13:03:52 -07:00
Dan Rubel
94a83af5b1 Cleanup bin/cache (#6247) 2016-10-07 15:24:19 -04:00
Adam Barth
2c21d795a4 Deploy @checked (#6244)
This patch adds `@checked` everywhere is needed to remove the
`strong_mode_invalid_method_override` strong mode error.
2016-10-07 11:27:54 -07:00
Yegor
8c8be6b5df remove engineEnterTimestampMicros from benchmark list; not useful (#6242) 2016-10-06 22:31:32 -07:00
Devon Carew
4c8b7b5d44 commit intellij project metadata (#6232)
* commit intellij project metadata

* move metadata to the top level

* delete dev/intellij
2016-10-06 17:43:52 -07:00
Dan Rubel
7745dd73c7 improve flutter tool error message for download problems (#6238) 2016-10-06 17:49:14 -04:00
Dan Rubel
1b9c1bd2a9 improve error message and handling for corrupt dart-sdk download (#6235) 2016-10-06 15:32:03 -04:00
Ian Hickson
63e0fb1026 Prevent infinite loop in expect(). (#6203)
The only change here is that if we run off the end of the loop in a way
that previously would have just hung, we return silently.
2016-10-06 12:29:59 -07:00
Adam Barth
d65cda2379 Switch the model for SemanticsNode to use dart:ui types (#6234)
This will make it easier to switch to SemanticsUpdateBuilder.
2016-10-06 11:29:41 -07:00
Adam Barth
41a91a7a68 Use "SemanticsFoo" consistently instead of "SemanticFoo" (#6233)
This change might make our grammar less perfect, but it will increase our
sanity.
2016-10-06 10:52:46 -07:00
Yegor
6081476458 improve devicelab docs (#6206) 2016-10-06 10:20:58 -07:00
Jason Simmons
90504b122c Adjust the IconButton constraint to match its size (#6226)
Fixes https://github.com/flutter/flutter/issues/5763
2016-10-06 10:13:53 -07:00
Yegor
3c40c85506 simplify lockfile-related message; move details to verbose level (#5556) 2016-10-06 10:11:54 -07:00
Dan Rubel
3136620427 Flutter doctor detect intellij on Linux (#6227) 2016-10-05 18:00:30 -04:00
Phil Quitslund
c09a1101d2 Bump to Dart SDK 1.20.0-dev.10.1. (#6218)
RC1 patch release.
2016-10-05 13:21:13 -07:00