Adam Barth
0327141c37
Prepare to make RenderObjectElement buildable
...
This patch prepares us to pass a BuildContext to RenderObjectWidgets, which
will make it possible to rebuild RenderObjectElements:
* Delay creation of the render object until mount(). That will let us pass
`this` to createRenderObject and have the inherited elements be initialized.
* Cleanup widgets that take builder closures to prepare for their
RenderObjectElement to be rebuilt more often.
* Add a test for the interaction between inherited widgets and
MixedViewport.
Related to #2598
2016-03-10 20:18:37 -08:00
Adam Barth
7f5d6a9913
Use a member function instead of an anonymous closure
...
It's slightly more efficient.
2016-03-10 16:31:43 -08:00
Adam Barth
10591730f5
Use the .. pattern more in updateRenderObject
2016-03-10 15:34:53 -08:00
Viktor Lidholt
b054234495
Merge pull request #2585 from vlidholt/master
...
Initial support for links in markdown
2016-03-10 14:46:17 -08:00
Devon Carew
83caeb35ed
Merge pull request #2584 from devoncarew/redux_analysis_options
...
move the analysis_options to a file
2016-03-10 14:37:58 -08:00
Eric Seidel
37f0b5dd98
Revert "Add DevicePortForwarder"
2016-03-10 14:23:39 -08:00
Devon Carew
b9fafc1765
adjust a regex for intl files
2016-03-10 14:21:23 -08:00
Yegor
96db7c0a5a
Merge pull request #2580 from yjbanov/lower-xcode-version-requirement
...
[ios] reduce xcode version requirement to 7.0
2016-03-10 14:08:48 -08:00
Viktor Lidholt
800e2558ba
Initial support for links in markdown
2016-03-10 14:08:32 -08:00
Devon Carew
780e4e6212
move the analysis_options to a file
2016-03-10 13:47:20 -08:00
John McCutchan
5fcaebbf51
Merge pull request #2506 from johnmccutchan/device_port_forward
...
Add DevicePortForwarder
2016-03-10 13:23:40 -08:00
Yegor Jbanov
23e634a613
[ios] reduce xcode version requirement to 7.0
...
Build bots only have 7.0.
2016-03-10 13:08:58 -08:00
John McCutchan
131359f4bc
Add DevicePortForwarder
2016-03-10 12:49:07 -08:00
Jason Simmons
3b5fba4022
Merge pull request #2578 from jason-simmons/flx_working_dir
...
Add an option to specify a working directory for the FLX builder
2016-03-10 12:43:35 -08:00
Yegor
c2b175d1db
Merge pull request #2575 from yjbanov/ios-device-discovery
...
[ios] look for the best available devicetype/runtime when booting
2016-03-10 11:25:56 -08:00
Yegor Jbanov
9383466dd5
[ios] look for the best available devicetype/runtime when booting
2016-03-10 11:04:02 -08:00
Eric Seidel
3e2a4d9b4d
flutter run should fail if pub get fails.
...
Previously we were ignoring the return code and continuing.
@devoncarew
2016-03-10 09:36:09 -08:00
Hans Muller
9536c418fc
Scaffold saves and restores scrollable state, etc
2016-03-10 09:19:04 -08:00
Hixie
c7339de6bc
Enable always_declare_return_types lint
...
And fix a zillion omissions this uncovered.
2016-03-09 17:57:39 -08:00
Hixie
8950d3ccc4
Make flutter analyze useful for package conflicts
...
Also, resolve our package conflict, since reflectable has been fixed.
2016-03-09 17:41:05 -08:00
Hixie
5810cd80bd
Avoid 'as' keyword
...
It has performance implications in release mode.
We'll enable the lint once https://github.com/dart-lang/linter/issues/195 is fixed.
2016-03-09 15:00:55 -08:00
Jason Simmons
5108a6cc58
Add an option to specify a working directory for the FLX builder
...
This allows building an FLX without leaving any temporary files in the app's
source directory
2016-03-09 14:59:40 -08:00
Adam Barth
778c3a05b1
Merge pull request #2530 from abarth/to_string
...
Improve InputValue#toString
2016-03-09 13:56:53 -08:00
Adam Barth
77dd3eba7d
Merge pull request #2521 from abarth/test_animation_leaks
...
Test harness should check for running Timers and AnimationControllers
2016-03-09 13:48:29 -08:00
Adam Barth
0d7b0f9ec1
Test harness should check for running Timers and AnimationControllers
...
After running a widget test, we now clear out the widget tree and check that we
didn't leak any timers or animations.
Also, fix several bugs that this addtional check revealed.
Fixes #2481
2016-03-09 13:37:24 -08:00
Viktor Lidholt
59bba072d4
Merge pull request #2496 from vlidholt/markdown
...
Adds initial version of Markdown renderer
2016-03-09 13:17:07 -08:00
Viktor Lidholt
48c7a04f1f
Adds initial version of Markdown renderer
2016-03-09 13:07:36 -08:00
Adam Barth
fecba009ee
Improve InputValue#toString
2016-03-09 12:42:52 -08:00
Alhaad Gokhale
5faf84c3fa
Merge pull request #2528 from alhaad/depsfile_hook
...
Add `flutter_tools build` hooks to also generate depfile.
2016-03-09 12:29:31 -08:00
Devon Carew
ad7fd3e422
Merge pull request #2527 from devoncarew/fix_logs
...
fix a regression in flutter logs
2016-03-09 11:38:30 -08:00
Alhaad Gokhale
b8d64ffe68
Add flutter_tools build hooks to also generate depfile.
...
Fixes #1942 .
2016-03-09 11:24:47 -08:00
Devon Carew
2e9fef8c46
fix a regression in flutter logs
2016-03-09 10:48:34 -08:00
Hans Muller
335354d958
Merge pull request #2523 from HansMuller/lower_bound
...
Use lowerBound() from package:collection/collection.dart
2016-03-09 09:38:33 -08:00
Hans Muller
149f788c9e
Use lowerBound() from package:collection/collection.dart
2016-03-09 09:22:51 -08:00
Hans Muller
e0df9eca5a
Added SizeTransition
2016-03-09 08:18:41 -08:00
Devon Carew
ee5c5970dc
fix npe in lastLogcatTimestamp
2016-03-08 19:04:49 -08:00
Adam Barth
e4b1eab854
Remove //examples/widgets
...
Most of the remaining widget examples are actually manual tests. This patch
moves them into //dev/manual_tests. A couple are examples of using services,
which I've moved to //examples/layers/services. The remainder are out-dated and
are removed by this patch.
2016-03-08 16:37:32 -08:00
Hans Muller
efa36de7f0
Merge pull request #2482 from HansMuller/dismiss_action
...
Support undo in the leave-behind demo
2016-03-08 15:44:50 -08:00
Adam Barth
1c5a9692d8
Merge pull request #2508 from abarth/reparent_multichild
...
Support reparenting state from MultiChildRenderObjectElement
2016-03-08 15:42:17 -08:00
Hans Muller
73d7378cee
Support undo in the leave-behind demo
2016-03-08 15:31:29 -08:00
John McCutchan
49c3e18395
Merge pull request #2434 from johnmccutchan/service_protocol_discovery
...
Add ServiceProtocolDiscovery with tests
2016-03-08 15:24:57 -08:00
Adam Barth
e8483fb366
Support reparenting state from MultiChildRenderObjectElement
...
Fixes #2085
2016-03-08 15:21:20 -08:00
John McCutchan
9cb7001a39
Add ServiceProtocolDiscovery
2016-03-08 15:13:48 -08:00
Ian Hickson
33ab0ee673
Merge pull request #2504 from Hixie/scene-builder-arg
...
Drop the argument to SceneBuilder's constructor
2016-03-08 15:05:23 -08:00
Matt Perry
643ab478ff
CheckedPopupMenuItem now fades its icon when changed.
...
BUG=https://github.com/flutter/flutter/issues/2274
2016-03-08 17:50:17 -05:00
Hixie
a16f07d945
Drop the argument to SceneBuilder's constructor
2016-03-08 14:17:01 -08:00
Adam Barth
22dc5590c9
Merge pull request #2488 from abarth/custom_sized_by_parent
...
RenderCustomMultiChildLayoutBox shouldn't be sizedByParent
2016-03-08 12:49:11 -08:00
Adam Barth
cdc2aefc69
ImageFit.cover doesn't respect alignment
...
We need to apply the alignment to the source rect because the ouput rect fills
the destination rect.
Fixes #1514
2016-03-08 12:39:46 -08:00
Adam Barth
3fb0df878d
RenderCustomMultiChildLayoutBox shouldn't be sizedByParent
...
The getSize function from MultiChildLayoutDelegate might depend on information
other than the incomming constraints.
Fixes #2077
2016-03-08 12:10:00 -08:00
Adam Barth
eba2d44f3a
Merge pull request #2492 from abarth/intrinsics
...
Remove bogus intrinsic size assert
2016-03-08 12:08:34 -08:00