1. 12 Mar, 2016 6 commits
  2. 11 Mar, 2016 4 commits
    • Adam Barth's avatar
      Provide the BuildContext to createRenderObject and updateRenderObject · 0277b075
      Adam Barth authored
      We'll need this for RTL support because the RTL state will live in the widget
      tree. Also, remove the `oldWidget` argument to updateRenderObject because there
      aren't any clients for it.
      0277b075
    • Ian Hickson's avatar
      Enable ALL THE LINTS · 1b9cd520
      Ian Hickson authored
      Well, all the easy ones, anyway.
      
      For some reason `// ignore:` isn't working for me so I've disabled
      lints that need that. Also disabled those that require a ton of work
      (which I'm doing, but not in this PR, to keep it reviewable).
      
      This adds:
      - avoid_init_to_null
      - library_names
      - package_api_docs
      - package_names
      - package_prefixed_library_names
      - prefer_is_not_empty
      - sort_constructors_first
      - sort_unnamed_constructors_first
      - unnecessary_getters_setters
      1b9cd520
    • Adam Barth's avatar
      Prepare to make RenderObjectElement buildable · 0327141c
      Adam Barth authored
      This patch prepares us to pass a BuildContext to RenderObjectWidgets, which
      will make it possible to rebuild RenderObjectElements:
      
       * Delay creation of the render object until mount(). That will let us pass
         `this` to createRenderObject and have the inherited elements be initialized.
      
       * Cleanup widgets that take builder closures to prepare for their
         RenderObjectElement to be rebuilt more often.
      
       * Add a test for the interaction between inherited widgets and
         MixedViewport.
      
      Related to #2598
      0327141c
    • Adam Barth's avatar
      Use a member function instead of an anonymous closure · 7f5d6a99
      Adam Barth authored
      It's slightly more efficient.
      7f5d6a99
  3. 08 Mar, 2016 1 commit
  4. 07 Mar, 2016 1 commit
  5. 06 Mar, 2016 1 commit
  6. 01 Mar, 2016 1 commit
  7. 16 Feb, 2016 1 commit
  8. 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
  9. 09 Feb, 2016 1 commit
  10. 06 Feb, 2016 1 commit
  11. 27 Jan, 2016 2 commits
    • Hixie's avatar
      Semantics · 28a17883
      Hixie authored
      28a17883
    • Adam Barth's avatar
      updateChildren() needs to walk the list forward · 05839e51
      Adam Barth authored
      This patch changes the framework to walk the child list forwards so that build
      functions with global side effects do sensible things. Specifically, if you
      have a number of autofocusable children, the first one the list will acquire
      the focus because it gets built first now.
      
      Fixes #182
      05839e51
  12. 24 Jan, 2016 3 commits
  13. 19 Jan, 2016 1 commit
  14. 12 Jan, 2016 1 commit
  15. 11 Jan, 2016 1 commit
  16. 07 Jan, 2016 2 commits
  17. 04 Jan, 2016 1 commit
  18. 31 Dec, 2015 1 commit
  19. 11 Dec, 2015 1 commit
  20. 10 Dec, 2015 1 commit
  21. 09 Dec, 2015 1 commit
    • Adam Barth's avatar
      Cleanup the global scope a bit: · 13f9e91f
      Adam Barth authored
      - Remove unused FocusChanged typedef.
      - Remove unused centerOfAttentionHeroTag.
      - Modernize static functions for interacting with Scrollable by moving them
        into the Scrollable class.
      13f9e91f
  22. 08 Dec, 2015 1 commit
  23. 04 Dec, 2015 1 commit
  24. 01 Dec, 2015 1 commit
  25. 20 Nov, 2015 2 commits
  26. 18 Nov, 2015 1 commit
    • Hixie's avatar
      Pave the Foo.of() cowpath. · 65d81451
      Hixie authored
      I'm planning on adding more .of() functions and so to avoid further
      copypasta I'm providing some general utility functions here.
      65d81451
  27. 13 Nov, 2015 1 commit
    • Adam Barth's avatar
      Parent data not updated when reparenting using global keys · 35464f44
      Adam Barth authored
      When we reactivate a subtree that had a global key, we weren't updating the
      parent data because:
      
      1) The child wasn't in the tree when we updated the parent data element.
      2) The activated child didn't go through mount (just through update).
      
      This patch moves the parent data update work to when we attach the render
      object, which we do both during mount and when reactivating a child.
      
      Fixes #345
      35464f44