1. 23 Feb, 2023 1 commit
    • Greg Price's avatar
      Fix buggy formula for critically-damped springs (#120488) · 97938859
      Greg Price authored
      Fixes #109675.
      
      This formula would produce an initial velocity quite different
      from the one specified as an argument.
      
      To update the test, I computed the expected results separately
      by using the physical formula.
      
      Happily, the framework by default never ends up actually exercising
      this code.  Of the four SpringDescription call sites within the
      framework, two are explicitly overdamped; the other two are by
      design critically damped, but due to rounding they end up being
      treated as (very slightly) overdamped too.  Details here:
        https://github.com/flutter/flutter/issues/109675#issuecomment-1423674855
      
      So the only way an app could be affected by this bug is if it called
      a SpringDescription constructor itself, and managed to create a spring
      description where the distinguishing formula in _SpringSolution comes
      out exactly equal to zero.  It's likely nobody has ever shipped such
      an app, because the behavior this produces would be so wildly wrong
      that it'd be hard to miss when exercised.
      Co-authored-by: 's avatarKate Lovett <katelovett@google.com>
      97938859
  2. 23 Jan, 2023 1 commit
  3. 19 Sep, 2022 1 commit
  4. 29 Jun, 2022 1 commit
  5. 25 May, 2022 1 commit
    • Pierre-Louis's avatar
      Use `curly_braces_in_flow_control_structures` for `foundation`, `gestures`,... · 9cc72df7
      Pierre-Louis authored
      Use `curly_braces_in_flow_control_structures` for `foundation`, `gestures`, `painting`, `physics` (#104610)
      
      * Use `curly_braces_in_flow_control_structures` for `foundation`
      
      * Use `curly_braces_in_flow_control_structures` for `gestures`
      
      * Use `curly_braces_in_flow_control_structures` for `painting`
      
      * Use `curly_braces_in_flow_control_structures` for `physics`
      
      * fix comments
      
      * remove trailing space
      
      * fix TODO style
      9cc72df7
  6. 18 May, 2022 1 commit
  7. 14 Apr, 2022 1 commit
  8. 21 Mar, 2022 1 commit
  9. 20 May, 2021 1 commit
  10. 03 Apr, 2021 1 commit
  11. 22 Dec, 2020 1 commit
  12. 11 Dec, 2020 1 commit
  13. 28 Aug, 2020 1 commit
  14. 24 Aug, 2020 1 commit
  15. 20 Aug, 2020 1 commit
  16. 23 Jul, 2020 1 commit
  17. 11 Jun, 2020 1 commit
  18. 31 Jan, 2020 1 commit
  19. 28 Jan, 2020 1 commit
  20. 24 Jan, 2020 1 commit
  21. 15 Jan, 2020 1 commit
  22. 08 Jan, 2020 1 commit
  23. 27 Nov, 2019 2 commits
    • 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
    • Alexandre Ardhuin's avatar
  24. 09 Oct, 2019 1 commit
  25. 22 Mar, 2019 1 commit
  26. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  27. 29 Jan, 2019 1 commit
  28. 08 Nov, 2018 1 commit
  29. 05 Nov, 2018 1 commit
    • Greg Spencer's avatar
      Rewrite the analyze-sample-code script to also analyze snippets (#23893) · 202b045b
      Greg Spencer authored
      This rewrites the sample code analysis script to be a little less of a hack (but still not pretty), and to handle snippets as well.
      
      It also changes the semantics of how sample code is handled: the namespace for the sample code is now limited to the file that it appears in, so some additional "Examples can assume:" blocks were added. The upside of this is that there will be far fewer name collisions.
      
      I fixed the output too: no longer will you get 4000 lines of numbered output with the error at the top and have to grep for the actual problem. It gives the filename and line number of the original location of the code (in the comment in the tree), and prints out the source code on the line that caused the problem along with the error.
      
      For snippets, it prints out the location of the start of the snippet and the source code line that causes the problem. It can't print out the original line, because snippets get formatted when they are written, so the line might not be in the same place.
      202b045b
  30. 12 Sep, 2018 1 commit
  31. 07 Sep, 2018 1 commit
  32. 02 Aug, 2018 1 commit
  33. 27 Jul, 2018 1 commit
  34. 23 Jul, 2018 1 commit
  35. 16 Jul, 2018 2 commits
  36. 05 Jun, 2018 1 commit
  37. 18 May, 2018 1 commit
  38. 12 Mar, 2018 1 commit