1. 28 Aug, 2018 1 commit
  2. 18 Aug, 2018 1 commit
  3. 17 Aug, 2018 2 commits
    • Ian Hickson's avatar
      Clean up usage of temporary directories (#20682) · 3dec6a69
      Ian Hickson authored
      All temporary directory start with `flutter_` and have their random component separated from the name by a period, as in `flutter_test_bundle.YFYQMY`.
      
      I've tried to find some of the places where we didn't cleanly delete temporary directories, too. This greatly reduces, though it does not entirely eliminate, the directories we leave behind when running tests, especially `flutter_tools` tests.
      
      While I was at it I standardized on `tempDir` as the variable name for temporary directories, since it was the most common, removing occurrences of `temp` and `tmp`, among others.
      
      Also I factored out some common code that used to catch exceptions that happen on Windows, and made more places use that pattern.
      3dec6a69
    • Ian Hickson's avatar
      Try to resolve an intermitted crash during coverage collection (#20506) · d5812085
      Ian Hickson authored
      * Try to resolve an intermitted crash during coverage collection
      
      The only theory I can come up with is that maybe the test completes
      before we finish processing the standard input, so I made the test
      harness wait for the observatory URL before considering whether the
      test has finished or not.
      
      Also, some code cleanup while I'm at it, e.g. avoiding using "onFoo"
      for the names of methods, avoiding back-to-back switch statements with
      the same values, avoiding `_` argument names, and using `?.` instead
      of `if (foo != null) foo.`.
      
      * Revert back the signature of _pipeStandardStreamsToConsole
      
      * Also remove the other additions to this method.
      d5812085
  4. 15 Aug, 2018 3 commits
    • Martin Kustermann's avatar
      Reland "Roll engine to version e3687f70c7ece72000b32ee1b3c02755ba5361ac (#20427)" (#20633) · 9299c02c
      Martin Kustermann authored
      * Reland "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)"
      
      This is a re-land with downgraded `package:flutter_gallery_assets`
      version.
      
      * Downgrade package:flutter_gallery_assets to 0.1.4
      
      * Change engine.version to 81baff97c29bb08cbf8453a3f9042c5813f84ad3 (which contains an additional fix)
      
      * Change engine.version to e3687f70c7ece72000b32ee1b3c02755ba5361ac (since mac tarballs are corrupted on earlier commit)
      9299c02c
    • Martin Kustermann's avatar
      Revert "Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427)" (#20631) · 515909ec
      Martin Kustermann authored
      Reason for revert: The package:flutter_gallery_assets has removed some images which are required for the examples/flutter_gallery, so the gallery build is failing (only discovered after landing, since gallery doesn't seem to get built during github PR presubmit checks)
      515909ec
    • Martin Kustermann's avatar
      Roll engine to version b148e628ec86b3a9a0382e0bcfae73f0390a8232 (#20427) · c7c493ea
      Martin Kustermann authored
      This CL
      
        * rolls `engine.version` to flutter/engine@b148e628 (which includes dart sdk 2.1.0-dev)
        * rolls `goldens.version` to flutter/goldens@6c45fafdf (which includes updates due to skia changes in engine)
        * changes `platform.dill` to `platform_strong.dill` in various places due to flutter/engine@a84b210b
        * adds explicit `environment: sdk: ">=2.0.0-dev.68 < 3.0.0"` constraints to `pubspec.yaml` and `pubspec.yaml.tmpl` files (since pub defaults to `<2.0.0` if omitted) 
        * upgrades to newer versions of various 3rd party packages (to ensure transitive dependencies have `<3.0.0` sdk constraint)
      c7c493ea
  5. 14 Aug, 2018 1 commit
  6. 02 Aug, 2018 1 commit
  7. 27 Jul, 2018 1 commit
  8. 23 Jul, 2018 1 commit
  9. 20 Jul, 2018 1 commit
  10. 16 Jul, 2018 2 commits
  11. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  12. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  13. 08 Jun, 2018 3 commits
    • Chris Bracken's avatar
      It's time to #deleteDart1 (again) (#18316) · 3daebd05
      Chris Bracken authored
      * It's time to #deleteDart1 (#18293)
      
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      
      * Fix indentation, remove no longer necessary .toList()
      
      * Only push udpated kernel if >0 invalidated srcs
      3daebd05
    • Chris Bracken's avatar
      Revert "It's time to #deleteDart1 (#18293)" (#18313) · 9495df4b
      Chris Bracken authored
      Several benchmarks started failing during kernel compile:
      1. Timeouts:
         * commands_test
         * hot_mode_dev_cycle__benchmark
         * run_machine_concurrent_hot_reload
         * service_extensions_test
      
      2. Kernel compiler crash:
         * hot_mode_dev_cycle_linux__benchmark
         * routing_test
      
      3. Unexpected termination:
         * hot_mode_dev_cycle_win__benchmark
      
      This reverts commit ed63e708.
      9495df4b
    • Chris Bracken's avatar
      It's time to #deleteDart1 (#18293) · ed63e708
      Chris Bracken authored
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      ed63e708
  14. 05 Jun, 2018 1 commit
  15. 30 May, 2018 2 commits
  16. 08 May, 2018 1 commit
  17. 04 May, 2018 3 commits
  18. 03 May, 2018 1 commit
  19. 01 May, 2018 1 commit
  20. 30 Apr, 2018 1 commit
    • Todd Volkert's avatar
      Add basic support for golden image file testing (#17094) · e19db89a
      Todd Volkert authored
      * Add a `matchesGoldenFile()` async matcher that will match
        a finder's widget's rasterized image against a golden file.
      * Add support for pluggable image comparison backends
      * Add a default backend that does simplistic PNG byte
        comparison on locally stored golden files.
      * Add support for `flutter test --update-goldens`, which will
        treat the rasterized image bytes produced during the test
        as the new golden bytes and update the golden file accordingly
      
      Still TODO:
      
      * Add support for the `flutter_test_config.dart` test config hook
      * Utilize `flutter_test_config.dart` in `packages/flutter/test`
        to install a backend that retrieves golden files from a dedicated
        `flutter/goldens` repo
      
      https://github.com/flutter/flutter/issues/16859
      e19db89a
  21. 26 Apr, 2018 1 commit
  22. 24 Apr, 2018 1 commit
  23. 22 Apr, 2018 1 commit
  24. 18 Apr, 2018 1 commit
  25. 17 Apr, 2018 3 commits
    • Todd Volkert's avatar
      Run test harness finalizers in reverse order. (#16664) · c7df2619
      Todd Volkert authored
      Finalizers handle the restoration of state. In order to restore
      the state correctly, they shouyld be run in LIFO order.
      
      Fixes #16657
      c7df2619
    • Mikkel Nygaard Ravn's avatar
    • Todd Volkert's avatar
      Roll engine to 1bc0e1bb9a8db882a21086096cc2b1e0854312b7 (#16643) · dd32d1b1
      Todd Volkert authored
      * Roll engine to d6d4eec24c38bb06a9b1aef4e70c321d447ba762
      
      Contains the following engine commits:
      
      flutter/engine@1bc0e1b On windows, refer to Dart snapshot directly executable.
      flutter/engine@cf6ca32 Revert "Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79"
      flutter/engine@4b45a53 Only make ERROR and FATAL log levels visible by default.
      flutter/engine@98f6c2d Fix shell launcher test (dart2 compliant and stop polling)
      flutter/engine@75851f0 Roll Dart to fe606f890b0a311da802c78b0af414a3c2087a79
      flutter/engine@9495a52 On iOS, try to use ES3, then fall back to ES2.
      flutter/engine@d6d4eec Fix broken Linux build
      flutter/engine@d15dc76 Fix broken Chromebot build
      flutter/engine@c17a629 Breadcrumbs to the wiki
      flutter/engine@4eaf2c2 Return raw (unencoded) bytes in Image.toByteData()
      flutter/engine@d812a61 Roll src/third_party/skia/ e669bdfad..276886160 (9 commits)
      flutter/engine@62aeab7 Call SkSurface::flush instead of getting a backend handle in vulkan_swapchain.
      flutter/engine@f4ebb18 Roll src/third_party/skia/ 3462eb034..e669bdfad (54 commits)
      flutter/engine@0b7d6be Re-land "do not pause rendering when android view loses focus"
      flutter/engine@91dee59 If the rasterizer has a valid surface context, use that to create a snapshotting render target.
      flutter/engine@570231b Specify the packages file path when running engine dart tests.
      flutter/engine@0b9cef5 Minor update to README
      flutter/engine@c386418 Promote line height in text style created from paragraph style
      flutter/engine@4e0fbb6 If the test specifies a .dill file, dont make the engine interpret is as source.
      flutter/engine@58e84c8 Re-land "Support multiple shells in a single process.
      flutter/engine@37e5df0 Remove only use of SkPaint::kGenA8FromLCD
      flutter/engine@b7358b3 libtxt: cache font families that are remapped to the default font family
      flutter/engine@a530035 libtxt: fix leaks in Skia object reference counting
      flutter/engine@0c74fc9 [fuchsia] Fix use-after-free
      flutter/engine@b6d2dde [fuchsia] Fix build
      flutter/engine@1dd1264 [async] Adapt to libasync API changes.
      
      * Run test platform finalizers in reverse order to ensure that shell is shutdown before trying to delete any temporary files or directories. This fixes "Access Denied" error on Windows (see #16657).
      dd32d1b1
  26. 12 Apr, 2018 1 commit
  27. 09 Apr, 2018 1 commit
  28. 20 Mar, 2018 1 commit
  29. 16 Mar, 2018 1 commit