1. 10 Nov, 2020 1 commit
  2. 06 Nov, 2020 1 commit
  3. 05 Nov, 2020 3 commits
  4. 04 Nov, 2020 1 commit
  5. 26 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] reland: drive service (#68887) · 183fe75d
      Jonah Williams authored
      Overhaul of flutter drive in order to deliver a better experience, namely:
      
      * flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive.
      * Removes web-initialize-platform as this is no longer used
      * flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service.
      * VM service connection now provides access to memory info without launching devtools (only for debug/profile mode)
      
      Web changes
      
      * Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible
      
      Additional NNBD related bug fixes:
      
      No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
      183fe75d
  6. 23 Oct, 2020 1 commit
  7. 22 Oct, 2020 3 commits
    • Jonah Williams's avatar
      [flutter_tools] refactor drive launch into separate service, split by... · 2e75f52a
      Jonah Williams authored
      [flutter_tools] refactor drive launch into separate service, split by mobile+desktop and web (#68451)
      
      Overhaul of flutter drive in order to deliver a better experience, namely:
      
      flutter run and flutter drive now share more flags, so code paths that were previously only testable on run are now testable on drive.
      Removes web-initialize-platform as this is no longer used
      flutter drive correctly sets up a logger that shows native exceptions, by connecting to the vm service.
      VM service connection now provides access to memory info without launching devtools (only for debug/profile mode)
      Web changes
      
      Passes on the one test in the repo, otherwise the webdriver code has been isolated as much as possible
      
      Additional NNBD related bug fixes:
      
      No longer passes --enable-experiment to the test script. (FYI @blasten ). earlier we might have assumed that the flutter gallery benchmarks would be migrated along side the app and flutter driver, but only the app under test needs to be migrated. The test scripts should never be run with the experiment.
      2e75f52a
    • Jenn Magder's avatar
      App.framework must support iOS 8 for older Flutter projects (#68729) · f63d56e4
      Jenn Magder authored
      * App.framework must support iOS 8 for older Flutter projects
      
      * Fix test
      f63d56e4
    • Jonah Williams's avatar
  8. 14 Oct, 2020 1 commit
  9. 12 Oct, 2020 1 commit
  10. 07 Oct, 2020 1 commit
  11. 05 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] disable source maps by default for release builds, enable for... · aa90dbe7
      Jonah Williams authored
      [flutter_tools] disable source maps by default for release builds, enable for run and with command line arg (#67331)
      
      Disables source map production by default for build web. For web builds performed as a part of flutter run --release, enable the source maps, or allow force enabling with --source-maps command line flag.
      
      fixes #67328
      aa90dbe7
  12. 03 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [null-safety] add integration tests for sound null safety modes, add support... · ddb01a0c
      Jonah Williams authored
      [null-safety] add integration tests for sound null safety modes, add support for sound null safety in dart2js (#67171)
      
      Add integration tests to verify that ddc and dart2js can be built and run in sound mode. Updates dart2js compilation to insert a language version comment into the generated entrypoint if necessary.
      
      dart-lang/sdk#42253
      ddb01a0c
  13. 30 Sep, 2020 2 commits
  14. 23 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] reland: map file URIs to a multiroot scheme (#66405) · 51ededb9
      Jonah Williams authored
      If a file scheme and one or more roots is provided, fall back to this mapping before the direct file path if the file path cannot be turned into a package URI.
      
      Use URI representation so that the transformation is resilient to the org-dartlang-app scheme used by the web builds.
      
      Fixes #66095
      Fixes #66404
      51ededb9
  15. 21 Sep, 2020 1 commit
  16. 18 Sep, 2020 1 commit
  17. 17 Sep, 2020 1 commit
  18. 16 Sep, 2020 1 commit
  19. 15 Sep, 2020 1 commit
  20. 09 Sep, 2020 1 commit
  21. 03 Sep, 2020 2 commits
  22. 01 Sep, 2020 1 commit
  23. 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
  24. 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
  25. 13 Aug, 2020 2 commits
  26. 06 Aug, 2020 1 commit
  27. 24 Jul, 2020 2 commits
  28. 21 Jul, 2020 1 commit
  29. 10 Jul, 2020 1 commit
  30. 26 Jun, 2020 1 commit
  31. 25 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] remove most use of global packages path (#60231) · 82a6f9bf
      Jonah Williams authored
      The global packages path could cause tests to fail when it would be overriden to unexpected (in test setup) values. Remove most usage and make it a configuration on buildInfo, along with most other build information. Cleanup the asset builder to require the .packages path and the resident runners to no longer require it, since they already have the information in build_info.
      
      It needs to stick around for the fuchsia deps we do not control.
      
      Filled #60232 for remaining work.
      82a6f9bf
  32. 24 Jun, 2020 1 commit