Commit Graph

18842 Commits

Author SHA1 Message Date
P.Y. Laligand
a6c4927b27 Added a few operators to the Velocity class.
#1968
2016-02-17 15:58:19 -08:00
Viktor Lidholt
ecfc303270 Correctly calculates gravity in particle systems 2016-02-17 10:14:44 -08:00
Devon Carew
ccf08e98de Merge pull request #1958 from devoncarew/more_validation
More work on validation
2016-02-17 09:40:46 -08:00
Devon Carew
d5a6fceee5 add a summary option to the doctor class 2016-02-17 09:33:45 -08:00
Hans Muller
ec6ed72e6a updated per review feedback 2016-02-17 08:38:40 -08:00
Devon Carew
6a6b6539c8 Merge pull request #1947 from devoncarew/less_ios
make the ios development path less mandatory
2016-02-17 00:48:00 -08:00
Devon Carew
7ae6f7f391 make the ios development path less mandatory 2016-02-17 00:38:47 -08:00
Adam Barth
90d53adea9 Revert "iOS: Treat the initial Info.plist string as a mustache template and use the project name to initialize the bundle name and identifier"
This reverts commit dd4361bcb3.

We still use the hard-coded name in a number of places, including
launching the app on the iOS simulator.

Fixes #1950
2016-02-16 21:20:00 -08:00
Chinmay Garde
9f0e6537fb Update the regex used to filter out Flutter specific logs 2016-02-16 18:07:00 -08:00
Chinmay Garde
36a7c6576c Perform an engine version check on start and update the Xcode project if necessary 2016-02-16 17:47:25 -08:00
Chinmay Garde
77103c01cd Merge pull request #1941 from chinmaygarde/master
iOS: Treat the initial Info.plist string as a mustache template and use the project name to initialize the bundle name and identifier
2016-02-16 17:42:42 -08:00
Chinmay Garde
dd4361bcb3 iOS: Treat the initial Info.plist string as a mustache template and use the project name to initialize the bundle name and identifier 2016-02-16 17:29:36 -08:00
Adam Barth
db7294206a Merge pull request #1940 from abarth/improve_android_sdk
Improve error message when Android SDK not found
2016-02-16 17:11:14 -08:00
Adam Barth
bef8d081ed Improve error message when Android SDK not found
Also, look for the Android SDK in the default locations.
2016-02-16 17:02:52 -08:00
Hans Muller
ba3930cc88 Changed grid layout padding and inter row/column spacing 2016-02-16 16:51:27 -08:00
Eric Seidel
6159c67d2c Merge pull request #1932 from eseidelGoogle/hide_run_mojo
Hide flutter run_mojo
2016-02-16 16:07:32 -08:00
Eric Seidel
f784fb8ce6 Hide flutter run_mojo 2016-02-16 16:06:39 -08:00
Adam Barth
0bb8d21bd2 Remove flutter ios command
All the functionality of this command has been integrated into other commands.
2016-02-16 16:01:59 -08:00
Chinmay Garde
58de420eaf Merge pull request #1933 from chinmaygarde/master
Refactor: Rename initialize_xcode.dart to setup_xcodeproj.dart
2016-02-16 15:51:23 -08:00
Adam Barth
7c105e6b2a Merge pull request #1928 from abarth/move_to_up
Enforce that we get a final move to the pointer up location
2016-02-16 15:45:47 -08:00
Chinmay Garde
c2f5044099 Refactor: Rename initialize_xcode.dart to setup_xcodeproj.dart 2016-02-16 15:35:59 -08:00
Chinmay Garde
0a8138981f Merge pull request #1930 from chinmaygarde/master
`flutter start` initializes the Xcode project if the user has not already done so.
2016-02-16 15:25:39 -08:00
Chinmay Garde
5cebf70da4 flutter start initializes the Xcode project if the user has not already done so. 2016-02-16 15:18:47 -08:00
Adam Barth
ddd58c5e23 Enforce that we get a final move to the pointer up location
Previously we asserted that we got a pointer move to the location where the
pointer up occured, but not all sources of pointer packets respect that
invariant. Specifically, on the iOS simulator, of you drag outside the window,
you'll get a stream of pointers that violates that invariant.

This patch teaches the converter to insert a PointerMoveEvent to move the
pointer to the location where the up occurs, repairing the invariant.

Fixes #1912
2016-02-16 14:58:40 -08:00
Adam Barth
6a9de1d735 Add docs for RepaintBoundary 2016-02-16 13:41:44 -08:00
Chinmay Garde
d38bfee62b Tooling updates for dealing with native services distributed in pub packages 2016-02-16 13:10:12 -08:00
Adam Barth
5a0edf9f0f Merge pull request #1917 from abarth/pub_get
flutter run should run pub get automatically
2016-02-16 11:48:55 -08:00
Adam Barth
cf8116368d flutter run should run pub get automatically
This removes a step that can cause trouble.

Fixes #1904
2016-02-16 11:16:34 -08:00
Adam Barth
302640a391 Improve the sample code for createState
The previous sample code isn't a common (or recommended) pattern.
2016-02-16 11:09:23 -08:00
Adam Barth
7a2c38abc8 Merge pull request #1903 from abarth/auto_simplify
Simplify the AutoLayout API
2016-02-15 16:41:40 -08:00
Adam Barth
4408c820e1 Rename AutoLayoutParams to AutoLayoutRect
This object represents a rect the auto-layout system.
2016-02-15 16:29:27 -08:00
Adam Barth
c7d71d8ab1 Simplify the AutoLayout API
This patch makes it easier to use the auto layout API:

* We no longer use operator== because that requires an ugly cast by the
  API user.
* Also, "leftEdge" is now just "left" for less verbosity.
* AutoLayoutChild not implies its key from the AutoLayoutParam object.
* We now correctly layout every child of a RenderAutoLayout object even
  if the solver doesn't flush any updates to that child.
2016-02-15 15:25:21 -08:00
Devon Carew
b7b06c2a27 fixes found when running through the getting started process 2016-02-15 14:06:23 -08:00
Adam Barth
262dd7a63b Add support for autolayout to widgets
This patch teaches the widget framework how to use Cassowary-based
autolayout. To integrate autolayout with widgets, I had to refactor how
RenderAutoLayout worked a bit. Now RenderAutoLayout follows the same
delegate pattern we use for custom paint and custom layout.
2016-02-15 03:01:40 -08:00
Adam Barth
2bb268492c Improve checkbox animation
This patch improves the checkbox animation as suggested by the design
team. The color transition now occurs earlier in the animation and there
are fewer components to the animation.

Fixes #1614
2016-02-14 18:01:15 -08:00
Devon Carew
efa47a6fd4 Merge pull request #1874 from devoncarew/command_renames
rename list->devices, start->run
2016-02-14 14:27:51 -08:00
Ian Hickson
aa41783ae3 Merge pull request #1877 from Hixie/onPressed-disabled
Document the onPressed/disabled behavior.
2016-02-14 13:57:42 -08:00
Ian Hickson
8ff177f832 Document the onPressed/disabled behavior.
Fixes https://github.com/flutter/flutter/issues/1331

Hopefully this will be enough to start with. If this continues to be a
point of confusion we can see about adding more documentation or
changing the API somehow.
2016-02-14 11:06:11 -08:00
Ian Hickson
86366626f0 Merge pull request #1873 from Hixie/debugFillDescription
Rename debugDescribeSettings to debugFillDescription.
2016-02-14 11:05:31 -08:00
Devon Carew
cc72bbc7ec rename list->devices, start->run 2016-02-13 23:50:20 -08:00
Ian Hickson
0334a833ef Rename debugDescribeSettings to debugFillDescription.
...so that it's easier to copy/paste between the rendering and settings layers.
2016-02-13 23:23:45 -08:00
Adam Barth
4fb47600e4 Add a Velocity class to be explicit about units
We were using an Offset, which represented pixels/second, but it wasn't
clear to clients whether that was pixels/ms. Now we use a Velocity class
that is explict about the units.

Fixes #1510
Fixes #785
2016-02-13 22:59:09 -08:00
Ian Hickson
ae178800d5 Merge pull request #1870 from Hixie/image
Use Image.toString instead of rolling our own each time
2016-02-13 19:51:40 -08:00
Ian Hickson
f54b8ad510 Use Image.toString instead of rolling our own each time
I meant to check this in as part of https://github.com/flutter/flutter/pull/1852
but forgot to commit the local change, d'oh.
2016-02-13 17:54:10 -08:00
Ian Hickson
00285bf2b2 Merge pull request #1852 from Hixie/stock-icons
Fix color of icons in drawers in dark theme.
2016-02-13 17:26:10 -08:00
Ian Hickson
b3d964145f Disable flakey test.
See https://github.com/flutter/flutter/issues/1854
2016-02-13 17:11:39 -08:00
Ian Hickson
3eb1b412e0 Fix color of icons in drawers in dark theme.
This makes it match the material spec more.
https://www.google.com/design/spec/style/icons.html

Fixes https://github.com/flutter/flutter/issues/1357
2016-02-13 17:10:10 -08:00
Devon Carew
981a7f378c Merge pull request #1859 from devoncarew/android_sdk_version
allow any android sdk version
2016-02-13 14:38:14 -08:00
Devon Carew
dcf0b7bae6 allow any android sdk version 2016-02-13 14:37:41 -08:00
Adam Barth
deb9d0b3a0 Remove references to dart:ui_internals
This library is being folded into dart:ui.

Fixes #83
2016-02-13 13:12:30 -08:00