1. 11 Feb, 2020 1 commit
  2. 07 Feb, 2020 1 commit
  3. 30 Jan, 2020 1 commit
  4. 25 Jan, 2020 1 commit
  5. 15 Jan, 2020 1 commit
  6. 07 Jan, 2020 1 commit
  7. 21 Dec, 2019 1 commit
  8. 19 Dec, 2019 3 commits
  9. 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
  10. 04 Dec, 2019 1 commit
  11. 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
  12. 22 Nov, 2019 1 commit
  13. 16 Nov, 2019 1 commit
  14. 18 Oct, 2019 1 commit
  15. 15 Oct, 2019 1 commit
  16. 10 Oct, 2019 1 commit
  17. 24 Sep, 2019 1 commit
  18. 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
  19. 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
  20. 11 Jul, 2019 1 commit
  21. 08 Jul, 2019 1 commit
  22. 19 Jun, 2019 2 commits
  23. 13 Jun, 2019 1 commit
  24. 31 May, 2019 1 commit
  25. 30 May, 2019 1 commit
  26. 28 May, 2019 1 commit
  27. 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
  28. 21 May, 2019 1 commit
  29. 13 May, 2019 1 commit
  30. 10 May, 2019 2 commits
  31. 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
  32. 01 May, 2019 1 commit