Commit Graph

2809 Commits

Author SHA1 Message Date
Todd Volkert
ffcdd0d1a3 Merge pull request #1801 from tvolkert/master
Ignore generated/ instead of ios/
2016-02-12 09:36:51 -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
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
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
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
Ian Hickson
4d90194eff Ticker typedef had no defined return type 2016-02-11 15:39:59 -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
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
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
4ed79454ac wait for flutter start to return until the obs. port is available 2016-02-11 10:18:39 -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
fc23277df5 Cleanup MixedViewport
This patch fixes a couple minor bugs and cleans up MixedViewport a bit.
2016-02-10 23:24:28 -08:00
Todd Volkert
3fa3d2266f Rev engine 2016-02-10 16:52:10 -08:00
Hans Muller
8b1229874d Merge pull request #1768 from abarth/scroll_padding
ScrollableList was applying padding twice
2016-02-10 16:13:34 -08:00
Adam Barth
40151689f1 ScrollableList was applying padding twice
We need to subtract the padding instead of adding it.
2016-02-10 15:51:25 -08:00
Devon Carew
aa66a7720c fix an NPE when the flutter.yaml file is missing 2016-02-10 15:41:57 -08:00
Ian Hickson
4e4887a93e Merge pull request #1763 from Hixie/asserts
More BoxConstraints asserts
2016-02-10 15:01:25 -08:00
Todd Volkert
1e2e09ed09 Rev engine 2016-02-10 13:51:50 -08:00
Hixie
296540168a More BoxConstraints asserts
The asserting will continue until morale improves!

* Convert all assert(*.isNormalized) checks to use the new
  debugAssertIsNormalized technology.
* Convert CustomMultiChildLayout to use the new RenderingError
  technology to greatly improve the detail in errors you get when
  writing CustomMultiChildLayout delegates.
* Add BoxConstraints.copyWith().
* Indent the descendants in the rendering exception data dump so that
  when you have multiple children it's clearer what's going on.
2016-02-10 13:32:04 -08:00
Adam Barth
64f588c12b Merge pull request #1761 from abarth/min_scroll_behavior
ScrollBehavior should support negative min scroll offset
2016-02-10 12:42:14 -08:00
Adam Barth
ec9ab32435 ScrollBehavior should support negative min scroll offset
Fixes #1730
2016-02-10 12:13:20 -08:00
Matt Perry
eaadaa79f0 Merge pull request #1627 from mpcomplete/ios
Refactor service-related code to be shared between android and IOS.
2016-02-10 15:01:05 -05:00
Matt Perry
a02d583d02 Refactor service-related code to be shared between android and IOS.
The IOS code is totally untested. Need a Mac to test it.
2016-02-10 14:52:17 -05:00
Hixie
3bd8bc3362 Improve asserts around BoxConstraints
Negative constraints never make sense, so catch those too.

Make RenderObject.layout's isNormalized assert use the newer more fancy
debug version of isNormalized.
2016-02-10 11:12:13 -08:00
Collin Jackson
96405fb42f Merge pull request #1756 from collinjackson/upgrade_anywhere
Upgrade command shouldn’t validate project, fixes #1745
2016-02-10 10:48:05 -08:00
Adam Barth
4ba5e712bc Teach PageableList about scroll anchors 2016-02-10 10:34:59 -08:00
Collin Jackson
5cd9d5b214 Upgrade command shouldn’t validate project, fixes #1745 2016-02-10 10:04:35 -08:00
Adam Barth
b07203a887 Merge pull request #1749 from abarth/viewport_scroll_anchor
Teach ScrollableList about scroll anchors
2016-02-10 09:47:41 -08:00
Adam Barth
d6ae53fec4 Teach ScrollableList about scroll anchors 2016-02-10 09:25:49 -08:00