Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be244244e14ff87fee9b6a721625f952cd.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Justin McCandless
91ef92d2b2
hasStrings support for eliminating clipboard notifications ( #87678 )
...
Use the hasStrings clipboard method when possible instead of reading the contents of the clipboard.
2021-08-26 17:10:18 -07:00
Angjie Li
22436cca0e
Revert "Avoid passive clipboard read on Android ( #86791 )" ( #87375 )
2021-08-02 14:40:04 -07:00
Wyte Krongapiradee
221705b6e6
Avoid passive clipboard read on Android ( #86791 )
2021-07-28 20:44:02 -07:00
Ian Hickson
5e0cc4cba4
Migrate to ChannelBuffers.push ( #82564 )
2021-05-21 15:09:03 -07:00
Ian Hickson
2ae1e39810
Revert "Migrate to ChannelBuffers.push ( #82057 )" ( #82525 )
2021-05-14 12:09:03 -07:00
Ian Hickson
b86d5c0094
Migrate to ChannelBuffers.push ( #82057 )
2021-05-13 14:34:04 -07:00
Ren You
7f1d1414cc
Revert "Migrate to ChannelBuffers.push ( #81235 )" ( #81829 )
...
This reverts commit 35ad43f20caa71ec051a97bc8bc8fec552fb4452.
2021-05-04 06:17:19 -07:00
Ian Hickson
35ad43f20c
Migrate to ChannelBuffers.push ( #81235 )
2021-05-03 17:14:03 -07:00
Angjie Li
b74df388e1
Revert "Migrate to ChannelBuffers.push ( #76288 )" ( #81226 )
...
This reverts commit c26ed03c8a77810136cc087ae60048ace062842d.
2021-04-26 12:57:17 -07:00
Ian Hickson
c26ed03c8a
Migrate to ChannelBuffers.push ( #76288 )
...
* Migrate to ChannelBuffers.push
* Move TestDefaultBinaryMessenger to its own file
* Apply deprecations and fix usages
2021-04-23 15:39:34 -07:00
Tomasz Gucio
24f0d28562
Adjust selection drag start position for viewport offset changes ( #80047 )
2021-04-21 18:34:03 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Ludwik Trammer
bccacfed36
Fix problem with right-clicking on a right-to-left selection ( #80186 )
2021-04-18 09:19:04 -07:00
Sam Rawlins
a6153c528a
Remove "unnecessary" imports in test/widgets ( #79608 )
2021-04-07 14:49:05 -07:00
chunhtai
b0d4d44853
Reland "fixes TextInputFormatter gets wrong old value of a selection" ( #76653 )
2021-03-02 11:54:02 -08:00
chunhtai
b5139515c1
Revert "fixes TextInputFormatter gets wrong old value of a selection ( #75541 )" ( #76627 )
...
This reverts commit a46139a2cef8144444a3e13a3970e9a267304b91.
2021-02-23 11:25:01 -08:00
chunhtai
a46139a2ce
fixes TextInputFormatter gets wrong old value of a selection ( #75541 )
2021-02-19 11:16:02 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
Justin McCandless
24e195d918
Mac context menu ( #73882 )
...
A very minimal right-click menu for Mac desktop.
2021-01-20 13:18:25 -08:00
J-P Nurmi
803c07fe3b
Fix EditableText.enableInteractiveSelection on desktop & web ( #70972 )
...
selectionEnabled was not taken into account in:
key movement handling in RenderEditable
mouse drag handling in TextSelectionGestureDetectorBuilder
2020-12-17 16:56:47 -08:00
xubaolin
91ab73ab23
Mouse drag should not show selection handles ( #69101 )
...
Fixes a bug where selection handles sometimes showed on web.
2020-10-28 11:24:46 -07:00
Greg Spencer
7181c7a86a
Convert some more widget tests to NNBD ( #68160 )
2020-10-15 14:27:04 -07:00
Justin McCandless
ec24a819ea
ClipboardStatusNotifier should handle errors in Clipboard.getData ( #64012 )
2020-08-19 14:36:08 -07:00
Ming Lyu (CareF)
c2368bdd6f
bug fix for pointer id in test gestures ( #63816 )
2020-08-15 10:41:02 -07:00
Alexandre Ardhuin
4d7525f05c
Opt out nnbd in packages/flutter ( #59186 )
...
* add language version 2.8 in packages/flutter
* enable non-nullable analyzer flag
2020-06-11 14:11:30 +02:00
Darren Austin
012cee2731
Typo fixing sweep through packages/flutter. ( #59219 )
2020-06-11 05:10:01 -07:00
Dan Field
8b2993337a
revert #48985 ( #49572 )
2020-01-27 14:36:02 -08:00
Anthony
b67d5ec6e9
[a11y] Make sure RenderFractionalTranslation updates its semantics after the translation field is set ( #48985 )
2020-01-17 15:13:01 -08:00
Greg Spencer
f013b25b9c
Add TargetPlatform.macOS tests to the widgets library. ( #48997 )
2020-01-17 10:51:38 -08:00
Alexandre Ardhuin
dfbd585668
implicit-casts:false in flutter/test ( #46245 )
2019-12-16 15:03:02 -08:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* 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
2019-11-27 15:04:02 -08:00
Alexandre Ardhuin
f0553ba58e
Missing trailing commas ( #41473 )
...
* add missing trailing commas
* add more missing trailing commas
* add more and more missing trailing commas
2019-09-30 18:48:23 +02:00
Alexandre Ardhuin
b873162194
fix some bad indentations ( #41172 )
2019-09-24 21:03:37 +02:00
Alexandre Ardhuin
e9965f5636
add missing trailing commas in packages/flutter ( #41076 )
2019-09-24 08:05:41 +02:00
Tong Mu
b11c5acaa6
Ensure that tests remove pointers by using addTearDown ( #37524 )
...
Guard removePointer with addTearDown to avoid cascading test crash.
2019-08-07 10:16:33 -07:00
LongCatIsLooong
e4ebcdf6f4
use SizedBox instead of Container for building collapsed selection ( #37048 )
2019-07-27 11:48:24 -07:00
chunhtai
fc7bd6ad24
refactor out selection handlers ( #35207 )
2019-07-12 12:13:50 -07:00
Greg Spencer
a5053bfb29
Fix transforms for things with RenderPointerListeners ( #32535 )
...
This fixes #32525 , because it now marks the compositing bits as needing to be recalculated if the mouse tracker changes its idea of whether or not a mouse is attached.
This bug occurred because the test framework was leaking state from one test to the next (the state about whether a mouse pointer was active), and so even though there was a "passing" test when run in order with the other tests in the file, when the test was run individually (or first), it would have failed and caught the bug.
This adds an assert to make sure that after each test there are no simulated mouse pointers connected, and now calls removePointer in all of the tests where this was a problem.
2019-05-13 15:48:12 -07:00
Alexandre Ardhuin
440ce8fde6
Fix indentations of statements in BlockFunctionBody ( #28933 )
...
* fix indentof statements in BlockFunctionBody
* fix indentof statements in BlockFunctionBody in tests
2019-03-07 21:09:28 +01:00
Mouad Debbar
b94bf87c70
Text selection via mouse ( #28290 )
2019-03-01 13:57:10 -08:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
Michael Goderbauer
137ec45da1
Call onTapCancel when down pointer gets cancelled ( #28546 )
2019-02-27 14:58:59 -08:00
xster
ec00e974d0
Add long-press-move support for text fields 2 ( #28242 )
2019-02-25 14:34:54 -08:00
jslavitz
2c558fdb21
Adds fix for NAN value and pressure values outside of device reported min and max ( #26659 )
...
* Fix for nan pressure values and values outside min and max pressure ranges
2019-02-20 16:15:53 -08:00
xster
39b1ff1aa3
revert 26001 ( #28032 )
2019-02-20 15:34:44 -08:00
xster
892c8919c7
Add long-press-drag cursor move support on iOS ( #26001 )
2019-02-12 15:10:48 -08:00
jslavitz
4377083810
Selects a word on force tap ( #25683 )
...
* adds force press select word functionality
2019-01-14 10:29:51 -08:00