1. 04 Jan, 2018 1 commit
    • Greg Spencer's avatar
      Updates the package dependencies by running flutter update-packages --force-upgrade (#13906) · a04df5bc
      Greg Spencer authored
      This simply updates the package dependencies by running flutter update-packages --force-upgrade.
      
      I'm doing this with no other changes, because the last time I tried that, redness occurred. I want to isolate the problem to a "clean" update of the packages.
      
      It looks like the plugins device_info, connectivity, and url_launcher haven't yet had their gradle configurations updated, so they fail when trying to build with the new gradle. I did not upgrade for those three packages only (in flutter_gallery) until we are ready to fix them (fixing them for master will break them for alpha users, so we need to do an alpha roll to do that).
      a04df5bc
  2. 21 Dec, 2017 1 commit
  3. 20 Dec, 2017 1 commit
    • Greg Spencer's avatar
      Adding minzip to packaging steps for Windows (#13679) · 765191e7
      Greg Spencer authored
      This adds our self-compiled copy of the MinGit executable (built from the flutter/git repo) to the archive when building an archive for Windows.
      
      I also tweaked the internal API for prepare_package.dart so that there's a single entry point to build an archive.
      765191e7
  4. 14 Dec, 2017 1 commit
  5. 09 Dec, 2017 1 commit
  6. 01 Dec, 2017 1 commit
  7. 29 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Consolidating .gitignore files. (#13002) · 909406ba
      Greg Spencer authored
      This consolidates all of the non-template .gitignore rules into the top level .gitignore, to ignore common things more broadly, with less maintenance needed for the .gitignore files. Does not touch the templates, so that they still produce needed .gitignores as part of flutter create.
      909406ba
  8. 01 Nov, 2017 1 commit
  9. 26 Oct, 2017 2 commits
  10. 25 Oct, 2017 1 commit
  11. 22 Oct, 2017 1 commit
  12. 11 Oct, 2017 1 commit
  13. 07 Oct, 2017 1 commit
  14. 06 Oct, 2017 1 commit
  15. 22 Sep, 2017 2 commits
  16. 18 Sep, 2017 1 commit
    • Ian Hickson's avatar
      Fix tests (#12132) · 88cd043d
      Ian Hickson authored
      Fixes some tests that weren't aggressively catching exceptions.
      Fixes some actual failures that were found because of this.
      Tries to fix an intermittent failure with crash1_test.dart which could be a race condition.
      88cd043d
  17. 04 Aug, 2017 1 commit
  18. 30 Jun, 2017 1 commit
  19. 13 Apr, 2017 1 commit
  20. 12 Apr, 2017 1 commit
    • 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
  21. 07 Apr, 2017 1 commit
  22. 08 Feb, 2017 1 commit
  23. 03 Feb, 2017 1 commit
  24. 31 Jan, 2017 1 commit
    • Ian Hickson's avatar
      Make tests more resilient to timing. (#7753) · b257f6ea
      Ian Hickson authored
      These tests would fail sometimes when run locally. Since they happen
      to also be the ones that are flaky on bots, maybe there's some
      relationship, even though the failure mode on bots is different. In
      any case, this removes a variable.
      b257f6ea
  25. 24 Jan, 2017 1 commit
  26. 15 Dec, 2016 1 commit
  27. 14 Nov, 2016 1 commit
    • Dan Rubel's avatar
      Refactor flutter command exit code - part 3 of 3 (#6838) · 34e466f1
      Dan Rubel authored
      * Remove the workaround that pinned args to v0.13.6
      This reverts most of the changes in commit 6331b6c8
      * throw exception if exit code is not an integer
      * rework command infrastructure to throw ToolExit when non-zero exitCode
      * convert commands to return Future<Null>
      * cleanup remaining commands to use throwToolExit for non-zero exit code
      * remove isUnusual exception message
      * add type annotations for updated args package
      34e466f1
  28. 08 Nov, 2016 1 commit
  29. 23 Sep, 2016 1 commit
  30. 14 Jun, 2016 1 commit
    • Ian Hickson's avatar
      Lock flutter tool while updating artifacts (#4476) · f92f71fe
      Ian Hickson authored
      This prevents multiple simultaneous runs of the analyzer from stomping
      over each other (e.g. multiple runs of 'update-packages'). Certain
      long-lived commands (like analyze, run, logs) are exempted once they've
      done enough work to be safe from most stomping action.
      
      This still doesn't make us entirely safe from craziness, e.g. if you're
      half way through an 'update-packages' run and you call 'git pull', who
      knows what state you'll end up in. But there's only so much one can do.
      
      Fixes https://github.com/flutter/flutter/issues/2762
      f92f71fe
  31. 17 May, 2016 1 commit
    • Ian Hickson's avatar
      Fix tests (#3977) · f284c1a0
      Ian Hickson authored
      Also, make sure that broken tests actually break the bots.
      
      And add a test to make sure that keeps happening.
      f284c1a0
  32. 16 May, 2016 1 commit
    • Ian Hickson's avatar
      Make it possible to run tests live on a device (#3936) · 32527017
      Ian Hickson authored
      This makes it possible to substitute 'flutter run' for 'flutter test'
      and actually watch a test run on a device.
      
      For any test that depends on flutter_test:
      
      1. Remove any import of 'package:test/test.dart'.
      
      2. Replace `testWidgets('...', (WidgetTester tester) {`
            with `testWidgets('...', (WidgetTester tester) async {`
      
      3. Add an "await" in front of calls to any of the following:
          * tap()
          * tapAt()
          * fling()
          * flingFrom()
          * scroll()
          * scrollAt()
          * pump()
          * pumpWidget()
      
      4. Replace any calls to `tester.flushMicrotasks()` with calls to
         `await tester.idle()`.
      
      There's a guarding API that you can use, if you have particularly
      complicated tests, to get better error messages. Search for
      TestAsyncUtils.
      32527017