1. 22 Feb, 2022 1 commit
  2. 04 Nov, 2021 1 commit
  3. 01 Nov, 2021 1 commit
  4. 02 Aug, 2021 1 commit
  5. 15 Jul, 2021 2 commits
  6. 28 Jun, 2021 1 commit
  7. 08 Apr, 2021 1 commit
  8. 24 Mar, 2021 1 commit
  9. 16 Mar, 2021 1 commit
  10. 27 Jan, 2021 1 commit
  11. 11 Nov, 2020 1 commit
  12. 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
      2e54c4a8
  13. 30 Sep, 2020 1 commit
  14. 17 Sep, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] use flutter tool handler for dwds resources and precache tool... · 3e838da9
      Jonah Williams authored
      [flutter_tools] use flutter tool handler for dwds resources and precache tool pub dependencies (#65814)
      
      If the tool is downloaded from a precompiled snapshot, or if the backing source files in the pub cache are deleted, the dwds debugging functionality will break as the client.js file cannot be located. Instead use the PackageConfig to verify that package location, downloading if it is missing.
      
      Override the dwds middleware to avoid Isolate.resolvePackageUri
      
      Fixes #53644
      Fixes #65475
      3e838da9
  15. 21 Aug, 2020 1 commit
  16. 28 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
      d8b6fa15
  18. 24 Jun, 2020 2 commits
  19. 14 May, 2020 1 commit
  20. 28 Apr, 2020 1 commit
  21. 22 Apr, 2020 1 commit
  22. 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
      685e9d1e
  23. 03 Mar, 2020 1 commit
    • 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.
      8d8439f8
  24. 27 Feb, 2020 1 commit
  25. 07 Jan, 2020 1 commit
  26. 06 Jan, 2020 1 commit
  27. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  28. 19 Nov, 2019 1 commit
  29. 20 Sep, 2019 1 commit
    • stuartmorgan's avatar
      Support create for macOS (app and plugin) (#40851) · 0412977e
      stuartmorgan authored
      Adds macOS support for `flutter create`:
      - Currently it is behind a hidden flag.
      - Adds a TargetPlatform workaround to lib/main.dart in the standard app template when enabled.
      - Supports `app` and `plugin`; `module` support doesn't yet exist for macOS in general.
      
      This will eliminate the need to use FDE's examples as templates on macOS. The templates are based on the current state of FDE's examples, with templating support added (and with adoption of the new application delegate in the app, which hadn't been done yet in FDE, eliminating some boilerplate from the template).
      
      Fixes #30703 
      0412977e
  30. 13 Sep, 2019 1 commit
  31. 12 Aug, 2019 1 commit
  32. 07 Jun, 2019 1 commit
  33. 12 Sep, 2018 1 commit
  34. 30 Jul, 2018 1 commit
  35. 22 Jun, 2018 1 commit
  36. 05 Jun, 2018 1 commit
  37. 13 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Creates a new flutter command 'ide-config' and removes *.iml and .idea from tree. (#12958) · 797b39e9
      Greg Spencer authored
      Creates a new (hidden) flutter command 'ide-config' that will create and/or update
      existing .iml files and some files under the .idea directory, as well as
      removing existing *.iml files and the .idea directory.
      
      It also:
      
       * Adds *.iml to the .gitignore
       * Removes existing .iml files from the repo, and moves them to the
         packages/flutter_tools/ide_templates/intellij directory.
       * Adds a flag to ide-config ('--update-templates') that will take any new .iml
         files in the flutter tree and add them to the existing templates.
           - If --overwrite is also specified, then all existing templates will also
             be overwritten with the contents from the flutter tree, and any that have
             been deleted from the flutter tree will also be removed from the
             templates.
       * Added new run configurations for all existing app targets that will now also
         be automatically added to IntelliJ.
       * Setting up the environment also includes setting the coding style guidelines
         and the git VCS.
       * Note that after this PR lands, Flutter developers will need to run it once to
         re-create the .iml files and configuration files that have been removed.
      
      After this PR lands, .iml files will no longer appear in the untracked files
      section for git.
      797b39e9
  38. 22 Oct, 2017 1 commit