3957 Commits

Author SHA1 Message Date
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
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
Todd Volkert
69e1647a87 review comments 2016-02-12 08:18:58 -08:00
Todd Volkert
9048949826 Ignore generated/ instead of ios/ 2016-02-12 08:11:44 -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
Ian Hickson
cd96855e50 Merge pull request #1789 from flutter/Hixie-patch-1
Ticker typedef had no defined return type
2016-02-11 17:00:16 -08:00
Adam Barth
f6f96277e8 Update engine 2016-02-11 16:58:41 -08:00
Ian Hickson
41b7fbf06b Merge pull request #1790 from Hixie/tap-drag
Refactor MultiDragPointerState to support delays
2016-02-11 16:54:51 -08:00
Hixie
6b487e4ecc Refactor MultiDragPointerState to support delays
...even after winning the arena.
2016-02-11 16:48:17 -08:00
Chinmay Garde
94e9795b0b Merge pull request #1788 from chinmaygarde/master
Write a REVISION file in the ios directory to aid in version checks
2016-02-11 15:54:01 -08:00
Chinmay Garde
0e9f8e4069 Write a REVISION file in the ios directory to aid in version checks 2016-02-11 15:46:09 -08:00
Hans Muller
caa5c32cf9 Merge pull request #1787 from HansMuller/cards_demo
Added a Card demo
2016-02-11 15:43:55 -08:00
Ian Hickson
4d90194eff Ticker typedef had no defined return type 2016-02-11 15:39:59 -08:00
Hans Muller
8eaa9e69e5 Added a Card demo. 2016-02-11 15:36:50 -08:00
Chinmay Garde
3af3b23607 Merge pull request #1786 from chinmaygarde/master
Explicitly specify the sdk and arch when building for an iOS device
2016-02-11 15:25:18 -08:00
Chinmay Garde
97e41f5757 Explicitly specify the sdk and arch when building for an iOS device 2016-02-11 15:18:29 -08:00
Jason Simmons
279c6149c5 Merge pull request #1747 from jason-simmons/input_field_clear
Change the text/selection value API of the input field
2016-02-11 13:46:13 -08:00
Devon Carew
de8d11e714 rename the apk/ directory to android/ 2016-02-11 13:28:24 -08:00
Ian Hickson
c27dc6416c Merge pull request #1782 from Hixie/tap-drag
Provide a Draggable that starts on drag
2016-02-11 13:11:14 -08:00
Hixie
8e279f320e Provide a Draggable that starts on drag
This lets it cooperate with other gestures like tap.

The way I implemented this was to refactor the entire Draggable gesture
logic to use a new kind of gesture detector called
MultiDragGestureRecognizer. It works a bit like
MultiTapGestureRecognizer but for drags.

Also some tweaks to the velocity estimator.
2016-02-11 12:54:10 -08:00
Jason Simmons
52c55344d9 Change the text/selection value API of the input field
(see https://github.com/flutter/flutter/issues/1586)
2016-02-11 12:52:15 -08:00
Eric Seidel
88cefe12f5 Merge pull request #1783 from eseidelGoogle/infra_docs
Remove now-obsolete recipes and document our new infra
2016-02-11 12:47:38 -08:00
Eric Seidel
ab8e38db49 Remove now-obsolete recipes and document our new infra
@abarth @chinmaygarde
2016-02-11 12:43:42 -08:00
Adam Barth
f38d94e8c8 Merge pull request #1781 from abarth/run_mozart
Teach run_mojo about Mozart
2016-02-11 12:35:10 -08:00
Adam Barth
78c19d22eb Teach run_mojo about Mozart
Instead of running the FLX directly, we need to run mojo:launcher and have it
run the FLX.
2016-02-11 12:16:04 -08:00
Devon Carew
c0ef05c3ab Merge pull request #1775 from devoncarew/start_paused_support
wait for flutter start to return until the obs. port is available
2016-02-11 10:21:28 -08:00
Devon Carew
4ed79454ac wait for flutter start to return until the obs. port is available 2016-02-11 10:18:39 -08:00
Ian Hickson
abce29f118 Merge pull request #1774 from Hixie/exports
Clean up imports and exports.
2016-02-11 00:12:42 -08:00
Adam Barth
265fc9e802 Merge pull request #1773 from abarth/custom_render_box
Add an example of creating a custom RenderBox
2016-02-11 00:11:59 -08:00
Ian Hickson
a94999ba50 Clean up imports and exports.
Each layer is supposed to reexport the parts of the previous layer
that are part of its API.

- In painting.dart, export from dart:ui all the Canvas-related APIs
  that make sense to be used at higher levels, e.g. PaintingStyle.

- Delete painting/shadows.dart. It was dead code.

- In rendering/object.dart, export all of painting.dart.

- In widgets/basic.dart, export all of painting.dart and
  animation.dart. Some classes in animation/ are renamed to make this
  less disruptive and confusing to the namespace.

- Split out Stocks back into an import model rather than a part model,
  so that it's easier to manage its dependencies on a per-file basis.

- Move Ticker to scheduler library.

- Remove as many redundant imports as possible now.

- Some minor nit picking cleanup in various files.
2016-02-11 00:06:23 -08:00
Adam Barth
f4d784dca9 Add an example of creating a custom RenderBox 2016-02-11 00:04:14 -08:00