Adam Barth
3231465769
Add PageView ( #7809 )
...
This widget is a start towards replacing PageableList. There are still a number
of features that we'll need to add before this widget can replace PageableList.
2017-02-02 16:16:20 -08:00
Adam Barth
3831e0b06d
Update IML files ( #7835 )
...
IntelliJ seems to really want these files to have these changes.
2017-02-02 15:54:11 -08:00
Ian Hickson
dc634e195e
Introduce the concept of asynchronicity to the service extensions. ( #7823 )
...
This allows us, for example, to wait for the slow mode banner to have
been removed from the screen before triggering a screen shot.
2017-02-02 15:48:35 -08:00
Michael Goderbauer
a742a5ddf6
Make flutter analyze run on Windows ( #7828 )
2017-02-02 15:41:13 -08:00
Hans Muller
e366c9691f
protect the hasScopedWillPopCallback ModalRoute method ( #7832 )
2017-02-02 15:27:39 -08:00
Ian Hickson
cedc74503a
Add a flag that shows a banner for old Scrollables ( #7819 )
...
Also, tweak Banner a bit so you can set the color and text style.
Also, cache the text painter between paints.
2017-02-02 14:52:49 -08:00
Ian Hickson
5928d221d4
ShrinkWrap Viewport ( #7790 )
2017-02-02 14:50:04 -08:00
Chris Bracken
2bbc028313
Add touchesBegan handler to iOS AppDelegate template ( #7822 )
...
By default, pass status bar taps to the root view controller in
generated Flutter apps. Developers should customise as necesary if they
later create one or more alternate FlutterViewControllers that they'd
like to forward these to.
2017-02-02 12:50:01 -08:00
Jason Simmons
d2a1e125e9
Do not print logs whose timestamp is equal to the last timestamp seen ( #7827 )
...
If the tool is started immediately after a previous run of the tool, then
the most recent log timestamp may come from the previous run's logs.
The new instance of the tool should not print those logs.
This was happening during runs of the microbenchmark script.
2017-02-02 12:48:53 -08:00
xster
959db13c04
Prevent out of bound date picker selections ( #7773 )
...
- Out of bound days are disabled and untappable
- Out of bounds months can't be navigated to
2017-02-02 11:30:32 -08:00
Luke
646d7404cb
Fix issues with flutter doctor ( #7808 )
...
* fix issue detecting ios-deploy. fix issue matching IntelliJ Ultimate on Mac
* refactor directory navigation code
2017-02-02 00:19:10 -08:00
Mikkel Nygaard Ravn
f460309354
Added Widgets that interact with asynchronous computations ( #7733 )
...
Added three widgets that interact with Futures and Streams.
2017-02-02 08:35:36 +01:00
Adam Barth
8b4aed1720
Fix copy/pasta ConstrainedBox docs ( #7795 )
...
Fixes #7788
2017-02-01 23:14:05 -08:00
Ian Hickson
5f38773ed0
Screenshot improvements ( #7800 )
...
Add an "s" command to `flutter run` which takes a screenshot.
Make that comment turn off the slow mode banner.
2017-02-01 22:47:53 -08:00
Ian Hickson
648f70630c
Add more timeline ranges for profiling hot reload ( #7792 )
2017-02-01 22:47:26 -08:00
Michael Goderbauer
829976d35e
Work around for dart-lang/sdk#28603 ( #7805 )
2017-02-01 21:06:19 -08:00
Chris Bracken
83514d67c4
Add doctor check for Python 'six' module ( #7807 )
...
* Add doctor check for Python 'six' module
Required as part of Xcode lldb module. In all likelihood, if we
encounter this situation, the developer is using a custom Python install
(e.g., via MacPorts or Homebrew).
2017-02-01 18:22:07 -08:00
Michael Goderbauer
40aab7f553
Bump Dart SDK to 1.22.0-dev.10.3 ( #7791 )
2017-02-01 16:33:27 -08:00
Chris Bracken
50125ab271
Use ios-deploy --version for install check ( #7797 )
...
ios-deploy -h/--help returns a non-zero exit code.
2017-02-01 16:30:49 -08:00
Chris Bracken
5d2a460fdd
Correct capitalisation of Xcode ( #7796 )
...
Ref: https://developer.apple.com/xcode/
2017-02-01 16:16:33 -08:00
Chris Bracken
18fcb91e88
Add tests for iOS doctor validaton ( #7794 )
2017-02-01 15:58:40 -08:00
Adam Barth
b082b93a3f
Simplify AbsoluteScrollPosition class structure ( #7785 )
...
Instead of using mixins and subclasses, we now use a `ScrollPhysics` delegate
to customize the scrolling phyics for Android and iOS. This change will make it
easier to customize the scroll position for paging.
2017-02-01 15:48:24 -08:00
Michael Goderbauer
84de5e815d
Work around for dart-lang/sdk#28599 ( #7786 )
2017-02-01 13:39:19 -08:00
Chris Bracken
236e8137b8
Ensure that ios-deploy meets minimum version constraint ( #7784 )
...
Also emits the version information in flutter doctor output.
ios-deploy > 1.9.0 is required to deploy to iOS devices.
2017-02-01 12:55:03 -08:00
Jason Simmons
59cacd7102
Some fixes for the microbenchmarks ( #7781 )
...
* Return null from VM.mainView if no view exists
* Retry in connectToServiceProtocol if a view is not yet available
* Do not explicitly call exit from the benchmarks - it will not cleanly shut down the engine
2017-02-01 11:54:27 -08:00
Adam Barth
fe01c71cf4
Switch clients to ScrollGrid ( #7752 )
...
The only remaining client of ScrollableGrid (the old version) is Pesto,
which needs AppBar integration.
2017-02-01 11:01:02 -08:00
Adam Barth
41f1f8a489
Add SliverFill ( #7776 )
...
SliverFill fills the remaining space in the viewport with each box
child. We'll use this sliver as a building block for pageable lists.
2017-02-01 10:49:43 -08:00
Adam Barth
695302029f
Revert "Revert "Add SliverGrid and ScrollGrid"" ( #7780 )
2017-02-01 10:18:48 -08:00
Adam Barth
3a43fc88b6
Remove extraneous uses of scrollableKey from tests ( #7775 )
...
This patch removes unnecessary uses of scrollableKey from tests.
Scrollable2 will likely use a different mechanism for identifying
itself, so we want to focus on the uses of scrollableKey that will need
to be addressed in the new implementation.
2017-01-31 23:32:10 -08:00
Adam Barth
906541c04a
Refactor out some helper functions ( #7774 )
...
These functions were previously hidden inside other functions but they
are useful enough to expose directly. Specifically, I plan to use these
when implementing Scrollable2.ensureVisible.
2017-01-31 22:46:35 -08:00
Chris Bracken
d01c55d289
Eliminate calls to deprecated FlutterInit() ( #7770 )
2017-01-31 17:39:29 -08:00
Ian Hickson
32784d35f9
Revert "Add SliverGrid and ScrollGrid" ( #7769 )
2017-01-31 17:34:02 -08:00
Jakob Andersen
a0f0c42fe3
Update gradle example to support x86 in debug mode. ( #7606 )
...
* Update gradle example to support x86 in debug mode.
Changed the Flutter Gradle plugin a bit to better fit in with the
Android build.
Fixes #6136
Fixes #6864
Fixes #7539
2017-01-31 14:48:48 -08:00
Michael Goderbauer
4cace66dbc
Download prebuilt binaries on Windows ( #7760 )
2017-01-31 14:33:08 -08:00
xster
fa1b8d5821
A low scope error message height fix for #3091 ( #7685 )
...
* Print the error message multiple times to avoid overlap with status bar and add paragraph to mock_canvas
2017-01-31 11:28:52 -08:00
Ian Hickson
68ebf64525
Remove the timeout on test_test.dart ( #7754 )
...
It was causing the flakiness because it was too short. The default timeout is better.
2017-01-30 21:17:29 -08:00
Ian Hickson
d7b523e004
Apply @required according to the rules, for all of material/* ( #7732 )
2017-01-30 20:10:53 -08:00
Ian Hickson
0400107cdf
Apply @required according to the rules, for all of widgets/* ( #7730 )
2017-01-30 20:10:44 -08:00
Jason Simmons
8f7d0a45c8
Remove unnecessary type parameter ( #7751 )
2017-01-30 17:49:31 -08:00
Adam Barth
9119969ad2
Add SliverGrid and ScrollGrid ( #7745 )
...
This patch adds grid supports to slivers and introduces a ScrollGrid
convenience class for making the common types of scrollable grids.
This patch also deploys ScrollGrid in an example in the Flutter Gallery.
2017-01-30 17:27:51 -08:00
Jason Simmons
8ef17e0a6a
Create flutter_driver key finders using parameterized ValueKey types ( #7749 )
...
The finder will only match the widget's ValueKey if both have identical
runtime types
2017-01-30 16:52:59 -08:00
Adam Barth
edcab3c340
Add TabBar.unselectedLabelColor ( #7747 )
...
Our previous behavior of hard-coding the unselected label color to 70% of the
selected color was too restrictive.
Fixes #7738
2017-01-30 16:46:09 -08:00
Adam Barth
a0dee550c0
Use ScrollView in more places ( #7746 )
...
Now that ScrollView supports itemExtent, we can use it in a few more places.
2017-01-30 16:45:51 -08:00
Ian Hickson
64d3647084
Tab crash in complex_layout ( #7744 )
2017-01-30 16:11:01 -08:00
Devon Carew
8e3ea7523e
fix app launch in intellij ( #7737 )
2017-01-30 13:01:41 -08:00
Adam Barth
098af18393
Add SliverList ( #7727 )
...
Add SliverList
A SliverList is a linear layout of box children in a viewport that all
have a common, fixed extent along the scroll axis. The layout is similar
to a SliverBlock but more efficient.
2017-01-30 00:40:50 -08:00
Ian Hickson
6e30cae8fa
Warn about the size setter. ( #7729 )
2017-01-29 23:58:42 -08:00
Ian Hickson
a8ed018386
Documentation fixes ( #7731 )
...
Fixes https://github.com/flutter/flutter/issues/4620
2017-01-29 23:43:01 -08:00
Ian Hickson
e8c9797d1a
Various documentation fixes. ( #7726 )
...
Fixes for: https://github.com/flutter/flutter/issues/7570 https://github.com/flutter/flutter/issues/7231 https://github.com/flutter/flutter/issues/2841 and others
2017-01-29 22:39:15 -08:00
Ian Hickson
ab28e2c46a
Key improvements ( #7719 )
...
ValueKey and ObjectKey shouldn't be == with subclasses.
Fixes https://github.com/flutter/flutter/issues/3107
Clean up toString for the keys a bit.
Add a test for keys.
2017-01-28 16:29:23 -08:00