1. 25 May, 2019 1 commit
    • stuartmorgan's avatar
      Implement macOS support in `flutter doctor` (#33277) · 81c38b22
      stuartmorgan authored
      Splits Xcode validation out of the iOS validator and into a stand-alone
      validator, and groups the CocoaPods validator with that top-level
      validator instead of the iOS validator. iOS now validates only the
      iOS-specific tools (e.g., ideviceinstaller).
      
      Reorganizes many of the associated clases so that those that are used by
      both macOS and iOS live in macos/ rather than ios/. Moves some
      validators to their own files as part of the restructuring.
      
      This is the macOS portion of #31368
      81c38b22
  2. 01 May, 2019 1 commit
  3. 29 Apr, 2019 1 commit
  4. 25 Apr, 2019 1 commit
  5. 07 Mar, 2019 1 commit
  6. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  7. 27 Feb, 2019 1 commit
    • liyuqian's avatar
      Add LICENSE test to presubmit checks (#28369) · dd5559a5
      liyuqian authored
      ## Description
      
      Also update the existing dart files with missing licenses.
      
      Without the fix, we'll emit the following error message
      ```
      License headers cannot be found at the beginning of the following files.
      
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/lib/src/animation/tween_sequence.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/material/raw_material_button_test.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/async_lifecycle_test.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/sliver_constraints_test.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/app_test.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/test_border.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/physical_model_test.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter/test/widgets/inherited_model.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter_tools/lib/src/base/user_messages.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter_tools/test/src/pubspec_schema.dart
      /usr/local/google/home/liyuqian/flutter/flutter/packages/flutter_tools/test/ios/simulators_test.dart
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
      ```
      
      ## Related Issues
      
      Fixes https://github.com/flutter/flutter/issues/28368
      
      ## Checklist
      
      Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
      
      - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
      - [x] My PR includes tests for *all* changed/updated/fixed behaviors (See [Test Coverage]).
      - [x] All existing and new tests are passing.
      - [x] I updated/added relevant documentation (doc comments with `///`).
      - [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
      - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
      - [x] I signed the [CLA].
      - [x] I am willing to follow-up on review comments in a timely manner.
      
      ## Breaking Change
      
      Does your PR require Flutter developers to manually update their apps to accommodate your change?
      
      - [ ] Yes, this is a breaking change (Please read [Handling breaking changes]).
      - [x] No, this is *not* a breaking change.
      
      <!-- Links -->
      [issue database]: https://github.com/flutter/flutter/issues
      [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
      [Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
      [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
      [Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
      [CLA]: https://cla.developers.google.com/
      [Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
      dd5559a5
  8. 12 Sep, 2018 1 commit
  9. 30 Aug, 2018 1 commit
  10. 15 Aug, 2018 1 commit
    • Ian Hickson's avatar
      Shim package:test to avoid matcher issues (#20602) · 686d8f8a
      Ian Hickson authored
      * Upgrade everything except matcher.
      * Roll matcher (and test)
      * Adjust tests that depend on flutter:test directly to depend on a shim
      * Require use of package:test shim and remove other references to package:test
      686d8f8a
  11. 01 Jul, 2018 1 commit
  12. 21 Jun, 2018 1 commit
  13. 05 Jun, 2018 1 commit
  14. 09 May, 2018 1 commit
    • Chris Bracken's avatar
      Allow 32-bit iOS device simulators (#17443) · a7516785
      Chris Bracken authored
      Previously, Flutter did not support iOS devices with armv7 or armv7s
      CPUs. We now support these devices. This eliminates the previous
      hardcoded checks that prevented running on simulators of older devices.
      
      We maintain the existing restriction on running on watchOS or tvOS
      simulators.
      a7516785
  15. 09 Apr, 2018 1 commit
  16. 02 Apr, 2018 1 commit
  17. 12 Mar, 2018 1 commit
  18. 07 Mar, 2018 1 commit
  19. 02 Feb, 2018 1 commit
  20. 05 Jan, 2018 1 commit
  21. 19 Dec, 2017 1 commit
    • Alan Russian's avatar
      Change async stubbing to use thenAnswer. (#13521) · 30720bd1
      Alan Russian authored
      * Change async stubbing to use thenAnswer.
      
      Mockito now prohibits calling thenReturn with Futures and Streams. dart-lang/mockito#79
      
      * Update all Mockito deps to 3.0.0.
      
      * Revert "Update all Mockito deps to 3.0.0."
      
      This reverts commit e8ab9d37c33d3d7fe384abde64ea5b4d72623c75.
      
      I did not correctly update the mockito dep, and there's no easy way to update to 3.0 alpha right now.
      
      * Change thenAnswer((_) => to thenAnswer((invocation) =>
      
      * Add Invocation type to thenAnswer lambdas
      30720bd1
  22. 29 Nov, 2017 1 commit
    • Todd Volkert's avatar
      Add support for IOS_SIMULATOR_HOME environment variable in IOSSimulat… (#13236) · 137f0751
      Todd Volkert authored
      Add support for IOS_SIMULATOR_HOME environment variable in IOSSimulator.logFilePath
      
      flutter_tools can be run on environments where the user's HOME directory
      is not the root of the iOS simulators' configs. This change adds support
      for such environments by allowing the caller to set the simulator root
      directory via an environment variable.
      137f0751
  23. 14 Sep, 2017 1 commit
    • Chris Bracken's avatar
      Migrate to os_log for reading iOS simulator logs (#12079) · dd7e3133
      Chris Bracken authored
      1. Migrate simulator device log tailing to os_log toolchain
      2. When the log tag (component) is available (iOS 11/Xcode 9), filter to
         the set of log lines with tag 'Flutter'.
      
      As of iOS 11 / Xcode 9, Flutter engine logs are no longer recorded in the
      simulator's syslog file, which we previously read using tail -f. Instead
      they're now accessible through Apple's new macOS/iOS os_log facility,
      via /usr/bin/log, which supports a relatively flexible query language.
      
      When run in non-interactive mode, /usr/bin/log buffers its output in 4k
      chunks, which is significantly smaller than what's emitted up to the
      point where the observatory/diagnostics port information is logged. As a
      workaround we force it to run in interactive mode via the script tool.
      dd7e3133
  24. 16 Jun, 2017 1 commit
  25. 12 May, 2017 1 commit
  26. 26 Apr, 2017 1 commit
    • Todd Volkert's avatar
      Switch many `Device` methods to be async (#9587) · 60c5ffc1
      Todd Volkert authored
      `adb` can sometimes hang, which will in turn hang the Dart isolate if
      we're using `Process.runSync()`. This changes many of the `Device` methods
      to return `Future<T>` in order to allow them to use the async process
      methods. A future change will add timeouts to the associated calls so
      that we can properly alert the user to the hung `adb` process.
      
      This is work towards #7102, #9567
      60c5ffc1
  27. 10 Mar, 2017 2 commits
  28. 04 Mar, 2017 1 commit
  29. 28 Feb, 2017 1 commit
  30. 17 Feb, 2017 1 commit
  31. 16 Feb, 2017 1 commit
  32. 03 Feb, 2017 1 commit
  33. 10 Mar, 2016 2 commits