1. 24 Mar, 2021 1 commit
  2. 05 Mar, 2021 1 commit
  3. 18 Feb, 2021 1 commit
  4. 27 Jan, 2021 1 commit
  5. 10 Nov, 2020 1 commit
  6. 09 Jul, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] fix recursive asset variant issue (#61129) · 741608a2
      Jonah Williams authored
      Fixes #45075
      Fixes #57210
      
      If an asset was included directly from the project root directory, then the same asset when copied to various output or ephemeral directories would also be picked up as an asset variant. This could cause assets to be recursively copied into asset/build/ephemeral directories, as each time it would run it would pick up all of the previous "variants".
      
      The solution is to include project ephemeral directories, in addition to the build directory.
      741608a2
  7. 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
  8. 01 Jun, 2020 1 commit
    • Jonah Williams's avatar
      [flutter_tools] do not include material icon incorrectly (#58335) · 4845df90
      Jonah Williams authored
      If a dependency specified uses-material-design: true and the main pubspec specifies uses-material-design: false, then the MaterialIcons font would be included in the font manifest, but not in the AssetManifest or final bundle. Remove it from the FontManifest if this occurs
      4845df90
  9. 29 May, 2020 1 commit
  10. 19 May, 2020 1 commit
  11. 16 May, 2020 1 commit
  12. 06 May, 2020 1 commit
  13. 04 May, 2020 1 commit
  14. 01 May, 2020 1 commit
  15. 05 Mar, 2020 1 commit
  16. 08 Jan, 2020 1 commit
  17. 06 Jan, 2020 1 commit
  18. 02 Jan, 2020 2 commits
  19. 31 Dec, 2019 1 commit
    • Ian Hickson's avatar
      Add many more global analyses. (#47875) · e768c92f
      Ian Hickson authored
      * Update packages.
      
      * Add many more global analyses.
      
      * Catch trailing spaces and trailing newlines in all text files.
        Before we were only checking newly added files, but that means we
        missed some.
      
      * Port the trailing spaces logic to work on Windows too.
      
      * Correct all the files with trailing spaces and newlines.
      
      * Refactor some of the dev/bots logic into a utils.dart library.
        Notably, the "exit" and "print" shims for testing are now usable
        from test.dart, analyze.dart, and run_command.dart.
      
      * Add an "exitWithError" function that prints the red lines and
        then exits. This is the preferred way to exit from test.dart,
        analyze.dart, and run_command.dart.
      
      * More consistency in the output of analyze.dart.
      
      * Refactor analyze.dart to use the _allFiles file enumerating logic
        more widely.
      
      * Add some double-checking logic to the _allFiles logic to catch
        cases where changes to that logic end up catching fewer files
        than expected (helps prevent future false positives).
      
      * Add a check to prevent new binary files from being added to
        the repository. Grandfather in the binaries that we've already
        added.
      
      * Update all the dependencies (needed because we now import crypto in
        dev/bots/analyze.dart).
      e768c92f
  20. 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
  21. 22 Nov, 2019 1 commit
  22. 23 Oct, 2019 1 commit
  23. 22 Oct, 2019 2 commits
  24. 15 Oct, 2019 1 commit
  25. 14 Oct, 2019 1 commit
  26. 11 Oct, 2019 2 commits
  27. 13 Jul, 2019 1 commit
  28. 14 Jun, 2019 1 commit
  29. 31 May, 2019 1 commit
  30. 30 May, 2019 1 commit
  31. 29 Mar, 2019 1 commit
  32. 27 Mar, 2019 1 commit
  33. 12 Sep, 2018 1 commit
  34. 05 Sep, 2018 1 commit
  35. 17 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Clean up usage of temporary directories (#20682) · 3dec6a69
      Ian Hickson authored
      All temporary directory start with `flutter_` and have their random component separated from the name by a period, as in `flutter_test_bundle.YFYQMY`.
      
      I've tried to find some of the places where we didn't cleanly delete temporary directories, too. This greatly reduces, though it does not entirely eliminate, the directories we leave behind when running tests, especially `flutter_tools` tests.
      
      While I was at it I standardized on `tempDir` as the variable name for temporary directories, since it was the most common, removing occurrences of `temp` and `tmp`, among others.
      
      Also I factored out some common code that used to catch exceptions that happen on Windows, and made more places use that pattern.
      3dec6a69
  36. 15 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Shim package:test to avoid matcher issues (#20602) · 686d8f8a
      Ian Hickson authored
      * Upgrade everything except matcher.
      * Roll matcher (and test)
      * Adjust tests that depend on flutter:test directly to depend on a shim
      * Require use of package:test shim and remove other references to package:test
      686d8f8a
  37. 12 Mar, 2018 1 commit