Commit Graph

18842 Commits

Author SHA1 Message Date
LongCatIsLooong
0ba8c2cdb1 Fix text scale factor for non-content components of Cupertino scaffolds (#38593) 2019-08-15 20:02:04 -07:00
Todd Volkert
1d8deb1bb8 Handle case of a connected unpaired iOS device (#38629)
Fixes https://github.com/flutter/flutter/issues/36789
Fixes https://github.com/flutter/flutter/issues/37000

https://github.com/flutter/flutter/issues/36524
https://github.com/flutter/flutter/issues/24600
2019-08-15 17:59:37 -07:00
Tom Robinson
0b3f2f61a2 Change RenderObject.getTransformTo to include ancestor. (#37652)
getTransformTo now includes ancestor in the transform it returns, except
for if ancestor is the root view, ensuring that the transform remains in
logical pixel space.
2019-08-15 20:52:15 -04:00
Jonah Williams
1df165ea13 Rename iOS arch for macOS release mode (macOS release mode 2 of 3) (#38645) 2019-08-15 17:38:35 -07:00
Jonah Williams
01feddbece Support for macOS release mode (1 of 3) (#37425) 2019-08-15 16:36:45 -07:00
Zachary Anderson
0566971d29 [flutter_tool] Throw tool exit on malformed storage url override (#38637) 2019-08-15 14:59:46 -07:00
liyuqian
77aa495eff Update shader warm-up for recent Skia changes (#37955)
The update is copied from an update we made to a Google-internal
client: cl/260202900

The update will save 1 shader compilation.

This should help solve our regression:
https://github.com/flutter/flutter/issues/31203

More regressions on iOS might be introduced later by
https://github.com/flutter/engine/pull/9813#issuecomment-520039890

Unfortunately, we didn't rebase our benchmarks so such regressions
were not detected.

Hence to fully solve https://github.com/flutter/flutter/issues/31203,
we might need to revert some change in
https://github.com/flutter/engine/pull/9813 to make iOS shader warm-up
happen on the GPU thread again.
2019-08-15 13:04:22 -07:00
Greg Spencer
a24bfed0e7 Add autofocus parameter to widgets which use Focus widget internally (#37809)
Add an autofocus parameter to widgets which use Focus widget internally, and update related docs.

This will allow developers to request that a particular widget be automatically focused when shown.
2019-08-15 12:30:19 -07:00
Chris Yang
5acf63d35a PlatformViewLink, handling creation of the PlatformViewSurface and dispose PlatformViewController (#37703)
* link

* review fixes

* review fixes

* remove extra line
2019-08-15 12:16:38 -07:00
Zachary Anderson
e24a27d374 [flutter_tool] Flip create language defaults to swift and kotlin (#38339) 2019-08-15 12:13:28 -07:00
Jonah Williams
8d6dc620d6 fix rpc exception for real (#38575) 2019-08-15 12:13:12 -07:00
Zachary Anderson
a40ab895cf [flutter_tool] Observatory connection error handling cleanup (#38353) 2019-08-15 12:13:03 -07:00
Alexander Aprelev
f5dcbdab3a Increase pattern that matches operation duration. (#36392)
On Flutter HHH buildbot some operations that over a second: 4 digits for milliseconds, rather than 3 that are currently allowed.
2019-08-15 10:16:30 -07:00
Ingo Reinhart
ed88d28d52 use common emulator/device list (#38296) 2019-08-15 10:13:18 -07:00
MH Johnson
1033155fb9 [Material] Add splashColor to FAB and FAB ThemeData (#38467)
* [Material] Add splashColor param to FAB and FAB ThemeData
2019-08-15 13:12:21 -04:00
Jonah Williams
5ec039dd45 Don't reload if compilation has errors (#38586) 2019-08-15 09:08:19 -07:00
Dan Field
07f079a932 Improve bitcode check (#38587) 2019-08-14 23:30:26 -07:00
Jonah Williams
64add554d7 handle unexpected exit from frontend server (#38497) 2019-08-14 19:00:31 -07:00
Jonah Williams
388d69eb9b Catch errors thrown into the Zone by json_rpc (#38486) 2019-08-14 13:10:41 -07:00
Jonah Williams
ec41ef5bf8 update build_runner and configure libraries (#38499) 2019-08-14 10:00:42 -07:00
Jason Simmons
fe5651b846 Do not construct arguments to _focusDebug when running in non-debug modes (#38463)
The time required to call FocusNode.toString and build _focusDebug messages
was showing up in some performance benchmarks.
2019-08-14 09:46:20 -07:00
Zachary Anderson
d220631eca [flutter_tool] Fix bug in manifest yaml validation (#38472) 2019-08-14 07:57:30 -07:00
Francisco Magdaleno
760635e6db [linux] Receives the unmodified characters obtained from GLFW (#34752) 2019-08-13 18:14:36 -07:00
Christopher Fujino
cd1e55b58a refactor flutter upgrade to be 2 part, with the second part re-entrant (#38325) 2019-08-13 15:53:54 -07:00
David Shuckerow
9615eb99aa Tests for flutter test [some_directory] (#36866)
* Add a test for a directory instead of a single test.

* Add test data to a child directory to test the command.

* Add test data to a child directory to test the command.

* Add test data to a child directory to test the command.

* Correct test.
2019-08-13 14:57:43 -07:00
MH Johnson
17ddfb1b42 make RawChip.selected non-nullable (#37556) 2019-08-13 17:36:44 -04:00
Jonah Williams
ca5411e3aa Fix type error hidden by implicit downcasts (#38102) 2019-08-12 15:21:28 -07:00
Shi-Hao Hong
2003432cd8 Drawer edge drag width improvements (#37492)
* Added customizable drawer edge drag width parameter to Drawer and Scaffold

* Fix Drawer drag area width for notched devices

* Update Drawer tests to reflect necessary LTR and RTL Drawer edge widths
2019-08-12 18:20:35 -04:00
Shi-Hao Hong
0f3919e539 Adds DefaultTextStyle ancestor to Tooltip Overlay (#37877)
* Add DefaultTextStyle parent widget to Tooltip Overlay

* Add test against fallback DefaultTextStyle
2019-08-12 17:24:51 -04:00
Jonah Williams
aa758a3f02 remove bsdiff BUILD.ng (#38342) 2019-08-12 13:04:10 -07:00
Greg Spencer
aa5cc40368 Focus Manager debug output improvements. (#37891)
This improves the ability to debug focus manager issues. It's not meant to be used by developers unless they're debugging problems with the focus manager itself.
2019-08-12 13:02:49 -07:00
Justin McCandless
19d113b0e7 resizeToAvoidBottomInset Cupertino without NavBar (#37319)
Fix a bug in CupertinoTextField where resizeToAvoidBottomInset didn't work.
2019-08-12 12:56:19 -07:00
Lau Ching Jun
cdefbef3ce Remove no-constant-update-2018, the underlying issue has been resolved. (#37994) 2019-08-12 10:42:01 -07:00
Jonah Williams
4b73746aff Catch filesystem exception from flutter create (#38101) 2019-08-12 09:51:03 -07:00
rami-a
b8484e348e Update documentation for bottom sheets to accurately reflect usage (#37964) 2019-08-12 12:26:54 -04:00
Emmanuel Garcia
83a8a575ee Update dependencies (#37971) 2019-08-10 12:38:20 -07:00
Jonah Williams
2185825338 Catch FormatException caused by bad simctl output (#37958) 2019-08-10 00:57:23 -07:00
jmagman
78cca6250a Always install the ephemeral engine copy instead of fetching from CocoaPods specs (#37906) 2019-08-09 17:37:11 -07:00
jmagman
0a58610ce7 Clean ephemeral directories (#37966) 2019-08-09 17:26:51 -07:00
Shi-Hao Hong
c7814d698d Add dense property to AboutListTile (#37882) 2019-08-09 20:03:09 -04:00
Michael Klimushyn
821602aef3 Revert "Moved the default BinaryMessenger instance to ServicesBinding (#37489)" (#37983)
This reverts commit 92ef2b9ce1.

This requires either runApp() or
WidgetsFlutterBinding.ensureInitialized() to have been called before
using any MethodChannels. Plugins broadly rely on MethodChannels and
right now there's no general requirements that they be constructed
within the runApp call, so the ecosystem breakages from this are broader
than originally thought. Reverting for now.
2019-08-09 16:30:30 -07:00
Jonah Williams
77e15103da Catch failure to create directory in cache (#37871) 2019-08-09 16:21:32 -07:00
Justin McCandless
361730ed72 iOS 13 scrollbar vibration (#37724)
Vibrate when starting scrollbar dragging.
2019-08-09 15:45:15 -07:00
Christian Mürtz
f0354b82e6 Add CheckboxListTile checkColor (#37636)
* Add checkColor to CheckboxListTile

* Create second paint for drawing check and dash

* Add activeColor test for Checkbox

Co-Authored-By: Shi-Hao Hong <shihaohong@google.com>
2019-08-09 17:28:02 -04:00
Brian Egan
5019321243 Diagrams for API docs rank 10-20 in most views (#37624) 2019-08-09 14:22:28 -07:00
Christian Mürtz
f167067d94 Fix TextField cursor color documentation (#37801) 2019-08-09 14:18:57 -07:00
Kate Lovett
f3dbefd3ce Revert "Adding physicalDepth to MediaQueryData & TestWindow (#37718)" (#37938)
This reverts commit 3a2d30813a.
2019-08-09 12:58:59 -07:00
David Martos
526339b63a Avoid killing Flutter tool process (#37471) (#37500) 2019-08-09 11:25:12 -07:00
adazh
92ef2b9ce1 Moved the default BinaryMessenger instance to ServicesBinding (#37489) 2019-08-09 10:13:40 -07:00
Brett Morgan
20ecae0e92 Fix markdown link format (#37715) 2019-08-09 09:59:24 -07:00