- 19 May, 2021 1 commit
-
-
Tong Mu authored
-
- 12 May, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 03 May, 2021 1 commit
-
-
Jonah Williams authored
-
- 02 May, 2021 1 commit
-
-
Ian Hickson authored
-
- 15 Apr, 2021 1 commit
-
-
Tong Mu authored
This PR introduced a new class, ShortcutActivator, and refactored the the definition and lookup system of shortcuts, in order to solve a few issues of the previous algorithm.
-
- 01 Apr, 2021 1 commit
-
-
Chris Bracken authored
-
- 04 Mar, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 04 Feb, 2021 1 commit
-
-
Ian Hickson authored
-
- 02 Nov, 2020 1 commit
-
-
Greg Spencer authored
-
- 19 Oct, 2020 1 commit
-
-
Greg Spencer authored
- - When I added notification of key events before processing them as text, it made it so that shortcut key bindings like the spacebar would prevent spaces from being inserted into text fields, which is obviously not desirable (and so that change was reverted). At the same time, we do want to make it possible to override key events so that they can do things like intercept a tab key or arrow keys that change the focus. This PR changes the behavior of the Shortcuts widget so that if it has a shortcut defined, but no action is bound to the intent, then instead of responding that the key is "handled", it responds as if nothing handled it. This allows the engine to continue to process the key as text entry. This PR includes: - Modification of the callback type for key handlers to return a KeyEventResult instead of a bool, so that we can return more information (i.e. the extra state of "stop propagation"). - Modification of the ActionDispatcher.invokeAction contract to require that Action.isEnabled return true before calling it. It will now assert if the action isn't enabled when invokeAction is called. This is to allow optimization of the number of calls to isEnabled, since the shortcuts widget now wants to know if the action was enabled before deciding to either handle the key or to return ignored. - Modification to ShortcutManager.handleKeypress to return KeyEventResult.ignored for keys which don't have an enabled action associated with them. - Adds an attribute to DoNothingAction that allows it to mark a key as not handled, even though it does have an action associated with it. This will allow disabling of a shortcut for a subtree.
-
- 08 Oct, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 01 Oct, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 30 Sep, 2020 1 commit
-
-
Mehmet Fidanboylu authored
-
- 16 Sep, 2020 2 commits
-
-
Michael R Fairhurst authored
-
Tong Mu authored
Expose GestureBinding.handlePointerEvent, replacing dispatchEvent as the preferred way to dispatch events (#64846)
-
- 27 Aug, 2020 1 commit
-
-
Ian Hickson authored
-
- 17 Aug, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 15 Aug, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 13 Aug, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 12 Aug, 2020 1 commit
-
-
LongCatIsLooong authored
-
- 11 Aug, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 04 Aug, 2020 2 commits
-
-
Ming Lyu (CareF) authored
-
Ming Lyu (CareF) authored
-
- 30 Jul, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 29 Jul, 2020 2 commits
-
-
Ming Lyu (CareF) authored
-
Ming Lyu (CareF) authored
-
- 28 Jul, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 23 Jul, 2020 1 commit
-
-
Ming Lyu (CareF) authored
-
- 17 Jul, 2020 1 commit
-
-
Ming Lyu (CareF) authored
* add benchmarkLive flag and tests * update handlePointerEventRecord doc * using e2e 0.6.1
-
- 15 Jul, 2020 1 commit
-
-
Ming Lyu (CareF) authored
* Promtoe WidgetTester.ensureVisible * modify according to tvolkert@
-
- 10 Jul, 2020 1 commit
-
-
Ming Lyu (CareF) authored
* Add input event array support * Add a tap test * remove unused import * remove extra assert
-
- 22 Jan, 2020 1 commit
-
-
Tong Mu authored
-
- 27 Nov, 2019 1 commit
-
-
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
-
- 19 Nov, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Aug, 2019 1 commit
-
-
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.
-
- 15 May, 2019 1 commit
-
-
Tong Mu authored
* Add buttons to WidgetController and TestPointer * Add more buttons * Let TestPointer handle default device * Use getter only buttons
-
- 03 May, 2019 1 commit
-
-
Greg Spencer authored
This is a re-land of #31561, after fixing performance regressions. Added change listening to the MouseTracker so that the Listener and tooltip can react to whether or not a mouse is connected at all. Added a change check to make sure Listener only repaints when something changed. Fixes #22817
-
- 01 Mar, 2019 1 commit
-
-
Mouad Debbar authored
-
- 25 Feb, 2019 1 commit
-
-
jslavitz authored
Breaks the moveBy call from drag and dragFrom into two separate calls and changes the default behavior of DragStartBehavior to DragStartBehavior.start (#26438) * Breaking change which sets the default DragStartBehavior to DragStartBehavior.start and changes WidgetTester.drag and WidgetTester.dragFrom by breaking the moveBy function call into multiple pieces.
-
- 29 Jan, 2019 1 commit
-
-
Greg Spencer authored
This implements support for hovering mouse pointers, so that mice connected to Android devices, and ChromeOS devices running Android apps will work properly. It teaches flutter_test about hover events, which required changing how they are created and used. Also modifies AnnotatedRegion to allow a region that can be located someplace other than just the origin. Along with tests for all of the above. Fixes #5504
-