- 05 Nov, 2020 1 commit
-
-
Shi-Hao Hong authored
-
- 04 Nov, 2020 2 commits
-
-
Jonah Williams authored
If no source files were changed by a hot reload, do not send the reload sources RPC. This slightly speeds up the no-op reloads and gives users a faster way to force a re-render.
-
Jenn Magder authored
-
- 02 Nov, 2020 1 commit
-
-
Andy Weiss authored
* [flutter_tools] Support zipped application bundles for macOS It is not possible to directly produce a directory (.app) in some build systems but rather it must be zip'ed before being passed to the tool for running. This adds support for attempting to extract an application bundle from a zip file if the bundle is not already a directory. This uses very similar code from lib/src/application_package.dart which is used for extracting an ipa for iOS. This introduces tests for the macos/application_package.dart behavior which did not exist before. These tests cover the changes in the PR and some of the existing behavior, but do not cover everything in that file.
-
- 31 Oct, 2020 1 commit
-
-
Shi-Hao Hong authored
* Fix failing tests from introducing raw string generation in gen_l10n tool
-
- 30 Oct, 2020 4 commits
-
-
Jenn Magder authored
-
Jonah Williams authored
Disable null safety auto-detection for the web
-
Jonah Williams authored
Fixes #69348 If the web development server fails to bind, then retry up to 5 times. If a port was not provided, select a new free port each time.
-
Jonah Williams authored
The flutter run failures are cause by the application occasionally taking a long time to start up. This caused the ios fallback discovery to kick in, which will always fail if the application hasn't started. Solution: remove the iOS fallback discovery and wait up to 30 seconds. This has not proven to reduce the flakes, but it does at least remove one error case and removes code that will no longer work without the mDNS fallback.
-
- 29 Oct, 2020 6 commits
-
-
Jonah Williams authored
-
Angjie Li authored
-
Yegor authored
-
Shi-Hao Hong authored
-
Angjie Li authored
Support --web-renderer options which would allow user to specify which rendering backend to use. (#68848)
-
Jonah Williams authored
[flutter_tools] conditionally invoke pub run test for drive scripts based on presence of dependency (#69246) * [flutter_tools] conditionally invoke pub run test for drive scripts based on presence of dependency
-
- 28 Oct, 2020 3 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
-
Konstantin Scheglov authored
-
- 27 Oct, 2020 6 commits
-
-
Jonah Williams authored
Moves the flutter root initialization to a static method on the cache. This is a small step towards making this functionality non-static and instead injected like normal members - however, completely removing all of the static-ness at once was too large of a change. Instead document and add unit tests and change existing code as little as possible. #47161
-
Jonah Williams authored
Rolls in several fixes to web tooling, including better handling of absolute file imports. Updates to latest vm service to unblock null safety mode query Co-authored-by:
Gary Roumanis <grouma@google.com> Co-authored-by:
Anna Gringauze <annagrin@google.com>
-
Jonah Williams authored
-
Jonah Williams authored
[flutter_tools] eagerly set asset directory path, cache flutter views, simplify error handling (#68978) Performs some small cleanup on the hot reload code path. - Combines nested try/catch into single try catch, update on clause now that package:vm_service is used and Map does not need to be caught. - Cache FlutterViews for the lifetime of the hot reload method handler - Set asset directory path once during startup and remove conditional set during hot reload
-
Jonah Williams authored
-
- 26 Oct, 2020 4 commits
-
-
Jonah Williams authored
* [flutter_tools] simplication of application store logic * maybe return null * fix install tests * Clean up imports * revert windows test * remove unused import
-
Jonah Williams authored
The tool observes a large number of unhandled exceptions during the file copy portion of flutter create. it is difficult to tell whether the permission issue is caused by the source/destination, or whether it is due to a bug in dart:io. To work around this, implement a permission check for both the source and dest files. If either fails, the tool can exit with a more specific message. If these checks pass, then perform the actual copy. If the copy fails, fallback to manually copying the bytes
-
Alexandre Ardhuin authored
-
Jonah Williams authored
Overhaul of flutter drive in order to deliver a better experience, namely: * flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive. * Removes web-initialize-platform as this is no longer used * flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service. * VM service connection now provides access to memory info without launching devtools (only for debug/profile mode) Web changes * Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible Additional NNBD related bug fixes: No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
-
- 23 Oct, 2020 5 commits
-
-
Jonah Williams authored
* [flutter_tools] null safety mode is used for dill naming * add bad test case
-
Jenn Magder authored
-
Jenn Magder authored
-
Jonah Williams authored
There have been some more additional reports of a missing 'package:characters' import after upgrading flutter. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub. Also takes an opportunity to fix the kernel snapshot depending on the .packages or package_config. Due to the generated: date field this causes extra rebuilds. Instead when pub get is run, write out an additional file with just the package contents and version. Fixes #66777 Fixes #65723
-
Jonah Williams authored
Revert "[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451)" (#68845) This reverts commit 2e75f52a.
-
- 22 Oct, 2020 3 commits
-
-
Jonah Williams authored
[flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451) Overhaul of flutter drive in order to deliver a better experience, namely: flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive. Removes web-initialize-platform as this is no longer used flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service. VM service connection now provides access to memory info without launching devtools (only for debug/profile mode) Web changes Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible Additional NNBD related bug fixes: No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
-
Jenn Magder authored
* App.framework must support iOS 8 for older Flutter projects * Fix test
-
Jonah Williams authored
-
- 21 Oct, 2020 2 commits
-
-
Zachary Anderson authored
This reverts commit ae06c19a.
-
Alexandre Ardhuin authored
-
- 20 Oct, 2020 1 commit
-
-
Jenn Magder authored
This reverts commit dd9323bd.
-
- 19 Oct, 2020 1 commit
-
-
Yegor authored
* Respond to POST with 404 in WebAssetServer
-