Commit Graph

18842 Commits

Author SHA1 Message Date
Adam Barth
aa90a9f41c Update engine 2016-02-13 13:12:07 -08:00
Adam Barth
948ae15ca5 Clean up the standalone examples
Our examples have been growing organically over time. This patch cleans
them up to illustrate specific aspects of Flutter.
2016-02-13 11:00:58 -08:00
Ian Hickson
8db6f5b127 Merge pull request #1833 from Hixie/progress-nits
SawTooth
2016-02-12 19:09:17 -08:00
Ian Hickson
601089ecf1 Merge pull request #1829 from Hixie/size-obs-2
SizeObserver crusade: drawer
2016-02-12 18:15:45 -08:00
Ian Hickson
c0c2277767 Merge pull request #1849 from Hixie/drag-horiz
Horizontal and Vertical Draggables
2016-02-12 17:59:35 -08:00
Collin Jackson
6c2ab9d352 Merge pull request #1847 from collinjackson/input_key
Don’t require global keys for Input, fixes #1828
2016-02-12 17:58:08 -08:00
Hixie
e5cf7fe37f SizeObserver crusade: drawer
Drawer doesn't need a SizeObserver, since it only looks at the size
in event handlers. It can just go and probe the tree to read the size.

Also, change from using _kEdgeDragWidth to using _kWidth when figuring
out how much of the drawer to show when dragging it from the edge, since
that is more likely to match the drawer's width.
2016-02-12 17:26:52 -08:00
Ian Hickson
ca4d10d33a Merge pull request #1820 from Hixie/rainbox
Expose more debugging tools in Stocks
2016-02-12 17:21:16 -08:00
Hixie
19a2f5ef74 Horizontal and Vertical Draggables 2016-02-12 17:16:39 -08:00
Collin Jackson
d4533622e1 Don’t require global keys for Input, fixes #1828 2016-02-12 16:56:10 -08:00
Hans Muller
f53c1edcab Merge pull request #1838 from HansMuller/goodbye_curly
Bump the flutter_gallery_assets version, rename example apk dirs to android, remove BUILD.gn files
2016-02-12 15:11:50 -08:00
Matt Perry
56c7911ac7 Merge pull request #1834 from mpcomplete/rm.gcm
Remove gcm package from the repository.
2016-02-12 18:08:13 -05:00
Hans Muller
8c78bf47c1 updated flutter_gallery_assets version
rename example apk dirs to android
removed all BUILD.gn files
2016-02-12 15:03:14 -08:00
Matt Perry
721c391885 Remove gcm package from the repository.
I moved it to https://github.com/mpcomplete/flutter_gcm for now.
2016-02-12 17:32:50 -05:00
Hixie
7c23ededef SawTooth 2016-02-12 14:20:37 -08:00
Hixie
334fcbbf44 Draggables were disappearing
I forgot to wrap the state changing in a setState. Oops.
2016-02-12 14:03:47 -08:00
Adam Barth
baca514f99 Merge pull request #1827 from abarth/scrollable_list_padding
Fix padding for ScrollableList
2016-02-12 13:59:59 -08:00
Adam Barth
ad2fa5a6e7 Fix padding for ScrollableList
Previously we had totally wrong behavior. Now we have more correct behavior and
testing.

Fixes #1808
2016-02-12 13:39:05 -08:00
Devon Carew
8baf7694cb update gitignore and analysis_options 2016-02-12 13:13:05 -08:00
Devon Carew
1cbd61d3b9 Merge pull request #1824 from devoncarew/use_revision_ios
use the REVISION file when building ios apps
2016-02-12 13:04:29 -08:00
Ian Hickson
b00773a306 Merge pull request #1803 from Hixie/canvas-crash
Reenable canvas test.
2016-02-12 12:52:55 -08:00
Ian Hickson
3f04701805 Merge pull request #1826 from Hixie/size-obs-1
SizeObserver crusade: snap alignment
2016-02-12 12:49:04 -08:00
Jason Simmons
cdbc942753 Merge pull request #1814 from jason-simmons/mojo_toolchain_path
Try to locate the toolchain in the output layout used by the Flutter …
2016-02-12 12:46:43 -08:00
Hixie
fd7be69df0 SizeObserver crusade: snap alignment
Remove the SizeObserver you need to use snap alignment in lists by
having the lists provide the size themselves in the callback.

Also, remove snapAlignmentOffset since we couldn't figure out how to
explain it and it's not really needed.
2016-02-12 12:40:44 -08:00
Devon Carew
576bf7df60 use the REVISION file when building ios apps 2016-02-12 12:21:04 -08:00
Hixie
a95c866bf3 Expose more debugging tools in Stocks 2016-02-12 11:41:17 -08:00
Hans Muller
78b3096126 colors demo 2016-02-12 11:31:08 -08:00
Jason Simmons
42be77b7a9 Try to locate the toolchain in the output layout used by the Flutter Linux target 2016-02-12 11:09:22 -08:00
Ian Hickson
f8f50ae713 Merge pull request #1804 from Hixie/progress-nits
Clean-up around progress indicators.
2016-02-12 10:53:03 -08:00
Ian Hickson
d2c3275086 Merge pull request #1791 from Hixie/custom-paint-saves
Assert that custom painters balance save/restores.
2016-02-12 09:54:34 -08:00
Todd Volkert
ffcdd0d1a3 Merge pull request #1801 from tvolkert/master
Ignore generated/ instead of ios/
2016-02-12 09:36:51 -08:00
Hixie
2c69f2429f Clean-up around progress indicators.
Move StepTween to tween.dart.

Move _buildIndicator() methods to be next to the build() methods they're
used from, so that reading the code is easier.

Fix typos, add some comments, style nits.
2016-02-12 09:28:56 -08:00
Adam Barth
78181d82e7 Merge pull request #1798 from abarth/image_cache
ImageCache should be a public type
2016-02-12 09:08:40 -08:00
Ian Hickson
ecdd55e4cd Merge pull request #1796 from abarth/progress_nits
Fix style nits in progress_indicator.dart
2016-02-12 08:46:43 -08:00
Hixie
edac70a5dd Reenable canvas test.
I'm guessing the recent changes to the bindings fixed this crash.

Closes https://github.com/flutter/flutter/issues/248.
2016-02-12 08:39:59 -08:00
Hixie
0d1a3cfcff Assert that custom painters balance save/restores. 2016-02-12 08:35:45 -08:00
Todd Volkert
5d496143ba Review 2016-02-12 08:27:47 -08:00
Ian Hickson
16ecfeb074 Merge pull request #1797 from Hixie/toString
toString for Tween and ThemeData
2016-02-12 07:16:53 -08:00
Adam Barth
45c4069070 ImageCache should be a public type
We expose `imageCache`, which is an ImageCache, but previously the class
was private which means there was no documentation for the methods on
that object.

Fixes #1750
2016-02-11 22:33:21 -08:00
Ian Hickson
ab3b6a6eec toString for Tween and ThemeData 2016-02-11 22:25:39 -08:00
Adam Barth
0ae02d2f95 Fix style nits in progress_indicator.dart
This patch tightens up the imports in this file and hides some more of
the implementation details by making RepeatingCurveTween and StepTween
private.

Also, removed a CurvedAnimation with a linear curve.  That's not needed
because the animation controller itself is an Animation<double>.
2016-02-11 22:20:14 -08:00
Josh Estelle
6bb7c0ae9c Implement the Material Circular Indeterminate Progress Indicator correctly to spec.
This animation expands/collapses an arc that's 3/4ths of a circle.
The next iteration begins where the previous appeared to finish.
This happens while the whole thing rotates, such that the starting point of each
expansion moves in a star-wise pattern around the circle.

See:
https://www.google.com/design/spec/components/progress-activity.html
(note: the video here demonstrating this animation is actually slightly incorrect...
we'll hopefully update it soon)
2016-02-11 22:12:15 -08:00
Chinmay Garde
62fb32d458 Merge pull request #1792 from chinmaygarde/master
Allow users to upgrade their iOS engines without removing their edits to the Xcode project
2016-02-11 21:17:30 -08:00
Adam Barth
2a1b0f6c22 Merge pull request #1793 from abarth/version_code
Add versionCode and versionName to default Android manifest
2016-02-11 20:11:35 -08:00
Adam Barth
0ae17bc3b3 Add versionCode and versionName to default Android manifest
These are required to upload to the store.

Fixes #1006
2016-02-11 19:43:39 -08:00
Adam Barth
8b94b9e9c6 Merge pull request #1784 from devoncarew/rename_apk_dir
rename the apk/ directory to android/
2016-02-11 19:37:44 -08:00
Chinmay Garde
23c632ab87 iOS: Write a default .gitignore file for the "Generated" directory 2016-02-11 18:40:54 -08:00
Chinmay Garde
3d25df3f99 iOS: Update path to the application Xcode project to point to the generated subdirectory 2016-02-11 17:48:56 -08:00
Chinmay Garde
5f6e9cb39c iOS: Generate the initial set of user editable files if these are not already present 2016-02-11 17:44:04 -08:00
Chinmay Garde
978973fac9 iOS: Inflate the Xcode project into a "Generated" subdirectory 2016-02-11 17:13:06 -08:00