Commit graph

13725 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
Neevash Ramdial e24cdab517
Re-land Expose height and width factor in AnimatedAlign (#61136) 2020-07-15 09:46:03 -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
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
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
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
Todd Volkert 4195ad4ef6
Fix Border.symmetric: phase 1 (#61474) 2020-07-14 13:21:02 -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
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
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
Jonah Williams e666ea8de4
[flutter_tools] cleanups to web runner functionality (#61178)
Skip unnecessary parsing of chrome URI. Ensure stack traces are initialized in web server. Disclaimer on web server that it does not support debugging and remove help message. Fix generated entrypoint to check for main(List<String> args)

- Fixes #59643
- Fixes #55084
- Fixes #60417
2020-07-13 15:12:46 -07:00
Dan Field eadc35f62b
Optionally invert oversized images (#61209)
* Optionally invert oversized images
2020-07-13 14:03:23 -07:00
Justin McCandless 8048c0332d
Document the addition of LRM and RLM characters (#61104) 2020-07-13 14:01:02 -07:00
Todd Volkert b635d97674
Add widget of the week videos to documentation (#61368) 2020-07-13 13:51:03 -07:00
Darren Austin e2acc6503a
Remove the default shortcut mapping for GameButtonB. (#61370) 2020-07-13 13:46:02 -07:00
Hans Muller 0f57cd26f8
Make ThemeData.shadowColor the default shadowColor in TextButton et al. (#61371) 2020-07-13 13:34:54 -07:00
Danny Tuppeny f8135add8e
Add a flag for using WS for debug backend (#61359) 2020-07-13 13:31:04 -07:00
Tong Mu da8695d389
Mouse events report correct local positions (#61190) 2020-07-13 13:26:03 -07:00
chunhtai 067d3da827
Revert "Adds semantics information for the popup menu item (#61258)" (#61377)
This reverts commit c6058df9ca.
2020-07-13 12:24:42 -07:00
chunhtai c6058df9ca
Adds semantics information for the popup menu item (#61258) 2020-07-13 11:21:03 -07:00
rami-a b79efb8da3
[Material] Allow for customizing Snack bar margin, padding, and width (#61180) 2020-07-13 14:19:45 -04:00
Jenn Magder cda6c27ff7
Add spaces between sentences in help text (#61135) 2020-07-13 11:16:03 -07:00