1. 01 Oct, 2020 1 commit
    • Dan Field's avatar
      Dispose of images after using them (#66688) · a7954691
      Dan Field authored
      * Dispose of images after using them
      Adds ImageInfo.clone, ImageInfo.dispose, and ImageInfo.isCloneOf.
      Makes all stateful holders of ui.Image objects properly clone and dispose of them.
      Behavior change for ImageStreamCompleter: Removing the last listener after registering at least one listener results in the object being disposed, and new listeners cannot be added, unless a keepAlive handle is created.
      Makes all non-stateful holders of ui.Image (i.e. paintImage and RawImage) assert that whoever gave the image to them has not disposed it on them.
      a7954691
  2. 22 Sep, 2020 1 commit
  3. 11 Jun, 2020 2 commits
  4. 08 May, 2020 1 commit
  5. 05 Mar, 2020 1 commit
  6. 04 Mar, 2020 1 commit
  7. 27 Feb, 2020 1 commit
  8. 26 Feb, 2020 1 commit
  9. 24 Feb, 2020 1 commit
  10. 20 Feb, 2020 1 commit
  11. 14 Feb, 2020 1 commit
  12. 11 Feb, 2020 1 commit
  13. 30 Jan, 2020 1 commit
  14. 27 Jan, 2020 1 commit
  15. 17 Jan, 2020 1 commit
  16. 16 Jan, 2020 1 commit
  17. 10 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. 16 Dec, 2019 1 commit
  21. 10 Dec, 2019 1 commit
  22. 05 Dec, 2019 1 commit
  23. 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
  24. 16 Oct, 2019 1 commit
  25. 15 Oct, 2019 2 commits
  26. 10 Jun, 2019 1 commit
  27. 21 May, 2019 1 commit
    • Todd Volkert's avatar
      Add some sanity to the ImageStream listener API (#32936) · 592f81e7
      Todd Volkert authored
      The current API was broken in that you registered multiple
      callbacks at once, but when you removed listeners, only the
      primary listener was used to determine what was removed.
      This led to unintuitive cases where the caller could get
      unexpected behavior.
      
      This updates the API to add and remove listeners using
      a newly introduced [ImageStreamListener] object, a value
      object that has references to the individual callbacks
      that may fire.
      
      flutter/flutter#24722
      flutter/flutter#32374
      flutter/flutter#32935
      592f81e7
  28. 09 Mar, 2019 1 commit
  29. 07 Jan, 2019 1 commit
  30. 03 Jan, 2019 1 commit
    • Jonah Williams's avatar
      Ensure all errors thrown by image providers can be caught by developers. (#25980) · d84879d9
      Jonah Williams authored
      * Ensure all errors thrown by image providers can be caught by developers.
      
      Add an `onError` parameter to the ImageCache.putIfAbsent method.
      In the event that an error is thrown when resolving an image, catch if
      this parameter is provided. Use the onError parameter to ensure that all
      errors thrown are forwarded to the ImageStream error channel instead of
      directly into the void.
      d84879d9
  31. 12 Sep, 2018 1 commit
  32. 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
  33. 02 Aug, 2018 1 commit
  34. 27 Jul, 2018 1 commit
  35. 23 Jul, 2018 1 commit
  36. 16 Jul, 2018 2 commits