1. 12 May, 2022 1 commit
  2. 06 May, 2022 1 commit
  3. 23 Nov, 2021 1 commit
  4. 17 Nov, 2021 3 commits
  5. 10 Nov, 2021 1 commit
  6. 08 Nov, 2021 1 commit
  7. 08 Oct, 2021 3 commits
  8. 16 Sep, 2021 1 commit
  9. 12 Aug, 2021 1 commit
  10. 22 Jul, 2021 1 commit
  11. 21 Jul, 2021 1 commit
  12. 01 Jul, 2021 1 commit
  13. 22 May, 2021 1 commit
  14. 19 May, 2021 1 commit
  15. 12 May, 2021 1 commit
  16. 20 Apr, 2021 2 commits
  17. 07 Apr, 2021 1 commit
  18. 01 Apr, 2021 1 commit
  19. 31 Mar, 2021 1 commit
  20. 30 Mar, 2021 1 commit
  21. 24 Mar, 2021 1 commit
  22. 06 Mar, 2021 1 commit
  23. 03 Feb, 2021 3 commits
    • Shi-Hao Hong's avatar
      Relands "[gen-l10n] Fixes named and positional parameter issue with... · 16913b07
      Shi-Hao Hong authored
      Relands "[gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified" (#75346)
      
      * :heavy_plus_sign: Added a new template for [NumberFo
      rmat] with positional parameter(s)
      
      * :hammer: 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.
      
      * :hammer: Removed trailing whitespaces
      
      * :hammer: replaced [_generateStringParameterValue] with [generateString]
      
      * :hammer: Specified variable types in NumberFormat templates.
      
      * :heavy_plus_sign: Added a new template for [NumberFo
      rmat] with positional parameter(s)
      
      * :hammer: 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.
      
      * :hammer: Removed trailing whitespaces
      
      * :hammer: replaced [_generateStringParameterValue] with [generateString]
      
      * :hammer: Specified variable types in NumberFormat templates.
      
      * [gen-l10n] :white_check_mark: added test for parameter having special characters in string value.
      
      * Accidental tab added to integration test
      Co-authored-by: 's avatararish <arishsultan104@gmail.com>
      16913b07
    • Shi-Hao Hong's avatar
      Revert "[gen-l10n] Fixes named and positional parameter issue with... · c12b53e0
      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.
      c12b53e0
    • Shi-Hao Hong's avatar
      [gen-l10n] Fixes named and positional parameter issue with NumberFormat when... · 917577b8
      Shi-Hao Hong authored
      [gen-l10n] Fixes named and positional parameter issue with NumberFormat when type is specified (#75209)
      
      917577b8
  24. 27 Jan, 2021 1 commit
  25. 05 Jan, 2021 1 commit
  26. 04 Jan, 2021 1 commit
  27. 06 Nov, 2020 1 commit
  28. 05 Nov, 2020 1 commit
  29. 29 Oct, 2020 1 commit
  30. 16 Oct, 2020 1 commit
  31. 09 Sep, 2020 1 commit
  32. 03 Sep, 2020 1 commit
  33. 31 Aug, 2020 1 commit
    • Shi-Hao Hong's avatar
      [gen_l10n] Synthetic package generation by default (#62395) · fd22fc3e
      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
      fd22fc3e