1. 24 Apr, 2017 1 commit
    • Adam Barth's avatar
      FocusNode.requestFocus should show the keyboard (#9558) · 55f33468
      Adam Barth authored
      This patch introduces the notion of a keyboard token, which generalizes the
      logic in EditableText for distinguishing between gaining focus by default and
      gaining focus because of an explicit use action.
      
      Fixes #7985
      55f33468
  2. 23 Apr, 2017 1 commit
  3. 21 Apr, 2017 3 commits
  4. 20 Apr, 2017 1 commit
  5. 19 Apr, 2017 2 commits
  6. 18 Apr, 2017 3 commits
  7. 14 Apr, 2017 2 commits
  8. 13 Apr, 2017 3 commits
  9. 12 Apr, 2017 4 commits
    • Hans Muller's avatar
      Point to Offset (#9355) · 9f34e2e4
      Hans Muller authored
      9f34e2e4
    • Hans Muller's avatar
      28bb89c6
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
    • Ian Hickson's avatar
      Fix tests to use Ahem, and helpful changes around that (#9332) · 2a545243
      Ian Hickson authored
      * Fix tests to use Ahem, and helpful changes around that
      
      - Fix fonts that had metric-specific behaviours.
      
      - LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed
        to LiveTestWidgetsFlutterBinding.framePolicy.
      
      - LiveTestWidgetsFlutterBinding now defaults to using a frame policy
        that pumps slightly more frames, to animate the pointer crosshairs.
      
      - Added "flutter run --use-test-fonts" to enable Ahem on devices.
      
      - Changed how idle() works to be more effective in live mode.
      
      - Display the test name in live mode (unless ahem fonts are enabled).
      
      - Added a toString to TextSelectionPoint.
      
      - Style nit fixes.
      
      * Roll engine to get Ahem changes.
      
      * Update tests for dartdoc changes.
      
      * Fix flutter_tools tests
      2a545243
  10. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  11. 10 Apr, 2017 2 commits
  12. 07 Apr, 2017 3 commits
  13. 06 Apr, 2017 2 commits
  14. 05 Apr, 2017 2 commits
  15. 04 Apr, 2017 5 commits
  16. 03 Apr, 2017 3 commits
    • Hans Muller's avatar
      bb5351b7
    • xster's avatar
      Make Cupertino page transitions match native behaviours (#9138) · 58ddde88
      xster authored
      * Moved stuff around yet
      
      * Fix depedencies
      
      * Add more dartdoc comments to packages
      
      * Remove Cupertino dependency on material
      
      * Removed mountain_view package and added page transition test
      
      * Fix analyze warnings
      
      * Remove commented code
      
      * Partial solution. Still need to stop the animation on the previous page for modal
      
      * Some review notes
      
      * Move the cupertino back gesture controller’s lifecycle management back to its parent
      
      * Reviews
      
      * Add background color
      
      * Directional curves, full screen transition
      
      * Don’t perform the exit animation if the incoming page is a dialog
      
      * It works!
      
      * Test structures
      
      * Add a bunch of more tests and fix the gallery
      
      * One more comment
      
      * Review notes
      
      * final controller
      
      * Use that sweet sweet `is!` keyword
      
      * Play golf, because I’m bitter that there’s no nullable `as` or something in dart
      
      * Remove a space
      
      * Review notes
      
      * Remove the last deprecated test
      58ddde88
    • xster's avatar
      Extract cupertino page transition out of material (#9059) · c7f98efb
      xster authored
      * Moved stuff around yet
      
      * Fix depedencies
      
      * Add more dartdoc comments to packages
      
      * Remove Cupertino dependency on material
      
      * Removed mountain_view package and added page transition test
      
      * Fix analyze warnings
      
      * Remove commented code
      
      * Some review notes
      
      * Move the cupertino back gesture controller’s lifecycle management back to its parent
      
      * Reviews
      
      * Add background color
      
      * final controller
      
      * Review notes
      c7f98efb
  17. 02 Apr, 2017 2 commits