- 11 Dec, 2022 1 commit
-
-
Ian Hickson authored
-
- 09 Dec, 2022 1 commit
-
-
Siva authored
* Roll Flutter Engine from 67254d6e4b03 to 8d83b98c55b3 * Roll Dart SDK from 35a9facce191 to e517487c5679 (Dart 3.0) (#38105) * Bump SDK versions. * Bump Dart SDK version constraints * Update shrine package to 2.0.1 (null safe version) * Fix more tests. * Include patches from Jason for min android sdk version * Fix analyzer warning
-
- 05 Nov, 2022 1 commit
-
-
Tae Hyung Kim authored
* init * code generation * improve syntax error, add tests * add tests and fix bugs * code generation fix * fix all tests :) * fix bug * init * fix all code gen issues * FIXED ALL TESTS :D * add license * remove trailing spaces * remove print * tests fix * specify type annotation * fix test * lint * fix todos * fix subclass issues * final fix; flutter gallery runs * escaping for later pr * fix comment * address PR comments * more * more descriptive errors * last fixes
-
- 23 Nov, 2021 1 commit
-
-
Tarekk Mohamed Abdalla authored
-
- 29 Oct, 2021 1 commit
-
-
嘟囔 authored
-
- 21 Jul, 2021 1 commit
-
-
Ahmed Ashour authored
-
- 04 Feb, 2021 1 commit
-
-
Dan Field authored
-
- 03 Feb, 2021 3 commits
-
-
Shi-Hao Hong authored
Relands "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified" (#75346) *
Added a new template for [NumberFo rmat] with positional parameter(s) * Renamed [numberFormatTemplate] to [numberFormatNamedTemplate] * [gen-l10n] Fixed generation error for namedParameters and optionalParameters * [gen-l10n] Fixed string value generation for optional parameter * [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters. * Removed trailing whitespaces * replaced [_generateStringParameterValue] with [generateString] * Specified variable types in NumberFormat templates. * Added a new template for [NumberFo rmat] with positional parameter(s) * Renamed [numberFormatTemplate] to [numberFormatNamedTemplate] * [gen-l10n] Fixed generation error for namedParameters and optionalParameters * [gen-l10n] Fixed string value generation for optional parameter * [gen-l10n-test] Added new tests for `decimalPattern`, `percentPattern`, `scientificPattern` and formats with optional parameters. * Removed trailing whitespaces * replaced [_generateStringParameterValue] with [generateString] * Specified variable types in NumberFormat templates. * [gen-l10n] added test for parameter having special characters in string value. * Accidental tab added to integration test Co-authored-by:arish <arishsultan104@gmail.com>
-
Shi-Hao Hong authored
Revert "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified (#75209)" (#75306) This reverts commit 917577b8.
-
Shi-Hao Hong authored
[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified (#75209)
-
- 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
-
- 18 Nov, 2020 1 commit
-
-
Shi-Hao Hong authored
* NNBD gen-l10n generated code
-
- 12 Nov, 2020 1 commit
-
-
Jonah Williams authored
-
- 09 Nov, 2020 1 commit
-
-
Emmanuel Garcia authored
-
- 07 Nov, 2020 2 commits
-
-
Michael Thomsen authored
This reverts commit 7ba775a9.
-
Emmanuel Garcia authored
-
- 31 Oct, 2020 1 commit
-
-
Shi-Hao Hong authored
* Fix failing tests from introducing raw string generation in gen_l10n tool
-
- 29 Oct, 2020 1 commit
-
-
Shi-Hao Hong authored
-
- 16 Sep, 2020 1 commit
-
-
Michael R Fairhurst authored
-
- 08 Sep, 2020 1 commit
-
-
Jonah Williams authored
Integration tests must only go through the real file system/process manager/platform. The global indirection makes this code harder to understand than if it directly referred to the concrete instances that are being used. Update the integration shard to use a const instance of a LocalFIleSystem, LocalProcessManager, and LocalPlatform. Remove global usage and apply testWithoutContext.
-
- 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
-
- 16 Jun, 2020 1 commit
-
-
Per Classon authored
After Dart VM change we are now required to use loadLibrary on an import whenever it is imported as deferred. See: https://dart-review.googlesource.com/c/sdk/+/149613
-
- 18 May, 2020 1 commit
-
-
Jonah Williams authored
Reland: #56167
-
- 10 May, 2020 1 commit
-
-
Jonah Williams authored
This reverts commit f865ac7e.
-
- 08 May, 2020 1 commit
-
-
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>
-
- 10 Apr, 2020 1 commit
-
-
Shi-Hao Hong authored
-
- 09 Apr, 2020 1 commit
-
-
Shi-Hao Hong authored
* Generate methods using template resources if they do not exist in other locales * Added a flag to either output of messages that have not been translated with detail into a file, or display a summary on the terminal. * Add integration test for fallback message usage
-
- 07 Apr, 2020 1 commit
-
-
Per Classon authored
-
- 03 Apr, 2020 2 commits
-
-
Shi-Hao Hong authored
-
Shi-Hao Hong authored
* [gen_l10n] Add scriptCode handling
-
- 01 Apr, 2020 1 commit
-
-
Shi-Hao Hong authored
-
- 12 Mar, 2020 1 commit
-
-
Shi-Hao Hong authored
* Fix suppportedLocales list * Refactor integration tests for gen_l10n tool to catch exceptions
-
- 05 Mar, 2020 1 commit
-
-
Flutter GitHub Bot authored
-
- 25 Feb, 2020 1 commit
-
-
Hans Muller authored
-
- 29 Jan, 2020 1 commit
-
-
Hans Muller authored
-