Commit graph

19581 commits

Author SHA1 Message Date
Danny Tuppeny 51fcf8fa7a
Add debounce support to daemon hot reload requests (#55376) 2020-07-15 11:56:05 -07:00
Ming Lyu (CareF) c9cf9c9940
Promote WidgetTester.ensureVisible to WidgetController (#61540)
* Promtoe WidgetTester.ensureVisible

* modify according to tvolkert@
2020-07-15 14:54:49 -04:00
Todd Volkert 9e665e1d88
Update documentation for IntrinsicWidth & IntrinsicHeight (#61502)
https://github.com/flutter/flutter/issues/61496
2020-07-15 11:54:32 -07:00
Todd Volkert 0d2421d5df
Add defaults to showGeneralDialog() (#61503)
The function passes most of its arguments through to
`_DialogRoute`, but it wasn't providing the default
values that `_DialogRoute` was, causing it to override
the defaults will null values.
2020-07-15 11:53:55 -07:00
Todd Volkert d009172fd2
Change xcodebuild to be a "slow operation" (#61518)
The Xcode build almost always takes longer than 2 seconds. With the
operation classified as a "fast operation", the Flutter tool will
warn the user that the build is "taking an unexpectedly long time".
This updates the operation to be a "slow operation", which will only
warn the user if it takes 2+ minutes.
2020-07-15 11:53:26 -07:00
Jonah Williams 5e1635b186
fix type error in web builds (#61556) 2020-07-15 10:21:39 -07:00
Jonah Williams d8b6fa153a
[flutter_tools] generate a synthetic flutter_gen package on pub get (#61261)
Allow configuring the flutter_manifest to support a synthetic package, this is done through flutter: generate: true.

When running pub get, insert a flutter_gen entry into the packages if it does not already exist. This points to .dart_tool/flutter_gen, which can be updated to contain the generated intl sources (But doesn't currently)

Adds an integration test that verifies this code can be run and imported when enabled.

Part of #60914
2020-07-15 10:12:52 -07:00
zichangg 3631adc99a
Fixing patch for coming breaking change in HttpClientRequest (#61138)
* Fixing patch for coming breaking change in HttpClientRequest

* Add noSuchMethod() and comment out abort()

* Add ignore: override_on_non_overriding_member
2020-07-15 10:07:57 -07:00
Tong Mu 6e0bc30e84
Document the mapping of system mouse cursors on Windows and Linux (#61399)
Add document for mouse cursor mapping on Windows and Linux.
2020-07-15 10:02:22 -07:00
Danny Tuppeny d19bd37749
Tweak message about debugging with web-server (#61535) 2020-07-15 17:57:14 +01:00
Alexandre Ardhuin 978a2e7bf6
migrate foundation to nullsafety (#61188)
* migrate foundation to nullsafety

* address review comments
2020-07-15 18:55:27 +02:00
Jonah Williams cb7770b3a5
[flutter_tools] add support for enable null safety asserts (#61114)
Enable null safety asserts for web debug mode. This induces runtime asserts at the boundaries between null safe and non-null safe libraries. Adds integration test that validates assertion error is thrown.

#61042
2020-07-15 09:54:39 -07:00
engine-flutter-autoroll 0a64b5b271
Roll Engine from 7b1515ed292a to 383dfa2033b8 (9 revisions) (#61538) 2020-07-15 09:51:01 -07:00
Neevash Ramdial e24cdab517
Re-land Expose height and width factor in AnimatedAlign (#61136) 2020-07-15 09:46:03 -07:00
Sam Rawlins 54f99d642d
Remove unused optional parameters of private functions. (#60446) 2020-07-15 09:41:02 -07:00
Anthony 6f56ba453d
Automatically scale down Dialog padding for larger text scale factors (#58245) 2020-07-15 09:36:03 -07:00
Jonah Williams b010f78e3a
[flutter_tools] fix typo in test code (#61548) 2020-07-15 09:21:24 -07:00
Ayush Bherwani 26a5f5c3d6
[ListTileTheme] adds properties to customize tile color at theme level (#61532) 2020-07-15 05:46:03 -07:00
engine-flutter-autoroll d7933fadfd
Roll Engine from be7595bafb14 to 7b1515ed292a (5 revisions) (#61515) 2020-07-15 05:41:03 -07:00
engine-flutter-autoroll f95f46e910
Roll Engine from 99c2b3a24555 to be7595bafb14 (2 revisions) (#61504) 2020-07-14 22:46:01 -07:00
Hans Muller fcb5806933
Update MaterialState API docs (#61479) 2020-07-14 22:41:01 -07:00
Todd Volkert 3ce06efd40
Default textBaseline to alphabetic in Flex (#61425) 2020-07-14 22:36:02 -07:00
engine-flutter-autoroll f25bd9c55c
Roll Engine from 9556c7b64ef2 to 99c2b3a24555 (5 revisions) (#61495) 2020-07-14 17:26:01 -07:00
Siva e15cfc2c09
Remove code that morphs --sound-null-safety to --null-safety options (#61491) 2020-07-14 17:21:01 -07:00
Jenn Magder 4fba77476d
Support Xcode patch version comparison (#61484) 2020-07-14 17:16:02 -07:00
Ben Konyi a1a5a8f635
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61395)" (#61498)
This reverts commit f98184e487.
2020-07-14 16:32:49 -07:00
chunhtai e78cbe5df9
fix code comments in the route route didadd method (#61400) 2020-07-14 16:06:01 -07:00
engine-flutter-autoroll dcb3e77acb
Roll Engine from 4a2bf61a3037 to 9556c7b64ef2 (2 revisions) (#61477) 2020-07-14 16:01:01 -07:00
Ben Konyi f98184e487
Reland "Add support for Dart Development Service (DDS) in Flutter Tools (#61276)" (#61395)
This reverts commit 5b9c6e2b0e.
2020-07-14 15:57:36 -07:00
Emmanuel Garcia 93cfcc2166
Account for MotionEvent instance mutations (#61417) 2020-07-14 15:56:02 -07:00
Chris Yang 77efc00af0
Revert "Branch out android platform view perf testing (#60238)" (#61482)
This reverts commit 9f4499f431.
2020-07-14 15:10:21 -07:00
Todd Volkert 4195ad4ef6
Fix Border.symmetric: phase 1 (#61474) 2020-07-14 13:21:02 -07:00
Chris Yang 9f4499f431
Branch out android platform view perf testing (#60238) 2020-07-14 13:07:41 -07:00
engine-flutter-autoroll e2f29bbfd7
Roll Engine from 2da58aa5810f to 4a2bf61a3037 (6 revisions) (#61471) 2020-07-14 12:56:01 -07:00
Jonah Williams 485034cab3
[flutter_tools] update fastReassemble method for single widget reloads (#61413)
For #61407 , we need to be able to find all widgets that of a given type. Previously I experimented with using the type name, but of course this does not handles subtypes. The actual check needs to be an is check.

Since there is no way to convert a String to a Type at runtime for use in this check, we can instead evaluate an expression which assigns a closure to a field. The idea for this was inspired by how the dart devtools adds debug functionality to older versions of flutter.

Since the reload feature is not complete yet, adds an integration test which simulates how it will eventually behave
2020-07-14 12:25:13 -07:00
Jonah Williams d22d65c6e7
[flutter_tools] add the feature for single widget reloads (#61411)
Implements the flutter config feature for #61407 , but does not implement any of the functionality.
2020-07-14 12:24:58 -07:00
Todd Volkert 74f3e6dd63
Add assert to Table to check for rows with null children (#61457) 2020-07-14 12:20:22 -07:00
Andre 06a35b3322
Improve error reporting for RenderObject visitChildren errors (#61455)
* Improve error reporting for RenderObject visitChildren errors

* Nits and fixes
2020-07-14 14:21:14 -04:00
engine-flutter-autoroll fdda80590f
Roll Engine from 1e23309a386e to 2da58aa5810f (3 revisions) (#61461) 2020-07-14 10:31:02 -07:00
Todd Volkert b58c3f0852
Update documentation (#61424) 2020-07-14 10:25:24 -07:00
Jason C.H c047769487
Implement new activity indicator for iOS14 (#60179)
Updates the activity indicator style to iOS14, but places it behind a flag, to be deprecated when iOS 14 is released.
2020-07-14 09:21:27 -07:00
engine-flutter-autoroll ce55e42f2b
Roll Engine from f10f17257300 to 1e23309a386e (55 revisions) (#61435)
* 160b268ef Set locale in Linux shell (flutter/engine#19470)

* c479b9370 Fix documentation of unset platform view ID (flutter/engine#19320)

* f3ab78dc1 Fix clipboard paste functionality not working (flutter/engine#19489)

* 934534758 Added the ability to set properties in interface builder for FlutterViewController. (flutter/engine#19458)

* 69fdf6d1b Use identical in hashValues instead of operator== (flutter/engine#19615)

* 3dc81635d [android] Pass synthesized eventType to VirtualDisplay platform views and fix memory leak (flutter/engine#19620)

* b16c47d57 using text capitalization value in web (flutter/engine#19564)

* 49c0161ff Roll Skia from 16bf7d31c819 to 4d48bb35972f (32 revisions) (flutter/engine#19635)

* 2d6afa7fa Roll Skia from 4d48bb35972f to 9f821489c9f3 (4 revisions) (flutter/engine#19638)

* 35f59b922 Roll Fuchsia Linux SDK from NC9pp... to 5R9a0... (flutter/engine#19639)

* 53038e298 Roll Fuchsia Mac SDK from iwQCA... to Wym-S... (flutter/engine#19640)

* d9e68f420 Roll Skia from 9f821489c9f3 to f8a6b5b4b0d0 (1 revision) (flutter/engine#19643)

* d32961748 Changes to fix build errors in google3. (flutter/engine#19616)

* dd0a6c403 Roll Skia from f8a6b5b4b0d0 to 5160e8caa226 (9 revisions) (flutter/engine#19647)

* d98d539cb Manual Roll of Dart dfdc7e45c5...06cb010247 (flutter/engine#19649)

* dfd072715 don't throw error for the new autofill request (flutter/engine#19633)

* 39e98d28b Manual Skia roll to c91db040ad18b9cc3236e342e9acca020eaafd10 (flutter/engine#19650)

* f9acd080b Avoid a copy in EncodeImage (flutter/engine#19504)

* 7e101f1ee Roll Fuchsia Linux SDK from 5R9a0... to GOf1K... (flutter/engine#19656)

* f3be9f1bc Incorporate compat info changes into flutter engine (flutter/engine#19606)

* 9188ff66c Manual Roll of Dart 707c6404f9...dfdc7e45c5 (flutter/engine#19657)

* cbdd3e2d4 Roll Fuchsia Mac SDK from Wym-S... to -v4bL... (flutter/engine#19661)

* 6efb152dc Roll Dart SDK from 707c6404f969 to 0e25306d3f78 (4 revisions) (flutter/engine#19666)

* 22a440c67 Roll Dart SDK from 0e25306d3f78 to 6d06476bae6b (1 revision) (flutter/engine#19669)

* 806392328 Roll Fuchsia Linux SDK from GOf1K... to QWI76... (flutter/engine#19671)

* c99deb009 CkPaint uses SkPaint (flutter/engine#19562)

* 015f2ea76 Use the main bundle if the App bundle is not found (flutter/engine#18749)

* f82d30b7c Roll Dart SDK from 6d06476bae6b to a9e67d81941a (3 revisions) (flutter/engine#19677)

* 61b2fd2e3 Roll Fuchsia Mac SDK from -v4bL... to phQJt... (flutter/engine#19681)

* 74b541da2 Roll Fuchsia Linux SDK from QWI76... to mrlGt... (flutter/engine#19682)

* 25ce3db77 Roll Skia from c91db040ad18 to e4f36d7ac8f5 (20 revisions) (flutter/engine#19686)

* 162dba1ab Roll Skia from e4f36d7ac8f5 to ed15b1c39b8b (1 revision) (flutter/engine#19687)

* f97c38b01 Roll Fuchsia Mac SDK from phQJt... to kEVc6... (flutter/engine#19688)

* 40c4ee845 Roll Fuchsia Linux SDK from mrlGt... to YfVT0... (flutter/engine#19690)

* ec944b0f1 Roll Skia from ed15b1c39b8b to 1434ce1aa94d (1 revision) (flutter/engine#19692)

* 7ce988acf Roll Skia from 1434ce1aa94d to f64be13cbf84 (2 revisions) (flutter/engine#19695)

* 5f7ca41a5 Roll Fuchsia Mac SDK from kEVc6... to hRul_... (flutter/engine#19696)

* d24549cfe Roll Skia from f64be13cbf84 to 041796e60364 (3 revisions) (flutter/engine#19697)

* 617bd8866 Roll Dart SDK from a9e67d81941a to fecc8163afc7 (3 revisions) (flutter/engine#19703)

* 8d241e492 [Android] Prevent FlutterRenderer listener from calling JNI after detach (flutter/engine#19558)

* 309e514dd Roll Skia from 041796e60364 to d1ce4cb2beb8 (2 revisions) (flutter/engine#19704)

* 211f18edb Roll Skia from d1ce4cb2beb8 to 7c1967700b44 (6 revisions) (flutter/engine#19707)

* 0532227fc Roll Skia from 7c1967700b44 to 439709a97dfd (8 revisions) (flutter/engine#19712)

* 1e02bfd6a Support decimal information on the TextInputType (flutter/engine#19664)

* 7a95e32fc Linux: Use a hash table to map cursors (flutter/engine#19561)

* df2304489 [web] Implement ulps for path ops (flutter/engine#19711)

* 4a3aa4dc8 Fixes typo in android_context_gl.h (flutter/engine#19700)

* 5b966eb3f Roll Skia from 439709a97dfd to 2604a89d3353 (3 revisions) (flutter/engine#19715)

* d024ae400 [fuchsia] Use memory_requirements_2 extension. (flutter/engine#19678)

* 4392fbf8f Roll Fuchsia Linux SDK from YfVT0... to 2ct5j... (flutter/engine#19720)

* ab05c7959 Roll Fuchsia Mac SDK from hRul_... to ZXLvD... (flutter/engine#19721)

* c05ca7e7f Roll Dart SDK from fecc8163afc7 to f997d62a6d29 (13 revisions) (flutter/engine#19722)

* ae3797121 Remove xcpretty from unit tests to see full output on test failures (flutter/engine#19667)

* 91f80efd3 Moved to RMSE for image comparison to account for slight variations in golden image tests (flutter/engine#19658)

* 1e23309a3 Wait for platform view to appear in iOS UI tests (flutter/engine#19725)
2020-07-14 04:40:29 -07:00
Ayush Bherwani 9cb7ac1353
[ListTile] adds new properties to customize the tile color (#61347) 2020-07-14 03:41:03 -07:00
Pasindu De Silva 5c9d09f05a
Add the ability to ignore lines from coverage depending on comments (#61408) 2020-07-14 01:46:02 -07:00
Jason Simmons af47958eff
Update the golden image comparator to handle read-only image ByteData views (#61406) 2020-07-14 01:41:02 -07:00
Fabusuyi Ayodeji 1c96479760
expose route settings for showModalBottomSheet (#60640) 2020-07-14 01:36:02 -07:00
Hans Muller bb3280885c
Update the Scaffold examples; use the new button classes (#61394) 2020-07-13 16:28:27 -07:00
chunhtai 88a78d660e
reland "Adds semantics information for the popup menu item (#61258)" (#61385) 2020-07-13 16:16:02 -07:00
chunhtai f7688c5001
issue 61346 route can be added and disposed in the same frame (#61375) 2020-07-13 16:11:03 -07:00
Hans Muller 82666ef19e
Update Card example and shadowColor default (#61392) 2020-07-13 16:01:09 -07:00