10668 Commits

Author SHA1 Message Date
Jonah Williams
6830edd0be
Clean up flutter driver device detection. (#36434) 2019-07-19 14:48:17 -07:00
Yegor
ecd89fb7ad
fix message codecs for the Web (#36549) 2019-07-19 13:49:15 -07:00
chunhtai
5ecda9e1b5
Adds doc example for Listview and pageview (#36391) 2019-07-19 13:19:24 -07:00
liyuqian
50a483879f Change Future.done to Future.whenComplete (#36270)
This is for the missed comment in
https://github.com/flutter/flutter/pull/36089#discussion_r303960949
2019-07-19 13:01:42 -07:00
Jenn Magder
5e650af7fa
Clean up host_app_ephemeral_cocoapods Profile build settings (#36498) 2019-07-19 12:49:26 -07:00
Christopher Fujino
9bd2e4000b
Throw exception if instantiating IOSDevice on non-mac os platform (#36288) 2019-07-19 12:20:45 -07:00
chunhtai
a52f0f773c
Fixes sliver list does not layout firstchild when child reordered (#36493) 2019-07-19 12:19:05 -07:00
chunhtai
2338576aa6
implement selectable text (#34019) 2019-07-19 12:17:41 -07:00
Gary Qian
41bc10fa70
Add text border docs (#36485) 2019-07-19 12:13:00 -07:00
Kate Lovett
38e41f5aee
SliverFillRemaining accounts for child size when hasScrollBody is false (#35810)
Fixes the hasScrollBody flag not accounting for child size. Adds the ability to specify over-scroll behavior.
2019-07-19 11:35:31 -07:00
Darren Austin
252491f8ac
Updated ColorScheme.dark() colors to match the Material Dark theme specification (#36106)
Updated ColorScheme.dark() primaryVariant, surface, background and error
colors to match the spec.
2019-07-19 11:31:29 -07:00
Todd Volkert
7b556dcc18
Fix the web builds by reverting version bump of build_modules (#36548) 2019-07-19 09:36:36 -07:00
Dan Field
c953cd19d2
Enable bitcode compilation for AOT (#36471) 2019-07-18 22:42:47 -07:00
Todd Volkert
e6128a0c14
Fix flutter pub -v (#36513)
When we were running `pub` within `flutter pub`, we were
unconditionally including the `--verbosity=warning` argument.
Then we were conditionally including `--verbose` if we were
running in verbose mode.  However, the former argument
supersedes the latter, and we were never able to run `pub`
in verbose mode.
2019-07-18 22:22:22 -07:00
Todd Volkert
1170105eae
flutter update-packages --force-upgrade (#36510) 2019-07-18 22:21:58 -07:00
adazh
4e4b9bd0b1
Renamed the Driver API waitUntilFrameSync to waitUntilNoPendingFrame. (#36512) 2019-07-18 22:16:57 -07:00
Zachary Anderson
82a4ba40bb
[flutter_tool] Send analytics command before the command runs (#36490) 2019-07-18 18:05:44 -07:00
Jonah Williams
d1190b638f
remove unrelated code (#36481) 2019-07-18 16:49:39 -07:00
Todd Volkert
b61fcfd25d
AsyncSnapshot.data to throw if error or no data (#34626)
This updates `AsyncSnapshot.data` to act as `AsyncSnapshot.requireData`
used to -- and it removes `AsyncSnapshot.requireData`. Correspondingly,
this adds a `StreamBuilder.withoutInitialData()` constructor, makes the
`initialData` argument to the default `StreamBuilder()` constructor required,
and deprecates the `initialData` argument to the `FutureBuilder()` constructor.

See the  breaking change announcement for more info.

https://github.com/flutter/flutter/issues/34545
https://groups.google.com/forum/#!topic/flutter-announce/H6Od0QdsdrI
2019-07-18 16:26:13 -07:00
Tong Mu
1aa4628fa2
Dismiss modal with any button press (#32770)
This PR makes ModalBarrier dismiss modal with any button press instead of primary button up, by making it use a private recognizer _AnyTapGestureRecognizer that claims victor and calls onAnyTapDown immediately after it receives any PointerDownEvent.
2019-07-18 15:33:49 -07:00
Todd Volkert
adb2aeebe3
Ensure that cache dirs and files have appropriate permissions (#28090)
This is a partial re-application of #24669, which was
reverted due to Fuchsia breakages.

https://github.com/flutter/flutter/issues/24413
2019-07-18 15:29:06 -07:00
adazh
dd51afd161
Added Driver API that waits until frame sync. (#36334) 2019-07-18 15:03:19 -07:00
Shi-Hao Hong
db6c362bef
Implement InputDecorationTheme copyWith, ==, hashCode (#36411)
* Implement InputDecorationTheme copyWith, ==, hashCode
2019-07-18 14:40:39 -07:00
Emmanuel Garcia
5a34e7981e
Catch exceptions thrown by runChecked* when possible (#36109) 2019-07-18 10:45:37 -07:00
Jonah Williams
7b0cc5051b
release lock in flutter pub context (#36218) 2019-07-18 10:41:39 -07:00
Jonah Williams
757b5365fa
Add missing test case for Usage (#36379) 2019-07-18 10:41:13 -07:00
Jonah Williams
1957c66300
add testing to screenshot and printDetails method (#36418) 2019-07-18 10:40:40 -07:00
Dan Field
b7a49c4afe
fix sliver fixed pinned appbar (#36333) 2019-07-18 10:37:08 -07:00
Mouad Debbar
9c9b71a0fb
Add multi-line flag to semantics (#36297) 2019-07-18 10:36:22 -07:00
Jonah Williams
962a3cfd1c
Add missing protobuf dependency (#36394) 2019-07-17 15:45:13 -07:00
Jason Simpson
c60063b72d [cupertino_icons] Add glyph references for brightness and brightness_filled (#36174) 2019-07-17 14:30:47 -07:00
Matan Shukry
0ab7047b72 Using custom exception class for network loading error (#35335)
Using custom exception class for network loading error
2019-07-17 14:23:03 -07:00
Christopher Fujino
42a9c031e5
Fix invocations of ideviceinstaller not passing DYLD_LIBRARY_PATH (#36327)
* add failing tests

* fix tests

* be more specific with try-catch

* add further mocking to get tests to pass again

* fix analyzer failure
2019-07-17 13:44:49 -07:00
xster
03220cacd1
Make sure add-to-app build bundle from outer xcodebuild/gradlew sends analytics (#36122) 2019-07-17 11:17:04 -07:00
Tim Sneath
07735578af
Fix spelling error and clarify universal flag (#36331) 2019-07-17 10:46:48 -07:00
chunhtai
4eb11c9f52
Fixes RenderSliverFixedExtentBoxAdaptor correctly calculates leadingGarbage and trailingGarbage. (#36302) 2019-07-17 10:40:07 -07:00
Shi-Hao Hong
598ecb324d
Add clarifying docs on MaterialButton.colorBrightness (#36202)
* Add clarifying docs on MaterialButton.colorBrightness
2019-07-17 10:08:51 -07:00
伯言
b2cc97013d Fix FocusTraversalPolicy makes focus lost (#34153) (#34712)
FocusTraversalPolicy keep the previously visited node to avoid hysteresis. But even if the visited focus has been disposed, FocusTraversalPolicy will still use it to requestFocus, which will cause FocusManger to get an abandoned node to get the focus.
2019-07-17 10:00:06 -07:00
chunhtai
7992e3242d
Fix nested scroll view can rebuild if mark dirty during scheduleWarmUpFrame (#36097) 2019-07-17 09:29:08 -07:00
Dan Field
5923f34ce4
Revert "Fix semantics for floating pinned sliver app bar (#35574)" (#36319)
This reverts commit 39baa0995c53cd1378c7a9ede791543ad1e2e711.
2019-07-17 09:24:51 -07:00
Todd Volkert
57efab6e58
FakeHttpClientResponse improvements (#36289)
Update `FakeHttpClientResponse` to be impervious to Dart SDK
changes to the `HttpClientResponse` stream type (between `List<int>`
and `Uint8List`).
2019-07-17 08:42:12 -07:00
Dan Field
c96806ec88
Allow semantics labels to be shorter or longer than raw text (#36243) 2019-07-16 20:40:36 -07:00
Jonah Williams
36c37ccab5
Implement feature flag system for flutter tools (#36138) 2019-07-16 17:33:28 -07:00
Dan Field
93a3ce7a8d
Disable flaky tests on Windows (#36317) 2019-07-16 16:26:15 -07:00
Todd Volkert
aa9a115181
Move reporting files to reporting/ (#36017)
Slight cleanup of file locations in flutter_tools
to make it easier to see which files are responsible
for data reporting.
2019-07-16 13:21:06 -07:00
Christopher Fujino
540c747656
Revert "Keep LLDB connection to iOS device alive while running from CLI. (#36194)" (#36293)
This reverts commit 5501a1c1e7d74a088f3fd11d84b5391a02c23918.
2019-07-16 12:34:49 -07:00
Darren Austin
e17f8d367d
Support for elevation based dark theme overlay color in the Material widget (#35560)
Added support for a semi-transparent white overlay color for `Material` widgets to indicate their elevation in a dart theme. A new `ThemeData.applyElevationOverlayColor` flag was added to control this behavior, which is off by default for backwards compatibility reasons.
2019-07-16 10:50:44 -07:00
sjindel-google
5501a1c1e7
Keep LLDB connection to iOS device alive while running from CLI. (#36194)
## Description

Instead of detaching from the spawned App process on the device immediately, keep the LLDB client connection open (in autopilot mode) until the App quits or the server connection is lost.

This replicates the behavior of Xcode, which also keeps a debugger attached to the App after launching it.

## Tests

This change will be covered by all running benchmarks (which are launched via "flutter run"/"flutter drive"), and probably be covered by all tests as well.

I also tested the workflow locally -- including cases where the App or Flutter CLI is terminated first.

## Breaking Change

I don't believe this should introduce any breaking changes. The LLDB client automatically exits when the app dies or the device is disconnected, so there shouldn't even be any user-visible changes to the behavior of the tool (besides the output of "-v").
2019-07-16 19:15:15 +02:00
Zachary Anderson
fa65ddf51d
[flutter_tool] Allow analytics without a terminal attached (#36208) 2019-07-16 09:48:49 -07:00
chunhtai
1166015931
Enable widget load assets in its own package in test (#35991) 2019-07-16 09:47:42 -07:00