Jonah Williams
beaf7e28fa
Update upgrade to reset off of hotfix branches ( #29786 )
2019-03-25 09:42:28 -07:00
Alexandre Ardhuin
bfa1d25bf9
some formatting of map, parameters and spaces ( #29760 )
2019-03-23 00:02:21 +01:00
Amir Hardon
e2cd5931a7
Revert "Update upgrade to rebase and stash local changes. ( #29192 )" ( #29780 )
...
This reverts commit e38be671a7
.
2019-03-21 20:34:07 -07:00
Jonah Williams
e38be671a7
Update upgrade to rebase and stash local changes. ( #29192 )
2019-03-21 14:32:52 -07:00
Jonah Williams
469a859c72
Enable code generation features in tool ( #29399 )
2019-03-21 13:12:10 -07:00
Alexander Aprelev
12c4e050be
Use source list from the compiler to track invalidated files for hot reload. ( #29693 )
...
* Use source list from the compiler to track invalidated files.
* Revert accidental change
* Fix first-time-seen-the-file logic
* Fix/simplify invalidate logic now that we can rely on compiler to let us know what is the cut-off point for invalidation.
* Update devfs mock to accommodate for new fields
* Fix deleted files case
* Analyzer found missing final
2019-03-20 21:58:15 -07:00
Alexandre Ardhuin
a6af422874
some spaces formatting ( #29452 )
...
* some space formattings
* always use blocks in if-else if a block is used
* format spaces in for and while
* allow multiline if conditions
* fix missing space
2019-03-20 23:23:31 +01:00
Jonah Williams
b123846cb0
Improve flutter test startup time ( #29404 )
2019-03-20 13:58:57 -07:00
Jonah Williams
72605d2406
Switch flutter_tools from script to app-jit snapshot. ( #27749 )
2019-03-15 19:33:24 -07:00
Jonah Williams
cd803ac7f2
Improve hot reload performance ( #28152 )
2019-03-15 15:02:45 -07:00
liyuqian
be5c83b9b8
Add dump-shader-skp flag to flutter tools ( #29258 )
...
This is the accompanying change for https://github.com/flutter/engine/pull/8148 and it needs the engine PR to land first.
For https://github.com/flutter/flutter/issues/813
2019-03-15 12:37:53 -07:00
Jonah Williams
7bed378e22
Only run codegen at start of flutter_test ( #29171 )
2019-03-14 17:12:40 -07:00
Jonah Williams
25820ab2a4
add option for --verbose-system-logs ( #29321 )
2019-03-13 22:42:12 -07:00
Danny Tuppeny
126c58ef7c
Add a flutter create --list-samples
command ( #28938 )
...
* Add a `flutter create --list-samples` command
* Add some comments/docs
* Tweak text
2019-03-12 11:47:17 +00:00
Paul Berry
c78ccb0b5e
Cause flutter analyze
to fail if the analysis server experienced an error. ( #29126 )
...
Substantially reduces the danger that a bug in the analysis server
might prevent errors from being detected by `flutter analyze`.
2019-03-11 09:47:20 -07:00
Alexandre Ardhuin
a0d1f93b07
fix block formatting ( #29051 )
2019-03-09 09:03:11 +01:00
Jonah Williams
8c0cf1ddf7
Revert "Lazily download artifacts (III) ( #27903 )" ( #29064 )
...
This reverts commit 3fd36200d9
.
2019-03-08 13:31:51 -08:00
Jonah Williams
3fd36200d9
Lazily download artifacts (III) ( #27903 )
2019-03-08 13:15:50 -08:00
Jonah Williams
77142b8257
Revert "re-enable dart2js test ( #29010 )" ( #29030 )
...
This reverts commit 6a7f231d89
.
2019-03-07 22:18:15 -08:00
Jonah Williams
6a7f231d89
re-enable dart2js test ( #29010 )
2019-03-07 21:56:02 -08:00
Jonah Williams
f5c3579f30
Remove extra build_runner modes, remove flutter_build ( #28873 )
2019-03-07 14:52:29 -08:00
Alexandre Ardhuin
440ce8fde6
Fix indentations of statements in BlockFunctionBody ( #28933 )
...
* fix indentof statements in BlockFunctionBody
* fix indentof statements in BlockFunctionBody in tests
2019-03-07 21:09:28 +01:00
Jonah Williams
a2d349c4c1
select ResidentCompiler during FlutterDevice initialization ( #28603 )
2019-03-07 11:02:42 -08:00
Phil Quitslund
802eca29d2
set literal conversions ( #27811 )
2019-03-06 11:05:16 -08:00
Chris Bracken
52e4214dbb
Fix crash on flutter update-packages ( #28922 )
...
When running git update-packages, if the goldens repo is dirty, the
flutter tool currently crashes and logs the failure from git pull.
This adds a check for a dirty git client and emits a friendlier error
message in the case where it's not clean, and avoid the crash by
catching the NonZeroExitCode exception and rethrowing as toolExit
instead.
Fixes: https://github.com/flutter/flutter/issues/28915
2019-03-06 09:14:39 -08:00
Alexandre Ardhuin
4c1f4d14e1
fix some formatting issues ( #28809 )
...
* fix some formatting issues
* address review comments
* fix indent
2019-03-06 09:37:32 +01:00
Alexander Markov
604e9dc683
Include git output into error message from channel command ( #28658 )
2019-03-01 10:22:59 -08:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
Jonah Williams
e9b935b00e
use deviceManager discovery in daemon protocol ( #28341 )
2019-02-26 12:02:27 -08:00
Jonah Williams
d2a76414f4
remove json_schema dep again ( #28517 )
2019-02-26 12:01:22 -08:00
Will Larche
57a8b03c5e
[Gallery] Fortnightly demo moved from flutter/samples. ( #28125 )
...
* [Gallery] Fortnightly demo moved from flutter/samples.
* [Gallery] Fortnightly analysis corrections.
* [Gallery] Minor rename.
* [Gallery] Making floats ints.
* [Gallery] Fortnightly minor visual polish.
* [Gallery] Formatting.
* [Gallery] Upping package version for gallery to support fortnightly demo.
* [Gallery] Fortnightly copy correction.
* [Gallery] Fortnightly study polish.
* [Gallery] Fortnightly polish.
* [Gallery] Fortnightly copy correction.
* [Gallery] Fortnightly copy now held in '''.
* [Gallery] Fortnightly comment.
* [Gallery] Updates necessary when flutter_gallery_assets updates.
* [Gallery] Updating macrobenchmarks because we updated flutter_gallery_assets.
* [Gallery] Moving spaces to beginning of copy lines.
* [Gallery] Copy correction.
* [Gallery] Adding tooltip to satisfy smoke test.
* [Gallery] Minor pr feedback.
* [Gallery] Forced upgrade.
2019-02-24 11:53:43 +01:00
Greg Spencer
b316940051
Fix the length of the valueHelp on the --sample option for the create command, and turn on wrapping. ( #28264 )
...
The wrapping for some commands was never actually turned on, so this turns it on.
Also, it shortens the `valueHelp` for the `--sample` option to be just "id" instead of "the sample ID of the desired sample from the API documentation website (http://docs.flutter.io )", which was causing the line to get far too long.
Fixes #23074
2019-02-21 15:56:59 -08:00
Alexandre Ardhuin
5169ab5974
format parameter list ( #27261 )
2019-02-21 09:27:07 +01:00
Dan Field
4ed096bd29
Remove json_schema and cli_util deps from flutter_tool ( #28040 )
...
* remove json_schema dep
* remove unnecessary pin
* removed unused dep
* remove unused impport
* Fix incorrect condition
2019-02-20 15:38:58 -08:00
Dan Field
c90c3a18a2
Reland automatic discovery of observatory port for iOS ( #27908 )
...
* Discover port over mDNS
* Update BUILD.gn for tools
2019-02-15 17:44:55 -08:00
Jonah Williams
67cf21577f
Add basic codegen app to be used for integration testing and benchmarks ( #27257 )
2019-02-14 23:17:16 -08:00
Jonah Williams
9bc5656637
Wire dart2js through flutter tool, add compilation test ( #27668 )
2019-02-14 22:42:30 -08:00
Jonah Williams
a5af29e83c
Revert "Lazily download artifacts (Part II) ( #27735 )" ( #27895 )
...
This reverts commit 76061c4fa9
.
2019-02-13 11:59:51 -08:00
Jonah Williams
76061c4fa9
Lazily download artifacts (Part II) ( #27735 )
2019-02-13 11:04:28 -08:00
KyleWong
4b4a9400b7
Refactor build-number/build-name logic. ( #27743 )
...
This PR aims at several things:
1. Use pub_semver to check a version in pubspec.yaml meets the requirements specified in https://semver.org/ .
2. Don't limit build-number/build-name as a fixed format. Instead, validate it according to the target(ios/android).
3. Make sure that build-number/build-name are always validated no matter it's specified by the `flutter command` or version in pubspec.yaml.
Fixes #27589
2019-02-13 07:48:03 -08:00
KyleWong
199ebaa677
Refactor ios bundleid/android application process logic. ( #27471 )
...
When creating a flutter project,
Make sure: applicationid for android conforms to: https://developer.android.com/studio/build/application-id
Make sure: bundleid for ios conforms to:
https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_conc/understand_utis_conc.html
(Not only the name,but also the organization, as it's a check for whole bundleid.)
2019-02-12 19:40:53 -08:00
Jonah Williams
23d38901ef
Pass method used to start flutter application ( #27812 )
2019-02-11 18:05:23 -08:00
Jonah Williams
4c3d15832d
add desktop devices to daemon behind flag ( #27665 )
2019-02-11 14:49:07 -08:00
Jonah Williams
7cdb30fba2
Revert "Lazily download artifacts ( #27374 )" ( #27705 )
...
This reverts commit 98971f3c64
.
2019-02-08 15:50:18 -08:00
Jonah Williams
98971f3c64
Lazily download artifacts ( #27374 )
2019-02-08 15:24:09 -08:00
Jonah Williams
b06a709305
Use flutter_tools to generate build_script ( #27277 )
2019-02-05 18:35:20 -08:00
xster
36c5e321a5
Print 50000$ monopoly money ( #27531 )
2019-02-05 15:00:51 -08:00
木士羽
9f7ab4c4a0
Support using flutter with specific version ( #26840 )
...
* Support using flutter with specific version
* Set min supported version to 1.2.1
2019-02-04 11:26:06 -08:00
Michael Goderbauer
6d20ff2446
Remove all obsolete "// ignore:" ( #27271 )
2019-01-30 08:56:12 -08:00
jonnyandrew
59dc909d0f
Include empty config in 'flutter config' output ( #25094 )
2019-01-30 07:36:03 -08:00