4633 Commits

Author SHA1 Message Date
Adam Barth
e71bd77e4f [rename fixit] EdgeDims -> EdgeInsets
Fixes #1382
2016-03-12 12:33:38 -08:00
Adam Barth
7ba1960518 [rename fixit] ThemeData#text -> textTheme
Fixes #1278
2016-03-12 12:32:37 -08:00
Adam Barth
b5923f9282 [rename fixit] Painter -> RenderObjectPainter
Fixes #774
2016-03-12 11:37:39 -08:00
Adam Barth
d78b78c494 [rename fixit] scrollAnchor -> anchor 2016-03-12 11:35:37 -08:00
Adam Barth
e9b8f4450b [rename fixit] scrollDirection -> mainAxis
Fixes #581
2016-03-12 11:35:24 -08:00
Adam Barth
19f615fc2f [rename fixit] MultiChildLayoutDelegate#isChild -> hasChild
Fixes #459
2016-03-12 11:13:10 -08:00
Adam Barth
44c4e930d1 [rename fixit] GestureArena -> GestureArenaManager
Also, change the keys to be explicitly pointer ids.

Fixes #202
2016-03-12 11:13:02 -08:00
Devon Carew
5b383a0353 Merge pull request #2643 from devoncarew/fix_adb_forward
fix a regression in adb forward
2016-03-12 11:00:08 -08:00
Devon Carew
ce9111b591 fix a regression in adb forward 2016-03-12 10:41:34 -08:00
Devon Carew
e67b67680b Merge pull request #2631 from devoncarew/fix_app_delete
fix a launch issue when the user has deleted the app
2016-03-12 10:34:56 -08:00
Ian Hickson
c7ad846d98 Merge pull request #2640 from Hixie/origin/always_specify_types
Enable always_specify_types lint
2016-03-12 00:46:10 -08:00
Hixie
6795efacab Enable always_specify_types lint
And fix the zillion issues that uncovered.
2016-03-12 00:37:31 -08:00
Ian Hickson
b36ac83307 Merge pull request #2641 from Hixie/revert-bad-commit
Revert "Merge pull request #2639 from Hixie/always_specify_types"
2016-03-12 00:36:15 -08:00
Ian Hickson
43b0104114 Revert "Merge pull request #2639 from Hixie/always_specify_types"
This reverts commit f41b3411da35929b09009e47cb52474389e42874, reversing
changes made to e33d8d96212f3e337a6660f1eb1118bffc945bf5.

This was a bad check-in due to my mangling uploading a new version of the branch from a different machine.

This reverts https://github.com/flutter/flutter/pull/2639 and will be replaced by https://github.com/flutter/flutter/pull/2640
2016-03-12 00:34:37 -08:00
Ian Hickson
f41b3411da Merge pull request #2639 from Hixie/always_specify_types
Almost enable always_specify_types lint
2016-03-12 00:20:51 -08:00
Ian Hickson
e33d8d9621 Merge pull request #2634 from Hixie/strong-mode
Enable strong mode again.
2016-03-11 21:58:55 -08:00
Hixie
d162d98c79 Enable always_specify_types lint
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00
Adam Barth
4caaf9eefd Merge pull request #2617 from abarth/reparent_ordering
Handle the case of reparenting while updating children
2016-03-11 17:03:34 -08:00
Hixie
bb3874dc7f Enable strong mode again. 2016-03-11 16:34:47 -08:00
Adam Barth
9c08836273 Handle the case of reparenting while updating children
Instead of trying to flush the detached children from the child list, we keep
the set of detached children up to date and query on every read.
2016-03-11 16:34:22 -08:00
Devon Carew
f3dc82abda Merge pull request #2616 from devoncarew/show_error_code
show the error codes in flutter analyze --watch
2016-03-11 16:01:41 -08:00
Ian Hickson
1d8117e2d0 Merge pull request #2625 from Hixie/conflictingNamePattern
flutter analyze test
2016-03-11 15:59:25 -08:00
Devon Carew
29df9f5582 show the error code in flutter analyze --watch 2016-03-11 15:59:20 -08:00
Adam Barth
15f6480b0b Merge pull request #2628 from abarth/aspect_ratio
AspectRatio should attempt to fit its height
2016-03-11 15:58:02 -08:00
Devon Carew
ad7a666a3e fix a launch issue when the user has deleted the app 2016-03-11 15:44:24 -08:00
Phil Quitslund
a237b47c41 Merge pull request #2629 from pq/options_mig
Migrate flutter analyze config to options.
2016-03-11 15:28:10 -08:00
Adam Barth
6a54e12240 AspectRatio should attempt to fit its height
If there's not enough height for the given aspect ratio, we now try to see if
using the height to infer the width will fit the given constraints. The
algorithm we use is similar to the one we use for RenderImage.

Fixes #2620
2016-03-11 15:25:06 -08:00
Adam Barth
91bcf66389 Merge pull request #2630 from abarth/rev_engine
Update engine
2016-03-11 15:22:41 -08:00
Adam Barth
aee2ad5a28 Update engine 2016-03-11 15:03:42 -08:00
pq
0aa07baf70 Migrate flutter analyze config to options.
More groundwork to get `analyze` and IDE output to agree.

See: https://github.com/dart-lang/sdk/issues/25723
2016-03-11 14:52:07 -08:00
Hixie
e6b82b6fa9 flutter analyze test
Test that flutter analyze catches no error if two imported libraries
have the same name.

Also, make tests know how to find the flutter root and fix style in one
test to be consistent with the rest of the file.
2016-03-11 14:26:38 -08:00
Phil Quitslund
b9f28e6f75 Merge pull request #2615 from pq/analyze_cleanup
Analyze command cleanup.
2016-03-11 14:25:24 -08:00
Jason Simmons
a4453231f9 Merge pull request #2623 from jason-simmons/build_pub_get
Run "pub get" if needed in the flutter build command
2016-03-11 14:22:21 -08:00
Jason Simmons
68e71146a7 Run "pub get" if needed in the flutter build command 2016-03-11 14:10:42 -08:00
pq
a2dac85f87 Re-added conflictingNamesPattern. 2016-03-11 13:12:07 -08:00
Adam Barth
d24a7d3f93 Merge pull request #2607 from abarth/rotated_box
Add RotatedBox which applies a rotation before layout
2016-03-11 12:57:43 -08:00
Adam Barth
e59b25b21f Add RotatedBox which applies a rotation before layout
Transform applies its transform before painting, but sometimes you want
the widget to layout after its transform has been applied. We can't
handle general tranforms in this way because we can't couple width and
height constriants, but we can handle certain rotations.

Fixes #1214
2016-03-11 12:23:41 -08:00
Devon Carew
9319ac5e81 Merge pull request #2612 from devoncarew/remove_devicestore
Remove devicestore
2016-03-11 11:36:27 -08:00
Devon Carew
5ad6a57007 remove some references to DeviceStore 2016-03-11 11:25:03 -08:00
Devon Carew
35c5494f19 Merge pull request #2603 from devoncarew/i18n_regenerate
regenerate the i18n files for the stocks example
2016-03-11 11:20:09 -08:00
Devon Carew
94157c91e9 regenerate the i18n files 2016-03-11 10:58:30 -08:00
pq
aedef5139b Analyze command cleanup.
Removing some special-casing in pursuit of aligning `flutter analyze` output with that provided by server/IDEs.  Specifically:
  * strong-hints (stale, no longer supported)
  * "analyzer says" comment handling in favor of `//ignore`s
  * `conflictingNamePattern` --- no longer needed

Next up some of the error filter regexps...
2016-03-11 10:35:17 -08:00
Viktor Lidholt
bbb7f14a9e Merge pull request #2589 from vlidholt/master
Markdown is now correctly updated when config changes
2016-03-11 09:39:54 -08:00
John McCutchan
27a530c9af Merge pull request #2594 from johnmccutchan/fixed_device_port_forward
Add DevicePortForwarder with adb fix
2016-03-11 09:34:04 -08:00
John McCutchan
5e140b7533 Add DevicePortForwarder with adb fix 2016-03-11 09:26:17 -08:00
Devon Carew
625b5b51c7 Merge pull request #2604 from devoncarew/less_i18n_analysis
exclude the i18n files from analysis
2016-03-11 09:11:56 -08:00
Adam Barth
4d2b3f0006 Merge pull request #2610 from abarth/update_context
Provide the BuildContext to createRenderObject and updateRenderObject
2016-03-11 09:08:54 -08:00
Adam Barth
0277b075e0 Provide the BuildContext to createRenderObject and updateRenderObject
We'll need this for RTL support because the RTL state will live in the widget
tree. Also, remove the `oldWidget` argument to updateRenderObject because there
aren't any clients for it.
2016-03-11 08:59:37 -08:00
qchong
5ebe61a167 Merge pull request #2574 from qchong/update-api-docs
api docs: Add descriptions for Scaffold, Theme, and ThemeData classes.
2016-03-11 08:52:57 -08:00
Viktor Lidholt
9001b2646d Markdown is now correctly updated when config changes 2016-03-11 08:17:35 -08:00