1. 08 Jan, 2021 1 commit
  2. 10 Dec, 2020 1 commit
  3. 01 Dec, 2020 1 commit
  4. 20 Nov, 2020 2 commits
  5. 13 Nov, 2020 1 commit
  6. 26 Oct, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] implement safe file copy with multiple fallbacks (#69000) · 2e54c4a8
      Jonah Williams authored
      The tool observes a large number of unhandled exceptions during the file copy portion of flutter create. it is difficult to tell whether the permission issue is caused by the source/destination, or whether it is due to a bug in dart:io.
      
      To work around this, implement a permission check for both the source and dest files. If either fails, the tool can exit with a more specific message.
      
      If these checks pass, then perform the actual copy. If the copy fails, fallback to manually copying the bytes
      Unverified
      2e54c4a8
  7. 19 Oct, 2020 1 commit
  8. 15 Oct, 2020 1 commit
  9. 12 Oct, 2020 1 commit
  10. 10 Oct, 2020 1 commit
  11. 18 Sep, 2020 1 commit
  12. 16 Sep, 2020 1 commit
  13. 21 Aug, 2020 1 commit
  14. 20 Aug, 2020 1 commit
  15. 30 Jul, 2020 1 commit
  16. 29 Jul, 2020 1 commit
  17. 15 Jul, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] generate a synthetic flutter_gen package on pub get (#61261) · d8b6fa15
      Jonah Williams authored
      Allow configuring the flutter_manifest to support a synthetic package, this is done through flutter: generate: true.
      
      When running pub get, insert a flutter_gen entry into the packages if it does not already exist. This points to .dart_tool/flutter_gen, which can be updated to contain the generated intl sources (But doesn't currently)
      
      Adds an integration test that verifies this code can be run and imported when enabled.
      
      Part of #60914
      Unverified
      d8b6fa15
  18. 13 Jul, 2020 1 commit
  19. 11 Jul, 2020 1 commit
  20. 24 Jun, 2020 4 commits
  21. 16 Jun, 2020 1 commit
    • stuartmorgan's avatar
      Switch Linux to the GTK embedding (#59287) · 61c198e7
      stuartmorgan authored
      Updates the tooling to use the GTK embedding, rather than the GLFW embedding:
      - Adds new requirements to `doctor`
      - Updates the app and plugin templates to make GTK-based runners and plugins
      - Stops downloading and installing the GLFW artifacts
      
      Final part of #54860, other than cleanup.
      Unverified
      61c198e7
  22. 09 Jun, 2020 1 commit
  23. 14 May, 2020 1 commit
  24. 22 Apr, 2020 1 commit
  25. 16 Apr, 2020 1 commit
  26. 30 Mar, 2020 1 commit
  27. 27 Mar, 2020 1 commit
  28. 23 Mar, 2020 1 commit
    • stuartmorgan's avatar
      Add pre-stable support for create on Windows (#51895) · 685e9d1e
      stuartmorgan authored
      Adds initial support for flutter create of apps and plugins. This is derived from the current FDE example app and sample plugin, adding template values where relevant.
      
      Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the create output about the fact that it won't be stable.
      
      Plugins don't currently have a version marker since in practice this is not a significant problem for plugins yet the way it is for runners; we can add it later if that changes.
      
      Fixes #30704
      Unverified
      685e9d1e
  29. 11 Mar, 2020 1 commit
  30. 10 Mar, 2020 1 commit
  31. 06 Mar, 2020 1 commit
  32. 04 Mar, 2020 2 commits
  33. 03 Mar, 2020 2 commits
    • stuartmorgan's avatar
      Add pre-stable support for create on Linux (#51832) · 8d8439f8
      stuartmorgan authored
      Adds initial support for `flutter create` of apps and plugins. This is derived from the current FDE example app and sample plugin, with a few changes:
      - Added template values where it makes sense.
      - Moved some likely-to-change values into separate files for now, to simplify the delete/recreate cycle that will be necessary until it's stable.
      - Added some minor Makefile flag handling improvements
      
      Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the `create` output about the fact that it won't be stable.
      Unverified
      8d8439f8
    • Greg Spencer's avatar
      Add Linux and Windows target platforms (#51519) · 1ba4f1f5
      Greg Spencer authored
      This PR adds the linux and windows target platform enum values, along with automatically setting the defaultTargetPlatform to the appropriate value on those platforms.
      
      Fixes #31366
      Unverified
      1ba4f1f5
  34. 28 Feb, 2020 1 commit