1. 26 Oct, 2020 2 commits
    • Jonah Williams's avatar
      [flutter_tools] Make ApplicationPackageFactory inject dependencies for Android Builds (#67827) · e0ec9a06
      Jonah Williams authored
      * [flutter_tools] simplication of application store logic
      
      * maybe return null
      
      * fix install tests
      
      * Clean up imports
      
      * revert windows test
      
      * remove unused import
      e0ec9a06
    • 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
  2. 23 Oct, 2020 1 commit
  3. 22 Oct, 2020 1 commit
    • 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
  4. 19 Oct, 2020 3 commits
  5. 15 Oct, 2020 2 commits
  6. 14 Oct, 2020 2 commits
  7. 13 Oct, 2020 2 commits
  8. 12 Oct, 2020 2 commits
  9. 05 Oct, 2020 2 commits
  10. 03 Oct, 2020 1 commit
  11. 30 Sep, 2020 1 commit
  12. 29 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] do not error flutter doctor on missing AS/intellij plugins (#66782) · 9bc533c9
      Jonah Williams authored
      In cases where the Intellij/AS plugins are not located, display links to where they can be downloaded but do not surface an error. This should generally reduce confusion about whether the plugins are required for every installed IDE. For example, frequently users may only install AS so that they can install the Android SDK - or they may have multiple copies of Intellij installed.
      
      For example: #66762
      9bc533c9
  13. 25 Sep, 2020 1 commit
    • knaeckeKami's avatar
      Teach the flutter tool how to find android output files if the flavor contains... · 8e9e1344
      knaeckeKami authored
      Teach the flutter tool how to find android output files if the flavor contains uppercase letters (#66687)
      
      This changes the name of the generated output files on android in case a flavor with uppercase letters is used.
      Previously, the lowercased flavor name would be used for the apk/aab file. Now, the flavor name is used as-is.
      8e9e1344
  14. 17 Sep, 2020 1 commit
  15. 16 Sep, 2020 1 commit
  16. 03 Sep, 2020 2 commits
  17. 31 Aug, 2020 2 commits
  18. 29 Aug, 2020 1 commit
  19. 28 Aug, 2020 2 commits
  20. 27 Aug, 2020 3 commits
    • 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
    • Jonah Williams's avatar
      [flutter_tools] add analytics to code size, add more testing (#64578) · d3515f5f
      Jonah Williams authored
      * [flutter_tools] add analytics to code size, add more testing
      
      * add gradle case
      
      * Update build_macos_test.dart
      
      * move analytics to code size tooling
      
      * Update analyze_size.dart
      
      * fix analysis
      d3515f5f
    • Jonah Williams's avatar
      [flutter_tools] reland: avoid creating Android Devices if AndroidSDK cannot be found (#64665) · 401d401c
      Jonah Williams authored
      Avoid creating AndroidDevice discovery if the SDK cannot be located. Previously the tool would use which/where adb, however this required us to handle the AndroidSdk class being potentially null - which required an additional layer of indirection around all access. Sometimes these were forgotten leading to NPEs.
      
      In general, not much can be done with an Android Device if the actual SDK is not installed.
      
      Reland with fixed code + tests for null SDK + adb in AndroidDeviceDiscovery
      401d401c
  21. 26 Aug, 2020 2 commits
  22. 25 Aug, 2020 2 commits
    • Jonah Williams's avatar
      [flutter_tools] avoid creating Android Devices if AndroidSDK cannot be found (#64524) · 47596c62
      Jonah Williams authored
      Avoid creating AndroidDevice discovery if the SDK cannot be located. Previously the tool would use which/where adb, however this required us to handle the AndroidSdk class being potentially null - which required an additional layer of indirection around all access. Sometimes these were forgotten leading to NPEs.
      
      In general, not much can be done with an Android Device if the actual SDK is not installed.
      47596c62
    • 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
  23. 20 Aug, 2020 1 commit
  24. 19 Aug, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] shrink API surface of Android SDK (#63867) · 4954a46f
      Jonah Williams authored
      Attempt to simplify the Android SDK interface ahead of refactoring it. The locateAndroidSdk static method is called at startup to locate the android SDK, returning null if it cannot be found. These helper methods attempted to first look up the AndroidSDK if it was already null - which could only cover the case where someone installed the Android SDK while flutter was running (possibly through an IDE)
      4954a46f
  25. 11 Aug, 2020 1 commit