- 12 Sep, 2023 1 commit
-
-
Michael Goderbauer authored
New feature in upcoming Dart 3.2. See https://github.com/dart-lang/language/issues/2020. Feature is enabled by bumping the min SDK version to 3.2. Part of https://github.com/flutter/flutter/issues/134476.
-
- 01 Aug, 2023 1 commit
-
-
- 12 Jul, 2023 1 commit
-
-
Tae Hyung Kim authored
Currently files are not generated with `\r\n` in windows. This PR should fix the issue. Fixes https://github.com/flutter/flutter/issues/109761.
-
- 10 Jul, 2023 1 commit
-
-
Tae Hyung Kim authored
This PR fixes ignoring when random positional arguments added to the `flutter gen-l10n`. So we are no longer able to call `flutter gen-l10n hello world` or `flutter gen-l10n --format false`. Fixes https://github.com/flutter/flutter/issues/118203
-
- 31 May, 2023 1 commit
-
-
Tae Hyung Kim authored
-
- 26 Apr, 2023 1 commit
-
-
Tae Hyung Kim authored
Refactor "gen-l10n" command to use same code path when "l10n.yaml" is present or not present (#125429) I think this is a long needed change to the `gen-l10n` command. Essentially, the arguments to `flutter gen-l10n` can be provided by two different methods: via command line arguments or via the `l10n.yaml` file. The existence of a `l10n.yaml` file causes the latter approach to take precedence. However, currently, there's several differences in how the two approaches are handled, and most of the default arguments are all over the place, causing unexpected issues such as #120457 or #120023. This PR refactors the command so that * `LocalizationOptions` are more consistent with the actual argument names/yaml options. * All default values are determined in `LocalizationOptions`'s constructor (or in `argParser.addOption(...)` in the case a boolean value needs to be explicitly true). * New `parseLocalizationsOptionsFromCommand` function to parse arguments. * Parse `LocalizationOptions` at the beginning of `runCommand()` and pass it to `generateLocalizations`. Fixes #120023.
-
- 18 Apr, 2023 1 commit
-
-
Tae Hyung Kim authored
Currently, nullable-getter defaults to false when l10n.yaml is not present, which is not the same behavior as when an l10n.yaml file is present and nullable-getter is not set. Fixes #120457.
-
- 01 Feb, 2023 1 commit
-
-
Alex Li authored
*
Do not format the messages file * Add test * Add the link to the test * Respect the path separator from the file system * Add the untranslated messages file existence test
-
- 02 Dec, 2022 1 commit
-
-
Jackson Gardner authored
You can now specify a --local-web-sdk flag to point to a wasm_release folder. This will make it so that only artifacts that pertain to the web sdk are overridden to point to the wasm_release folder. Other artifacts (such as impellerc) will pull from the cache, or from the --local-engine path if that is specified. This also uses precompiled platform kernel files for both ddc and dart2js
-
- 06 Sep, 2022 1 commit
-
-
Liam Appelbe authored
* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 2/3 * Fix tests * Fix analysis * Chris's comments
-
- 19 Aug, 2022 1 commit
-
-
Tae Hyung Kim authored
* init * fix * fix 2 * fix 3 * tests * fix tests * clarify help text * fix all tests * fix formatting? * add second test * unused import * remove print * trailing spaces * artifacts is never null * fix
-
- 11 Feb, 2022 1 commit
-
-
Taha Tesser authored
-
- 27 Jun, 2021 1 commit
-
-
Jonah Williams authored
-
- 12 May, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 06 May, 2021 1 commit
-
-
Sam Rawlins authored
-
- 21 Apr, 2021 1 commit
-
-
Phil Quitslund authored
-
- 07 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 27 Jan, 2021 1 commit
-
-
Jonah Williams authored
* opt out the flutter tool * oops EOF * fix import * Update tool_backend.dart * Update daemon_client.dart * fix more
-
- 05 Jan, 2021 1 commit
-
-
Shi-Hao Hong authored
* Reorganize files * Use l10n.yaml instead of command line args
-
- 15 Oct, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 03 Sep, 2020 1 commit
-
-
Shi-Hao Hong authored
-