Commit Graph

13755 Commits

Author SHA1 Message Date
chunhtai
3e5c700fd7 Add material page, cupertino page, and transition page classes (#58511)
* Add material page, cupertino page, and transition page classes

* update

* update comments

* fix test

* addressing comments

* make page getter private
2020-06-25 14:47:01 -07:00
chunhtai
1e843bb6ba fix paint order of ink feature (#59108) 2020-06-25 12:53:03 -07:00
Jonah Williams
82a6f9bf0b [flutter_tools] remove most use of global packages path (#60231)
The global packages path could cause tests to fail when it would be overriden to unexpected (in test setup) values. Remove most usage and make it a configuration on buildInfo, along with most other build information. Cleanup the asset builder to require the .packages path and the resident runners to no longer require it, since they already have the information in build_info.

It needs to stick around for the fuchsia deps we do not control.

Filled #60232 for remaining work.
2020-06-25 12:52:14 -07:00
Greg Spencer
c68758fab1 Implement delayed key event synthesis support for Android (#59358) 2020-06-24 21:23:02 -07:00
Shi-Hao Hong
17cb865ec6 Revert "Revert "[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once (#58686)" (#59992)" (#60245) 2020-06-24 17:03:01 -07:00
Jenn Magder
0486cebd29 Make module run script names unique (#60228) 2020-06-24 16:52:01 -07:00
Jonah Williams
5cfcae004a [flutter_tools] fix tests that depend on correct cache existance (#60241)
These tests will hit the real Cache, failing if the flutter root has been modified
2020-06-24 16:45:46 -07:00
Jonah Williams
a0334fb500 [flutter_tools] maintain file manifest for create (#59706)
First pass at fixing #57985 and implementing #59602

This doesn't have enough metadata to be useful for IDEs yet, but it prevents the issue from getting worse while we iterate on it.
2020-06-24 16:20:21 -07:00
Jonah Williams
2a7ee930c3 [flutter_tools] Update WebAssetServer to avoid context, fix tests (#60224)
WebAssetServer could fail if some of the global statics it depended on were initialized in a different order. Fix this by removing globals.

Delete dwds startup test that needs to spawn a real server.
2020-06-24 16:19:49 -07:00
chunhtai
62378a3755 fix ink feature tries to get parent transformations when it is in the… (#60129) 2020-06-24 13:53:01 -07:00
Ayush Bherwani
3377781798 [AppBar] adds toolbarHeight property to customize AppBar height (#59405) 2020-06-24 13:08:01 -07:00
Kate Lovett
4d2ddb9199 Doc Updates (#60222) 2020-06-24 12:28:01 -07:00
stuartmorgan
d9902a5474 Consider the Linux template stable (#60163)
Remove the version checking and associated warnings. The Linux template
and build process will now be subject to more typical Flutter breaking
change policy, and should no longer require regularly deleting and
recreating the platform directory.
2020-06-24 12:23:57 -07:00
Justin McCandless
42e67550af Update inaccurate documentation for isUtf16Surrogate method (#60219) 2020-06-24 12:18:02 -07:00
Jonah Williams
f8c9e1bb67 [flutter_tools] de-flake integration tests (#60221)
The vm_service_integration test flake is caused by trying to call the method before the framework is initialized (and the extension added). The run errors failure is caused by the error taking some time to propagate to the harness
2020-06-24 12:14:58 -07:00
David Worsham
db48cadd0d Remove unused physicalDepth code (#60152) 2020-06-24 11:33:01 -07:00
Jonah Williams
9e30d51ac6 [flutter_tools] start fixing command tests (#60172) 2020-06-24 11:26:36 -07:00
Chris Yang
95b98dc2c2 flutter create . on plugins also regenerates files for platforms supported in pubspec.yaml (#60159) 2020-06-24 10:38:03 -07:00
chunhtai
5623fea53c Reverse the semantics order of modal barrier and modal scope (#59290)
* Add semantics sort key for modal scope and modal barrier

* fix test

* fix test

* fix test

* fix space

* fix more tests

* addressing comments
2020-06-24 10:37:53 -07:00
rami-a
50612db86e Localized new strings added in the redesigned Material Time Picker (#60096) 2020-06-24 10:33:03 -07:00
Jonah Williams
5d61bff294 [flutter_tools] even more test fixes (#60156)
Fix tests broken under tester
2020-06-24 10:23:59 -07:00
Darren Austin
b946e30c3d Fix a couple of doc typos. (#60139) 2020-06-23 17:58:01 -07:00
Jonah Williams
dd49e57be2 [flutter_tools] more test fixes (#60144)
Fixes additional bugs uncovered by tester, style fixes to prevent suggested imports.
2020-06-23 17:53:00 -07:00
Justin McCandless
766e0fa9ef Export characters (#59620) 2020-06-23 17:43:02 -07:00
Chris Yang
2e63b7d4f8 Add --platforms to flutter create -t plugin command (#59507) 2020-06-23 17:38:03 -07:00
Jonah Williams
14992c5951 Revert "[flutter_tools] separate target platform, host platform, and architecutre (#60119)" (#60147)
This reverts commit 30d97d89e0.
2020-06-23 17:19:29 -07:00
Jonah Williams
37db92beeb [versions] update all versions and fix tool tests (#60127)
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders:

- systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally.
- MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line.
- RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
2020-06-23 15:48:37 -07:00
Darren Austin
3a226df607 Expose the ElevationOverlay functions so applications can use the directly. (#60059) 2020-06-23 15:43:01 -07:00
Dan Field
868c4d8ce0 Fix issue with stack traces getting mangled (#59900) 2020-06-23 15:29:57 -07:00
Justin McCandless
2a573a32fe Reland Characters Usage (#59778)
Use Dart's characters package to fix user-facing grapheme cluster bugs.
2020-06-23 15:28:26 -07:00
chunhtai
3a15841d94 reland "fix the widget span layout when text scale factor != 1" and h… (#60021) 2020-06-23 15:18:02 -07:00
Christopher Fujino
ca32668b0b port devicelab from idevice_id -> xcdevices (#59907) 2020-06-23 14:37:14 -07:00
Jenn Magder
c8e53b3859 Add null safety options to build ios-framework (#60111) 2020-06-23 14:35:45 -07:00
David Iglesias
8fce4ce974 [flutter_tools] Add web support through MethodChannels. (#60116) 2020-06-23 13:53:01 -07:00
Jonah Williams
30d97d89e0 [flutter_tools] separate target platform, host platform, and architecutre (#60119)
separate target platform, host platform, and architecture
2020-06-23 13:51:17 -07:00
Craig Edwards
159557eb6e iOS mid-drag activity indicator (#58392) 2020-06-23 11:24:09 -07:00
Jonah Williams
2a1c078b76 [flutter_tools] add null safety argument to unbreak frob (#60102) 2020-06-23 11:20:49 -07:00
chunhtai
4953cbce23 Fix the layout calculation in sliver list where the scroll offset cor… (#59888) 2020-06-23 11:18:01 -07:00
Jonah Williams
e34c591252 [flutter_tools] fix root directory tests (#60060)
* fix test compiler test
* fix project test
* fix flutter_platform_test
* fix cocoapods test
2020-06-23 11:14:38 -07:00
MH Johnson
1c1326ad81 add check for DefaultTextHeightBehavior in EditableText + tests (#59913) 2020-06-23 12:39:35 -04:00
Dan Field
e8fa87e303 Make upscaling images opt-in (#59856)
* Make upscaling images opt-in
2020-06-23 09:20:28 -07:00
Tonic Artos
65550d0f0c New license page. (#57588)
This is a PR addressing #57226 - Proposal: New UI for Licenses Page.

This PR replaces the previous single panel license page with one that uses a master/detail flow (MDFlow) to display packages and their respective licenses.

The License Page API remains unchanged. The logic for processing the license data is kept largely the same. This PR changes how the licenses are displayed, by introducing a responsive UI using the master/detail UI pattern. For now I am calling it Master Detail Flow, or MDFlow.

MDFlow manifests as two layouts depending on the screen size. On small and medium displays, as determined by the breakpoints given by the Material Design Spec, MDFlow utilises a nested layout. On large displays, MDFlow uses a two panel (lateral) layout. MDFlow is implemented in this PR using a Navigator for the nested layout, and a Stack for the lateral layout. The master and detail views are built using builders. For the interactive component, detail pages are requested from the master view using a proxy obtained by a widget lookup on the build context; MasterDetailFlow.of(context).
2020-06-23 09:19:45 -07:00
renyou
15a28159bc Revert "[PageTransitionsBuilder] Fix 'ZoomPageTransition' built more than once (#58686)" (#59992)
This reverts commit fe15d1e793.
2020-06-23 04:52:58 -07:00
Robert Ancell
8c3b826ebd Support GTK keycodes (#59961) 2020-06-23 15:19:57 +12:00
Robert Ancell
65ea2be51b Remove Linux shell window_configuration.cc (#59802)
Remove Linux shell window_configuration.cc/.h

It was a temporary solution while the shell was changing.
2020-06-23 15:18:30 +12:00
stuartmorgan
b5ddf85595 Fix typo in Linux CMake template (#60017) 2020-06-22 19:08:02 -07:00
Justin McCandless
c105708426 RTL caret position (#60009) 2020-06-22 18:58:03 -07:00
zichangg
fc64e75a32 Update tooltip_theme_test to unblock Dart SDK roll (#59937) 2020-06-22 18:53:03 -07:00
Jenn Magder
d82ef3517c Use assemble build system directly for build ios-framework (#60041) 2020-06-22 18:44:27 -07:00
Jenn Magder
6a2bc2617e Replace ANDROID_HOME user messages with ANDROID_SDK_ROOT (#59867) 2020-06-22 18:43:04 -07:00