1. 24 Mar, 2021 1 commit
  2. 27 Jan, 2021 1 commit
  3. 11 Nov, 2020 1 commit
  4. 16 Sep, 2020 1 commit
  5. 26 Jun, 2020 1 commit
  6. 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
  7. 28 Apr, 2020 1 commit
  8. 22 Apr, 2020 1 commit
  9. 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
  10. 04 Mar, 2020 1 commit
  11. 20 Feb, 2020 1 commit
  12. 07 Feb, 2020 1 commit
  13. 06 Jan, 2020 1 commit
  14. 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
  15. 22 Nov, 2019 1 commit
  16. 13 Sep, 2019 1 commit
  17. 21 May, 2019 1 commit
  18. 07 Mar, 2019 1 commit
  19. 12 Sep, 2018 1 commit
  20. 21 May, 2018 1 commit
  21. 13 Mar, 2017 1 commit
    • Ian Hickson's avatar
      Make hot mode a little less aggressive about catching errors. (#8743) · 0edc4d2a
      Ian Hickson authored
      It was resulting in weird situations where the tool would dump an
      error message and stack but not quit, or would fail hard but then just
      hang.
      
      Instead, specifically catch errors you expect. As an example of this,
      there's one error we expect from the DartDependencySetBuilder, so we
      catch that one, turn it into a dedicated exception class, then in the
      caller catch that specific exception.
      0edc4d2a
  22. 07 Mar, 2017 1 commit
    • Michael Goderbauer's avatar
      Faster hot reload (#8600) · 644e7b13
      Michael Goderbauer authored
      This implements the `DartDependencySetBuilder` completely in Dart instead of calling out to `sky_snapshot` (Linux/Mac) or `gen_snapshot` (Windows) and allows us to use the same code path on all supported host platforms.
      
      It also slightly reduces hot reload times on Linux from ~750ms to ~690ms for the unchanged flutter_gallery app and significantly reduces hot reload times on Windows from almost 1.5s to just slightly slower than on Linux.
      
      This change will also allow us to retire `sky_snapshot` completely in the future.
      644e7b13
  23. 04 Mar, 2017 1 commit
  24. 14 Feb, 2017 1 commit
  25. 07 Jan, 2017 1 commit
    • Todd Volkert's avatar
      Update flutter_tools to use package:file throughout (#7385) · 8bb27034
      Todd Volkert authored
      This removes direct file access from within flutter_tools
      in favor of using `package:file` via a `FileSystem` that's
      accessed via the `ApplicationContext`.
      
      This lays the groundwork for us to be able to easily swap
      out the underlying file system when running Flutter tools,
      which will be used to provide a record/replay file system,
      analogous to what we have for process invocations.
      8bb27034
  26. 15 Dec, 2016 1 commit
    • John McCutchan's avatar
      DependencyChecker with tests (#7268) · 2546259a
      John McCutchan authored
      - [x] Introduce DependencyChecker which can determine if any dependencies have been modified.
      - [x] Move the DartDependencyBuilder into a separate file.
      - [x] Add unit tests for DartDependencyBuilder.
      - [x] Add unit tets for DependencyChecker
      
      Part of #7014 
      2546259a
  27. 01 Nov, 2016 1 commit
  28. 09 Aug, 2016 1 commit
  29. 21 Jul, 2016 1 commit
    • Ian Hickson's avatar
      Licenses (#4984) · 69d78325
      Ian Hickson authored
      This makes the about page show the licenses of all the Dart packages that a Flutter app uses.
      
      Issues that this does not yet resolve:
      - I'm still working on getting the full list of licenses for the sky_engine package.
      - Some of the licenses don't print very readably.
      - There's no scrollbar on the license page.
      
      I'll provide fixes for the first two in the coming days, but this should unblock anyone who is wanting to see something here, even if it's not quite complete. :-)
      
      ----
      
      The patch makes the following changes: 
      
      - The license registry is now asynchronous, since the data comes from disk.
      - I moved the default license collector from the foundation package to the services package since it uses the default asset bundle now.
      - The FLX builder now includes the LICENSE files of each Dart package mentioned in the `.packages` file.
      69d78325
  30. 07 Jun, 2016 1 commit
    • Devon Carew's avatar
      add a restart command to the daemon protocol (#4385) · 3ba17136
      Devon Carew authored
      * refactor the --resident run option into a separate file
      
      * update daemon to run --resident apps
      
      * re-plumbing daemon start
      
      * send app logs
      
      * update tests
      
      * review changes
      
      * fix test runner
      
      * remove PackageMap.createGlobalInstance; rely on the ctor
      
      * review comments
      3ba17136
  31. 23 May, 2016 1 commit
  32. 28 Mar, 2016 1 commit