- 03 Dec, 2020 1 commit
-
-
Jonah Williams authored
-
- 01 Dec, 2020 1 commit
-
-
Jenn Magder authored
-
- 23 Nov, 2020 1 commit
-
-
Jenn Magder authored
-
- 20 Nov, 2020 1 commit
-
-
J-P Nurmi authored
-
- 17 Nov, 2020 1 commit
-
-
Jenn Magder authored
-
- 14 Nov, 2020 1 commit
-
-
Jonah Williams authored
This reverts commit 8749d955.
-
- 13 Nov, 2020 1 commit
-
-
Ian Hickson authored
In principle this is backwards compatible; I just merged all the classes into one and deprecated everything that became redundant as a result.
-
- 12 Nov, 2020 1 commit
-
-
Jenn Magder authored
-
- 10 Nov, 2020 2 commits
-
-
Jonah Williams authored
[flutter_tools] remove most globals from asset system and remove Cache manipulation in unit tests (#70011)
-
Jonah Williams authored
Fixes #69416 Fixes #70121
-
- 07 Nov, 2020 1 commit
-
-
Jonah Williams authored
Instead of loading the use-material-design asset data from a yaml file in the repo, leave it in dart code and simplify. Remove some of the globals, but not enough to update to testWithoutContext
-
- 06 Nov, 2020 1 commit
-
-
Shi-Hao Hong authored
-
- 05 Nov, 2020 2 commits
-
-
Jenn Magder authored
-
Shi-Hao Hong authored
-
- 04 Nov, 2020 1 commit
-
-
Jenn Magder authored
-
- 26 Oct, 2020 1 commit
-
-
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 2 commits
-
-
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 1 commit
-
-
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.
-
- 16 Oct, 2020 1 commit
-
-
Shi-Hao Hong authored
* Generate pubspec.yaml for synthetic package if it did not exist prior
-
- 14 Oct, 2020 2 commits
-
-
Jenn Magder authored
-
Jenn Magder authored
-
- 12 Oct, 2020 1 commit
-
-
Jonah Williams authored
HACKTOBERFEST
-
- 09 Oct, 2020 1 commit
-
-
Jonah Williams authored
Do not upload all assets on initial devFS sync. This should increase the reliability of the initial connection, even in the face of flaky devfs behavior, in addition to a moderate perf improvement. Updates fast-start to build assets as part of the initial bundle Requires flutter/engine#21436 Requires flutter/engine#21586 Requires flutter/engine#21611
-
- 07 Oct, 2020 1 commit
-
-
Jonah Williams authored
Split from #66776 Even if pub does not change the packge_config contents, it will still update a timestamp in one of the fields. This causes unnecessary rebuilds. To fix this, generate an additional file when running pub get that only contains the relevant fields and then update the KernelSnapshot rule to depend on it only.
-
- 05 Oct, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] disable source maps by default for release builds, enable for run and with command line arg (#67331) Disables source map production by default for build web. For web builds performed as a part of flutter run --release, enable the source maps, or allow force enabling with --source-maps command line flag. fixes #67328
-
- 03 Oct, 2020 1 commit
-
-
Jonah Williams authored
[null-safety] add integration tests for sound null safety modes, add support for sound null safety in dart2js (#67171) Add integration tests to verify that ddc and dart2js can be built and run in sound mode. Updates dart2js compilation to insert a language version comment into the generated entrypoint if necessary. dart-lang/sdk#42253
-
- 23 Sep, 2020 2 commits
-
-
Jonah Williams authored
If a file scheme and one or more roots is provided, fall back to this mapping before the direct file path if the file path cannot be turned into a package URI. Use URI representation so that the transformation is resilient to the org-dartlang-app scheme used by the web builds. Fixes #66095 Fixes #66404
-
Jenn Magder authored
This reverts commit af6ba867.
-
- 22 Sep, 2020 1 commit
-
-
Jonah Williams authored
If a file scheme and one or more roots is provided, fall back to this mapping before the direct file path if the file path cannot be turned into a package URI. Fixes #66095
-
- 18 Sep, 2020 1 commit
-
-
Jonah Williams authored
The main.dart.js bypass is not needed now that we have skipWaiting. Additionally optimize the fetch handler so that resources not in the cache skip the service worker altogether. Fixes #66068
-
- 17 Sep, 2020 2 commits
-
-
Michael Arndt authored
-
Jonah Williams authored
If a new service worker is installed, automatically update this behind the scenes. Immediately after a page refresh, the new worker and cache will be available, though the main.dart.js and others will be available sooner due to the cache busting URLS
-
- 15 Sep, 2020 1 commit
-
-
Balvinder Singh Gambhir authored
Generates version.json in web directory of project. version.json can be used in the future version of package_info which will support web. version.json has the following keys : app_name, version and build_number. This file is generated every time a user runs or builds the project. Co-authored-by:
Jonah Williams <jonahwilliams@google.com>
-
- 09 Sep, 2020 1 commit
-
-
Herbert Poul authored
* [gen_l10n] Support string list as preferred-supported-locales, as documented. * [gen_l10n] Convert preferredSupportedLocale to a list of strings. * [gen_l10n] Accept a multi option instead of a json string in the command line.
-
- 03 Sep, 2020 2 commits
-
-
Jonah Williams authored
Fix run release/profile modes generating a full service worker.
-
Shi-Hao Hong authored
-
- 01 Sep, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] adjust index.html caching and insert cache busting URL in to main.dart.js/sw request (#64976) Attempt to bypass aggressive CDN by requesting main.dart.js/sw.js with a query param and defaulting index.html to online first. This will not stop aggressive CDN caching of the index.html #64968
-
- 31 Aug, 2020 1 commit
-
-
Shi-Hao Hong authored
* synthetic packages by default in gen_l10n tool * Refactor default path for synthetic package * Remove unused import * Code cleanup * Further improvements to help text * Refactor synthetic package path * Remove newlines * Test cleanup * clean up logic in inputs and outputs list function * Update l10n.yaml usage * only add option if value is non-null * Update stocks app as proof of concept for synthetic package usage * Address nits * print pubspec contents * add print statements * Do not allow null value for useSyntheticPackage * + * + * + * + * Cleanup * Add test * Fix text * Dont parse pubspec directly * Test using context * WIP: generate synthetic packages on pub get -- needs tests * Allow null value * Update null handling * Refactor to properly handle null case * Fix yamlMap condition * Fix yaml node for real * WIP: struggling to write tests * WIP - take absolute path as an option * Add tests * Use environment project directory for synthetic package generation pathway * Fix typo * Improve help text * Update defaults * Remove unauthorized path import * Fix pathing issues at synthetic package generation * Fix typo in test * Use path.join so projectDir matches up based on OS * Fix Windows pathing in test * Remove unnecessary replaceApp code for projectDir.path * Use globals.fs.currentDirectory.path in resident_runner_test.dart * Fix merge conflict * Add test to ensure that synthetic package is generated on pub get * Fix resident_runner_test.dart tests * Fix tests * Use package:file instead of dart:io * WIP - exploration * Remove synthetic package use from stocks example * Update integration test to not use synthetic packages * Remove trailing whitespace * flutter pub get runs synth package generation * Remove more print statements * Add license header * WIP - minimally working pub.get * Use own MockBuildSystem * Modify test and implementation to be a little cleaner * Fix flutter pub get invocation * Use synthetic packages in stocks app * Revert "Use synthetic packages in stocks app" This reverts commit 45bf24903c3d4a2a5fd5481d7d6bc36c4a348703. * Add environment and buildSystem params to flutter test * Address code review feedback * + * Isolate codegen into its own API * Fix imports * Slight refactor * Add one more test for no l10n.yaml file * Remove unneeded mock class and import in pub_get_test.dart * More code review feedback * Remove unnecessary imports * Remove `return await`s that I missed * use arrow functions instead
-
- 25 Aug, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] support code size tooling on iOS, linux, windows, macOS, and Android on Windows (#63610) Adds support for size analysis on iOS, macOS, linux, and Windows - using an uncompressed directory based approach. The output format is not currently specified. Adds support for size analysis on android on windows, switching to package:archive Updates the console format to display as a tree, allowing longer paths. Increases the number of dart libraries shown (to avoid only ever printing the flutter/dart:ui libraries, which dominate the size)
-