1. 03 Jul, 2018 8 commits
    • Jonah Williams's avatar
    • sandrasandeep's avatar
      Make EditableText cursor configurable (#18888) · 581df52a
      sandrasandeep authored
      * fixed segmented control golden test
      
      * fixed segmented control golden test
      
      * added cursorWidth, cursorRadius
      
      * added default value for cursorWidth based on Apple specs
      
      * test default cursorWidth
      
      * removed cursorHeight stuff
      
      * added functionality to keep cursor from blinking
      
      * cursor width and radius is configurable + tests
      
      * changed goldens repo version in goldens.version
      
      * working version of configurable cursor (erased debugKeepCursorOn)
      
      * minor changes
      
      * docs
      
      * changed textfield test that was failing due to new default cursorwidth
      
      * added default value of cursorwidth in RenderEditable
      
      * only run golden file tests on Mac
      
      * cursor tests
      
      * the tests are actually there now
      
      * weak warning fixed
      
      * switching to Linux
      
      * changed default cursorWidth: 2.0 -> 1.0
      
      * assorted changes, including changing text field test
      
      * re-paint -> re-layout when changing cursorWidth
      581df52a
    • Jonah Williams's avatar
    • Danny Tuppeny's avatar
      Upgrade node on travis (#18994) · 6172e23c
      Danny Tuppeny authored
      * Upgrade to current LTS version of Node
      
      The version of NPM with Node 6 is over a year old and frequently hangs trying to install Firebase tools.
      
      * Temporarily comment out this condition so the install runs on Travis
      
      * Revert "Temporarily comment out this condition so the install runs on Travis"
      
      This reverts commit 74db9366b4b1b094369388ef50fb26f3b7fd3104.
      
      * Pin to nodejs v8.1
      6172e23c
    • Mikkel Nygaard Ravn's avatar
    • Danny Tuppeny's avatar
      Include stdout/stderr in failure messages for devicelab's tests (#18990) · 0329f0c1
      Danny Tuppeny authored
      * Include stdout/stderr in failure messages
      
      Sometimes some of these tests unexpectedly fail with a non-zero exit code. This ensures stdout/stderr is included in the test failure message when this happens so that we can track down the issue.
      
      * Remove redundant info about exit code
      
      * Remove unnecessary indenting
      
      The [markers] make it fairly clear so this just makes the test code noisy.
      0329f0c1
    • Danny Tuppeny's avatar
      Fix type for Dart 2 (#18998) · 9cb3cd4c
      Danny Tuppeny authored
      Fixes #18995.
      9cb3cd4c
    • Greg Price's avatar
      Round properly to nearest page in TabBarView. (#16868) · 84f5b1cb
      Greg Price authored
      This logic is described in the test as looking for a scroll ending
      very close to a new page, but in fact its behavior is more like
      "very close to a page to the right": if we're not very, very close
      to any page, it will pick the page to the left, not an old page.
      
      There's no reason this should be left-right asymmetrical.
      Instead, pick the nearest page.
      
      In practice, the case where this makes a difference never arises when
      the scroll runs undisturbed to completion; but when the user taps on
      the page to hold or drag, the scroll will be interrupted before it
      gets within tolerance of a particular page, and this case does arise.
      
      This fixes a glitch that is hard to trigger without time dilation,
      but is quite conspicuous with it:
      
       * Open a tab view with at least 4 tabs, e.g. the Buttons screen
         of the gallery (with "Animate Slowly" on.)
       * Starting at tab 0, tap tab 2.
       * When the animation is nearly complete, tap the page a couple
         of times, as if to drag it around to scroll.  Then let the
         page view settle ballistically toward page 2.
       * Before it finishes, tap tab 3.
       * Suddenly page 1 fills the view, replacing page 2, before we
         scroll from there to page 3.
      
      With this fix, the animation in the last step moves smoothly from
      where we are when it starts onward to page 3.
      84f5b1cb
  2. 02 Jul, 2018 7 commits
  3. 01 Jul, 2018 1 commit
  4. 29 Jun, 2018 6 commits
  5. 28 Jun, 2018 17 commits
  6. 27 Jun, 2018 1 commit