- 23 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. Use URI representation so that the transformation is resilient to the org-dartlang-app scheme used by the web builds. Fixes #66095 Fixes #66404
-
- 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 1 commit
-
-
Michael Arndt authored
-
- 16 Sep, 2020 1 commit
-
-
Michael R Fairhurst authored
-
- 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)
-
- 13 Aug, 2020 2 commits
-
-
Jonah Williams authored
Remove globals and testbed to simplify test cases, using the existing environment configuration. This is some pre-factoring work to make landing #63610 easier
-
Shi-Hao Hong authored
-
- 06 Aug, 2020 1 commit
-
-
Jenn Magder authored
-
- 24 Jul, 2020 2 commits
-
-
Will Larche authored
-
Zachary Anderson authored
-
- 21 Jul, 2020 1 commit
-
-
includecmath authored
-
- 26 Jun, 2020 1 commit
-
-
Jonah Williams authored
Last batch of test fixes for general shard.
-
- 25 Jun, 2020 1 commit
-
-
Jonah Williams authored
The global packages path could cause tests to fail when it would be overriden to unexpected (in test setup) values. Remove most usage and make it a configuration on buildInfo, along with most other build information. Cleanup the asset builder to require the .packages path and the resident runners to no longer require it, since they already have the information in build_info. It needs to stick around for the fuchsia deps we do not control. Filled #60232 for remaining work.
-
- 24 Jun, 2020 1 commit
-
-
Jonah Williams authored
Revert "[flutter_tools] separate target platform, host platform, and architecutre (#60119)" (#60147) This reverts commit 30d97d89.
-
- 23 Jun, 2020 1 commit
-
-
Jonah Williams authored
separate target platform, host platform, and architecture
-
- 16 Jun, 2020 1 commit
-
-
stuartmorgan authored
Updates the tooling to use the GTK embedding, rather than the GLFW embedding: - Adds new requirements to `doctor` - Updates the app and plugin templates to make GTK-based runners and plugins - Stops downloading and installing the GLFW artifacts Final part of #54860, other than cleanup.
-
- 09 Jun, 2020 1 commit
-
-
Jonah Williams authored
Adds support for --bundle-sksl-path to windows, linux, macOS, and iOS. Fixes #53115
-
- 08 Jun, 2020 2 commits
-
-
Jonah Williams authored
update flutter_service_worker.js to NOTICES
-
Jonah Williams authored
Instead of targets/dart.dart -> targets/common.dart
-
- 06 Jun, 2020 1 commit
-
-
Jonah Williams authored
-
- 04 Jun, 2020 1 commit
-
-
Jonah Williams authored
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
-
- 03 Jun, 2020 1 commit
-
-
Jonah Williams authored
* Revert "[flutter_tools] Put a heap size limit on the frontend_server (#58039)"
-
- 01 Jun, 2020 1 commit
-
-
stuartmorgan authored
-
- 29 May, 2020 2 commits
-
-
Marcus Tomlinson authored
-
Jonah Williams authored
Work towards #16723 This is only safe to land after #58131 lands in google3. Only build NOTICES in asset manfiest, and load either LICENSE or NOTICES from pubspec dependencies.
-
- 28 May, 2020 1 commit
-
-
stuartmorgan authored
Builds and bundles an 'app.so' containing AOT data, and downloads and packages the release/profile artifacts for those builds, rather than always using the debug artifacts. Fixes https://github.com/flutter/flutter/issues/38477 Fixes https://github.com/flutter/flutter/issues/39664
-
- 27 May, 2020 3 commits
-
-
Zachary Anderson authored
-
Jonah Williams authored
-
Jonah Williams authored
-
- 18 May, 2020 2 commits
-
-
Jonah Williams authored
Reland: #56167
-
stuartmorgan authored
To simplify development of the in-progress GTK embedding, which will replace the GLFW embedding on Linux, add the GTK artifacts to the unpack list. This means that until the transition, both the GLFW and GTK artifacts will be unpacked. Part of #54860
-
- 10 May, 2020 1 commit
-
-
Jonah Williams authored
This reverts commit f865ac7e.
-
- 08 May, 2020 2 commits
-
-
Jonah Williams authored
* [flutter_tools] integration l10n tool * add runtime skip to build system * Update build_system.dart * add links to issues, comments * Update packages/flutter_tools/test/general.shard/build_system/build_system_test.dart Co-authored-by:
Shi-Hao Hong <shihaohong@google.com> * Update packages/flutter_tools/lib/src/build_system/targets/localizations.dart Co-authored-by:
Shi-Hao Hong <shihaohong@google.com> * Update localizations.dart * switch to gen_l10n localizations * fix tests Co-authored-by:
Shi-Hao Hong <shihaohong@google.com>
-
Jonah Williams authored
-