Nate Bosch
6d1a840bc5
Roll packages, remove unnecessary overrides ( #94172 )
2021-11-24 14:43:05 -08:00
Mouad Debbar
30b6b9e7f0
Revert "Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )" ( #94164 )
...
This reverts commit 6a3ea7eb83
.
2021-11-24 10:12:53 -05:00
Jenn Magder
6a3ea7eb83
Update Xcode toolsVersion encoded in generated Main.storyboard ( #94084 )
2021-11-23 17:38:02 -08:00
Andrei Diaconu
924336fcee
Reland 3: Display Features ( #93240 )
2021-11-20 15:48:06 -08:00
Gary Qian
02b1146cff
Reland "Exit on deprecated v1 embedding when trying to run or build" ( #92901 ) ( #93566 )
2021-11-12 15:52:32 -08:00
Yegor
24b9346c9b
Revert "Reland "Exit on deprecated v1 embedding when trying to run or build ( #92901 )" ( #93386 )" ( #93518 )
...
This reverts commit eabb7cbc34
.
It broke multiple tests.
2021-11-11 16:45:40 -08:00
Gary Qian
eabb7cbc34
Reland "Exit on deprecated v1 embedding when trying to run or build ( #92901 )" ( #93386 )
2021-11-11 14:49:35 -08:00
Zachary Anderson
858a328712
Revert "Exit on deprecated v1 embedding when trying to run or build ( #92901 )" ( #93365 )
...
This reverts commit 6153bbef3e
.
2021-11-09 22:22:14 -08:00
Gary Qian
6153bbef3e
Exit on deprecated v1 embedding when trying to run or build ( #92901 )
2021-11-09 17:38:03 -08:00
Zachary Anderson
2468f315e0
Revert "Reland: display features ( #93117 )" ( #93204 )
...
This reverts commit 9038fac960
.
2021-11-06 22:46:46 -07:00
Andrei Diaconu
9038fac960
Reland: display features ( #93117 )
2021-11-05 15:54:25 -07:00
Jacob MacDonald
a4fa2affe9
Update packages ( #92924 )
2021-11-05 12:03:03 -07:00
Zachary Anderson
7779ad3c60
Revert "Reland engine display features ( #89511 )" ( #93098 )
...
This reverts commit 058dfd49a0
.
2021-11-04 23:05:45 -07:00
Andrei Diaconu
058dfd49a0
Reland engine display features ( #89511 )
2021-11-04 18:37:55 -07:00
Emmanuel Garcia
c97a8622bf
Update lockfiles ( #92800 )
2021-11-01 08:58:13 -07:00
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects ( #92052 )
2021-10-25 13:13:03 -07:00
Zachary Anderson
b412f6fff8
Revert "Update outdated runners in the benchmarks folder ( #91126 )" ( #92106 )
...
This reverts commit 31e3364771
.
2021-10-19 10:35:15 -07:00
Greg Spencer
31e3364771
Update outdated runners in the benchmarks folder ( #91126 )
...
This change updates the platform runners in the benchmarks subdir.
I've attempted to replace the entire group with new code as if the project were recreated with flutter create so that they don't become a Frankenstein of minor changes to make it work again, but just plain old generated code that can be replaced and updated in place.
2021-10-19 08:27:29 -07:00
Emmanuel Garcia
d7631275fe
Bump targetSdkVersion to 31 and organize static values ( #91719 )
2021-10-15 13:41:48 -07:00
Ian Hickson
6d5fc420b6
Enable sort_child_properties_last
lint ( #91585 )
2021-10-11 21:23:02 -07:00
Ian Hickson
7b01346c5c
Enable no_default_cases lint ( #91530 )
2021-10-11 10:23:04 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Zachary Anderson
5188df0821
Revert gradle roll ( #91459 )
...
* Revert "Mark last failing test after gradle update as flaky. (#91423 )"
This reverts commit 46a52d03bd
.
* Revert "fix android template for Gradle 7 (#91411 )"
This reverts commit 51d06d537f
.
* Revert "Add explicit version for mac and windows openjdk. (#91408 )"
This reverts commit bf429f2771
.
* Revert "Update the openjdk version used by linux android tests. (#91405 )"
This reverts commit 2144ab8b45
.
* Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642 )"
This reverts commit b6459f9b63
.
2021-10-07 19:42:24 -07:00
Taha Tesser
b6459f9b63
Migrate to Gradle 7.0.2 / AGP 7.0.1 ( #90642 )
2021-10-06 17:01:13 -07:00
Littlegnal
1b73a35fba
Change project.buildDir in standalone subprojects property ( #91030 )
2021-10-01 17:18:05 -07:00
Greg Spencer
ab2b0851a2
Add smoke tests for all the examples, fix 17 broken examples. ( #89021 )
...
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Jenn Magder
1b53f7beba
Migrate iOS project to Xcode 13 compatibility ( #90304 )
2021-09-22 13:23:05 -07:00
Kate Lovett
65d8dd988d
Update md5 method in flutter_goldens_client ( #90154 )
2021-09-15 17:42:05 -07:00
Chris Bracken
1c36271b05
Reduce required Windows CMake version to 3.14 ( #89390 )
...
When we landed the CMake minimum requirement constraint for Visual
Studio 2019, we landed it with minimum version 3.15, since that's what
was shipping with the current version of VS 2019 at the time. Looking at
the release notes of earlier versions, it's clear that earlier versions
of Visual Studio 2019 shipped with version 3.14. See:
https://devblogs.microsoft.com/cppblog/visual-studio-cmake-support-clang-llvm-cmake-3-14-vcpkg-and-performance-improvements/
Looking at release notes for CMake 3.15, there are no features/fixes
introduced in that version that we are dependent on.
https://cmake.org/cmake/help/latest/release/3.15.html
Issue: https://github.com/flutter/flutter/issues/88589
2021-09-03 21:05:58 -07:00
Christopher Fujino
81eb54bf78
update-packages ( #88387 )
2021-08-17 18:49:32 -07:00
Gary Qian
a562b3cb3d
Deferred components integration test app ( #88030 )
2021-08-16 15:32:05 -07:00
Anna Gringauze
cc63c81408
Update all packages ( #87579 )
...
- Update dwds and and the rest of the packages
Closes: https://github.com/flutter/flutter/issues/87100
2021-08-03 16:37:48 -07:00
Kaushik Iska
df3fe587e8
Validate that min frame number is numeric ( #86498 )
2021-07-15 17:11:09 -07:00
Ren You
3dea9f0251
Revert "Clean up the bindings APIs ( #86438 )" ( #86484 )
...
This reverts commit d056500bfe
.
2021-07-15 09:29:16 -07:00
Ian Hickson
d056500bfe
Clean up the bindings APIs ( #86438 )
2021-07-14 14:41:24 -07:00
Eng Zer Jun
57a4b023f1
build: update dependencies ( #86433 )
2021-07-14 13:46:04 -07:00
Zachary Anderson
7f741e9181
Revert "Clean up the bindings APIs ( #86388 )" ( #86404 )
...
This reverts commit 31de052e3f
.
2021-07-13 21:32:29 -07:00
Ian Hickson
31de052e3f
Clean up the bindings APIs ( #86388 )
2021-07-13 18:31:11 -07:00
Ian Hickson
c800b9c3e4
Revert "Clean up the bindings APIs ( #83843 )" ( #86386 )
...
This reverts commit e2490f2906
.
2021-07-13 15:47:40 -07:00
Ian Hickson
e2490f2906
Clean up the bindings APIs ( #83843 )
2021-07-13 12:41:03 -07:00
Yegor
78e06e716b
[web] move e2e tests from flutter/engine to flutter/flutter ( #86119 )
...
* [web] move e2e tests from flutter/engine to flutter/flutter
* flutter update-packages --force-upgrade
2021-07-09 15:31:49 -07:00
Alexandre Ardhuin
80990c21e2
code formatting ( #85783 )
2021-07-07 23:06:05 -07:00
Jenn Magder
0de6bd41ba
Migrate iOS app deployment target from 8.0 to 9.0 ( #85174 )
2021-06-24 10:21:05 -07:00
Jonah Williams
cd13c91119
[versions] update dependencies ( #84639 )
2021-06-15 11:08:57 -07:00
Emmanuel Garcia
0bccce6260
[gradle] Unlock all configurations if a local engine is used ( #83635 )
2021-06-01 13:19:03 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Abhishek Ghaskata
a8e2606963
Migrate manual_tests to null safety ( #82611 )
2021-05-27 10:49:02 -07:00
Jonah Williams
025a3a7da3
[versions] roll package test redux ( #83367 )
2021-05-26 17:22:28 -07:00
Emmanuel Garcia
fa5883b78e
Add Gradle lockfiles and tool to generate them ( #83067 )
2021-05-21 13:04:03 -07:00
Alexandre Ardhuin
157bc92d4a
end of sort_child_properties_last ( #82457 )
2021-05-13 13:39:04 -07:00
Kenzie Schmoll
766b4509c6
Add 'v' hotkey to open DevTools in the browser ( #82227 )
...
* Add 'v' hotkey to open DevTools in the browser
2021-05-13 09:54:10 -07:00
Alexandre Ardhuin
c03e7488b4
remove noop primitive operations ( #82297 )
2021-05-12 00:04:02 -07:00
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint ( #81578 )
2021-05-10 16:26:16 -07:00
Jonah Williams
2b0d09dd81
[versions] roll versions and add ffi dep ( #81403 )
2021-04-28 11:19:03 -07:00
Tong Mu
b8833afcc9
Migrate LogicalKeySet to SingleActivator ( #80756 )
...
Applies #78522 to existing code, by replacing all occurrences of LogicalKeySet to SingleActivator or ShortcutActivator.
2021-04-26 14:54:00 -07:00
Jonah Williams
d9638d25d7
migrate from jcenter to mavencentral ( #80908 )
2021-04-21 21:41:07 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Emmanuel Garcia
42f21fd780
Standardize how Java8 is set in gradle files ( #80600 )
2021-04-19 20:19:03 -07:00
Ian Hickson
90c0e3e875
Clarify documentation for DragAnchorStrategy. ( #79160 )
2021-04-05 11:54:03 -07:00
Jonah Williams
443d07b707
[versions] roll to latest test ( #79099 )
2021-03-31 07:45:40 -07:00
Jenn Magder
2eca1f4033
Migrate dev projects from jcenter to mavenCentral ( #78812 )
2021-03-22 17:39:02 -07:00
Hans Muller
7c4c3419ae
Remove accentColor et al. from tests ( #78449 )
2021-03-17 13:28:09 -07:00
Johannes von Bargen
4b150b135f
Add optional DragAnchorStrategy to Draggable ( #73143 )
2021-03-16 16:48:03 -07:00
Ahmed Saleh
740504d3e6
Refactor: use one subprojects property ( #77942 )
2021-03-12 16:28:03 -08:00
Jonah Williams
c6dbb6f2b5
Update mockito dep and remove usage in manual tests and localizations ( #77945 )
2021-03-11 11:25:02 -08:00
Andre
3dca866f06
Fix typo in Windows template ( #77405 )
2021-03-05 14:09:04 -08:00
Chris Bracken
f9f5243e0a
Add Windows desktop files for manual tests ( #77228 )
...
This adds support for building and running manual tests, such as the raw
keyboard test on Windows desktop.
2021-03-04 19:02:46 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Greg Spencer
c6ef4c75d9
Turn on sized_box_for_whitespace lint, fix instances. ( #77099 )
2021-03-03 17:29:02 -08:00
Michael Goderbauer
0f568298d8
enable use_key_in_widget_constructors lint ( #77032 )
2021-03-02 10:14:02 -08:00
Jonah Williams
7088c5ba2a
Update all packages ( #76143 )
2021-02-16 15:29:12 -08:00
Dan Field
bc1cf49458
roll packages ( #75370 )
2021-02-04 11:41:03 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
Sam Rawlins
2b63181116
Remove "unnecessary" imports. ( #74385 )
2021-01-25 19:09:05 -08:00
Jenn Magder
45d71e25ab
Build iOS apps using Swift Packages ( #73508 )
2021-01-07 15:59:09 -08:00
Ian Hickson
544a41eb55
Remove an obsolete comment from pubspec.yaml ( #73505 )
2021-01-07 15:59:04 -08:00
Jenn Magder
74d58105d1
Revert "Build iOS apps using Swift Packages ( #72761 )" ( #73437 )
...
This reverts commit 28db5a0fae
.
2021-01-06 15:04:16 -08:00
Jenn Magder
28db5a0fae
Build iOS apps using Swift Packages ( #72761 )
2021-01-06 13:54:53 -08:00
Jenn Magder
d6857bc026
Build/copy macOS frameworks to built products instead of ephemeral directory ( #72378 )
2020-12-17 14:47:05 -08:00
Jenn Magder
1129e6f86c
Move embedding and linking macOS Flutter frameworks into the tool ( #72372 )
2020-12-15 12:05:44 -08:00
Jenn Magder
d553aa06c7
Revert "Reland Move embedding and linking macOS Flutter frameworks into the tool ( #71965 )" ( #72012 )
...
This reverts commit 0b6b3eecfe
.
2020-12-09 11:19:49 -08:00
Jenn Magder
0b6b3eecfe
Reland Move embedding and linking macOS Flutter frameworks into the tool ( #71965 )
2020-12-09 09:46:53 -08:00
Jenn Magder
c88ab79bd2
Revert "Move embedding and linking macOS Flutter frameworks into the tool ( #71764 )" ( #71951 )
...
This reverts commit 70f8fdeeed
.
2020-12-08 15:28:30 -08:00
Jenn Magder
70f8fdeeed
Move embedding and linking macOS Flutter frameworks into the tool ( #71764 )
2020-12-08 11:59:17 -08:00
Jenn Magder
5b6b67aeaf
Check in manual_tests gitignores ( #71761 )
2020-12-04 19:31:05 -08:00
Jenn Magder
e1598c96c0
Update macOS Xcode compatibilityVersion ( #71745 )
2020-12-04 18:35:19 -08:00
Jenn Magder
e9abf5a940
Profiling Xcode app should use Flutter profile mode ( #71748 )
2020-12-04 16:59:19 -08:00
Jenn Magder
f0b17f3e26
Remove missing macOS RunnerUITests ( #71750 )
2020-12-04 15:58:03 -08:00
Emmanuel Garcia
8dd0de7f58
Relands: Migrate template to Gradle 6.7 and AGP 4.1.0 ( #71446 )
2020-12-01 19:01:09 -08:00
Amir Hardon
7df04fdbd3
Revert "Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )" ( #71096 )
...
This reverts commit 8e73bab94c
.
2020-11-23 12:27:36 -08:00
Emmanuel Garcia
8e73bab94c
Migrate template to Gradle 6.7 and AGP 4.1.0 ( #70808 )
2020-11-20 13:05:35 -08:00
Jenn Magder
2529e358b6
Move Flutter.framework to build directory instead of ios/Flutter ( #70224 )
2020-11-17 10:09:29 -08:00
Jonah Williams
e8efde6a54
[versions] update more null safe versions ( #69892 )
2020-11-05 09:09:03 -08:00
Jonah Williams
580cacf4bd
[versions] roll versions ( #69810 )
2020-11-04 15:38:58 -08:00
Jacob MacDonald
193fe3e980
Update null safe deps to prepare for the 2.12 sdk version ( #69041 )
...
* update pinned null safety deps
* run update-packages
* add http dep to devicelab package
* rerun update-packages
2020-10-26 14:31:13 -07:00
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