6614 Commits

Author SHA1 Message Date
Chris Bracken
c2386fb725 Update iOS template to Xcode 8 recommended settings 2016-09-26 15:04:07 -07:00
Chris Bracken
71b65e3244 Update examples to Xcode 8 recommended settings
As of Xcode 7, Apple recommends setting the bundle identifier in the
PRODUCT_BUNDLE_IDENTIFIER build variable and setting CFBundleIdentifier
to that variable in Info.plist.

As of Xcode 8, CLANG_WARN_INFINITE_RECURSION and CLANG_WARN_SUSPICIOUS_MOVE
are recommended settings.
2016-09-26 15:04:07 -07:00
Chris Bracken
a45e4e923c Support Xcode variable substitution in Info.plist
As of Xcode 7, Apple recommends setting CFBundleIdentifier to
$(PRODUCT_BUNDLE_IDENTIFIER).
2016-09-26 15:04:07 -07:00
Adam Barth
55f48f72c9 Persistent bottom sheet should not overlap app bar (#6076)
The spec forbids persistent bottom sheets from overlapping the app bar. There
are also some fancy scroll-linked effects that we're supposed to do with
persistent bottom sheets, but those will need to wait for another patch.

Fixes #5143
2016-09-26 14:02:01 -07:00
Dragoș Tiselice
16305ad511 Fixed expansion panels demo alignment. (#6070)
The former horitzontal alignment in the expansion panels demo in
the Gallery was center instead of left. Fixes #6049.
2016-09-26 13:22:43 -07:00
David Yang
d5b3588578 Adding Reference to Text Input guide in Input API Documentation (#6075)
* Adding reference to Flutter-website Text Input guide in API docs for Input

* Grammar

* PR fixes
2016-09-26 13:00:54 -07:00
Devon Carew
20e9fbfe6d fix an encoding issue with calling adb shell getprop (#5740)
* fix an encoding issue with calling adb shell getprop

* move code in catch block

* add a test

* switch to LATIN1 encoding
2016-09-26 12:47:34 -07:00
Adam Barth
8c048ec944 Polish SnackBar padding (#6071)
Previously, we were getting double padding: both inside and outside the button.
This patch moves all the padding inside the button so that the whole region is
hittable and the text is positioned correctly.

Fixes #6059
2016-09-26 12:01:23 -07:00
Ian Hickson
bc9b32b99f More docs for TickerProvider in AnimationController (#6073) 2016-09-26 12:00:36 -07:00
Jason Simmons
0fb35fad43 Update the local engine paths to match the latest build files (#6074) 2016-09-26 11:21:43 -07:00
Ian Hickson
9e673853e5 Turn off AnimationControllers when not in use (#5902)
This requires all AnimationController objects to be given a
TickerProvider, a class that can create the Ticker.

It also provides some nice mixins for people who want to have their
State provide a TickerProvider. And a schedulerTickerProvider for those
cases where you just want to see your battery burn.

Also, we now enforce destruction order for elements.
2016-09-26 10:57:10 -07:00
Matt Perry
c825237a38 Fix improper Input usage in Gallery's Expansion demo. (#6019)
Fixes https://github.com/flutter/flutter/issues/6011
2016-09-26 13:35:43 -04:00
Seth Ladd
898b52f821 Remove whitelist of screensizes (#6066) 2016-09-26 10:28:04 -07:00
Ian Hickson
78c74116a9 LayoutBuilder + GlobalKey + setState assert (#6068)
This silences an assertion that fired when reparenting a widget with a
global key inside a LayoutBuilder callback when that callback also
happened to call setState (directly or indirectly) on that widget.

Normally such setStates are considered ok since we know we haven't
cleaned that subtree yet, but we were not correctly handling the case
where the list needed resorting in that situation.
2016-09-26 10:27:53 -07:00
Devon Carew
fa52b456ec set the FLUTTER_ROOT env var when invoking pub (#6041) 2016-09-25 19:30:44 -07:00
Seth Ladd
54e208e480 Allow a Nexus 6 and 6P to install Gallery (#6038)
Closes https://github.com/flutter/flutter/issues/6037
2016-09-24 18:18:39 -07:00
Adam Barth
c27b03b823 Add FittedBox (#6029)
This widget lets you apply an ImageFit to a child widget.

Fixes #5830
2016-09-23 17:40:16 -07:00
Ian Hickson
12054e33b7 Clean up some of the fn3 debugging logic. (#6024)
The debugging logic was lagging behind the recent actual logic changes,
especially around buildScope.
2016-09-23 17:00:12 -07:00
Chris Bracken
fea4a91ab6 Flutter run support for iOS 10 (#6028)
With iOS 10, the syslog format changed from:
Sep 23 16:04:17 cbracken-iPhone Runner[6188] <Info>: .*

to:
Sep 23 16:04:17 cbracken-iPhone Runner(libsystem_asl.dylib)[6188] <Info>: .*

This updates the observatory port scraping to handle either case.
2016-09-23 16:59:03 -07:00
Seth Ladd
077cf74f84 For reals allow Gallery to be installed by Nexus 5, 5X (#6013)
* For reals allow Gallery to be installed by Nexus 5, 5X

* fix for long line
2016-09-23 14:57:38 -07:00
Dragoș Tiselice
ef68f2f03b Added BottomNavigationBar demo. (#6003)
Added a demo of BottomNavigation to the Gallery.
2016-09-23 14:46:30 -07:00
Devon Carew
4c1e4a24ae allow daemon app launches to be more lenient about device ids (#6015) 2016-09-23 08:52:10 -07:00
Dan Rubel
133a9c35db extract flutter watch from flutter analyze (#6012) 2016-09-23 09:03:23 -04:00
Adam Barth
c1a2967430 Use SDK sources to refer to our own packages (#6001)
Switch our pubspec.yamls to using SDK sources so that we can have consistent
source types when we depend on these packages from external packages using SDK
sources.
2016-09-22 20:39:35 -07:00
P.Y. Laligand
07416d5372 Added BUILD.gn file for flutter_tools on Fuchsia. (#6014) 2016-09-22 16:48:33 -07:00
Ian Hickson
7a0f3d3405 Remove a sketchy override of a field (#6009)
The way this was implemented is sketchy, especially in strong mode.
2016-09-22 16:07:56 -07:00
Dragoș Tiselice
2dc26ba986 Changed BottomNavigationBar to handle dark theme. (#6006)
Changed the fixed type to better support the dark theme.
2016-09-22 15:03:34 -07:00
Ian Hickson
6a5e658131 Make sure to rebuild widgets even when they move (#5975)
Previously in some rather esoteric cases involving global keys reversing
relative positions we would forget to build everyone.
2016-09-22 14:44:57 -07:00
Ian Hickson
92af333eb6 Update docs for benchmarks (#5999)
We changed how `flutter run --release` works (it quits without showing
logs now, since it can't tell when the app closes).
2016-09-22 14:26:24 -07:00
Ian Hickson
7b247d2ce1 Minor improvements to hero docs (#5998) 2016-09-22 14:26:14 -07:00
Dragoș Tiselice
d35a8c49fd Changed BottomNavigationBar background. (#6005)
When switching from shifting to fixed, the BottomNavigationBar no
longer displays the old color of the background.
2016-09-22 13:50:50 -07:00
Seth Ladd
49df2354e6 Allow a Nexus 5 to install the gallery from the Play Store (#6002)
Cargo culted from http://stackoverflow.com/questions/24690739/nexus-5-galaxy-s5-and-some-other-devices-are-showing-not-compatible-in-google
2016-09-22 13:03:56 -07:00
Dragoș Tiselice
3a6530d5a4 Added bottom navigation. (#5877) 2016-09-22 12:45:10 -07:00
Hans Muller
d3f540d4bd Fixed tabs fling velocity threshold (#5990) 2016-09-22 11:06:14 -07:00
Adam Barth
d3efe7da5e Remove flutter_sprites (#5996)
This code is now in its own standalone library. The library is in a private git
repository in the flutter organization because the code is unmaintained. If
you're interested in using and maintaining this code, please contact
flutter-dev@googlegroups.com for more information.
2016-09-22 10:54:06 -07:00
Adam Barth
b7af062a90 Remove sound.dart (#5995)
This code is now in its own standalone library. The library is in a private git
repository in the flutter organization because the code is unmaintained. If
you're interested in using and maintaining this code, please contact
flutter-dev@googlegroups.com for more information.

Fixes #1364
2016-09-22 10:09:34 -07:00
Devon Carew
8755e569ca suppress pub override warning; decouple the analyzer versions (#5991)
* suppress warning; decouple the analyzer versions

* also pass in --no-packages-dir
2016-09-22 07:40:38 -07:00
Dan Rubel
8a186f3bbd tests to assert futures complete as expected (#5947) 2016-09-22 07:43:29 -04:00
Dan Rubel
74f50bfbe6 improve the default help to include common actions (#5980) 2016-09-22 06:03:32 -04:00
Dan Rubel
3f68e187f3 Help verbose show hidden options (#5979)
* show hidden flags when showing verbose help
* flutter -v show verbose help
2016-09-22 05:58:45 -04:00
Adam Barth
8e4ca4bd34 Draggable should have an affinity that selects an axis (#5985)
This structure for the API is hopefully less confusing that the previous one
(which implied that vertical drags would not trigger horizontally draggable
widgets).

Fixes #1987
2016-09-21 20:45:00 -07:00
James Robinson
a95c9fdb58 Isolate imports of generated Dart code from generated path (#5960)
This rewrites imports of various mojom.dart files from the Flutter
engine repo to instead import normal-looking dart files from the
(new) flutter_services package. This package handles exporting the
correct symbols from generated code wherever that may live.

Includes an engine roll to 3551e7a48e2e336777b15c7637af92fd7605b6c5
which contains the new flutter_services package.
2016-09-21 14:00:29 -07:00
Matt Perry
f0d2f5c58a Micro tweak to Pesto logo. Text fades out a bit sooner. (#5983) 2016-09-21 15:28:13 -04:00
Matt Perry
dc5e1bba36 Disallow back gestures during a page transition. (#5982)
Fixes https://github.com/flutter/flutter/issues/5973
2016-09-21 15:10:07 -04:00
Adam Barth
20d554c19a Document two-level lists (#5972)
These are the last dartdocs needed in the material library.
2016-09-21 12:04:05 -07:00
Hans Muller
fc83640c88 ClampOverscrolls clamps Scrollable, not its Viewport (#5909) 2016-09-21 11:32:19 -07:00
John McCutchan
035afc2c25 Properly handle symlinked source files in hot mode (#5978) 2016-09-21 11:24:29 -07:00
Dragoș Tiselice
7ad5ec40aa Changed Pesto logotype's position. (#5970)
* Changed Pesto logotype's position.

This commit changes Pesto's logotype position so that its curve
aligns with the curve of the image size.

* Added clamping to Pesto logo animation.
2016-09-21 10:58:49 -07:00
Matt Perry
c9b08aa686 Fix a bug with how ScrollableGrid deals with padding. (#5963)
It wasn't taking padding into account when deciding which children were
visible. I modeled the solution off of the way ScrollableList handles
this.

Fixes https://github.com/flutter/flutter/issues/5522
2016-09-21 13:29:35 -04:00
Dan Rubel
3f025e0ddf remove ignore unawaited_future comments (#5959) 2016-09-21 08:35:04 -04:00