1. 23 Apr, 2018 1 commit
    • Yegor's avatar
      a11y traversal: sort locally; use new sorting algorithm (#16253) · d3540962
      Yegor authored
      New a11y traversal:
      
      - sort direct sibling SemanticsNodes only
      - use new sorting algorithm
      - implement RTL
      - test semantics in traversal order by default
      - add AppBar traversal test
      - breaking: remove nextNodeId/previousNodeId from the framework
      - breaking: remove DebugSemanticsDumpOrder.geometricOrder
      d3540962
  2. 18 Apr, 2018 1 commit
  3. 16 Apr, 2018 1 commit
    • Jacob Richman's avatar
      Support exposing the InspectorService over the Flutterservice extension... · ab9ba3f9
      Jacob Richman authored
      Support exposing the InspectorService over the Flutterservice extension protocol as well as the observatory protocol. (#15876)
      
      * Support exposing the InspectorService over the Flutter
      service extension protocol as well as the observatory protocol.
      
      We will probably remove most of the observatory protocol support once a
      couple versions of the Flutter IntelliJ plugin have shipped that use the
      Flutter service extension protocol. The only reason to continue supporting
      the observatory protocol is it will allow using the inspector when paused
      at a breakpoint.
      ab9ba3f9
  4. 22 Mar, 2018 1 commit
    • Jonah Williams's avatar
      Remove package:http from Flutter (#15416) · 88cc9773
      Jonah Williams authored
      * use HttpOverrides and dart:io HttpClient in flutter
      
      * add missing package:http dependency
      
      * update flutter packages and remove comment about createHttpClient from flutter_test
      
      * move byte loading logic to common class, move string parsing logic to base class
      
      * addAll doesn't work for a Uint8List
      
      * use bytes.setRange
      
      * undo addition to hello_world
      
      * add newline to end of binding.dart
      
      * and a newline for hello world
      
      * refactor to function and add tests
      
      * address comments on unknown length case
      
      * alignment
      
      * sort alaphabetically
      
      * rename convertResponse to consolidateClientHttpClientResponseBytes.  Add header
      
      * fix alignment in test
      88cc9773
  5. 16 Mar, 2018 1 commit
  6. 12 Mar, 2018 1 commit
  7. 09 Mar, 2018 1 commit
  8. 05 Mar, 2018 1 commit
  9. 01 Mar, 2018 1 commit
  10. 12 Feb, 2018 1 commit
  11. 08 Feb, 2018 1 commit
    • Vyacheslav Egorov's avatar
      Strong mode fixes in tests (#14520) · 0556e14f
      Vyacheslav Egorov authored
      * Use explicit types for onClick handler in diagnostics_test.
      
      This test formats it to string and expects exact match.
      
      Before this change onClick had type () => dynamic in Dart 1 and () => Null in
      Dart 2.
      
      * Fix strong mode issues in packages/flutter/test/material/dropdown_test.dart
      
      Pass explicit type argument to renderObjectList(...) in expressions like
      
           List<RenderBox> l = tester.renderObjectList(...).toList();
      
      Dart 2 mode inference is not strong enough to infer RenderBox as a type argument
      fto renderObjectList and passes RenderObject instead, which later leads to
      runtime check failures (because List<RenderObject> is not List<RenderBox>).
      
      * Fix strong mode issues in packages/flutter/test/material/theme_test.dart.
      
      Pass type argument explicity to widgetList. Dart 2 type inference can't infer
      it by itself.
      
      * Fix strong mode issue packages/flutter/test/widgets/unique_widget_test.dart
      
      Pass correct type argument to GlobalKey.
      
      * Fix type annotation in packages/flutter/test/material/app_test.dart.
      
      pushNamed returns Future<Object> not Future<String>.
      0556e14f
  12. 06 Feb, 2018 1 commit
    • Greg Spencer's avatar
      Adds the semantic node traversal API. (#14060) · 14309b93
      Greg Spencer authored
      This adds an API for defining the semantic node traversal order.
      
      It adds a sortOrder argument to the Semantics widget, which is a class that can define a list of sort keys to sort on. The keys are sorted globally so that an order that doesn't have to do with the current widget hierarchy may be defined.
      
      It also adds a shortcut sortKey argument to the Semantics widget that simply sets the sortOrder to just contain that key.
      
      The platform side (flutter/engine#4540) gets an additional member in the SemanticsData object that is an integer describing where in the overall order each semantics node belongs. There is an associated engine-side change that takes this integer and uses it to order widgets for the platform's accessibility services.
      14309b93
  13. 02 Feb, 2018 1 commit
  14. 01 Feb, 2018 1 commit
  15. 26 Jan, 2018 1 commit
    • Vyacheslav Egorov's avatar
      Unpin test and upgrade packages (#14282) · c23509e9
      Vyacheslav Egorov authored
      * Unpin package:test and upgrade packages
      
      * Update packages/flutter/test/foundation/stack_trace_test.dart
      
      * Also add packages/flutter_tools/test/data/asset_test/font/.dartignore to ensure that update-packages --force-upgrade does not crash.
      c23509e9
  16. 24 Jan, 2018 1 commit
  17. 17 Jan, 2018 1 commit
  18. 16 Jan, 2018 1 commit
    • Ian Hickson's avatar
      Prepare for running tests on Windows (#14112) · c5050bc8
      Ian Hickson authored
      Seems like we don't yet run the flutter tests on Windows, but we're
      close to being able to. This makes some minor changes to make that
      more possible:
      
       - fix the stack parsing code to support Windows paths
       - fix the tests for the stack error handling code to handle Windows paths
       - skip some tests that rely on Ahem font metrics
      c5050bc8
  19. 14 Dec, 2017 1 commit
  20. 09 Dec, 2017 1 commit
  21. 07 Dec, 2017 2 commits
    • Ian Hickson's avatar
      Move image logic from services/ to painting/. (#13409) · 44e228eb
      Ian Hickson authored
      This allows the scheduler library to depend on the services library
      and the painting library to depend on the scheduler library without
      the services library having to depend on the scheduler library.
      
      While I was at it I also cleaned up some of the binding logic: the
      licenses logic can now be overridden (and the test library does so),
      and the image cache can now be overridden as well.
      44e228eb
    • Jacob Richman's avatar
      Change enum properties to use camel case instead of dash separated names · ed54868c
      Jacob Richman authored
      Make regular Alignment values look more like enumProperties while
      leaving more complex AlignmentDirectional values unchanged.
      ed54868c
  22. 28 Nov, 2017 1 commit
  23. 07 Nov, 2017 1 commit
  24. 25 Oct, 2017 1 commit
  25. 24 Sep, 2017 1 commit
  26. 12 Sep, 2017 1 commit
  27. 28 Aug, 2017 1 commit
  28. 21 Aug, 2017 1 commit
    • Jacob Richman's avatar
      Bare bones widget inspector support. (#10332) · 5462ddb9
      Jacob Richman authored
      Bare bones widget inspector support.
      
      Toggle the widget inspector from the flutter tool by pressing 'i'.
      When the widget inspector is select mode:
      Pointer down to to inspect a widget.
      Pointer click to finalize selection of a widget. You can now interact
      with the application as you normally would but with the inspected widget
      highlighted.
      Click the inspect icon in bottom left corner of screen to reactivate
      select mode.
      5462ddb9
  29. 04 Aug, 2017 1 commit
  30. 03 Aug, 2017 1 commit
  31. 30 Jul, 2017 1 commit
  32. 27 Jul, 2017 3 commits
    • Devon Carew's avatar
      ba5bb57a
    • Devon Carew's avatar
      fire service protocol extension events for frames (#10966) · 4b4cabb7
      Devon Carew authored
      * fire service protocol extension events for frames
      
      * start time in micros
      
      * introduce a profile() function; only send frame events when in profile (or debug) modes
      
      * moved the profile() function to foundation/profile.dart
      
      * refactor to make the change more testable; test the change
      
      * fire service protocol events by listening to onFrameInfo
      
      * remove the frame event stream; add a devicelab test
      
      * remove a todo
      
      * final
      4b4cabb7
    • Ian Hickson's avatar
      Increase the touch slop. (#11419) · 87445e59
      Ian Hickson authored
      It was 8.0. It's now arbitrarily 18.0.
      
      Changing this required adjusting some tests. Adjusting the tests
      required debugging the tests. Debugging the tests required some tools
      to help debugging gesture recognizers and gesture arenas, so I added
      some. It also required updating some toString() methods which resulted
      in some changes to the tree diagnostics logic.
      
      Also I cleaned up some docs while I was at it.
      87445e59
  33. 25 Jul, 2017 1 commit
  34. 27 Jun, 2017 1 commit
  35. 21 Jun, 2017 3 commits