1. 21 Dec, 2019 1 commit
  2. 19 Dec, 2019 3 commits
  3. 05 Dec, 2019 1 commit
    • Chris Bracken's avatar
      Dispatch hover events to PlatformViewController (#46124) · fa0c49d7
      Chris Bracken authored
      This adds support to PlatformViewLayer for handling hover events. Prior
      to this, PlatformViewLayers only supported events forwarded by the
      gesture recognizers associated with the PlatformViewRenderBox. Hover
      events don't participate in gesture recognition and as such are dropped
      in GestureBinding. That said, hover event processing in platform views
      is expected for desktop and other platforms with hover event support.
      
      This adds support for passing an optional MouseTrackerAnnotation to
      PlatformViewLayer. PlatformViewRenderBox populates this with a mouse
      tracker annotation that forwards hover events to
      PlatformViewController.dispatchPointerEvent() for handling by users.
      fa0c49d7
  4. 04 Dec, 2019 1 commit
  5. 27 Nov, 2019 3 commits
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
    • Ian Hickson's avatar
      f87c5102
    • liyuqian's avatar
  6. 22 Nov, 2019 1 commit
  7. 16 Nov, 2019 1 commit
  8. 18 Oct, 2019 1 commit
  9. 15 Oct, 2019 1 commit
  10. 10 Oct, 2019 1 commit
  11. 24 Sep, 2019 1 commit
  12. 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
  13. 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
  14. 11 Jul, 2019 1 commit
  15. 08 Jul, 2019 1 commit
  16. 19 Jun, 2019 2 commits
  17. 13 Jun, 2019 1 commit
  18. 31 May, 2019 1 commit
  19. 30 May, 2019 1 commit
  20. 28 May, 2019 1 commit
  21. 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
  22. 21 May, 2019 1 commit
  23. 13 May, 2019 1 commit
  24. 10 May, 2019 2 commits
  25. 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
  26. 01 May, 2019 1 commit
  27. 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
  28. 29 Apr, 2019 2 commits
  29. 24 Apr, 2019 1 commit
  30. 10 Apr, 2019 1 commit