1. 31 Aug, 2023 1 commit
  2. 29 Jun, 2023 1 commit
    • lsaudon's avatar
      Deletes files that should be ignored (#127984) · 7cab354d
      lsaudon authored
      Some files are supposed to ignore, but don't.
      
      - **/windows/flutter/generated_plugins.cmake
      - **/linux/flutter/generated_plugin_registrant.cc
      - **/linux/flutter/generated_plugin_registrant.h
      - **/linux/flutter/generated_plugins.cmake
      - **/windows/flutter/generated_plugin_registrant.cc
      - **/windows/flutter/generated_plugin_registrant.h
      - **/ios/Runner/GeneratedPluginRegistrant.h
      - **/ios/Runner/GeneratedPluginRegistrant.m
      
      *List which issues are fixed by this PR. You must list at least one issue.*
      
      *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
      7cab354d
  3. 28 Apr, 2023 1 commit
  4. 23 Feb, 2023 1 commit
  5. 13 Feb, 2023 1 commit
  6. 11 Aug, 2022 1 commit
  7. 30 Jun, 2022 1 commit
  8. 27 Jun, 2022 1 commit
  9. 27 May, 2022 1 commit
  10. 26 Mar, 2022 1 commit
  11. 08 Mar, 2022 1 commit
    • Chris Bracken's avatar
      Check string size before Win32 MultiByte <-> WideChar conversions (#99729) · b5d3c432
      Chris Bracken authored
      This patch adds an additional check to ensure the target length of a string is within the supported maximum string length prior to calling WideCharToMultiByte/MultiByteToWideChar in the Windows runner template.
      
      This is to prevent resize() from failing if called with a count > std::string::max_size().
      
      According to Win32 API docs (WideCharToMultiByte, MultiByteToWideChar) it's the caller responsibility to make sure the buffers are correctly allocated.
      
      Authored by: Tomasz Gucio <tgucio@gmail.com>
      b5d3c432
  12. 09 Feb, 2022 1 commit
  13. 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.
      ab2b0851
  14. 04 Sep, 2021 1 commit
  15. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      Greg Spencer authored
      This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
      33403bd2