1. 26 Jul, 2018 1 commit
  2. 25 Jul, 2018 1 commit
  3. 24 Jul, 2018 2 commits
    • Jonah Williams's avatar
      Semantics framework updates (#18758) · 810a29d6
      Jonah Williams authored
      Changes:
      
      - Move the SemanticsConfiguration update from RenderToggleable to each subclass, so that Switch can use toggled.
      - Add image, liveRegion, toggled properties to Semantics, SemanticsConfiguration, SemanticsNode
      - Added semanticsLabel and excludeFromSemantics to Image (the latter so that we avoid creating a semantics node)
      - Added onDismiss semantics action which maps to the modal escape on iOS and dismiss action on Android.
      - Added dismiss and liveRegion to snackbar widget
      - Updated custom painter semantics to handle image, liveRegion, toggle
      - Updated relevant tests to use correct flag/action
      810a29d6
    • Danny Tuppeny's avatar
      18a6a2aa
  4. 23 Jul, 2018 2 commits
  5. 20 Jul, 2018 3 commits
  6. 19 Jul, 2018 1 commit
  7. 18 Jul, 2018 2 commits
  8. 16 Jul, 2018 2 commits
  9. 14 Jul, 2018 1 commit
    • Greg Spencer's avatar
      Add Bash and Zsh command-line completion for flutter (#19243) · 5d0d1b03
      Greg Spencer authored
      This uses @kevmoo's completion package to do command line completion for flutter, and a new command "bash-completion" (with alias "zsh-completion") that will output the necessary shell script setup code, and adds the hidden command "completion" that does the actual completion.
      
      Because it adds a dependency, I also had to do flutter update-packages --force-upgrade.
      
      Fixes #18988.
      5d0d1b03
  10. 12 Jul, 2018 3 commits
  11. 11 Jul, 2018 3 commits
  12. 10 Jul, 2018 3 commits
    • Chris Bracken's avatar
      Revert "Add segmented control to gallery (#19192)" (#19227) · 32af1699
      Chris Bracken authored
      This appears to trigger an error during AOT snapshot of the gallery as
      follows:
      
      ```
      stdout: [   +6 ms] Building AOT snapshot in release mode (ios-release)...
      stdout: [  +15 ms] Extra gen_snapshot options: [--print_snapshot_sizes]
      stdout: [   +7 ms] /usr/bin/arch -x86_64 /Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot --await_is_keyword --causal_async_stacks --packages=.packages --url_mapping=dart:ui,/Users/flutter/.cocoon/flutter/bin/cache/pkg/sky_engine/lib/ui/ui.dart --url_mapping=dart:vmservice_io,/Users/flutter/.cocoon/flutter/bin/cache/pkg/sky_engine/sdk_ext/vmservice_io.dart --embedder_entry_points_manifest=/Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/dart_vm_entry_points.txt --embedder_entry_points_manifest=/Users/flutter/.cocoon/flutter/bin/cache/artifacts/engine/ios-release/dart_io_entries.txt --print_snapshot_sizes --snapshot_kind=app-aot-assembly --assembly=build/aot/arm64/snapshot_assembly.S /Users/flutter/.cocoon/flutter/examples/flutter_gallery/lib/main.dart
      stderr: [+9324 ms] Error: 'file:///Users/flutter/.cocoon/flutter/examples/flutter_gallery/lib/demo/cupertino/cupertino_segmented_control_demo.dart': error: line 19 pos 1: circular dependency for function _CupertinoSegmentedControlDemoState
      stderr: [        ] class _CupertinoSegmentedControlDemoState extends State {
      stderr: [        ] ^
      stderr: [  +33 ms] Dart snapshot generator failed with exit code 254
      stderr: [        ] Snapshotting (IOSArch.arm64) exited with non-zero exit code: 254
      stdout: [        ] Built to build/aot/.
      stdout: [  +10 ms] "flutter aot" took 9,485ms.
      ```
      
      This reverts commit 9d49ee3b.
      32af1699
    • Natalie Sampsell's avatar
      Add segmented control to gallery (#19192) · 9d49ee3b
      Natalie Sampsell authored
      * Adding segmented control to gallery
      9d49ee3b
    • Ian Hickson's avatar
      Remove bogus SDK constraint lines. (#19013) · 03a1f4ac
      Ian Hickson authored
      03a1f4ac
  13. 28 Jun, 2018 2 commits
  14. 27 Jun, 2018 1 commit
  15. 22 Jun, 2018 1 commit
  16. 21 Jun, 2018 1 commit
    • amirh's avatar
      Move the notch computation from the FAB to the BAB. (#18372) · c39f2f26
      amirh authored
      Move the notch computation from the FAB to the BAB.
      
      The notch in the BAB (bottom action bar) for the FAB (floating action button) was previously kept as part of the FAB's implementation. This was done to keep the shape of the FAB and the shape of the notch coupled.
      That approach resulted in a somewhat complex and 'non Fluttery' mechanism for propagating the notch computation from the FAB to the BAB.
      
      This CL uncouples the FAB and the notch computation.
      With the new API the BAB computes its overall shape including the notch using a NotchedShape delegate.
      
      This includes multiple breaking changes:
        * Scaffold.setFloatingActionButtonNotchFor is deleted.
        * The ComputeNotch type is deleted.
        * The hasNotch property of BottomAppBar is deleted.
        * The notchMargin property of FloatingActionButton is deleted.
      
      Quick migration guide from the previous API:
      
      | Previous API | New API |
      | ------------------|-------------|
      | BottomAppBar(hasNotch: false) | BottomAppBar() |
      | Using a FloatingActionButton with: BottomAppBar() / BottomAppBar(hasNotch: true) | BottomAppBar(shape: CircularNotchedRectangle()) |
      | Scaffold.setFloatingActionButtonNotchFor(..) | No longer supported |
      c39f2f26
  17. 20 Jun, 2018 1 commit
  18. 19 Jun, 2018 2 commits
  19. 15 Jun, 2018 5 commits
  20. 14 Jun, 2018 2 commits
  21. 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