From 0264e8e8b35ba3dbcb7ed029eaa9f4ee86d06c3c Mon Sep 17 00:00:00 2001 From: Steve Messick Date: Wed, 27 Apr 2022 10:45:37 -0700 Subject: [PATCH 1/3] Revert "Select desktop or web if no other device is available (#6100)" This reverts commit 756ed6806d606d81b2ed3428fc3fb74c841b0c37. --- .../src/io/flutter/run/daemon/DeviceSelection.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/flutter-idea/src/io/flutter/run/daemon/DeviceSelection.java b/flutter-idea/src/io/flutter/run/daemon/DeviceSelection.java index 21c16e7aac..6527583e7c 100644 --- a/flutter-idea/src/io/flutter/run/daemon/DeviceSelection.java +++ b/flutter-idea/src/io/flutter/run/daemon/DeviceSelection.java @@ -46,12 +46,9 @@ DeviceSelection withDevices(@NotNull List newDevices) { final Optional selectedDevice = findById(newDevices, selectedId); // If there's no selected device, default the first ephemoral one in the list. - FlutterDevice firstEphemeral = + final FlutterDevice firstEphemoral = newDevices.stream().filter(FlutterDevice::ephemeral).findFirst().orElse(null); - if (firstEphemeral == null && !newDevices.isEmpty()) { - firstEphemeral = newDevices.get(0); - } - return new DeviceSelection(ImmutableList.copyOf(newDevices), selectedDevice.orElse(firstEphemeral)); + return new DeviceSelection(ImmutableList.copyOf(newDevices), selectedDevice.orElse(firstEphemoral)); } /** From a1cb3fe005afc4c44e7f0e09d1f28e1d98aa3e7f Mon Sep 17 00:00:00 2001 From: Steve Messick Date: Wed, 27 Apr 2022 10:50:37 -0700 Subject: [PATCH 2/3] Updage change log --- CHANGELOG-old.md | 66 +++++++++++++++++++++++++++++++++ CHANGELOG.md | 95 +++++++++++++++--------------------------------- 2 files changed, 96 insertions(+), 65 deletions(-) diff --git a/CHANGELOG-old.md b/CHANGELOG-old.md index 0bf4ecbc4d..cb6062d37b 100644 --- a/CHANGELOG-old.md +++ b/CHANGELOG-old.md @@ -1,3 +1,69 @@ + +# 65.0 +- Change .packages file use to package config file (#5993) +- Add Android module when opening any project (#5991) +- Update JxBrowser to 7.22 (#5990) +- Use time zone in survey calculation (#5976) +- Fix return type of createState in macros (#5963) +- Log perf dispose NPEs (#5975) +- Build for 2022.1 EAP (#5973) +- Remove old bazel test file mapping code (#5974) +- Use VM for mapping breakpoint files during app run (#5947) +- Update for 64.1 (#5958) +- Try SIGINT first for all processes (#5950) +- Open AS 2021.x (#5951) +- Build for canary (Dolphin) (#5937) + +# 64.1 +- Try SIGINT before SIGKILL for processes (#5950) + +# 64.0 +- Fix modules for working with AS sources (#5913) +- Add analytics to survey notifications (#5912) +- Update AS modules for 212 (#5905) +- Build for 212.5712 (#5894) +- Improve icon preview and completion performance (#5887) +- Rename old load classes (#5884) +- Use IJ 213 for unit tests (#5882) +- Share resources with both modules (#5877) + +# 63.0 +- Build for IntelliJ 2021.3 and Android Studio canary (#5868) +- Enable downloading Mac M1 version of JxBrowser (#5871) +- Convert to Gradle project with Kotlin DSL (#5858) + +# 62.0 +- Update jxbrowser to 7.19 (#5783) +- Restore ignored tests (#5826) +- Use Java 11 everywhere (#5836) +- Add AS Canary to dev channel (#5830) +- Remove dependencies on built-in Flutter icons (#5824) +- Add instructions for converting to/from Gradle project (#5822) +- Derive icon previews from font files for built-in icons (#5820) +- Enable more compile-time nulllability checking (#5804) + +# 61.1 +- Add null check for manager (#5799) + +# 61.0 +- Make console stack traces expandable (#5777) +- Do hot reload on auto-save (#5774) +- Run flutter pub get after changing SDK in preferences (#5773) +- Allow tests in any marked test dir and optionally in sources (#5770) +- Add the new skeleton template to the New Project Wizard (#5765) +- Bug fix in Workspace.java: parsing of contents out of the json file. (#5768) +- Make unit test name matching more strict (#5763) +- Stop running an external tool before launching (#5759) +- Change some deprecated API usage (#5755) +- Try harder to find pub root (#5753) +- Add --project-name arg to flutter create (#5752) +- Delete the project directory if project validation fails (#5751) +- Build menu should be visible even if no file is selected (#5750) +- Fix broken image resorce link (#5745) +- Convert back to iml-based project (#5741) +- Remove old code from NPW (#5739) +- Fix some problems in the set up docs (#5734) + # 60.1 - Add project type selection to new project wizard for Android Studio diff --git a/CHANGELOG.md b/CHANGELOG.md index a67aafc9cb..dfbb8790ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,33 @@ +# 67.0 +- Disable new analytics for M67 (#6142) +- Stop running setup on the bots (#6141) +- Update Dart plugin version (#6139) +- Change setting on EDT (#6137) +- Stop using a deprecated method (#6132) +- Refactor Transport for easier logging while debugging (#6129) +- Fix child lines when folding code (#6128) +- Fix analytics (#6119) +- Fix disposer bug (#6120) +- Remove the 30-char limit for project names (#6121) +- Use devtools script to launch bazel devtools (#6115) +- Report flutter SDK version on startup (#6114) +- Add dart devtools for starting server (#6112) +- Delete code duplicated from Dart (#6113) +- Update web URI mapping version (#6110) +- Work around Kokoro Dart plugin problem (#6109) +- Plugin tool improvements (#6106) +- Fix layout issue (#6105) +- Clean up edit.dart (#6104) +- Add more analytics (#5985) +- Update build for 2022.1 (#6102) +- Enable Dart with multiple modules (#6099) +- Look for a single module by name (#6098) +- Add links to 3P plugin docs (#6090) +- Fix config to load into 2021.3 (#6088) +- Move third-party binaries into third_party (#6087) +- This will allow us to assess the security posture of this repository. (#6047) +- Update CONTRIBUTING.md (#6074) + # 66.0 - Use expandable test field for run args (#6065) - Ignore scratch files during hot reload on save (#6064) @@ -9,68 +39,3 @@ - Notify bazel users to try running iOS apps (#6028) - Use VM service for mapping breakpoint URIs (#6044) - Send internal errors to analytics for disconnections (#6005) - -# 65.0 -- Change .packages file use to package config file (#5993) -- Add Android module when opening any project (#5991) -- Update JxBrowser to 7.22 (#5990) -- Use time zone in survey calculation (#5976) -- Fix return type of createState in macros (#5963) -- Log perf dispose NPEs (#5975) -- Build for 2022.1 EAP (#5973) -- Remove old bazel test file mapping code (#5974) -- Use VM for mapping breakpoint files during app run (#5947) -- Update for 64.1 (#5958) -- Try SIGINT first for all processes (#5950) -- Open AS 2021.x (#5951) -- Build for canary (Dolphin) (#5937) - -# 64.1 -- Try SIGINT before SIGKILL for processes (#5950) - -# 64.0 -- Fix modules for working with AS sources (#5913) -- Add analytics to survey notifications (#5912) -- Update AS modules for 212 (#5905) -- Build for 212.5712 (#5894) -- Improve icon preview and completion performance (#5887) -- Rename old load classes (#5884) -- Use IJ 213 for unit tests (#5882) -- Share resources with both modules (#5877) - -# 63.0 -- Build for IntelliJ 2021.3 and Android Studio canary (#5868) -- Enable downloading Mac M1 version of JxBrowser (#5871) -- Convert to Gradle project with Kotlin DSL (#5858) - -# 62.0 -- Update jxbrowser to 7.19 (#5783) -- Restore ignored tests (#5826) -- Use Java 11 everywhere (#5836) -- Add AS Canary to dev channel (#5830) -- Remove dependencies on built-in Flutter icons (#5824) -- Add instructions for converting to/from Gradle project (#5822) -- Derive icon previews from font files for built-in icons (#5820) -- Enable more compile-time nulllability checking (#5804) - -# 61.1 -- Add null check for manager (#5799) - -# 61.0 -- Make console stack traces expandable (#5777) -- Do hot reload on auto-save (#5774) -- Run flutter pub get after changing SDK in preferences (#5773) -- Allow tests in any marked test dir and optionally in sources (#5770) -- Add the new skeleton template to the New Project Wizard (#5765) -- Bug fix in Workspace.java: parsing of contents out of the json file. (#5768) -- Make unit test name matching more strict (#5763) -- Stop running an external tool before launching (#5759) -- Change some deprecated API usage (#5755) -- Try harder to find pub root (#5753) -- Add --project-name arg to flutter create (#5752) -- Delete the project directory if project validation fails (#5751) -- Build menu should be visible even if no file is selected (#5750) -- Fix broken image resorce link (#5745) -- Convert back to iml-based project (#5741) -- Remove old code from NPW (#5739) -- Fix some problems in the set up docs (#5734) From d27251eedf025a13fd3b8effddfdf0e0071baedb Mon Sep 17 00:00:00 2001 From: Steve Messick Date: Wed, 27 Apr 2022 11:01:02 -0700 Subject: [PATCH 3/3] generate --- resources/META-INF/plugin.xml | 103 ++++++++++------------------------ 1 file changed, 31 insertions(+), 72 deletions(-) diff --git a/resources/META-INF/plugin.xml b/resources/META-INF/plugin.xml index 41faac7f71..e7fab00b3d 100644 --- a/resources/META-INF/plugin.xml +++ b/resources/META-INF/plugin.xml @@ -45,6 +45,37 @@ 67.0 +
    +
  • Disable new analytics for M67 (#6142)
  • +
  • Stop running setup on the bots (#6141)
  • +
  • Update Dart plugin version (#6139)
  • +
  • Change setting on EDT (#6137)
  • +
  • Stop using a deprecated method (#6132)
  • +
  • Refactor Transport for easier logging while debugging (#6129)
  • +
  • Fix child lines when folding code (#6128)
  • +
  • Fix analytics (#6119)
  • +
  • Fix disposer bug (#6120)
  • +
  • Remove the 30-char limit for project names (#6121)
  • +
  • Use devtools script to launch bazel devtools (#6115)
  • +
  • Report flutter SDK version on startup (#6114)
  • +
  • Add dart devtools for starting server (#6112)
  • +
  • Delete code duplicated from Dart (#6113)
  • +
  • Update web URI mapping version (#6110)
  • +
  • Work around Kokoro Dart plugin problem (#6109)
  • +
  • Plugin tool improvements (#6106)
  • +
  • Fix layout issue (#6105)
  • +
  • Clean up edit.dart (#6104)
  • +
  • Add more analytics (#5985)
  • +
  • Update build for 2022.1 (#6102)
  • +
  • Enable Dart with multiple modules (#6099)
  • +
  • Look for a single module by name (#6098)
  • +
  • Add links to 3P plugin docs (#6090)
  • +
  • Fix config to load into 2021.3 (#6088)
  • +
  • Move third-party binaries into third_party (#6087)
  • +
  • This will allow us to assess the security posture of this repository. (#6047)
  • +
  • Update CONTRIBUTING.md (#6074)
  • +

66.0

  • Use expandable test field for run args (#6065)
  • @@ -58,78 +89,6 @@
  • Use VM service for mapping breakpoint URIs (#6044)
  • Send internal errors to analytics for disconnections (#6005)
-

65.0

-
    -
  • Change .packages file use to package config file (#5993)
  • -
  • Add Android module when opening any project (#5991)
  • -
  • Update JxBrowser to 7.22 (#5990)
  • -
  • Use time zone in survey calculation (#5976)
  • -
  • Fix return type of createState in macros (#5963)
  • -
  • Log perf dispose NPEs (#5975)
  • -
  • Build for 2022.1 EAP (#5973)
  • -
  • Remove old bazel test file mapping code (#5974)
  • -
  • Use VM for mapping breakpoint files during app run (#5947)
  • -
  • Update for 64.1 (#5958)
  • -
  • Try SIGINT first for all processes (#5950)
  • -
  • Open AS 2021.x (#5951)
  • -
  • Build for canary (Dolphin) (#5937)
  • -
-

64.1

-
    -
  • Try SIGINT before SIGKILL for processes (#5950)
  • -
-

64.0

-
    -
  • Fix modules for working with AS sources (#5913)
  • -
  • Add analytics to survey notifications (#5912)
  • -
  • Update AS modules for 212 (#5905)
  • -
  • Build for 212.5712 (#5894)
  • -
  • Improve icon preview and completion performance (#5887)
  • -
  • Rename old load classes (#5884)
  • -
  • Use IJ 213 for unit tests (#5882)
  • -
  • Share resources with both modules (#5877)
  • -
-

63.0

-
    -
  • Build for IntelliJ 2021.3 and Android Studio canary (#5868)
  • -
  • Enable downloading Mac M1 version of JxBrowser (#5871)
  • -
  • Convert to Gradle project with Kotlin DSL (#5858)
  • -
-

62.0

-
    -
  • Update jxbrowser to 7.19 (#5783)
  • -
  • Restore ignored tests (#5826)
  • -
  • Use Java 11 everywhere (#5836)
  • -
  • Add AS Canary to dev channel (#5830)
  • -
  • Remove dependencies on built-in Flutter icons (#5824)
  • -
  • Add instructions for converting to/from Gradle project (#5822)
  • -
  • Derive icon previews from font files for built-in icons (#5820)
  • -
  • Enable more compile-time nulllability checking (#5804)
  • -
-

61.1

-
    -
  • Add null check for manager (#5799)
  • -
-

61.0

-
    -
  • Make console stack traces expandable (#5777)
  • -
  • Do hot reload on auto-save (#5774)
  • -
  • Run flutter pub get after changing SDK in preferences (#5773)
  • -
  • Allow tests in any marked test dir and optionally in sources (#5770)
  • -
  • Add the new skeleton template to the New Project Wizard (#5765)
  • -
  • Bug fix in Workspace.java: parsing of contents out of the json file. (#5768)
  • -
  • Make unit test name matching more strict (#5763)
  • -
  • Stop running an external tool before launching (#5759)
  • -
  • Change some deprecated API usage (#5755)
  • -
  • Try harder to find pub root (#5753)
  • -
  • Add --project-name arg to flutter create (#5752)
  • -
  • Delete the project directory if project validation fails (#5751)
  • -
  • Build menu should be visible even if no file is selected (#5750)
  • -
  • Fix broken image resorce link (#5745)
  • -
  • Convert back to iml-based project (#5741)
  • -
  • Remove old code from NPW (#5739)
  • -
  • Fix some problems in the set up docs (#5734)
  • -
]]>