1. 22 Nov, 2019 1 commit
  2. 16 Nov, 2019 1 commit
  3. 18 Oct, 2019 1 commit
  4. 15 Oct, 2019 1 commit
  5. 10 Oct, 2019 1 commit
  6. 24 Sep, 2019 1 commit
  7. 23 Aug, 2019 1 commit
    • Greg Spencer's avatar
      Normalize assert checking of clipBehavior (#38568) · 365f577c
      Greg Spencer authored
      I noticed that we were pretty inconsistent with the way that we checked the value of clipBehavior in the framework, so I normalized the usages and updated docs where necessary.
      
      This is a breaking change if you used to pass null explicitly to FlatButton, OutlineButton or RaisedButton constructors, expecting to get Clip.none. It will now assert if you do that. Existing implementations that pass null implicitly by not specifying clipBehavior won't need to change their call sites. It always implicitly defaulted to Clip.none before, and it will continue to do that, it's only places where it was explicitly set to null in order to get the implicit default that it will fail.
      365f577c
  8. 16 Aug, 2019 2 commits
    • Yegor's avatar
      Teach render objects to reuse engine layers (#36402) · 34c69265
      Yegor authored
      Teach Layer and its implementations, RenderObject and its implementations, and PaintingContext to reuse engine layers. The idea is that a concrete RenderObject creates a Layer and holds on to it as long as it needs it (i.e. when it is composited, and the layer type does not change). In return, each Layer object holds on to an EngineLayer and reports it to the engine via addRetained and oldLayer. This allows the Web engine to reuse DOM elements across frames. Without it, each frame drops all previously rendered HTML and regenerates it from scratch.
      34c69265
    • brandondiamond's avatar
      c161ac89
  9. 11 Jul, 2019 1 commit
  10. 08 Jul, 2019 1 commit
  11. 19 Jun, 2019 2 commits
  12. 13 Jun, 2019 1 commit
  13. 31 May, 2019 1 commit
  14. 30 May, 2019 1 commit
  15. 28 May, 2019 1 commit
  16. 25 May, 2019 1 commit
    • Chris Bracken's avatar
      Americanise spellings (#33323) · 156b4220
      Chris Bracken authored
      Updates documentation and non-public API to use American spellings for
      consistency with the rest of the codebase.
      
      No changes to behaviour... other than how it's spelt.
      156b4220
  17. 21 May, 2019 1 commit
  18. 13 May, 2019 1 commit
  19. 10 May, 2019 2 commits
  20. 09 May, 2019 2 commits
    • Greg Spencer's avatar
      Fix benchmark regression in layer.find<S>(Offset) (#32425) · 66a67263
      Greg Spencer authored
      This fixes a benchmark regression introduced in #32350. The performance is improved by just reverting the Layer.find<S> routines to use their old definitions, instead of defining them in terms of the findAll<S> lazy iterators.
      
      Fixes #32387
      66a67263
    • Greg Spencer's avatar
      Fix nested listeners so that ancestor listeners can also receive enter/exit/move events. (#32350) · aeccd6a8
      Greg Spencer authored
      This changes Listener to trigger enter/move/exit in all Listeners below the pointer, not just the leaf region (the first region hit). This is because we need to allow listeners to be nested so that, say, a widget that handles changing color on hover, but also is wrapped in a Tooltip (that handles hover) can trigger both actions, not just one.
      
      To that end, I added a findAll to Layer, similar to the existing find method that was previously used. It returns an iterator over annotated layers which match the given data type.
      
      Since the findAll is implemented as returning an Iterable (and is sync*), I re-implemented the find routines as just returning the first result from findAll, since that should be just as efficient, and would then prevent duplication in the implementation.
      aeccd6a8
  21. 01 May, 2019 1 commit
  22. 30 Apr, 2019 2 commits
    • liyuqian's avatar
      Reland "Fix text field selection toolbar under Opacity (#31097)" (#31802) · 71a89a46
      liyuqian authored
      This reverts commit 120a1fc4.
      
      Updated the golden file
      71a89a46
    • liyuqian's avatar
      Support clipBehavior changes in hot reload (#31761) · 7cab6d5e
      liyuqian authored
      ## Description
      
      Make `_RenderCustomClip`'s `clipBehavior` non-final so we can update it during `updateRenderObject`. This will support `clipBehavior` changes in hot reload.
      
      ## Related Issues
      
      Fixes #30863
      
      ## Tests
      
      I added the following tests:
      
      * ClipRect updates clipBehavior in updateRenderObject
      * ClipRRect updates clipBehavior in updateRenderObject
      * ClipOval updates clipBehavior in updateRenderObject
      * ClipPath updates clipBehavior in updateRenderObject
      * PhysicalModel updates clipBehavior in updateRenderObject
      * PhysicalShape updates clipBehavior in updateRenderObject
      7cab6d5e
  23. 29 Apr, 2019 2 commits
  24. 24 Apr, 2019 1 commit
  25. 10 Apr, 2019 1 commit
  26. 09 Mar, 2019 1 commit
  27. 21 Feb, 2019 1 commit
  28. 30 Jan, 2019 1 commit
  29. 29 Jan, 2019 2 commits
  30. 19 Dec, 2018 1 commit
  31. 18 Dec, 2018 1 commit
  32. 14 Nov, 2018 1 commit
  33. 31 Oct, 2018 1 commit