1. 23 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] Reland: simplify pub cache logic (#67589) · cb67513f
      Jonah Williams authored
      There have been some more additional reports of a missing 'package:characters' import after upgrading flutter. This has me concerned that our pub caching logic is incorrect. Instead of the tool attempting to guess when pub should be run, always delegate to pub.
      
      Also takes an opportunity to fix the kernel snapshot depending on the .packages or package_config. Due to the generated: date field this causes extra rebuilds. Instead when pub get is run, write out an additional file with just the package contents and version.
      
      Fixes #66777
      Fixes #65723
      cb67513f
  2. 19 Oct, 2020 4 commits
  3. 14 Oct, 2020 1 commit
  4. 13 Oct, 2020 1 commit
  5. 12 Oct, 2020 2 commits
  6. 08 Oct, 2020 1 commit
  7. 07 Oct, 2020 3 commits
  8. 03 Oct, 2020 1 commit
  9. 30 Sep, 2020 1 commit
  10. 16 Sep, 2020 2 commits
  11. 15 Sep, 2020 1 commit
  12. 02 Sep, 2020 1 commit
  13. 01 Sep, 2020 1 commit
  14. 31 Aug, 2020 3 commits
    • Mehmet Fidanboylu's avatar
    • Ben Konyi's avatar
      c8f234d3
    • 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
  15. 29 Aug, 2020 1 commit
  16. 28 Aug, 2020 2 commits
  17. 27 Aug, 2020 1 commit
    • Ben Konyi's avatar
      Re-enable the Dart Development Service (DDS) (#64671) · d7d12412
      Ben Konyi authored
      This change re-enables DDS and outputs the DDS URI in place of the VM
      service URI on the console. If --disable-dds is not provided,
      --host-vmservice-port will be used to determine the port for DDS rather
      than the host port for the VM service, which will instead be randomly
      chosen.
      d7d12412
  18. 25 Aug, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] support code size tooling on iOS, linux, windows, macOS, and... · 059de153
      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)
      059de153
  19. 18 Aug, 2020 1 commit
  20. 12 Aug, 2020 1 commit
  21. 11 Aug, 2020 2 commits
  22. 10 Aug, 2020 1 commit
  23. 03 Aug, 2020 1 commit
  24. 29 Jul, 2020 1 commit
  25. 21 Jul, 2020 2 commits
  26. 20 Jul, 2020 2 commits
  27. 17 Jul, 2020 1 commit