Chinmay Garde
931d4be5ba
Merge pull request #2821 from chinmaygarde/master
...
Dont differentiate between ios_arm and ios_x64 in flutter_tools
2016-03-21 15:02:59 -07:00
Chinmay Garde
c8377d7428
Dont differentiate between ios_arm and ios_x64 in flutter_tools
...
All artifacts for iOS are universal.
2016-03-21 14:41:26 -07:00
Devon Carew
e31395fba1
Merge pull request #2811 from devoncarew/drive_start
...
don't wait for the observatory if the app didn't start
2016-03-21 13:45:21 -07:00
pq
8b321d7de0
Remove analyze
tear-off regexp.
...
In the spirit of https://github.com/flutter/flutter/issues/1220 , remove the tear-off regexp in favor of in-line suppressions (if needed).
2016-03-21 11:28:11 -07:00
Devon Carew
f1cdf6df39
refactor; fix apk warning
2016-03-21 09:24:56 -07:00
Devon Carew
73d3acd5fd
don't wait fot the observatory if the app didn't start
2016-03-21 09:22:53 -07:00
Ian Hickson
a7016062bc
Improve flutter create help text.
2016-03-20 20:06:30 -07:00
Hixie
ce4e9cd690
Only require documentation for libraries.
2016-03-18 11:16:12 -07:00
Devon Carew
882f849ccd
update listen to work w/ ios devices
2016-03-17 10:42:48 -07:00
Devon Carew
f8374cd966
consolidate build commands under the 'build' command
2016-03-17 07:22:41 -07:00
Devon Carew
8ba214daa2
minor update to flutter daemon
2016-03-15 09:27:58 -07:00
pq
370840ef1f
More flutter analyze regexp cleanup
...
Runs clean on the repo. Moving ahead, we can manage exceptions via `.analysis_options` or specific source-level ignores.
2016-03-14 15:02:55 -07:00
Hixie
797e27edd3
Add @override annotations to flutter framework
2016-03-14 14:02:26 -07:00
Adam Barth
e2744e9a30
Stop using a prebuilt APK
...
Instead, require an AndroidManifest.xml and always build an APK.
Fixes #2517
2016-03-14 13:32:00 -07:00
Ian Hickson
bedd8e9131
Merge pull request #2650 from Hixie/always_always_specify_types
...
Even more types
2016-03-14 10:44:05 -07:00
Devon Carew
5fb315141b
Merge pull request #2658 from devoncarew/drive_command
...
change the description of the drive command
2016-03-14 10:27:01 -07:00
Devon Carew
d0afabc358
change the description of the drive command
2016-03-14 09:48:02 -07:00
Ian Hickson
d745e20853
Even more types
2016-03-14 09:41:54 -07:00
Devon Carew
4daee0cc0d
misc tool ui cleanup
2016-03-14 09:41:00 -07:00
Devon Carew
f13314867c
Merge pull request #2645 from devoncarew/platform_constants
...
rename the platform constants
2016-03-12 12:46:55 -08:00
Adam Barth
95fc5ae070
[rename fixit] *Component* -> *Widget*
...
This patch renames StatelessComponent to StatelessWidget and
StatefulComponent to StatefulWidget.
Fixes #2308
2016-03-12 12:34:05 -08:00
Devon Carew
e939b152af
rename the platform constants
2016-03-12 11:08:21 -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
43b0104114
Revert "Merge pull request #2639 from Hixie/always_specify_types"
...
This reverts commit f41b3411da
, reversing
changes made to e33d8d9621
.
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
Hixie
d162d98c79
Enable always_specify_types lint
...
And fix the zillion issues that uncovered.
2016-03-11 18:27:32 -08:00
Devon Carew
29df9f5582
show the error code in flutter analyze --watch
2016-03-11 15:59:20 -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
Phil Quitslund
b9f28e6f75
Merge pull request #2615 from pq/analyze_cleanup
...
Analyze command cleanup.
2016-03-11 14:25:24 -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
Devon Carew
5ad6a57007
remove some references to DeviceStore
2016-03-11 11:25:03 -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
Ian Hickson
1b9cd52081
Enable ALL THE LINTS
...
Well, all the easy ones, anyway.
For some reason `// ignore:` isn't working for me so I've disabled
lints that need that. Also disabled those that require a ton of work
(which I'm doing, but not in this PR, to keep it reviewable).
This adds:
- avoid_init_to_null
- library_names
- package_api_docs
- package_names
- package_prefixed_library_names
- prefer_is_not_empty
- sort_constructors_first
- sort_unnamed_constructors_first
- unnecessary_getters_setters
2016-03-10 23:15:31 -08:00
Devon Carew
b9fafc1765
adjust a regex for intl files
2016-03-10 14:21:23 -08:00
Devon Carew
780e4e6212
move the analysis_options to a file
2016-03-10 13:47:20 -08:00
Jason Simmons
3b5fba4022
Merge pull request #2578 from jason-simmons/flx_working_dir
...
Add an option to specify a working directory for the FLX builder
2016-03-10 12:43:35 -08:00
Eric Seidel
3e2a4d9b4d
flutter run
should fail if pub get
fails.
...
Previously we were ignoring the return code and continuing.
@devoncarew
2016-03-10 09:36:09 -08:00
Hixie
c7339de6bc
Enable always_declare_return_types lint
...
And fix a zillion omissions this uncovered.
2016-03-09 17:57:39 -08:00
Hixie
8950d3ccc4
Make flutter analyze useful for package conflicts
...
Also, resolve our package conflict, since reflectable has been fixed.
2016-03-09 17:41:05 -08:00
Hixie
5810cd80bd
Avoid 'as' keyword
...
It has performance implications in release mode.
We'll enable the lint once https://github.com/dart-lang/linter/issues/195 is fixed.
2016-03-09 15:00:55 -08:00
Jason Simmons
5108a6cc58
Add an option to specify a working directory for the FLX builder
...
This allows building an FLX without leaving any temporary files in the app's
source directory
2016-03-09 14:59:40 -08:00
Alhaad Gokhale
5faf84c3fa
Merge pull request #2528 from alhaad/depsfile_hook
...
Add `flutter_tools build` hooks to also generate depfile.
2016-03-09 12:29:31 -08:00
Alhaad Gokhale
b8d64ffe68
Add flutter_tools build
hooks to also generate depfile.
...
Fixes #1942 .
2016-03-09 11:24:47 -08:00
Devon Carew
2e9fef8c46
fix a regression in flutter logs
2016-03-09 10:48:34 -08:00
Adam Barth
e4b1eab854
Remove //examples/widgets
...
Most of the remaining widget examples are actually manual tests. This patch
moves them into //dev/manual_tests. A couple are examples of using services,
which I've moved to //examples/layers/services. The remainder are out-dated and
are removed by this patch.
2016-03-08 16:37:32 -08:00
John McCutchan
8803cecea1
Refactor DeviceLogReader
2016-03-08 10:38:22 -08:00
Devon Carew
52efc7fb68
implement --watch for flutter analyze
2016-03-07 13:46:42 -08:00
Devon Carew
b52fa986b6
fix rebase
2016-03-07 10:36:04 -08:00
Steve Messick
8cc5312054
Merge remote-tracking branch 'upstream/master'
2016-03-07 05:17:13 -08:00