Siva
b0b2c0077a
Turn support for sync-async on in Flutter. ( #16543 )
...
* Turn support for sync-async on in Flutter. With this feature
execution of async functions starts immediately instead of it
being delayed by one microtask tick.
* Address review comments.
* Adjust some stack trace expectations which are slightly different with
--sync-async turned on.
2018-04-16 08:44:38 -07:00
Alexander Aprelev
ea30c95dc9
Report RpcException error thrown by _reloadSource vmservice rpc. ( #16417 )
...
* Don't return null, just rethrow RpcException error when vmservice responds with error.
2018-04-13 17:02:14 -07:00
Hans Muller
fb0ab99d6f
Remove Number.tryParse() straggler ( #16570 )
2018-04-13 11:15:33 -07:00
Hans Muller
e7154bee1a
Remove the rest of the uses of Number.tryParse() ( #16568 )
2018-04-13 09:39:01 -07:00
Hans Muller
0260642fc5
Revert some uses of Number.tryParse() ( #16546 )
...
Revert some uses of Number.tryParse(), ignore deprecation warnings for Number.parse()
2018-04-12 19:16:44 -07:00
Konstantin Scheglov
2c183f235f
Build once in FlutterTesterDevice. ( #16457 )
2018-04-12 19:01:55 -07:00
Alexander Aprelev
e0cd42e4ad
Roll engine to 76cb311d9c33720dcd19274228b39ecdbad8d9af (with rolled dart) ( #16518 )
...
* Handle error count reported by frontend.
Extend compilation result from single string to a structure(string filename and integer error count).
* Use ?.
* Include engine roll with dart sdk roll.
* parse(onError) -> tryParse
* Make '?? throw' more readable and avoid issue with analyzer
* Fix test so it mocks compiler output including errors count
2018-04-12 16:28:01 -07:00
Devon Carew
a561722b2b
fix a test flake on appveyor ( #16479 )
...
* fix a test flake on appveyor
* only catch FileSystemExceptions
2018-04-12 15:07:51 -07:00
Siva
dbddcf26b5
Turn off unused changes report during hot reload ( #16520 )
...
* A new UI is being designed to make the unused reload messaging clearer,
the UI will use the coverage data to highlight lines in the UI that were not executed during a reload.
In lieu of that we are turning off the unused reload messages experiment.
There were some issues in Dart2 also with this functionality
- source fingerprinting is not implemented in Dart2
- some additional synthetic functions are generated for invocation argument checking that are not appropriately filtered out.
2018-04-12 14:24:10 -07:00
Chris Bracken
337d6df73d
Pass verbose flag to Xcode subcommands ( #16483 )
...
When flutter builds are run with --verbose, pass the flag through to
flutter sub-commands run via xcode_backend.sh.
2018-04-12 09:30:50 -07:00
Sarah Zakarias
4443e4d4cf
Cleanup FLX related code ( #16416 )
2018-04-12 10:12:26 +02:00
Mikkel Nygaard Ravn
1ba4336494
Require Cocoapods 1.5.0 ( #16443 )
2018-04-12 06:23:14 +02:00
Alexander Aprelev
da9e1a4aca
Introduce fingerprint check for preview-dart-2 build flx. ( #16484 )
...
* Introduce fingerprint check for preview-dart-2 build flx.
* Don't count outputs into fingerpint. Refactor compilation code.
2018-04-11 20:50:25 -07:00
Chris Bracken
b4d57553c8
Simplify script snapshotting code ( #16478 )
...
Inlines the very small amount of work being done in _build() into
buildScriptSnapshot(). Eliminates a duplicate (and un-awaited) call to
_writeFingerprint.
2018-04-11 16:53:32 -07:00
Devon Carew
071485258f
Revert "re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server ( #16281 )" ( #16482 )
...
This reverts commit 2f41ea546f
.
2018-04-11 16:49:38 -07:00
Devon Carew
2f41ea546f
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server ( #16281 )
...
re-write flutter analyze (the single-shot and --flutter-repo) to use the analysis server
2018-04-11 14:50:36 -07:00
Alexander Aprelev
4c221231c9
Sync .packages file as a normal input file. ( #16467 )
...
* Sync .packages file as regular file.
Currently .packages file is treated specially as DevFSStringContent to accommodate package-file rewrite when it is sent to the device for dart1 compilation. In dart2 we need to treat .packages as regular file because from frontend perspective it's just a normal input file.
2018-04-11 14:48:14 -07:00
Xiao Yu
3923ccf655
Revert 9749bea7b9
. Accidentally pushed to flutter instead of fork repo for PR.
...
This reverts commit 9749bea7b9
.
2018-04-11 13:54:06 -07:00
Xiao Yu
9749bea7b9
Remove the initial xcodebuild clean step which seems unnecessary
2018-04-11 13:52:04 -07:00
Konstantin Scheglov
cf500bf6cd
Integration test for FlutterTesterDevice. ( #16424 )
2018-04-11 08:52:17 -07:00
Todd Volkert
f408bb06f9
Update dependencies ( #16442 )
2018-04-10 14:27:53 -07:00
Konstantin Scheglov
38970f5f75
Add a new Device backed by flutter_tester. ( #16405 )
2018-04-10 09:37:16 -07:00
Chris Bracken
4576f56624
Run iOS gen_snapshot as x86_64 arch ( #16323 )
...
We are about to begin building gen_snapshot as a multi-arch binary,
which when run as x86_64 will generate arm64 AOT output, and when run as
i386 will generate armv7 AOT output.
Currently, gen_snapshot is an x86_64 binary, so this change is
effectively preventative in nature, and is a no-op with the current
snapshotter.
2018-04-09 19:12:05 -07:00
Ian Hickson
44fbf7463b
Minor code cleanup ( #16237 )
2018-04-09 16:33:47 -07:00
Victor Choueiri
da4e06bbca
Update template .gitignore rules ( #15382 )
...
* Update template .gitignore rules
* Remove old packages rule
* Remove IDE folders from gitignore templates
* Prefer ios.tmpl/.gitignore
2018-04-09 15:02:24 -07:00
Sam Rawlins
2329cb7ec8
Bump mockito to 3.0.0-alpha+3 ( #16306 )
...
* Bump mockito to 3.0.0-alpha+3
* Type annotation
2018-04-09 12:43:31 -07:00
Jacob Richman
660408edd6
Switch to the new Matrix4.tryInvert method to avoid throwing and catching ( #15771 ) exceptions while performing hit testing.
2018-04-09 10:32:22 -07:00
Todd Volkert
d9a3ced9db
Check whether we can run sdkmanager in AndroidWorkflow.licensesAccepted ( #16343 )
...
Fixes https://github.com/flutter/flutter/issues/16332
2018-04-09 08:57:11 -07:00
Konstantin Scheglov
d121cbc80d
Make IntelliJPlugins tests use MemoryFileSystem. ( #16341 )
2018-04-08 09:46:11 -07:00
xster
bdc06194fb
Prompt a solution message when flutter tools network fail in China ( #16244 )
2018-04-06 18:44:05 -07:00
Zachary Anderson
d6d874474b
[fuchsia] Fixes for Fuchsia hot reload ( #16317 )
2018-04-06 13:23:16 -07:00
Mikkel Nygaard Ravn
731ed1b11b
Make flutter.gradle support Flutter used as lib ( #16300 )
2018-04-06 13:11:47 +02:00
Mikkel Nygaard Ravn
06b208f353
Make Podfiles work with Cocoapods 1.5.0 ( #16273 )
2018-04-05 22:47:03 +02:00
Jason Simmons
24bfbeb246
Handle whitespace in entry values in the AAPT badging parser ( #16245 )
...
Fixes https://github.com/flutter/flutter/issues/16200
2018-04-05 10:24:05 -07:00
Jonah Williams
5125c43247
re-enable verify only test failure and update deps. ( #16090 )
...
* re-enable verify-only failing test for out of sync deps and update deps to latest version
2018-04-04 10:52:46 -07:00
Konstantin Scheglov
4658ec0f9c
Extract checking IntelliJ packages into a helper and use for Android Studio. ( #16198 )
2018-04-04 10:48:46 -07:00
xster
48478b5952
Remove DevToolsSecurity check from initial flutter doctor ( #16007 )
2018-04-04 10:35:38 -07:00
Todd Volkert
d4084cde7d
Revert "Adds Java EE module to SDK manager calls" ( #16227 )
...
This reverts https://github.com/flutter/flutter/pull/16035
2018-04-04 09:46:26 -07:00
Devon Carew
aa55f50ddb
update intellij metadata in template files ( #16211 )
2018-04-04 09:36:34 -07:00
Devon Carew
13bafba994
add a period after xcode build done ( #16209 )
2018-04-04 07:22:58 -07:00
Luke
0c18d29643
Adds Java EE module to SDK manager environment to stop missing xml library exception when checking for licenses. ( #16035 )
2018-04-02 23:06:28 -07:00
Anatoly Pulyaevskiy
78434580d2
Upgrade quiver to 0.28.1 in flutter_test to fix usage of Maps ( #16132 )
2018-04-02 22:26:49 -07:00
Jonah Williams
0c89920069
Update logic for parsing sdk version number ( #15918 )
...
* add logic to parse 11.3 sim runtime major version
* add null aware and bump group number
* add comment describing version
2018-04-01 17:35:05 -07:00
Todd Volkert
8d6673dcf0
Revert "Make sure flutter update-packages --verify-only
has a non-zero exit code ( #15962 )" ( #16089 )
...
This reverts commit cfda7a6548
.
2018-03-29 21:34:31 -07:00
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