Commit graph

17556 commits

Author SHA1 Message Date
Fedor Korotkov 038762bd69
[ci] Upgrade to Catalina (#49519)
Catalina VMs are using the latest major version of virtualization which has improved networking which should fix `Agent is not responding!` issue.
2020-02-10 10:03:59 -08:00
liyuqian b277534026
Assert cache hints are not set for null painters (#49771) 2020-02-10 10:03:03 -08:00
Greg Spencer 9fb781a54a
Update samples to work with Dartpad, and convert all that make… (#50377)
This PR modifies the existing API docs samples to use DartPad so that all of the samples are now interactive apps on the API docs site.

It also removes the restriction for the max width of the description area so that the dartpad region can expand horizontally.

I updated the first paragraph on the API docs to indicate that Flutter is more than just mobile now (same text as the README.md at the top level).

I modified a few of the examples so that they looked nicer, and fit better on the page.

I added the sample description text above each DartPad instance, since that often defines the context of the example.

I removed animations and images when they were redundant with the sample content. There were a few that made sense to keep, so I did.
2020-02-10 10:00:20 -08:00
Jonah Williams 2a6bc617b8
[framework] minimize performance effect of stateless/stateful swap (#50394) 2020-02-10 10:00:11 -08:00
Jonah Williams 6146cd72e4
[flutter_tools] add missing vm_service dep to BUILD.gn (#50454) 2020-02-10 09:59:48 -08:00
Jonah Williams a8cc85331a
[flutter-tools] replace mock with FakeProcessmanager (#50456) 2020-02-10 09:59:40 -08:00
Prerak Mann 9020642772
Reduced code duplication in ink_splash.dart, ink_ripple.dart (#49480) 2020-02-10 09:58:04 -08:00
Shi-Hao Hong 6dc3bfaa98
Fix Dropdown 'itemHeights' was called on null crash (#50366) 2020-02-07 18:28:02 -08:00
Michael Goderbauer 95d6ef741c
Nested TickerMode cannot turn tickers back on (#50355) 2020-02-07 18:23:02 -08:00
keyonghan 0ffecc6807
change capability for test tiles_scroll_perf_iphonexs__timeline_summary (#50385) 2020-02-07 17:24:56 -08:00
engine-flutter-autoroll b40cb088d4
Roll engine 580503c35926..6158f03ef5fa (6 commits) (#50381)
* c9322145f Ensure fields of Rect and OffsetBase classes are optimized as non-null. (flutter/engine#16465)

* 5c70356a9 Simplify task queues locking mechanism (flutter/engine#16477)

* d589ddea6 Fix text range logic for a11y (flutter/engine#16496)

* 1a4f4e394 Fix unused import in Android embedder (flutter/engine#16494)

* 964ae1009 Disable ShellTest.WaitForFirstFrameTimeout on Fuchsia (flutter/engine#16495)

* 6158f03ef Roll src/third_party/skia 87e3bef6f82f..9f3eef796f63 (7 commits) (flutter/engine#16493)
2020-02-07 16:55:04 -08:00
filaps 801a6a7e5e
Fix SnackBar clipping when it is floating due to FloatingActionButton positioning (#47616) 2020-02-07 16:08:02 -08:00
jimshepherd 92a335e465
Use state value in DropdownButtonFieldForm (#37145)
The current implementation of DropdownButtonFormField does not pass the initial value to _DropdownButtonFormFieldState. As a result changes made through the child DropdownButton are not made to the FormFieldState and the widget is not updated unless a onChanged function is provided to the DropdownButtomFormField constructor.

This change modifies DropdownButtonFormField to behave more consistently with other FormField widgets in how the Form state is handled.
2020-02-07 15:50:37 -08:00
Jenn Magder 082ae838bd
Fall back to global cache and platform if null when injected into constructor (#50370) 2020-02-07 15:28:45 -08:00
engine-flutter-autoroll ef74572e76
Roll engine f3ce90e9387b..580503c35926 (24 commits) (#50363)
* 71ec0a181 Relax timing restrictions on WakeUpTimersAreSingletons. (flutter/engine#16446)

* 3ac1e6d8b Disable unit tests using --gtest-filter instead of at compile time (flutter/engine#16472)

* 80be2c43e Fix RasterCache LRU logic, opportunistic simplifications. (flutter/engine#16434)

* ca40f11ee Roll src/third_party/skia 7f36405ea3ec..c0360582d211 (6 commits) (flutter/engine#16476)

* c9e7713b5 Fix analyzer warnings for frontend_server change (flutter/engine#16470)

* 9ada1b0e0 Fix elf_loader.cc on Fuchsia, add a TODO for proper fix

* 051762798 Enable runtime_unittests on Fuchsia

* 03f639e12 Add noexcept annotations to EnableValue moves (flutter/engine#16478)

* 00904dd96 Various fixes in CanvasKit (flutter/engine#16433)

* de7022b3b Roll src/third_party/skia c0360582d211..121750c2efff (7 commits) (flutter/engine#16479)

* d2aab27b4 Enable shell_unittests on Fuchsia with Vulkan dependencies. (flutter/engine#16376)

* eec73e3a7 Roll src/third_party/dart b3396cbdcae1..49850e6919f7 (45 commits) (flutter/engine#16480)

* 557f3a2d2 Run Flutter framework tests against the web engine in Cirrus (flutter/engine#16343)

* 477527b3f Roll src/third_party/skia 121750c2efff..046f9893b953 (4 commits) (flutter/engine#16482)

* eb8691f2a Code cleanup on destructors (flutter/engine#16481)

* 73978177e Roll fuchsia/sdk/core/linux-amd64 from A9STP... to g2s3c... (flutter/engine#16484)

* 313527d2e Roll src/third_party/dart 49850e6919f7..16782e6c171f (16 commits) (flutter/engine#16485)

* 83feaf4fc Roll src/third_party/skia 046f9893b953..97bf6578796c (1 commits) (flutter/engine#16486)

* 918405870 Roll src/third_party/skia 97bf6578796c..f3560b680e35 (1 commits) (flutter/engine#16487)

* 0db017d09 Roll src/third_party/dart 16782e6c171f..d765d237460d (1 commits) (flutter/engine#16488)

* f9ed07cf5 Roll fuchsia/sdk/core/linux-amd64 from g2s3c... to LvSlH... (flutter/engine#16489)

* a1b91dad7 Roll src/third_party/skia f3560b680e35..77fdf66946d2 (1 commits) (flutter/engine#16490)

* 7edb803b6 Roll src/third_party/dart d765d237460d..514a8d4c8417 (7 commits) (flutter/engine#16491)

* 580503c35 Roll src/third_party/skia 77fdf66946d2..87e3bef6f82f (2 commits) (flutter/engine#16492)
2020-02-07 14:49:42 -08:00
Mouad Debbar b54047932f
Reduce duplication in sharded tests in .cirrus.yml (#50306) 2020-02-07 14:43:25 -08:00
Jenn Magder 4411d8e64e
Update minimum version to Xcode 11.0 (#50371) 2020-02-07 14:35:01 -08:00
Christopher Fujino b65f4211cf
Make codesign.dart integration test easier to run locally (#50289) 2020-02-07 14:34:16 -08:00
Shi-Hao Hong 5dfa8e9c05
Remove redundant gen_l10n tests (#50301) 2020-02-07 13:59:45 -08:00
Jenn Magder 48a9bd56b1
Revert "Update minimum version to Xcode 11.0 (#50315)" (#50369)
This reverts commit 2b7582ef61.
2020-02-07 13:59:21 -08:00
Jenn Magder 2b7582ef61
Update minimum version to Xcode 11.0 (#50315) 2020-02-07 13:57:24 -08:00
Dan Field 9348aea016
Disable tests using gauge (#50367) 2020-02-07 13:51:24 -08:00
engine-flutter-autoroll fc2c0af48d
Roll engine f34bc65bee49..f3ce90e9387b (20 commits) (#50305)
* d5442b86e Roll src/third_party/skia bc3307c395e2..ebc00f97fab1 (21 commits) (flutter/engine#16429)

* 76b291a65 Added a plugin method that gets called when the engine is about to be deleted (flutter/engine#16336)

* 07f25c51e fix bad reference to maxDiffRatePercent (flutter/engine#16440)

* 41d50c220 Reland #16206: "[web] Correct getPositionForOffset for multi-line paragraphs" (flutter/engine#16365)

* f25d325b1 [fuchsia] change kMaxFramesInFlight to 3 (flutter/engine#16425)

* 473f55940 Suppress some deprecation warnings on Windows (flutter/engine#16416)

* 2e34ad6b7 Roll fuchsia/sdk/core/mac-amd64 from ubThi... to fvWgE... (flutter/engine#16454)

* 47c02e6fc Roll src/third_party/skia ebc00f97fab1..cbf79b95c2d4 (4 commits) (flutter/engine#16456)

* 3d1b112d7 Roll buildroot (flutter/engine#16419)

* 28e663726 Add explicit casts to printing of function pointers (flutter/engine#16370)

* 9ad81dae1 Wrap strdup to use compliant name on Windows (flutter/engine#16372)

* 9708e5274 Roll rapidjson (flutter/engine#16347)

* f06ebba3e Include <memory> in hb_wrapper.h because unique_ptr is used. (flutter/engine#16442)

* e530376fb Roll fuchsia/sdk/core/linux-amd64 from VJv0H... to A9STP... (flutter/engine#16457)

* 4cc41ae97 Roll src/third_party/skia cbf79b95c2d4..4721e067812f (1 commits) (flutter/engine#16459)

* 2f233edf5 Roll src/third_party/skia 4721e067812f..f6e3eaf05150 (1 commits) (flutter/engine#16461)

* b0b0ed83b Roll src/third_party/skia f6e3eaf05150..cc21d0c1f2ce (1 commits) (flutter/engine#16463)

* 7fea936a0 Roll src/third_party/skia cc21d0c1f2ce..116b33e8ab21 (3 commits) (flutter/engine#16466)

* 001b3a0b1 Roll src/third_party/skia 116b33e8ab21..7f36405ea3ec (3 commits) (flutter/engine#16471)

* f3ce90e93 Reset width/height before deallocation for Safari allocation bug. (flutter/engine#16469)
2020-02-07 13:23:15 -08:00
Tong Mu 324a2168cd
Change definition of offset to object (#50157) 2020-02-07 13:08:02 -08:00
Dan Field 2627122324
Throw when trying to load an empty file (#50325) 2020-02-07 10:08:02 -08:00
Greg Spencer f118b638ed
Add channel-specific dartpad URL to snippet generation (#49845)
Adds the channel to docs generation for dartpad samples, since the new query parameter was added in dart-lang/dart-pad#1462
2020-02-07 08:45:57 -08:00
Alexandre Ardhuin b953c3e5a8
use raw strings to avoid escaping (#50322) 2020-02-07 16:35:55 +01:00
Dan Field 8735ab1e35
Make onImage re-entrant safe (#50316) 2020-02-06 23:36:59 -08:00
Jonah Williams 7b074468a4
Update compile size benchmarks to include --split-debug-info and --tree-shake-icons (#50313) 2020-02-06 23:28:41 -08:00
Alexandre Ardhuin 5c28e3eeea
unnecessary escapes fixes (#50178)
* unnecessary escapes fixes

* replace some strings with raw strings

* update regexp

* address review comments
2020-02-07 06:35:50 +01:00
David Iglesias b8199abd15
[flutter_tools] Prevent web ServiceWorker from modifying fetch requests. (#50312) 2020-02-06 18:43:03 -08:00
Jonah Williams 82410a5ae7
[flutter_tools] support iOS and macOS with split-debug-info and tree-shake-icons (#50296) 2020-02-06 18:39:34 -08:00
Emmanuel Garcia 8c398a8ddd
Reland: Skia gold driver test (#50160) 2020-02-06 17:14:50 -08:00
Harry Terkelsen 0fc1c6f6d7
[flutter_tool] Make the registrant import relative to the entrypoint (#50302) 2020-02-06 17:08:02 -08:00
Jonah Williams 181cdec079
[flutter_tools] remove automatic multiroot scheme (#50284) 2020-02-06 17:05:41 -08:00
Zachary Anderson 6bfff984de
[flutter_tools] Handle AndroidStudio validator crash (#50282) 2020-02-06 16:03:02 -08:00
David Shuckerow 2032760509
Explain how the scroll controller behaves under tests (#50129) 2020-02-06 15:58:02 -08:00
YizhePKU f8b286dce0
Updated documentation for CupertinoPicker (#50264) 2020-02-06 15:53:07 -08:00
Levi Lesches 149e06232b
Add option to clear the terminal by pressing "c" (#50034) 2020-02-06 15:53:04 -08:00
Jenn Magder a9b8d360cf
Remove ideviceinfo, idevice_id artifacts (#50248) 2020-02-06 15:50:26 -08:00
Jenn Magder 2512163ebe
Allow Android to be missing from multi-platform manifest (#50304) 2020-02-06 15:50:03 -08:00
Christopher Fujino e6e14b0dd2
Have android validator suggest ANDROID_SDK_ROOT instead of deprecated ANDROID_HOME (#49846) 2020-02-06 14:03:03 -08:00
Jonah Williams db901ce5dd
[flutter_tools] remove dependencies checks that are no longer relevant in assemble-land (#50225) 2020-02-06 13:59:18 -08:00
Jonah Williams 69ecca554d
[flutter_tools] iOS fallback discovery protocol (#49735) 2020-02-06 13:58:03 -08:00
Dan Field d94ff4bdbe
Fix LRUness of ScrollAwareImageProvider (#50242) 2020-02-06 13:19:46 -08:00
Gityuan b8dd6bdd19
support endless recorder for timeline (#47419) 2020-02-06 12:33:01 -08:00
Kaushik Iska b16fd13f89
[fuchsia] Pass device name to the drive comand. (#50290) 2020-02-06 12:04:08 -08:00
Jenn Magder 13e30aaec6
Remove android directory from platform_channel_swift example project (#50213) 2020-02-06 11:39:55 -08:00
Jenn Magder a0665aba49
Reland Replace ideviceinfo and idevice_id with xcdevice (#50252) 2020-02-06 11:38:47 -08:00
engine-flutter-autoroll fbb3d281b3
Roll engine 81dffd1241e6..f34bc65bee49 (29 commits) (#50255)
* 9347c93fc Roll src/third_party/dart c8ed304e979a..3414b5167554 (52 commits) (flutter/engine#16362)

* 16cd6f093 Roll fuchsia/sdk/core/mac-amd64 from 6h3IH... to Ke00Y... (flutter/engine#16360)

* 8c6cc65cd Fix runtime type errors when running with canvaskit (flutter/engine#16312)

* 677b563b9 Refactor of Vulkan GPUSurface code (flutter/engine#16224)

* 7ca44d339 Kill the test harness if any test exceeds a timeout. (flutter/engine#16349)

* 7f6149cbd Revert "Remove use of the deprecated AccessibilityNodeInfo boundsInPa… (flutter/engine#16355)

* 488f489bc Roll fuchsia/sdk/core/linux-amd64 from Tszo5... to VJv0H... (flutter/engine#16363)

* 7c9b11a80 Roll src/third_party/skia 71ce449d2814..2aee7d24da8f (5 commits) (flutter/engine#16364)

* 7e1d1440a Expose enable-service-port-fallback switch (flutter/engine#16366)

* 4cda916d5 Expose the dart kernel snapshot target and copied assets as a public dependency (flutter/engine#16266)

* 73c513041 Roll src/third_party/dart 3414b5167554..68e904e444dc (17 commits) (flutter/engine#16367)

* 1cd8f3b1a Fix and consolidate wstring conversion utils (flutter/engine#16342)

* b98a39e0b Add docs (flutter/engine#16368)

* e3e6de2ae Roll buildroot to c44791c89d2b51bfce864ab2cf5228d41ece1fcc (flutter/engine#16371)

* e24ec598e Fuchsia a11y actions (flutter/engine#16321)

* d8400c9cc Roll src/third_party/skia 2aee7d24da8f..14d64afaa8a3 (10 commits) (flutter/engine#16374)

* eeabd4d86 Roll src/third_party/dart 68e904e444dc..48808f7dce81 (17 commits) (flutter/engine#16377)

* 22b994c9c Roll fuchsia/sdk/core/mac-amd64 from Ke00Y... to ubThi... (flutter/engine#16378)

* 0471f44e9 Roll src/third_party/skia 14d64afaa8a3..6c9b1fd6663e (7 commits) (flutter/engine#16380)

* 852d8244c Roll src/third_party/dart 48808f7dce81..34893faa6079 (7 commits) (flutter/engine#16381)

* 4aa2083cf Roll src/third_party/skia 6c9b1fd6663e..bc3307c395e2 (1 commits) (flutter/engine#16383)

* 036c370c3 Copied Apple's semantics for switches, made checkboxes the same. (flutter/engine#16211)

* c107969ec fix build_id logic for fuchsia symbols (flutter/engine#16397)

* 11b770489 [fuchsia] Migrate flutter runner to use Present2 (flutter/engine#14162)

* 646ec3544 Update license output (flutter/engine#16379)

* 925c60b38 Fix Windows embedding issues caught by clang (flutter/engine#16369)

* 31bf3e110 Roll src/third_party/dart 34893faa6079..b3396cbdcae1 (36 commits) (flutter/engine#16422)

* 8f89bac4b [web] Fixes incorrect transform when context save and transforms are deferred. (flutter/engine#16412)

* f34bc65be use percent for golden diff rates; tighten the values (flutter/engine#16430)
2020-02-06 11:26:18 -08:00