3387 Commits

Author SHA1 Message Date
Ian Hickson
4f672dc049 Merge pull request #1020 from Hixie/transform
RenderFractionalTranslation and Dismissable
2015-12-24 11:08:09 -08:00
Ian Hickson
9bad312af2 RenderFractionalTranslation
- Add RenderFractionalTranslation, a render box that does a
  translation based on a FractionalOffset.

- Make FractionalOffset more like Offset
  - dx/dy instead of x/y
  - add /, ~/, %
  - add .zero

- Add alongOffset and alongSize to FractionalOffset so that you can
  easily apply FractionalOffset to Offsets and Sizes. (Better name
  suggestions welcome.)

- Add transformHitTests boolean to RenderTransform (also on
  RenderFractionalTranslation), and to classes based on it.

- Remove the fade from Dismissable. We can add it back using the
  builder-with-child pattern like Draggable if we need it. See #1003
  for tha feature request.

- Rename a bunch of variables in dismissable.dart.

- Change the test for dismissable to not handle leftwards dismisses
  one pixel different from rightwards dismisses, and cleaned up the
  resulting effect on the test (mostly making sure we had the right
  number of pumps, with comments explaining what each one was).

Fixes #174.
2015-12-24 11:04:25 -08:00
Hans Muller
a9ddbb4eca Merge pull request #1007 from HansMuller/revise_tabbar_selection
Make TabBarSelection a widget

TabBarSelection is now expected to be an ancestor of its TabBar and TabBarView.
2015-12-22 14:24:30 -08:00
Hans Muller
6178fdff8a TabBarSelection is now expected to be an ancestor of its TabBar and TabBarView. 2015-12-22 14:12:26 -08:00
Hans Muller
3f32201c66 checkpoint 2015-12-21 16:29:43 -08:00
Devon Carew
95b5091571 Merge pull request #1012 from devoncarew/nsm_hints
remove noSuchMethod hints
2015-12-21 15:15:29 -08:00
Devon Carew
ff74ba812d remove noSuchMethod hints 2015-12-21 14:57:20 -08:00
Devon Carew
7970df5907 Merge pull request #1008 from devoncarew/fix_analysis_errors
fix analysis errors and warnings in the stocks example
2015-12-21 14:03:35 -08:00
Devon Carew
6e324ef92d fix analysis errors and warnings in the stocks example 2015-12-21 13:39:28 -08:00
Seth Ladd
2bc0a05959 Merge pull request #1000 from flutter/sethladd-patch-1
Add a doc comment for Performance's repeat()
2015-12-21 12:51:34 -08:00
Seth Ladd
93053c062d Merge pull request #1001 from flutter/sethladd-patch-2
Link Curve to Curves in doc comments
2015-12-21 12:51:18 -08:00
Ian Hickson
e48efdca15 Merge pull request #982 from Hixie/fewer-bit-updates
Less tree walking for compositing bits updates.
2015-12-21 11:33:11 -08:00
Seth Ladd
c6fc6d2aa0 Link Curve to Curves in doc comments 2015-12-20 11:45:21 -08:00
Seth Ladd
96ae6d65ef Add a doc comment for Performance's repeat()
How's this?
2015-12-20 11:33:10 -08:00
Ian Hickson
884c8e9e35 Merge pull request #999 from Hixie/RenderPositionedBox-comments
Update RenderPositionedBox documentation.
2015-12-19 23:11:41 -08:00
Ian Hickson
543a7df0f6 Update RenderPositionedBox documentation. 2015-12-19 21:07:36 -08:00
krisgiesing
b53ab6485d Merge pull request #995 from krisgiesing/minor_cleanup
Remove redundant typedef
2015-12-18 13:48:02 -08:00
Kris Giesing
3b3315f46e Remove redundant typedef 2015-12-18 13:40:59 -08:00
Eric Seidel
9c8c74e486 Merge pull request #991 from flutter/all_docs
Generate docs for more of our packages
2015-12-18 10:13:10 -08:00
Eric Seidel
08221c5015 Merge pull request #992 from eseidelGoogle/forgot_icon
Forgot to add the file
2015-12-18 08:58:15 -08:00
Eric Seidel
6d908544c4 Forgot to add the file
This is a png version of the flutter logo generated on my desktop
from the SVG in the flutter.io repository.

TBR @hansmuller
2015-12-18 08:56:58 -08:00
Eric Seidel
1bde1e7939 Generate docs for more of our packages
I also stopped pushing docs to domokit.org I presume we
were doing that to not break old links.  @abarth

@sethladd
2015-12-18 08:52:05 -08:00
Chinmay Garde
56d6476049 Merge pull request #986 from chinmaygarde/master
Fix travis builds and linter warnings
2015-12-17 15:31:55 -08:00
Chinmay Garde
8231f57984 Fix travis builds and linter warnings 2015-12-17 15:25:59 -08:00
Chinmay Garde
98f10bc6eb Merge pull request #983 from chinmaygarde/master
Add a 'flutter ios --init' command that fetches the Xcode project from the cloud and configures it for a given flutter project
2015-12-17 14:59:26 -08:00
Chinmay Garde
08fdf99fea Add a 'flutter ios --init' command that fetches the Xcode project from the cloud and configures it for a given flutter project 2015-12-17 14:58:39 -08:00
Hixie
ab01c7bf73 Less tree walking for compositing bits updates.
Use the same technique for updating compositing bits as layout and
painting. This avoids walking the entire rendering tree when all you
need to update is a small subtree.
2015-12-17 13:55:53 -08:00
Eric Seidel
f107522fb3 Merge pull request #978 from eseidelGoogle/gallery_icon
Add an icon to the Flutter Material Gallery
2015-12-17 12:52:19 -08:00
Eric Seidel
33604c4a58 Add an icon to the Flutter Material Gallery
@abarth @hixie
2015-12-17 12:51:57 -08:00
Eric Seidel
bc04cc86f2 Merge pull request #979 from eseidelGoogle/stocks_icon
Add an icon for the Stocks app.
2015-12-17 10:13:38 -08:00
Eric Seidel
d3eca1aa42 Add an icon for the Stocks app.
Not great.  Better than nothing.

@hixie
2015-12-17 10:06:16 -08:00
Eric Seidel
b4bdf01e87 Merge pull request #972 from eseidelGoogle/apk_fix
Fix `flutter apk` to work with resources
2015-12-16 16:24:47 -08:00
Eric Seidel
dd440d0c21 Fix flutter apk to work with resources
I screwed up my last change, turns out the package command
is sensitive about having all of its flags before args.

Also made it possible to control the resources directory
from the command line per the review comments in the previous change.

@jason-simmons
2015-12-16 16:18:02 -08:00
Hans Muller
fd4599ff02 Merge pull request #969 from HansMuller/fix_tab_swipe_animation
Correct the TabBarView swipe selection change animation

The TabBarSelection change animation needs to start where the fling's drag gesture ended rather than from zero. The intial vlaue of progress for the TabBarSelection's performance is now converted from the range used during an interactive drag, to the range used when animating from the previously selected tab to the new one.

TabBarSelection now requires a maxIndex parameter.
2015-12-16 15:44:37 -08:00
Eric Seidel
bf751921ee Merge pull request #971 from eseidelGoogle/apk_res
Add support for bundling apk resources
2015-12-16 15:42:54 -08:00
Eric Seidel
64bec53646 Add support for bundling apk resources
I also made it so that `flutter apk -v` showed what
commands it was running by moving off of a custom _run
function onto the base/process.dart runChecked shared
by other commands.

@jason-simmons
2015-12-16 15:33:33 -08:00
Hans Muller
65dca5b578 Correct the TabBarView swipe selection change animation
The TabBarSelection change animation needs to start where the fling's drag gesture ended rather than from zero.  The intial vlaue of progress for the TabBarSelection's performance is now converted from the range used during an interactive drag, to the range used when animating from the previously selected tab to the new one.

TabBarSelection now requires a maxIndex parameter.
2015-12-16 15:30:45 -08:00
Seth Ladd
1e8886930a Merge pull request #966 from sethladd/docs-page
analytics and a homepage for docs.flutter.io
2015-12-16 15:25:29 -08:00
Ian Hickson
1327be6908 Merge pull request #968 from Hixie/scaffold-without-navigator
Make Navigator.canPop handle the no-navigator case
2015-12-16 14:58:00 -08:00
Ian Hickson
ef57c4ee4d Merge pull request #962 from Hixie/object-docs
Close some sentences. (rendering dartdocs)
2015-12-16 14:52:37 -08:00
Hixie
a0d6572977 Make Navigator.canPop handle the no-navigator case
Scaffold calls this to see if it should show a back arrow when there's
no drawer. With this change, everything continues to work.

Fixes styled_text and probably others.
2015-12-16 14:34:24 -08:00
Seth Ladd
86fe311b5f analytics and a homepage for docs.flutter.io 2015-12-16 14:05:48 -08:00
Hixie
b5e7e1ce7a Close some sentences. (rendering dartdocs) 2015-12-16 13:30:33 -08:00
Jason Simmons
1d16ebff05 Merge pull request #959 from jason-simmons/sound_track_pause
Pause and resume of all tracks in SoundTrackPlayer
2015-12-16 13:17:06 -08:00
Jason Simmons
247dc72bd3 Merge pull request #960 from jason-simmons/sound_track_volume
Apply looping and volume in the SoundTrackPlayer
2015-12-16 13:12:50 -08:00
Jason Simmons
8c45c949a9 Pause and resume of all tracks in SoundTrackPlayer 2015-12-16 13:11:23 -08:00
Jason Simmons
680540f9f4 Apply looping and volume in the SoundTrackPlayer 2015-12-16 13:05:44 -08:00
Jason Simmons
2b73fdd681 Merge pull request #955 from jason-simmons/app_lifecycle_events
Support application lifecycle state change events in the framework
2015-12-16 12:46:41 -08:00
Jason Simmons
e880bd92fb Support application lifecycle state change events in the framework 2015-12-16 12:38:40 -08:00
Ian Hickson
b8562aba60 Merge pull request #954 from Hixie/unit-to-flutter
Move flutter tests from packages/unit to packages/flutter/test
2015-12-16 09:44:01 -08:00