Jonah Williams
cfda7a6548
Make sure flutter update-packages --verify-only
has a non-zero exit code ( #15962 )
...
* make sure --verify-only logs error messages and fix typo
* ensure non zero exit code
* undo random pubspec change
2018-03-29 20:34:49 -07:00
Jason Simmons
b4274ef685
URL encode asset paths to support reserved characters in paths ( #16046 )
...
Fixes https://github.com/flutter/flutter/issues/14864
2018-03-29 13:47:35 -07:00
Todd Volkert
f69d125954
Move Cache.flutterRoot initialization up sooner ( #16057 )
...
It's required to be set before we detect local engine.
Was broken by #15984
2018-03-29 09:16:34 -07:00
Ralph Bergmann
895707324d
improve Flutter build commands ( #15788 )
...
add --buildNumber and --buildName to flutter build like
flutter build apk --buildNumber=42 --buildName=1.0.42
2018-03-29 05:58:31 -07:00
Todd Volkert
2c898f6813
Remove writelnStderr ( #16058 )
...
Paying off technical debt...
2018-03-29 05:55:32 -07:00
xster
4565395693
Let iOS auto-signing tool handle Googler scenario ( #16010 )
...
* Let iOS auto-signing tool handle Googler scenario
* Forgot to update tests
2018-03-28 18:58:06 -07:00
Todd Volkert
f8058d7fb2
Make AppContext API not be prone to Future oddities ( #16034 )
...
Follow-up comments to #15984
2018-03-28 15:17:29 -07:00
Alexander Aprelev
bffae21571
Again move mockito to 300plus2 ( #15981 )
...
* Revert "Revert "Move mockito to 3.0.0-alpha. (#15949 )" (#15979 )"
This reverts commit e59651f925
.
* More thenReturn to thenAnswer when mocking Futures
* Revert "More thenReturn to thenAnswer when mocking Futures"
This reverts commit 194d2cf417
as we are reverting engine roll.
* Revert "Revert "More thenReturn to thenAnswer when mocking Futures""
This reverts commit 52c9e96b30
.
* Add dependency override
* Fix issue
2018-03-28 12:07:12 -07:00
Todd Volkert
8d11f5c763
Make AppContext immutable and race-free ( #15984 )
...
This updates AppContext per the recommendations in #15352
Fixes #15352
2018-03-28 10:58:28 -07:00
Alexander Aprelev
e59651f925
Revert "Move mockito to 3.0.0-alpha. ( #15949 )" ( #15979 )
...
This reverts commit a7e6225820
as there are failing tests.
2018-03-27 10:38:20 -07:00
Alexander Aprelev
a7e6225820
Move mockito to 3.0.0-alpha. ( #15949 )
...
* Move mockito to 3.0.0-alpha.
This is needed so it matches mockito version used internally.
* Pick up +2 for the fixes
* Fix whenReturn in fuchsia_remote_debug_protocol
* more thenReturn becomes thenAnswer
* more thenReturn becomes thenAnswer
* more thenReturn becomes thenAnswer
2018-03-27 10:05:16 -07:00
Jonah Williams
e91683942c
Update AndroidManifest to include screenLayout|density in config changes ( #15871 )
...
* android templates should add density and screenLayout to config changes
* update the rest of the manifests
2018-03-24 12:38:42 -07:00
Alexander Aprelev
af74a7253b
Send relative uri when target physical file path is specified. ( #15887 )
2018-03-23 19:18:39 -07:00
Andrew Davies
72fd020a24
[fuchsia_remote_debug_protocol] Adds the fuchsia remote debug protocol package.
...
Adds a package that will support connecting to and debugging devices with multiple instances of the Dart VM, and operate on multiple Isolates and Flutter Views.
Currently supports connecting to all existing Dart VMs and extracting information about all Flutter Views running across each VM.
2018-03-22 17:19:02 -07:00
Alexandre Ardhuin
061352918b
enable lint avoid_relative_lib_imports ( #15780 )
2018-03-22 07:56:18 +01:00
Alexandre Ardhuin
217b2bdaa1
add new lints of linter-0.1.44 and enable unnecessary_parenthesis ( #15585 )
2018-03-21 07:10:14 +01:00
Jonah Williams
ad9506d25a
Traverse dependencies and dev dependencies separately ( #15581 )
...
* traverse dependencies and dev dependencies separately
* separate dev and reg deps
* update pubspecs
* add checksum string and update transitive dep string. Add additional verify command to check checksum
* cleanup comments
* add missing space, quote, run verify-onlu from bot script
* rerun tool with fixed string
* ensure correct working directory and bump versions
* flutter not flutterRoot
2018-03-20 20:03:32 -07:00
Mikkel Nygaard Ravn
8b25d4eadb
Add missing awaits ( #15595 )
2018-03-21 00:44:19 +01:00
Sturov Fedor
1e40349017
Fixed flutter create's "package" template's error in pubspec.yaml. ( #14977 )
2018-03-20 13:37:24 -07:00
Vyacheslav Egorov
3352a3fb48
Report an error if compilation during testing times out. ( #15745 )
...
* Report an error if compilation times out instead of waiting forever.
* Remove braces
2018-03-20 11:30:06 -07:00
Siva
821c9b35a1
Roll engine to version 6280adbfb1f9f63cdc6179b9b78634add1e4f2e3 ( #15729 )
...
* roll engine version to 6280adbfb1f9f63cdc6179b9b78634add1e4f2e3
* Correctly handle previewDart : false setting in AnalysisServer and
AnalyzeOnce classes.
2018-03-20 11:15:05 -07:00
Alexandre Ardhuin
cc1cf9e12a
apply upcomming lint avoid_renaming_method_parameters ( #15526 )
2018-03-20 12:53:41 +01:00
Vilk
568ce697b4
add Samsung SM-J730F to isLocalEmulator ( #15517 )
...
Add another rel device to isLocalEmulator to make working flutter run --release
2018-03-19 21:40:34 -07:00
Victor Choueiri
7edd5c8d6c
Allow null flutter schema in pubspec ( #15690 )
2018-03-19 14:55:54 -07:00
Matan Lurey
81070893be
Fix Dart2 compatibility with flutter_tools' tests. ( #15699 )
2018-03-19 11:45:44 -07:00
Jason Simmons
1c04f951c8
Warn about missing host build binaries when compiling with a local engine ( #15626 )
...
Fixes https://github.com/flutter/flutter/issues/15361
2018-03-19 11:29:20 -07:00
Alexander Aprelev
6acf76f7be
Use uris for hot reload invalidation. ( #15698 )
...
* Use uris for hot reload invalidation.
* Clean up unneccessary conversions
* add final.
* Revert sample change
2018-03-19 11:17:16 -07:00
Jonah Williams
91dcfc5dd2
stderr can be null or empty string ( #15701 )
2018-03-19 10:53:04 -07:00
Alexander Aprelev
43284d70d9
Reland filesystem options support with fix for Windows test. ( #15655 )
...
* Revert "Revert "Reland pass filesystem options (#15622 )" (#15651 )"
This reverts commit 0f3eada066
.
* Fix for windows failing test
* !isEmpty -> isNotEmpty
2018-03-17 12:47:40 -07:00
Jonah Williams
298f4efc54
Fail ios workflow when simctl does not work ( #15628 )
...
* fail ios workflow when simctl does not work
* missed rename commit
* address comments
2018-03-17 10:57:51 -07:00
Alexander Aprelev
0f3eada066
Revert "Reland pass filesystem options ( #15622 )" ( #15651 )
...
This reverts commit bbcf55a5b0
as it breaks hot reload on Windows.
2018-03-17 08:11:52 -07:00
Alexander Aprelev
bbcf55a5b0
Reland pass filesystem options ( #15622 )
...
* Revert "Revert "Pass filesystem-root, filesystem-scheme options through `flutter run, build` and gradle. (#15592 )" (#15621 )"
This reverts commit c663e3367d
.
* Check whether filesystem-root is emtpy.
* Restore broken merge
* Fix windows test
* Adjust regex in test. Invalidate files by file path.
2018-03-17 06:49:15 -07:00
Vyacheslav Egorov
71b2cfb2a0
Turn Dart 2 mode by default. ( #15565 )
2018-03-16 20:29:38 +01:00
Alexander Aprelev
c663e3367d
Revert "Pass filesystem-root, filesystem-scheme options through flutter run, build
and gradle. ( #15592 )" ( #15621 )
...
This reverts commit 0f659fb10b
as it
breaks bin/tasks/gradle_plugin_test.dart.
2018-03-16 12:28:30 -07:00
Alexander Aprelev
0f659fb10b
Pass filesystem-root, filesystem-scheme options through flutter run, build
and gradle. ( #15592 )
...
* Pass filesystem-root, filesystem-scheme options through flutter run/build/gradle.
2018-03-16 11:16:54 -07:00
Keerti Parthasarathy
50190d2810
Do not encode the server port in the test file ( #15535 )
...
* Do not encode the server port in the test file
* revert formatting
* add back ignore
* add a default value to serverPort
* address comments
2018-03-15 10:56:10 -07:00
Vyacheslav Egorov
d693d427d8
Upgrade packages to pull in newest petitparser with Dart 2 fixes. ( #15558 )
...
* Upgrade packages to pull in newest petitparser with Dart 2 fixes.
* Don't allow Dart 2 failures.
* Address new lints discovered by updated analyzer.
2018-03-15 11:11:13 +01:00
Alexandre Ardhuin
7667db6362
apply upcomming prefer_const_declarations ( #15498 )
2018-03-14 06:24:49 +01:00
Alexander Aprelev
e23a658685
Rev dependencies up and regenerate stock_messages. ( #15469 )
...
This fixes https://github.com/flutter/flutter/issues/15458 .
2018-03-12 17:46:26 -07:00
Jonah Williams
d682259eab
Use a set to remove duplicate channel names ( #15392 )
...
* Use a set to remove duplicate channel names
* Add test for git command
2018-03-12 17:04:02 -07:00
Jason Simmons
466d15433f
Use Dart 2 camel case constants ( #15360 )
2018-03-12 11:06:32 -07:00
Mikkel Nygaard Ravn
658f9e6c83
Make plugins work in Swift projects ( #15437 )
2018-03-12 17:33:10 +01:00
P.Y. Laligand
c0118ea4b9
Leave source list empty for Fuchsia targets. ( #15337 )
2018-03-12 15:38:32 +01:00
Siva
e5ba3041cd
Update dart-petitparser and dart-xml packages ( #15376 )
...
* Update the following packages
- dart-petitparser to 1.7.5
- dart-xml to 3.0.3
- image to 1.1.30
These updates fix some of the strong mode errors we were encountering
while running flutter tests.
2018-03-11 18:57:14 -07:00
Alexandre Ardhuin
3961306bad
enable lints prefer_const_declarations and prefer_const_literals_to_create_immutables ( #14848 )
2018-03-09 14:37:06 -08:00
Jason Simmons
96ce9d64ac
Add more package names to the flutter create conflict list ( #15350 )
...
Fixes https://github.com/flutter/flutter/issues/12445
2018-03-09 13:11:33 -08:00
Todd Volkert
2e970008ad
Pass --verbose to pub instead of --trace when in verbose mode ( #15314 )
2018-03-09 12:55:06 -08:00
Yegor
2e429bfbdd
[tools] add Stdio to AppContext created by daemon AppInstance ( #15268 )
2018-03-09 12:25:30 -08:00
Alexander Aprelev
ded538a1bb
Update dependencies with forced upgrade. ( #15344 )
...
* Update dependencies with forced upgrade.
Now that https://github.com/flutter/flutter/issues/15261 is fixed, do the update with upgrade.
* Update test package use following upgrade
* Replace addOption(allowMultiple) with addMultiOption
2018-03-09 10:38:54 -08:00
Jonah Williams
4ace88bfc0
fix spacing issue and add test for supportsHardwareRendering ( #15305 )
...
* fix spacing issue and add test for supportsHardwareRendering
* remove extra async tag
* move spacing to prev line
2018-03-09 09:30:13 -08:00