Jenn Magder
d81691d0f4
Revert "Build iOS apps using Swift Packages ( #68361 )" ( #68546 )
...
This reverts commit dd9323bdfb
.
2020-10-19 17:57:32 -07:00
Jenn Magder
dd9323bdfb
Build iOS apps using Swift Packages ( #68361 )
2020-10-19 15:47:04 -07:00
Greg Spencer
8c03ff8c1d
Mark keys that match a shortcut, but have no action defined as "not handled". ( #67359 )
...
- - When I added notification of key events before processing them as text, it made it so that shortcut key bindings like the spacebar would prevent spaces from being inserted into text fields, which is obviously not desirable (and so that change was reverted). At the same time, we do want to make it possible to override key events so that they can do things like intercept a tab key or arrow keys that change the focus.
This PR changes the behavior of the Shortcuts widget so that if it has a shortcut defined, but no action is bound to the intent, then instead of responding that the key is "handled", it responds as if nothing handled it. This allows the engine to continue to process the key as text entry.
This PR includes:
- Modification of the callback type for key handlers to return a KeyEventResult instead of a bool, so that we can return more information (i.e. the extra state of "stop propagation").
- Modification of the ActionDispatcher.invokeAction contract to require that Action.isEnabled return true before calling it. It will now assert if the action isn't enabled when invokeAction is called. This is to allow optimization of the number of calls to isEnabled, since the shortcuts widget now wants to know if the action was enabled before deciding to either handle the key or to return ignored.
- Modification to ShortcutManager.handleKeypress to return KeyEventResult.ignored for keys which don't have an enabled action associated with them.
- Adds an attribute to DoNothingAction that allows it to mark a key as not handled, even though it does have an action associated with it. This will allow disabling of a shortcut for a subtree.
2020-10-19 11:26:50 -07:00
Martin Kustermann
6fae89c8b5
Update package:stack_trace dependency to 1.10.0-nullsafety.4 ( #68132 )
2020-10-16 16:35:20 +02:00
Sam Rawlins
23c7ee9deb
Bump meta to 1.3.0-nullsafety.4 ( #67744 )
2020-10-12 09:50:30 -07:00
Jacob MacDonald
b95c3d7d56
update stack_trace dep (and others) ( #67057 )
2020-10-01 09:54:07 -07:00
Jason Simmons
e6b9b5efb7
Add a compressionState value to HttpResponse mocks ( #66679 )
...
The Dart SDK now requires non-null enum values if the enum is used in an
exhaustive switch statement on a non-nullable type.
See https://github.com/flutter/flutter/issues/66674
2020-09-25 14:14:45 -07:00
Jacob MacDonald
9cee75ba61
update to the latest null safe packages ( #66384 )
...
Updates all null safe dependencies to versions that allow 2.10 stable and 2.11 dev releases.
Also updates flutter_goldens and flutter_goldens_client to allow 2.11 dev.
2020-09-23 11:03:29 -07:00
Dan Field
7eb8447485
Allow new methods to be added to ui.Image for tests ( #65876 )
...
Remove fake image implementations, add createTestImage to flutter_test
2020-09-22 11:55:39 -07:00
Yegor
905feb7771
roll source_span 1.8.0-nullsafety.2 ( #66290 )
2020-09-21 15:02:07 -07:00
Jonah Williams
689ca09cd0
[versions] update to latest source span and roll engine to 4b8477d11573d233e6791204191c0090f733b05d ( #66136 )
2020-09-19 11:22:07 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Greg Spencer
199a7c1964
Fix the character
field of the RawKeyEvent
to hold correct data on non-Android platforms. ( #65667 )
...
This fixes a problem where the character field of the RawKeyEvent was not being set at all for non-Android platforms.
I also updated the key maps, and corrected a problem with the Windows key map where the backquote character wasn't correctly mapped.
2020-09-15 13:02:16 -07:00
Greg Spencer
94592acb71
Creates a way to test private APIs in the Flutter package. ( #65505 )
2020-09-13 15:52:03 -07:00
Ben Konyi
577de1c44e
Roll forward package:test to 1.16.0-nullsafety.4 to prepare for ( #65571 )
2020-09-10 15:55:03 -07:00
xster
df8e537f96
move compile/target sdk versions to 29 ( #62799 ) ( #63008 )
2020-08-11 14:51:02 -07:00
Hans Muller
6b7634b73a
Removed old button widget references from dev/manual_tests ( #62816 )
2020-08-05 14:51:27 -07:00
Jonah Williams
e8ad863a08
Revert "move compile/target sdk versions to 29 ( #62799 )" ( #62884 )
...
This reverts commit 5b3dc5251b
.
2020-08-04 11:20:16 -07:00
xster
5b3dc5251b
move compile/target sdk versions to 29 ( #62799 )
2020-08-04 08:26:08 -07:00
Jonah Williams
c24772e8fb
[versions] update to the latest sdk versions ( #62687 )
2020-08-03 10:31:06 -07:00
Jonah Williams
d834673033
roll dart/engine to f27729e97b5a00c3a8d8d49edc7b998fa755b97a ( #62368 )
2020-07-27 17:51:31 -07:00
Zachary Anderson
ab3a4b0e69
Revert "bump nullsafety deps ( #61978 )" ( #62234 )
...
This reverts commit c46aa360b0
.
2020-07-24 16:31:42 -07:00
Alexandre Ardhuin
c46aa360b0
bump nullsafety deps ( #61978 )
2020-07-24 16:17:08 -07:00
Christopher Fujino
df542b6831
update packages and update template ( #61678 )
2020-07-16 18:32:46 -07:00
Ming Lyu (CareF)
8badf93609
Revert "update packages ( #61647 )" ( #61674 )
...
This reverts commit b7b60a2d2c
.
2020-07-16 20:13:18 -04:00
Ming Lyu (CareF)
b7b60a2d2c
update packages ( #61647 )
2020-07-16 18:55:42 -04:00
Ben Konyi
38fe887342
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )" ( #61641 )
...
This reverts commit 594c3541aa
.
2020-07-16 11:43:54 -07:00
Ben Konyi
594c3541aa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )
...
This reverts commit a1a5a8f635
.
2020-07-16 11:38:17 -07:00
Alexandre Ardhuin
f32a73711a
use nnbd deps ( #61177 )
2020-07-09 23:01:22 +02:00
Dan Field
33aa457604
Roll packages ( #61034 )
...
Roll packages, update XML deprecations.
2020-07-07 16:40:33 -07:00
Jonah Williams
37db92beeb
[versions] update all versions and fix tool tests ( #60127 )
...
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders:
- systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally.
- MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line.
- RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
2020-06-23 15:48:37 -07:00
Jonah Williams
fbdc79e448
[versions] update all versions ( #59832 )
...
Fixes #59718
Update all versions, specifically dwds which has a hot restart fix
2020-06-19 14:48:57 -07:00
Greg Spencer
2163731c99
Remove DiagnosticableMixin in favor of Diagnosticable ( #58635 )
2020-06-16 09:25:04 -07:00
Justin McCandless
77859c682e
Characters package ( #59267 )
2020-06-15 09:50:02 -07:00
Jenn Magder
023532d991
Revert "Build iOS apps using Swift Packages ( #59009 )" ( #59025 )
...
This reverts commit 43e28084fc
.
2020-06-08 15:45:10 -07:00
Jenn Magder
43e28084fc
Build iOS apps using Swift Packages ( #59009 )
2020-06-08 13:53:01 -07:00
Jenn Magder
2ece1c3a17
Revert "Build iOS apps using Swift Packages ( #58522 )" ( #58549 )
...
This reverts commit 2054f37aaf
.
2020-06-02 19:00:12 -07:00
Jenn Magder
2054f37aaf
Build iOS apps using Swift Packages ( #58522 )
2020-06-02 17:57:11 -07:00
Tianguang
03c74eb42e
Run flutter update-packages --force-upgrade
. ( #58104 )
...
* Run `flutter update-packages --force-upgrade`.
* Update test to 1.14.5.
2020-05-30 00:13:33 +02:00
Greg Spencer
36767d01e4
Make Action.enabled be isEnabled(Intent intent) instead. ( #55230 )
2020-04-21 13:18:04 -07:00
Jacob MacDonald
6399be62d2
remove flutter_test quiver dep, use fake_async and clock instead ( #54125 )
...
## Description
Removes the `flutter_test` dependency on `quiver`, instead using the more targeted `clock` and `fake_async` packages.
## Related Issues
https://github.com/flutter/flutter/issues/53908
## Tests
No changes to tests
## Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
- [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [x] I signed the [CLA].
- [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
- [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.
- [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
- [x] I am willing to follow-up on review comments in a timely manner.
## Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].
- [ ] No, no existing tests failed, so this is *not* a breaking change.
- [x] Yes, this is a breaking change. *If not, delete the remainder of this section.*
- [x] I wrote a design doc: https://docs.google.com/document/d/1EkkLbECNBwHgddBQAZqEy7iQLTIxR1rgChKzxcLwhio/edit
- [x] I got input from the developer relations team, specifically from: @RedBrogdon
- [x] I wrote a migration guide: https://github.com/flutter/website/pull/3932
<!-- Links -->
[issue database]: https://github.com/flutter/flutter/issues
[Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
2020-04-15 12:10:26 -07:00
tauu
846e8fe812
force upgraded package dependencies ( #54787 )
...
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-14 18:21:14 -07:00
Jenn Magder
a6b39a230f
Migrate Runner project base configuration ( #54691 )
2020-04-14 13:01:54 -07:00
Emmanuel Garcia
54dba4cd59
Don't import plugins that don't support android in settings.gradle ( #54407 )
2020-04-12 08:55:03 -07:00
Jonah Williams
f7de5aa5b0
fix visual density prefer_const_constructors lint ( #54471 )
2020-04-10 11:20:25 -07:00
Greg Spencer
d64955ab49
Add visualDensity and focus support to ListTile ( #53888 )
2020-04-10 10:20:02 -07:00
Jacob MacDonald
efdce3cf72
drop image package dependency for goldens ( #54144 )
2020-04-09 11:21:23 -07:00
Francisco Magdaleno
a0f7f6ca6d
[windows] Adds support for keyboard mapping. ( #54227 )
2020-04-08 10:07:02 -07:00
Greg Spencer
0f68b46f6a
Revise Action API ( #42940 )
...
This updates the Action API in accordance with the design doc for the changes: flutter.dev/go/actions-and-shortcuts-design-revision
Fixes #53276
2020-04-07 16:49:39 -07:00
Michael Thomsen
98e7791ec9
Roll pinned xml and petitparser versions ( #54181 )
2020-04-07 12:16:03 -07:00