1. 22 Mar, 2019 1 commit
  2. 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
  3. 29 Jan, 2019 1 commit
  4. 08 Nov, 2018 1 commit
  5. 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
  6. 12 Sep, 2018 1 commit
  7. 07 Sep, 2018 1 commit
  8. 02 Aug, 2018 1 commit
  9. 27 Jul, 2018 1 commit
  10. 23 Jul, 2018 1 commit
  11. 16 Jul, 2018 2 commits
  12. 05 Jun, 2018 1 commit
  13. 18 May, 2018 1 commit
  14. 12 Mar, 2018 1 commit
  15. 10 Feb, 2018 1 commit
  16. 17 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Fix spelling errors in all the dartdocs. (#13061) · 0259be90
      Greg Spencer authored
      I got tired of drive-by spelling fixes, so I figured I'd just take care of them all at once.
      
      This only corrects errors in the dartdocs, not regular comments, and I skipped any sample code in the dartdocs. It doesn't touch any identifiers in the dartdocs either. No code changes, just comments.
      0259be90
  17. 14 Nov, 2017 1 commit
    • Jeff McGlynn's avatar
      PageView ballistics overshoot the page on some devices (#12884) · 473d75a6
      Jeff McGlynn authored
      * PageView ballistics overshoot the page on some devices
      
      On some devices, such as Cupertino “Plus”-sized devices, scrolling left on the first page of a PageView will overshoot the first page and land on the second page.
      
      The issue is that applyContentDimensions incorrectly detects a content size change due to a floating point comparison on certain screen sizes (18257.400000000005 vs 18257.4)
      
      To fix this, perform a nearEqual comparison in applyContentDimensions.
      
      * Apply style changes to nearEqual for code review feedback.
      473d75a6
  18. 23 Aug, 2017 1 commit
  19. 12 Jun, 2017 1 commit
  20. 05 Jun, 2017 1 commit
  21. 03 May, 2017 1 commit
  22. 05 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Code cleanup for physics (#9193) · cf991a34
      Ian Hickson authored
      * Add tolerance argument to FrictionSimulation.
      * Change FrictionSimulation.through to setting tolerance
        via the constructor rather than afterwards.
      * Allow SimulationGroup constructor to take tolerance argument.
      * Add a toString for SpringDescription.
      * Add a toString for SpringSimulation.
      * Push this change to BouncingScrollSimulation.
      cf991a34
  23. 15 Mar, 2017 1 commit
  24. 10 Mar, 2017 1 commit
  25. 04 Mar, 2017 1 commit
  26. 18 Feb, 2017 1 commit
  27. 03 Feb, 2017 1 commit
    • Adam Barth's avatar
      Reparameterize Scrollable2 (#7853) · 072cce88
      Adam Barth authored
      This patch makes a number of changes to how you can configure a
      Scrollable2:
      
       - The ScrollPhysics is now responsible for creating the ScrollPosition.
         You can override the ScrollPhysics by supplying a `physics` argument
         to `Scrollable`, and the new physics you supply will be applied to
         the default physics inherited from the ScrollBehavior.
      
       - This patch removes the ScrollPosition/AbsoluteScrollPosition split as
         all clients were operating in pixels anyway and the split made the
         code very difficult to follow.
      
       - ScrollPosition no longer depends directly on Scrollable2State.
         Instead, it depends on an abstract interface that Scrollable2State
         implements. This change has two benefits:
      
          a) It removes the circular dependency between ScrollPosition and
             Scrollable2State, which lets us split the code for these classes
             (and several other classes that got wrapped up in that cycle) into
             separate libraries for easier maintenance.
      
          b) ScrollPosition is no longer bound to Scrollable2, which means you
             could use the behavior machinery to drive other sorts of widgets.
             For example, we could use it to drive Scrollabe1 if we wanted.
      072cce88
  28. 06 Jan, 2017 1 commit
    • Ian Hickson's avatar
      Add a toString to Simulation (#7364) · 79c8e5c7
      Ian Hickson authored
      Also, make hasOneLineDescription more discerning.
      Also, add a test for hasOneLineDescription.
      Also, add a test for GravitySimulation, to test the toString.
      79c8e5c7
  29. 01 Nov, 2016 1 commit
  30. 15 Oct, 2016 1 commit
  31. 20 May, 2016 1 commit
  32. 12 May, 2016 1 commit
  33. 27 Apr, 2016 1 commit