1. 19 Nov, 2016 1 commit
  2. 10 Nov, 2016 1 commit
  3. 11 Oct, 2016 1 commit
  4. 07 Oct, 2016 1 commit
    • Adam Barth's avatar
      Deploy `@checked` (#6244) · 2c21d795
      Adam Barth authored
      This patch adds `@checked` everywhere is needed to remove the
      `strong_mode_invalid_method_override` strong mode error.
      2c21d795
  5. 06 Oct, 2016 1 commit
  6. 05 Oct, 2016 1 commit
  7. 26 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Turn off AnimationControllers when not in use (#5902) · 9e673853
      Ian Hickson authored
      This requires all AnimationController objects to be given a
      TickerProvider, a class that can create the Ticker.
      
      It also provides some nice mixins for people who want to have their
      State provide a TickerProvider. And a schedulerTickerProvider for those
      cases where you just want to see your battery burn.
      
      Also, we now enforce destruction order for elements.
      9e673853
  8. 21 Sep, 2016 1 commit
    • James Robinson's avatar
      Isolate imports of generated Dart code from generated path (#5960) · a95c9fdb
      James Robinson authored
      This rewrites imports of various mojom.dart files from the Flutter
      engine repo to instead import normal-looking dart files from the
      (new) flutter_services package. This package handles exporting the
      correct symbols from generated code wherever that may live.
      
      Includes an engine roll to 3551e7a48e2e336777b15c7637af92fd7605b6c5
      which contains the new flutter_services package.
      a95c9fdb
  9. 20 Sep, 2016 1 commit
  10. 15 Sep, 2016 1 commit
  11. 09 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Fix hot reload (#5799) · 03eaf1d1
      Ian Hickson authored
      I forgot that it was possible for the root view to get marked dirty
      without getting a new widget. This fixes that case to work.
      03eaf1d1
  12. 29 Aug, 2016 1 commit
  13. 02 Aug, 2016 1 commit
    • Ian Hickson's avatar
      Hot reload UI polish (#5193) · d7fb51a5
      Ian Hickson authored
      * General improvoments to the loader app:
         * Show a message after 8 seconds if no connection comes in.
         * Show a progress bar as files are being uploaded.
         * Hide the spinner just before launching the application.
      
      * General improvements to the "flutter run" UI:
         * Add "?" key as a silent alias for "h".
         * Make the help text bold so it doesn't get mixed with the logs.
         * Make "R" do a cold restart when hot reload is enabled.
      
      * Supporting features and bug fixes:
         * Add support for string service extensions.
      
      * Other bug fixes:
         * Expose debugDumpRenderTree() outside debug mode.
         * Logger.supportsColor was missing a getter.
         * Mention in the usage docs that --hot requires --resident.
         * Trivial style fixes.
      d7fb51a5
  14. 28 Jul, 2016 1 commit
    • Ian Hickson's avatar
      Some cleanup for hot reload (#5108) · 2b343a93
      Ian Hickson authored
      - show the next error fully after a hot reload
      - hide _AssertionError in stacks
      - immediately rebuild after a reassemble, so that hit tests work
      - catch errors when notifying global key listeners
      2b343a93
  15. 04 Jul, 2016 1 commit
  16. 02 Jul, 2016 1 commit
  17. 01 Jul, 2016 1 commit
  18. 27 May, 2016 1 commit
  19. 25 May, 2016 1 commit
  20. 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
  21. 12 May, 2016 1 commit
  22. 22 Apr, 2016 1 commit
  23. 21 Apr, 2016 1 commit
    • Ian Hickson's avatar
      Make the widgets binding reusable. (#3479) · 0e11b0e6
      Ian Hickson authored
      Previously the widgets layer only provided a concrete binding, which
      makes it awkward to extend it compared to other bindings. This moves
      widgets to the same style as the other layers.
      
      In a subsequent patch I'll use this to make the tests layer saner.
      0e11b0e6
  24. 20 Apr, 2016 1 commit
  25. 19 Apr, 2016 2 commits
    • Devon Carew's avatar
      add a service extension for repaint rainbow (#3409) · dd2bde19
      Devon Carew authored
      * add a service extension for repaint rainbow
      
      * review comments
      dd2bde19
    • Ian Hickson's avatar
      Refactor service extensions (#3397) · 261923e5
      Ian Hickson authored
      Bindings now have a debugRegisterServiceExtensions() method that is
      invoked in debug mode (only). (Once we have a profile mode, there'll be
      a registerProfileServiceExtensions() method that gets called in that
      mode only to register extensions that apply then.)
      
      The BindingBase class provides convenience methods for registering
      service extensions that do the equivalent of:
      
      ```dart
      void extension() { ... }
      bool extension([bool enabled]) { ... }
      double extension([double extension])  { ... }
      Map<String, String> extension([Map<String, String> parameters]) { ... }
      ```
      
      The BindingBase class also itself registers ext.flutter.reassemble,
      which it has call a function on the binding called
      reassembleApplication().
      
      The Scheduler binding now exposes the preexisting
      ext.flutter.timeDilation.
      
      The Renderer binding now exposes the preexisting ext.flutter.debugPaint.
      
      The Renderer binding hooks reassembleApplication to trigger the
      rendering tree to be reprocessed (in particular, to fix up the
      optimisation closures).
      
      All the logic from rendering/debug.dart about service extensions is
      replaced by the above.
      
      I moved basic_types to foundation.
      
      The FlutterWidgets binding hooks reassembleApplication to trigger the
      widget tree to be entirely rebuilt.
      
      Flutter Driver now uses ext.flutter.driver instead of
      ext.flutter_driver, and is hooked using the same binding mechanism.
      Eventually we'll probably move the logic into the Flutter library so
      that you just get it without having to invoke a special method first.
      261923e5
  26. 15 Apr, 2016 1 commit
  27. 24 Mar, 2016 1 commit
  28. 17 Mar, 2016 1 commit
  29. 14 Mar, 2016 1 commit
  30. 04 Mar, 2016 1 commit
  31. 14 Feb, 2016 1 commit
  32. 11 Feb, 2016 1 commit
    • Ian Hickson's avatar
      Clean up imports and exports. · a94999ba
      Ian Hickson authored
      Each layer is supposed to reexport the parts of the previous layer
      that are part of its API.
      
      - In painting.dart, export from dart:ui all the Canvas-related APIs
        that make sense to be used at higher levels, e.g. PaintingStyle.
      
      - Delete painting/shadows.dart. It was dead code.
      
      - In rendering/object.dart, export all of painting.dart.
      
      - In widgets/basic.dart, export all of painting.dart and
        animation.dart. Some classes in animation/ are renamed to make this
        less disruptive and confusing to the namespace.
      
      - Split out Stocks back into an import model rather than a part model,
        so that it's easier to manage its dependencies on a per-file basis.
      
      - Move Ticker to scheduler library.
      
      - Remove as many redundant imports as possible now.
      
      - Some minor nit picking cleanup in various files.
      a94999ba
  33. 02 Feb, 2016 1 commit
  34. 01 Feb, 2016 2 commits
  35. 31 Jan, 2016 1 commit
  36. 27 Jan, 2016 1 commit
  37. 18 Jan, 2016 1 commit
  38. 16 Jan, 2016 1 commit