1. 21 Nov, 2017 3 commits
    • Martin Kustermann's avatar
      Add support for NDK discovery and add --prefer-shared-library option (#12788) · 545ec9ef
      Martin Kustermann authored
      * Add support for NDK discovery and add --prefer-shared-library option
      
      We would like to be able to use native tools (e.g. simpleperf, gdb) with
      precompiled flutter apps.  The native tools work much better with *.so
      files instead of the custom formats the Dart VM uses by default.
      
      The reason for using blobs / instruction snapshots is that we do not
      want to force flutter users to install the Android NDK.
      
      This CL adds a `--prefer-shared-library` flag to e.g. `flutter build
      apk` which will use the NDK compiler (if available) to turn the
      precompiled app assembly file to an `*.so` file.  If the NDK compiler is
      not available it will default to the default behavior.
      
      * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag
      
      * Use InMemoryFileSystem for test
      
      * Remove unused import
      
      * Address some analyzer warnings
      545ec9ef
    • Chris Bracken's avatar
      Use duration not threadDuration for frame duration (#13117) · 14b5cb04
      Chris Bracken authored
      1. We want to measure wall-clock duration for the benchmarks, as opposed
         to thread duration (e.g., waiting on a mutex should accrue time) and
         'dur' is the metric to use for that.
      
      2. On Darwin-based systems (macOS and iOS) 'tdur' is the result of a
         mach syscall lookup to thread_info. This call returns unreliable data
         on iOS. Chromium, for example, disables thread time support entirely
         for iOS.
      14b5cb04
    • Chris Bracken's avatar
  2. 20 Nov, 2017 3 commits
  3. 17 Nov, 2017 11 commits
  4. 16 Nov, 2017 7 commits
  5. 15 Nov, 2017 3 commits
    • Yegor's avatar
      custom hashCode/== in Element to speed up inheritFromWidgetOfExactType (#13019) · 6be08468
      Yegor authored
      * custom hashCode/== in Element to speed up inheritFromWidgetOfExactType
      
      * explain why 24 bits
      6be08468
    • Greg Spencer's avatar
      Adding accomodations to ListTile for scaleTextFactor. (#12973) · c15c021e
      Greg Spencer authored
      This makes ListTile expand vertically when text is scaled, or really when whatever is placed inside it is larger than the available space.
      
      In order for UnconstrainedBox to be useful here, I needed for it to only unconstrain the child Row in one dimension, so I added a "constrainedAxis" parameter to the UnconstrainedBox.
      
      Also, changed one enum test to use a switch instead.
      
      I modified the ListTile test to be more representative of the intention of the spec: we were testing with text in the leading and trailing sections, and the design wants icons there. Because there was leading text, and the dense mode only changes the font size on the text lines, the leading text was propping up the minimum size of the tile, making so that the test wasn't really testing any changes in dense mode.
      c15c021e
    • xster's avatar
      Add a Flutter version comparison function (#12959) · 9a0d4cf7
      xster authored
      * add git version comparison function
      
      * use [] in dartdoc
      
      * Make method instance method
      9a0d4cf7
  6. 14 Nov, 2017 6 commits
  7. 13 Nov, 2017 5 commits
  8. 11 Nov, 2017 2 commits