Commit graph

14821 commits

Author SHA1 Message Date
Jenn Magder 2ad5376a06
Build all example projects in CI build smoke test (#35778) 2019-07-09 16:00:33 -07:00
John Ryan 871b58986d
add sample code for AnimatedContainer (#35225)
* add sample code for AnimatedContainer

* use stateful_widget_scaffold snippet template

* add sample explanation

* add setState() to example assumptions for analyzer

* update description

* use snippet instead of sample

* change sample to match assets-for-api-docs

* remove constant

* update AnimatedContainer sample description

add indication the example is depicted by the video and animates when
tapped

* fix example formatting

* make sample conform to 80 col limit

* add "implemented below" to illustration description

* formatting for readability
2019-07-09 15:34:39 -07:00
Darren Austin af1bd09c78
Added MaterialApp.themeMode to control which theme is used. (#35499)
Added support for a themeMode property to the MaterialApp to control
how the light or dark theme is selected.
2019-07-09 15:26:42 -07:00
Gary Qian 42a01befa0
Roll engine e695a516f..75387dbc1 (8 commits) (#35814) 2019-07-09 14:24:47 -07:00
Jonah Williams adf45d1e40
Refactor signal and command line handler from resident runner (#35406) 2019-07-09 13:10:26 -07:00
Jenn Magder a429991a15
Remove CoocaPods support from layers example app (#35780) 2019-07-09 10:38:40 -07:00
Gary Qian 9c1783e989
Update TextStyle and StrutStyle height docs (#33281) 2019-07-09 10:38:01 -07:00
Anthony aae50f541a
[Material] Text scale and wide label fixes for Slider and Range Slider value indicator shape (#35496)
Various bug fixes for Slider and Range Slider value indicator around accessibility and wide labels.
2019-07-09 13:26:10 -04:00
chunhtai a76e39f984
Rendering errors with root causes in the widget layer should have a reference to the widget (#32511) 2019-07-09 10:18:30 -07:00
Kate Lovett 97b2c98642
Navigator pushAndRemoveUntil Fix (#35223)
* Initial work

* ++

* Updated tests

* Moved TestObserver out for access across tests.

* ++

* Added hero tests

* Review feedback

* simplified preceding route overlay

* Review feedback

* trailing doc slash
2019-07-09 10:17:30 -07:00
Jonah Williams 41c7f0a9da
disable web tests (#35792) 2019-07-09 06:13:28 -07:00
Alexandre Ardhuin b041a589c8
enable lint prefer_if_null_operators (#35745) 2019-07-09 10:53:35 +02:00
Jonah Williams ad9b077fec
set tool coverage target of zero percent (#35767) 2019-07-08 19:17:35 -07:00
Jonah Williams 91e3b2d671
add iOS build benchmarks (#35749) 2019-07-08 18:09:00 -07:00
Hiroki Matsue 0e7cfc1e41 Add missing [applicationIcon] property to LicensePage widget (#34906)
* Add missing [applicationIcon] property to LicensePage widget
2019-07-08 17:30:28 -07:00
Michael Goderbauer 4e973adc79
Various doc fixes (#35548) 2019-07-08 17:02:25 -07:00
Jenn Magder 559c9982dd
UIApplicationLaunchOptionsKey -> UIApplication.LaunchOptionsKey (#35763) 2019-07-08 16:55:27 -07:00
Dan Field e3acb5ca71
Refactor keymapping for resident_runner (#35762) 2019-07-08 16:38:49 -07:00
Jenn Magder f3150ed0b5
Remove Swift Obj-C Inference build setting (#35756) 2019-07-08 16:04:16 -07:00
Jonah Williams 1e26c41f17
Remove web, fuchsia, and unsupported devices from all (#35709) 2019-07-08 15:58:38 -07:00
liyuqian 34e18d38ce
ios (iPhone6) and iPhone XS tiles_scroll_perf tests (#35556)
For https://github.com/flutter/flutter/issues/31086.

Also test if our mac8 with iPhone XS is working
(https://github.com/flutter/flutter/issues/34590).
2019-07-08 14:13:33 -07:00
Dan Field 39baa0995c
Fix semantics for floating pinned sliver app bar (#35574) 2019-07-08 14:02:42 -07:00
Jonah Williams cac8835de3
Update annotated region findAll implementation to use Iterable (#35725) 2019-07-08 13:32:59 -07:00
Jonah Williams bcd28e7e45
Don't pause on tool tests (#35657) 2019-07-08 13:14:48 -07:00
engine-flutter-autoroll e1d4312440
Roll engine 3c51a7bfff77..e695a516f148 (9 commits) (#35751)
3c51a7bfff...e695a516f1

git log 3c51a7bfff776e9e3011384f4ff09c13a697c6b6..e695a516f148cef9c7850a6e00151f00bfadf0d4 --no-merges --oneline
e695a516f Add FLEDartProject for macOS embedding (flutter/engine#9672)
44f2f07ff Roll src/third_party/skia e192c4ce5a33..829b6a0ff49f (1 commits) (flutter/engine#9705)
d5f15d1cd Roll src/third_party/skia de6758683abd..e192c4ce5a33 (2 commits) (flutter/engine#9703)
e46532986 Roll src/third_party/skia 2f62edf1ac5d..de6758683abd (1 commits) (flutter/engine#9700)
05966cd14 Roll src/third_party/skia 1d105080c423..2f62edf1ac5d (1 commits) (flutter/engine#9699)
b132baa44 Ensure that platform messages without response handles can be dispatched. (flutter/engine#9698)
50d622857 fix Picture.toImage return type check and api conform test. (flutter/engine#9685)
001bb541c Roll src/third_party/skia 8063f6cca025..1d105080c423 (3 commits) (flutter/engine#9692)
db4d6836a Roll src/third_party/skia 857c9f955edb..8063f6cca025 (3 commits) (flutter/engine#9679)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-07-08 15:54:55 -04:00
Lau Ching Jun d3eee57c0b
Update the help message on precache command for less confusion (#35480) 2019-07-08 11:04:24 -07:00
Shi-Hao Hong 2ba85a22dd
Simple Doc Fixes (#35743)
* Fix "the a" typos

* Rephrase global key API doc description
2019-07-08 10:42:08 -07:00
Karen Rustad Tölva 9155795883 Fix typo in main.dart templates (#35684) 2019-07-08 10:36:44 -07:00
Jonah Williams 4f0f88b5ea
Disable incremental compiler in dartdevc (#35681) 2019-07-08 10:36:11 -07:00
Jonah Williams 34467289d6
Add timer checking and Fake http client to testbed (#35392) 2019-07-08 10:04:48 -07:00
Chris Yang 49cce98483
add documentation: conic path clipping not supported for UIKitView (#35063) 2019-07-08 08:24:23 -07:00
Alexander Aprelev 9f285aa9d9
Introduce image_list performance benchmark that runs on jit(debug) build. (#35424)
* Introduce image_list performance benchmark that runs on jit(debug) build.

We want to track performance of debug build because ongoing work on reducing the cost of spanwing new isolate will impact jit(debug) more than it will aot(release) configurations.

* Newlines and spaces
2019-07-08 08:23:06 -07:00
Jonah Williams e6a7419603
disable a test case in xcode_backend.sh (#35708) 2019-07-08 08:04:48 -07:00
Todd Volkert 3bf91b5436
Prepare for Socket implements Stream<Uint8List> (#35646)
An upcoming change in the Dart SDK changes `Socket` from
implementing `Stream<List<int>>` to implementing `Stream<Uint8List>`.
This forwards-compatible change in flutter_tools prepares for that
Dart SDK change.

https://github.com/dart-lang/sdk/issues/36900
2019-07-05 12:59:32 -07:00
Jonah Williams 93edc014ae
update packages (#35573) 2019-07-04 11:26:19 -07:00
engine-flutter-autoroll 67237b960c
Roll engine 7d3e722349e7..3c51a7bfff77 (20 commits) (#35572)
7d3e722349...3c51a7bfff

git log 7d3e722349e7923115f0b8800022a08c8dd795b3..3c51a7bfff776e9e3011384f4ff09c13a697c6b6 --no-merges --oneline
3c51a7bff Roll src/third_party/skia 11eb847a2080..857c9f955edb (2 commits) (flutter/engine#9676)
7f828dd3e Raster now returns an enum rather than boolean (flutter/engine#9661)
11b6afe00  Roll src/third_party/dart 67ab3be10d...b5aeaa6796 (flutter/engine#9675)
3c4dbe223 Revert &#34; Roll src/third_party/dart 67ab3be10d...43891316ca (#9670)&#34; (flutter/engine#9673)
5e596f2ac  Roll src/third_party/dart 67ab3be10d...43891316ca (flutter/engine#9670)
46a2239b4 Roll src/third_party/skia 5b52c52141ac..11eb847a2080 (6 commits) (flutter/engine#9671)
b84f89b44 Allow embedders to add callbacks for responses to platform messages from the framework. (flutter/engine#9655)
8dac2e979 Begin separating macOS engine from view controller (flutter/engine#9654)
d3616c7a3 Roll src/third_party/skia 0e0113dcbd9a..5b52c52141ac (8 commits) (flutter/engine#9665)
cea2c3617 Mutators Stack refactoring (flutter/engine#9663)
6a8782fe0 Roll src/third_party/skia 93eeff578b08..0e0113dcbd9a (9 commits) (flutter/engine#9662)
791143f17 ExternalViewEmbedder can CancelFrame after pre-roll (flutter/engine#9660)
d637f291a External view embedder can tell if embedded views have mutated (flutter/engine#9653)
ceee3d733 Roll src/third_party/skia 38ae3f42fec1..93eeff578b08 (1 commits) (flutter/engine#9659)
d75729006 Roll src/third_party/skia febc162c7898..38ae3f42fec1 (3 commits) (flutter/engine#9658)
58133abce Roll src/third_party/skia 3de5c6388142..febc162c7898 (2 commits) (flutter/engine#9657)
29342dd30 Roll src/third_party/skia 1e2cb444e0c1..3de5c6388142 (8 commits) (flutter/engine#9656)
b5473560d Pipeline allows continuations that can produce to front (flutter/engine#9652)
8306ee68c Move the mutators stack handling to preroll (flutter/engine#9651)
511b9f23a Roll src/third_party/skia 215ff3325230..1e2cb444e0c1 (12 commits) (flutter/engine#9650)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.
2019-07-04 01:34:55 -04:00
Gary Qian a0c47e2216
Do not use ideographic baseline for RenderPargraph baseline (#35493) 2019-07-03 15:04:18 -07:00
Sam Rawlins 5b6ebf1230 Add type to StreamChannel in generated test code. (#35367)
This is necessary for those who wish to comply with static analysis like
`strict-raw-types: true`, which includes generated code within their package.
2019-07-03 14:11:11 -07:00
Dan Field f85630b18a
Fix RenderFittedBox when child.size.isEmpty (#35487) 2019-07-03 12:40:06 -07:00
Jonah Williams 05b4c67550
add APK build time benchmarks (#35481) 2019-07-03 10:54:04 -07:00
chunhtai f143fd6a4f
fix Selection handles position is off (#34665) 2019-07-03 10:50:10 -07:00
Jonah Williams b8597f0a7e
Move usage flutter create tests into memory filesystem. (#35160) 2019-07-03 10:49:33 -07:00
Michael Goderbauer d41eeeb50d
Include tags in SemanticsNode debug properties (#35491) 2019-07-03 09:13:37 -07:00
Michael Goderbauer 4ca7bfa0c2
Re-apply 'Add currentSystemFrameTimeStamp to SchedulerBinding' (#35492) 2019-07-03 09:13:09 -07:00
Justin McCandless 2d2bb6bf92
CupertinoTextField vertical alignment (#34723)
CupertinoTextField now supports vertical alignment via the textAlignVertical parameter.
2019-07-03 08:22:31 -07:00
Todd Volkert 4cd12fc8b7
Mark update-packages as non-experimental (#35467)
Marking it as experimental was breaking tests and packaging
scripts on stable branches.
2019-07-02 18:24:25 -07:00
Jonah Williams 556e374e02
fix default artifacts to exclude ios and android (#35303) 2019-07-02 17:40:55 -07:00
engine-flutter-autoroll 763ce632e5
Roll engine ffba2f68d4e8..7d3e722349e7 (59 commits) (#35489)
ffba2f68d4...7d3e722349

git log ffba2f68d4e8ec2041f57226d907dcb929c8b795..7d3e722349e7923115f0b8800022a08c8dd795b3 --no-merges --oneline
7d3e72234 Roll buildroot to c5a493b25. (flutter/engine#9649)
8deeb77f0 make EmbeddedViewParams a unique ptr (flutter/engine#9640)
7862af546 Roll src/third_party/skia bd3d8d39b3e7..215ff3325230 (4 commits) (flutter/engine#9648)
a9ee687ac iOS PlatformView clip path (flutter/engine#9478)
c19b53cf2 Roll src/third_party/skia effee2065796..bd3d8d39b3e7 (1 commits) (flutter/engine#9647)
aeaa5edee Roll src/third_party/skia 2ef826576819..effee2065796 (1 commits) (flutter/engine#9646)
1cc1f04c9 Roll src/third_party/skia f2c52efce52b..2ef826576819 (2 commits) (flutter/engine#9645)
1c295b226 Roll src/third_party/skia 9fb7fa537d93..f2c52efce52b (1 commits) (flutter/engine#9644)
56a3f4102 Android Embedding Refactor PR31: Integrate platform views with the new embedding and the plugin shim. (flutter/engine#9206)
8ac7cbdda Fix warning about settings unavailable GN arg build_glfw_shell (flutter/engine#9642)
f66571781 Roll src/third_party/skia 21a486d04ae0..9fb7fa537d93 (21 commits) (flutter/engine#9639)
fd24007ca Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (flutter/engine#9638)
628b174c9 Fixes a plugin overwrite bug in the plugin shim system. (flutter/engine#9589)
345d350ab Added Doxyfile. (flutter/engine#9632)
64b9eef5c Revert &#34;Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (#9634)&#34; (flutter/engine#9637)
45e1ad274 Roll Dart to 67ab3be10d35d994641da167cc806f20a7ffa679 (flutter/engine#9634)
da6475eec Roll fuchsia/sdk/core/mac-amd64 from TRwIGIJLuznLNQzJk17zfboJrkErpe1XvGr0njCwemoC to byM-kyxL4bemlTYNqhKUfJfZoIUrCSzS6XzsFr4n9-MC (flutter/engine#9629)
bee12e6f3 Roll fuchsia/sdk/core/mac-amd64 from MBS_xxNZ_O32DxW1bhOeJisJqYG9JY_FAtSa3ZYupg4C to TRwIGIJLuznLNQzJk17zfboJrkErpe1XvGr0njCwemoC (flutter/engine#9626)
fea8fa6c4 Roll fuchsia/sdk/core/linux-amd64 from Efv1uHDvhLYgT8mvQmdAiJv7HiLix2L_kDRkK6P9ER4C to I2Qe1zxgckzIzMBTztvzeWYsDgcb9Fw-idSI16oIlx8C (flutter/engine#9625)
e7f8ca1de [all] add fuchsia.{net.NameLookup,posix.socket.Provider} (flutter/engine#9546)
a72a9997e Roll fuchsia/sdk/core/mac-amd64 from B-JzM_H7hG5kOIRFjmUqI3uWBAV7no8BnCTknbd2wQ4C to MBS_xxNZ_O32DxW1bhOeJisJqYG9JY_FAtSa3ZYupg4C (flutter/engine#9624)
b3fe3e95d Fix a race in the embedder accessibility unit test (flutter/engine#9585)
55818f602 Roll fuchsia/sdk/core/linux-amd64 from xtoj1ola0unTQOetly-V77CgpT6g8L1JUKWDqS8SuAQC to Efv1uHDvhLYgT8mvQmdAiJv7HiLix2L_kDRkK6P9ER4C (flutter/engine#9623)
37a54f2ab Roll fuchsia/sdk/core/linux-amd64 from O1niQGtIRghvjuMMCmxevRA1Y6seUn6onOao6Wii9hQC to xtoj1ola0unTQOetly-V77CgpT6g8L1JUKWDqS8SuAQC (flutter/engine#9622)
458a7647a Roll fuchsia/sdk/core/mac-amd64 from neDu8hWotIrKCQkxz1ScSJC4NoBva1_YVszr6wMbcZQC to B-JzM_H7hG5kOIRFjmUqI3uWBAV7no8BnCTknbd2wQ4C (flutter/engine#9621)
6e7b4ca44 Roll fuchsia/sdk/core/linux-amd64 from gMVpYn1cxQ0LeU-TSryUCg2o3rNcf7JWvlOqY6G00MYC to O1niQGtIRghvjuMMCmxevRA1Y6seUn6onOao6Wii9hQC (flutter/engine#9620)
e4d354d2c Roll src/third_party/skia 161f47dfbf6a..21a486d04ae0 (2 commits) (flutter/engine#9619)
28028759b Roll fuchsia/sdk/core/mac-amd64 from tPyg8rqV40gsoXEhDf7VskccnbJGCh4_bZp71YOUinEC to neDu8hWotIrKCQkxz1ScSJC4NoBva1_YVszr6wMbcZQC (flutter/engine#9618)
8e405c1db Roll fuchsia/sdk/core/mac-amd64 from UkCx2sMZsCM-w9nEuQC2TRfnJ7wjJCxsCxSDEx2uPegC to tPyg8rqV40gsoXEhDf7VskccnbJGCh4_bZp71YOUinEC (flutter/engine#9615)
609a98060 Fix uninitialized variables and put tests in flutter namespace. (flutter/engine#9613)
9807894ac Roll fuchsia/sdk/core/linux-amd64 from ur0ah3sh2atct83EqYX28SjG3fKt-7Driu48GbpdxmMC to gMVpYn1cxQ0LeU-TSryUCg2o3rNcf7JWvlOqY6G00MYC (flutter/engine#9612)
4e344e6cd Wire up custom event loop interop for the GLFW embedder. (flutter/engine#9089)
54c62263d Roll fuchsia/sdk/core/mac-amd64 from gyWAjP3BPfhpvHOOwaTusfA8JaGcY_UzjpoIGQnA_W0C to UkCx2sMZsCM-w9nEuQC2TRfnJ7wjJCxsCxSDEx2uPegC (flutter/engine#9611)
c3f8cab29 Roll fuchsia/sdk/core/linux-amd64 from xmxDtsnD0sfj7wxUaiMMhUwh72prBvMcYHY07lgTotcC to ur0ah3sh2atct83EqYX28SjG3fKt-7Driu48GbpdxmMC (flutter/engine#9610)
6f1a748ae Document various classes in //flutter/shell/common. (flutter/engine#9591)
4d3653092 Roll fuchsia/sdk/core/mac-amd64 from 4PD6FCl4NvKCavA0AVsdKtZPB3G5K72KprkEH0mr064C to gyWAjP3BPfhpvHOOwaTusfA8JaGcY_UzjpoIGQnA_W0C (flutter/engine#9609)
cf084bdb6 Roll fuchsia/sdk/core/linux-amd64 from XRYatTY5OvCnQ-5rGC8AnYltKa68CBxmnEK8QO0fpvQC to xmxDtsnD0sfj7wxUaiMMhUwh72prBvMcYHY07lgTotcC (flutter/engine#9607)
8d054008a disable mysterious failing tests (flutter/engine#9608)
aa817a9a2 Roll fuchsia/sdk/core/mac-amd64 from DeTFBSaxMBfZpfK0c7CifGpJbJLOrs3WtuCOaINwmrwC to 4PD6FCl4NvKCavA0AVsdKtZPB3G5K72KprkEH0mr064C (flutter/engine#9606)
4e988e0ae Roll fuchsia/sdk/core/linux-amd64 from jXpdljb7CHe8PEpUGGYqGvx6vFar6QRUh6HmpxMoS9sC to XRYatTY5OvCnQ-5rGC8AnYltKa68CBxmnEK8QO0fpvQC (flutter/engine#9605)
84ae36ac2 Roll fuchsia/sdk/core/mac-amd64 from IMr36r3rRLs1G7T5OtCudVMoWjPcjRbYGgyDg7LSxPwC to DeTFBSaxMBfZpfK0c7CifGpJbJLOrs3WtuCOaINwmrwC (flutter/engine#9604)
7135c8dbd Roll fuchsia/sdk/core/mac-amd64 from qcwCYvuT0PeU97HpvMVmC114EOKwfrk8PdFdZz_m6CIC to IMr36r3rRLs1G7T5OtCudVMoWjPcjRbYGgyDg7LSxPwC (flutter/engine#9602)
8f4df037b Roll fuchsia/sdk/core/linux-amd64 from Y3kUPtfq2frI60zx7VssO-WG733jtODCmnESyz0UGdEC to jXpdljb7CHe8PEpUGGYqGvx6vFar6QRUh6HmpxMoS9sC (flutter/engine#9601)
6c6a0d753 [trace clients] Remove fuchsia.tracelink.Registry (flutter/engine#9593)
f931539b2 Roll fuchsia/sdk/core/mac-amd64 from UsrGfX7Fj96MljgqUFc_A-o_ufsa_FX3eaG14ZSDWMAC to qcwCYvuT0PeU97HpvMVmC114EOKwfrk8PdFdZz_m6CIC (flutter/engine#9600)
...
2019-07-02 20:12:10 -04:00
liyuqian c73b35deb8
Update macrobenchmarks README and app name (#35477) 2019-07-02 17:10:52 -07:00
Jonah Williams 6e705ea6a6
mark windows and macos chrome dev mode as flaky (#35495) 2019-07-02 16:43:41 -07:00