stuartmorgan
1cad96a63e
Handle surrogate pairs in RenderEditable ( #55246 )
...
The arrow key and delete handling in RenderEditable was using single
index values, which made it possible to move the cursor into the middle
of a surrogate pair (allowing things like adding text at that insertion
point), or to delete half of a surrogate pair. Since unpaired surrogate
pairs aren't valid UTF-16, doing so would cause assertions in the text
field.
This makes the arrow key and delete key handling surrogate-aware
(although not grapheme-cluster-aware, which is a larger fix that is out
of scope here).
Part of #55014
2020-04-22 12:21:03 -07:00
Jonah Williams
94ddf56b9e
[flutter_tools] unpin package config and update ( #55348 )
2020-04-22 10:16:34 -07:00
Jonah Williams
f2761b6b04
[flutter_tools] refactor Chrome launch logic to remove globals/statics ( #55160 )
2020-04-22 01:28:51 -07:00
Rene Floor
0763a57a98
Created method to report ImageChunkEvents ( #55044 )
2020-04-21 23:18:01 -07:00
James D. Lin
566c1d1124
flutter_tools: Prefer using .of() over .from() when possible ( #55250 )
...
Prefer using `.of()` (which is statically type-checked) over
`.from()` (which is dynamically type-checked) when possible.
2020-04-21 22:09:50 -07:00
Jonah Williams
0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos ( #54617 )
2020-04-21 20:39:36 -07:00
Jonah Williams
d46da3ae11
[flutter_tools] remove PackageMap and finish PackageConfig migration ( #55244 )
2020-04-21 19:55:15 -07:00
Shi-Hao Hong
5ed54d3860
Use kIsWeb instead of private _kIsBrowser ( #55333 )
2020-04-21 19:28:02 -07:00
Darren Austin
c71a42b433
Fixed a typo in the docs. ( #55303 )
2020-04-21 19:18:03 -07:00
Kate Lovett
5d5175b0b3
Skip Audit - Material Library ( #54322 )
2020-04-21 19:13:02 -07:00
Hans Muller
cf150f9912
Fine tune the Y offset of OutlineInputBorder's floating label ( #55260 )
2020-04-21 13:23:02 -07:00
Greg Spencer
36767d01e4
Make Action.enabled be isEnabled(Intent intent) instead. ( #55230 )
2020-04-21 13:18:04 -07:00
Greg Spencer
8ee26efb93
Wire in focusNode, focusColor, autofocus, and dropdownColor to DropdownButtonFormField ( #54706 )
2020-04-21 13:13:01 -07:00
Katarina Sheremet
d8f353af5b
Support tags when running tests from command line ( #55152 )
2020-04-21 10:35:13 -07:00
Jenn Magder
8109dcc2b4
CrashReportSender dependency injection ( #54924 )
2020-04-20 15:23:09 -07:00
Jonah Williams
9202e54704
[flutter_tools] move service extensions off of deprecated vm service ( #55012 )
2020-04-20 15:15:54 -07:00
chunhtai
96a3b2ae0b
disable hit testing if the CompositedTransformFollower is hidden when… ( #54981 )
...
* disable hit testing if the CompositedTransformFollower is hidden when there is no leader layer
* update comment
2020-04-20 14:46:38 -07:00
LongCatIsLooong
e31f708961
Autofill Part 1 ( #52126 )
2020-04-20 14:45:02 -07:00
Jonah Williams
b7e30cfc26
[flutter_tools] update compilation to use package config ( #54467 )
2020-04-20 14:02:49 -07:00
Jonah Williams
77c05f7501
[flutter_tools] check if requireloader is defined ( #55085 )
2020-04-20 13:02:26 -07:00
Jonah Williams
6a390aa7dc
[flutter_tools] fix type error in symbolize ( #55212 )
2020-04-20 12:21:44 -07:00
Jonah Williams
9e72bf565e
[flutter_tools] don't compute hashes of well known artifacts ( #53848 )
2020-04-20 12:21:20 -07:00
kwkr
d21ab5184a
Fix/set mocks defaults ( #54756 )
2020-04-20 12:20:03 -07:00
Christian Mürtz
ea08209251
Use scheduleTask for adding licenses ( #54493 )
2020-04-20 09:50:01 -07:00
MH Johnson
e82454fb02
[Material] Added BottomNavigationBarTheme ( #54714 )
2020-04-20 08:30:03 -07:00
Devon Carew
f050ee67e6
prettify the flutter web bootstrap file ( #55125 )
2020-04-20 08:24:50 -07:00
Ayush Bherwani
f35b673f2b
[DecorationImage] adds scale property ( #54258 )
2020-04-18 14:15:01 -07:00
Shi-Hao Hong
fc7ce3eeb6
Step 3: Removes temporary flag for SnackBarBehavior.floating offset fix ( #55064 )
...
* Remove SnackBar floating flag, making the offset fix the only behavior
* Remove rest of code that contians references to Scaffold.shouldSnackBarIgnoreFABRect
2020-04-17 16:58:25 -07:00
Christian Mürtz
f0a4eab7d7
Make TextFormFieldState.didChange change text fields value ( #54481 )
2020-04-17 16:58:05 -07:00
Jenn Magder
fc76fc2a96
Move GitHubTemplateCreator into reporting library ( #55002 )
2020-04-17 10:47:12 -07:00
Anna Gringauze
bc1c1b2ff8
Add flag to enable expression evaluation for web ( #55003 )
...
* Add flag to enable expression evaluation for web
Added flag --web-enable-expression-evaluation to flutter run commmand
that enables expression evaluation from IDEs for web target. Disabled
by default.
Helps https://github.com/flutter/flutter/issues/54520
* Update packages/flutter_tools/lib/src/build_runner/resident_web_runner.dart
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-04-17 10:42:02 -07:00
Anna Gringauze
b69b2a8c9e
Convert expression evaluation exceptions to errors ( #54916 )
2020-04-17 10:40:02 -07:00
Zachary Anderson
bec63a54bf
[flutter_tools] Provide global options with subcommand help text ( #54884 )
2020-04-17 08:54:48 -07:00
Justin McCandless
6c70a8fef6
Fix right alignment TWB longestLine ( #54234 )
...
Fixes an alignment bug seen when using both TextWidthBasis.longestLine and TextAlign.right.
2020-04-17 08:07:27 -07:00
Masayuki Ono
16cc2f3288
Fix showCupertinoModalPopup documentation comment typo ( #52995 )
2020-04-16 16:50:01 -07:00
Jonah Williams
bd068f50d5
[flutter_tools] remove bogus same repo check ( #54294 )
2020-04-16 15:50:03 -07:00
Jonah Williams
4ee618bb72
[flutter_tools] don't elapse real time during fallback test ( #54717 )
2020-04-16 15:49:08 -07:00
Jonah Williams
e6abda7f00
[flutter_tools] remove Isolate implementations of vm_service methods ( #54920 )
2020-04-16 15:48:21 -07:00
Jenn Magder
66d77ca048
Support armv7s architecture ( #54989 )
2020-04-16 15:18:33 -07:00
Shi-Hao Hong
6ce90a936f
SnackBarBehavior.floating offset fix by default ( #54985 )
2020-04-16 14:50:01 -07:00
Darren Austin
53bda97c71
Expose current day as a parameter to showDatePicker. ( #54978 )
2020-04-16 14:45:01 -07:00
Jenn Magder
ce83aaf38d
git pull --ff-only ( #54987 )
2020-04-16 14:20:48 -07:00
tauu
f1d522d503
fixed flutter run for projects containing a watchOS companion ( #54959 )
...
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-16 10:58:45 -07:00
Jonah Williams
e092dcfa22
[flutter_tools] Reland: fix multiple dart defines ( #54973 )
2020-04-16 10:56:49 -07:00
Michael Thomsen
fd397e1fc0
Roll pinned package versions ( #54952 )
2020-04-16 10:55:02 -07:00
chunhtai
baafc66817
Enable gesture recognizer in selectable rich text ( #54479 )
2020-04-16 10:05:02 -07:00
Anthony
b00b4e8342
[Material] Add focus, highlight, and keyboard shortcuts to Slider ( #53945 )
2020-04-16 08:50:01 -07:00
Jonah Williams
11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )" ( #54967 )
...
This reverts commit b8bd09db210d2c6299555643af8db4b8ff3e8d92.
2020-04-16 08:33:16 -07:00
Jonah Williams
b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )
2020-04-15 22:25:32 -07:00
Jonah Williams
ac20b614c5
[flutter_tools] ensure EventPrinter handles a null parent ( #54918 )
2020-04-15 20:10:16 -07:00