Jenn Magder
bd94007356
Migrate localizations_utils to null safety ( #78939 )
2021-03-24 16:35:16 -07:00
Shi-Hao Hong
9f49181f40
[gen-l10n] Remove need for ignoring two lints in generated code ( #78778 )
...
* Remove need for unused import for placeholder braces
* Remove need for unused intl import for when plurals aren't used in the generated code
2021-03-24 15:46:09 +08:00
Ian Hickson
f3c25fa07a
Align more closely with package:test ( #77118 ) ( #78343 )
2021-03-16 13:58:02 -07:00
Zachary Anderson
e7e1a04aa3
Revert "Align more closely with package:test ( #77118 )" ( #78329 )
...
This reverts commit 0cbe597540
.
2021-03-16 09:26:34 -07:00
Ian Hickson
0cbe597540
Align more closely with package:test ( #77118 )
2021-03-15 16:28:02 -07:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Sigurd Meldgaard
178c87cc27
Avoid relative paths in .dart_tool/package_config.json when generate:true ( #73944 )
...
Instead of using package:package_config to write the .dart_tool/package_config the original json is modified and rewritten.
The .dart_tool/package_config.json file is read twice to simplify control flow.
This also avoids the issue of package:package_config writing directly to local filesystem.
2021-01-20 14:53:49 +01:00
Shi-Hao Hong
a912030982
[gen_l10n] Use l10n.yaml file instead of command line arguments if it exists ( #72950 )
...
* Reorganize files
* Use l10n.yaml instead of command line args
2021-01-05 11:50:32 +08:00
Shi-Hao Hong
4d663472e2
[gen_l10n] Improve status message when untranslated messages are still present ( #72944 )
2021-01-04 01:54:02 -08:00
Shi-Hao Hong
a1a096e35a
[gen-l10n] Fix untranslated messages ( #68553 )
2020-11-05 16:24:02 -08:00
Shi-Hao Hong
0963d72582
Make resource attributes optional for simple cases ( #68774 )
2020-11-05 08:11:53 +08:00
Shi-Hao Hong
4996f60b20
[gen_l10n] Fix unintended use of raw string in generateString ( #69382 )
...
* Fix failing tests from introducing raw string generation in gen_l10n tool
2020-10-31 19:24:53 +08:00
Jonah Williams
ca47b4e12c
[flutter_tools] disable failing gen l10n test ( #69340 )
2020-10-29 15:04:46 -07:00
Shi-Hao Hong
a2b93b86f6
[gen_l10n] Add base method code comments for improved discoverability ( #69016 )
2020-10-29 14:03:05 -07:00
Shi-Hao Hong
38ebc5588b
[gen_l10n] Create pubspec.yaml in ".dart_tool/flutter_gen" if it does not already exist ( #68206 )
...
* Generate pubspec.yaml for synthetic package if it did not exist prior
2020-10-16 11:34:27 +08:00
Herbert Poul
8dfd42f6b7
[gen_l10n] Support string list as preferred-supported-locales ( #63649 )
...
* [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.
2020-09-10 07:32:40 +08:00
Shi-Hao Hong
b80b432555
Move gen_l10n into flutter_tools ( #65025 )
2020-09-03 09:26:58 -07:00