1. 28 Sep, 2021 1 commit
    • Greg Spencer's avatar
      Add smoke tests for all the examples, fix 17 broken examples. (#89021) · ab2b0851
      Greg Spencer authored
      This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
      
      The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
      
      The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
      Unverified
      ab2b0851
  2. 08 Jul, 2021 1 commit
  3. 27 May, 2021 1 commit
  4. 11 Mar, 2021 1 commit
  5. 25 Sep, 2020 1 commit
  6. 22 Sep, 2020 1 commit
  7. 16 Sep, 2020 1 commit
  8. 05 Dec, 2019 1 commit
  9. 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
      Unverified
      449f4a66
  10. 09 Nov, 2019 1 commit
  11. 12 Sep, 2018 1 commit
  12. 21 Jun, 2018 1 commit
  13. 19 Jun, 2018 1 commit
  14. 28 Mar, 2018 1 commit
    • Alexander Aprelev's avatar
      Again move mockito to 300plus2 (#15981) · bffae215
      Alexander Aprelev authored
      * Revert "Revert "Move mockito to 3.0.0-alpha. (#15949)" (#15979)"
      
      This reverts commit e59651f9.
      
      * More thenReturn to thenAnswer when mocking Futures
      
      * Revert "More thenReturn to thenAnswer when mocking Futures"
      
      This reverts commit 194d2cf41754ad171efd6bb5898cf73bce5a75ab as we are reverting engine roll.
      
      * Revert "Revert "More thenReturn to thenAnswer when mocking Futures""
      
      This reverts commit 52c9e96b304b220f66d78a252fccea0c8e0ef24c.
      
      * Add dependency override
      
      * Fix issue
      Unverified
      bffae215
  15. 27 Mar, 2018 2 commits
  16. 22 Mar, 2018 1 commit
    • Jonah Williams's avatar
      Remove package:http from Flutter (#15416) · 88cc9773
      Jonah Williams authored
      * use HttpOverrides and dart:io HttpClient in flutter
      
      * add missing package:http dependency
      
      * update flutter packages and remove comment about createHttpClient from flutter_test
      
      * move byte loading logic to common class, move string parsing logic to base class
      
      * addAll doesn't work for a Uint8List
      
      * use bytes.setRange
      
      * undo addition to hello_world
      
      * add newline to end of binding.dart
      
      * and a newline for hello world
      
      * refactor to function and add tests
      
      * address comments on unknown length case
      
      * alignment
      
      * sort alaphabetically
      
      * rename convertResponse to consolidateClientHttpClientResponseBytes.  Add header
      
      * fix alignment in test
      Unverified
      88cc9773
  17. 07 Dec, 2017 1 commit
    • Ian Hickson's avatar
      Move image logic from services/ to painting/. (#13409) · 44e228eb
      Ian Hickson authored
      This allows the scheduler library to depend on the services library
      and the painting library to depend on the scheduler library without
      the services library having to depend on the scheduler library.
      
      While I was at it I also cleaned up some of the binding logic: the
      licenses logic can now be overridden (and the test library does so),
      and the image cache can now be overridden as well.
      Unverified
      44e228eb
  18. 17 Nov, 2017 1 commit