Tomasz Gucio
98576cef58
Avoid null terminating characters in strings from Utf8FromUtf16() ( #109729 )
...
---------
Co-authored-by: schectman <schectman@google.com>
2023-02-13 19:22:37 +01:00
Flutter GitHub Bot
d63c54c9c2
roll packages ( #120493 )
2023-02-10 23:11:53 +00:00
Christopher Fujino
1089588863
un-pin package:intl ( #119900 )
2023-02-07 12:10:18 -08:00
Flutter GitHub Bot
cfdc35859e
roll packages ( #119865 )
2023-02-02 23:59:49 +00:00
Christopher Fujino
d820aec786
Manual pub roll with dwds fix ( #119575 )
...
* roll packages
* fix dwds
* empty
---------
Co-authored-by: fluttergithubbot <fluttergithubbot@gmail.com>
2023-02-02 21:38:08 +00:00
Michael Goderbauer
b0f1714b7b
Make Flex,Row,Column const for real ( #119673 )
...
* Make Flex,Row,Column const for real
* dart fix --apply
* fix snippets
* fix integration test
* add comment
2023-02-02 19:33:57 +00:00
Michael Goderbauer
6a5405925d
Make MultiChildRenderObjectWidget const ( #119195 )
2023-01-31 11:13:59 -08:00
Chris Bracken
d272a3ab80
Reland: [macos] add flavor options to tool commands ( #119564 )
...
* Reland: [macos] add flavor options to tool commands
Adds --flavor option to flutter run and flutter build. Running against
preexisting devicelab flavor tests for feature parity between macOS,
iOS, and Android.
This relands #118421 by alex-wallen which was reverted in #118858 due to
the following test failures:
The bail-out with "Host and target are the same. Nothing to install."
added in `packages/flutter_tools/lib/src/commands/install.dart`
triggered failures in the following tests, which unconditionally attempt
to install the built app, which is unsupported on desktop since the
host and target are the same:
* https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791495589540422465/+/u/run_flutter_view_macos__start_up/test_stdout
* https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218824259121/+/u/run_complex_layout_win_desktop__start_up/test_stdout
* https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218165602641/+/u/run_flutter_gallery_win_desktop__start_up/test_stdout
Fixes #64088
* Partial revert: eliminate install check on desktop
The original flavour support patch included a check that triggered a
failure when flutter install is run on desktop OSes. This was
intentional, since the host and target devices are the same and
installation is unnecessary to launch the app on currently-supported
desktop OSes.
Note that Windows UWP apps *do* require installation to run, and we used
to have an install command for those apps, though UWP is no longer
supported.
Since that part of the change was orthogonal to flavour support itself,
I'm reverting that component of the change and we can deal with it
separately if so desired.
2023-01-31 17:37:46 +00:00
Michael Goderbauer
5b6572f96d
Add debug diagnostics to channels integration test ( #119579 )
2023-01-31 02:55:01 +00:00
Camille Simon
59d80dc876
[Android] Add explicit exported tag to Linux_android flavors test ( #117542 )
...
* Add exported tag
* Undo testing changes
2023-01-30 18:47:51 +00:00
Flutter GitHub Bot
b68cebd9ce
roll packages ( #119530 )
2023-01-30 18:46:35 +00:00
Flutter GitHub Bot
df8ad3d2cb
roll packages ( #119370 )
2023-01-30 17:34:10 +00:00
Danny Tuppeny
0b57596712
Run "flutter update-packages --force-upgrade" ( #119340 )
2023-01-27 17:20:18 +00:00
Todd Volkert
b319938ecd
Add more flexible image API ( #118966 )
...
This updates the framework to provide higher level wrappers around ui.instantiateImageCodecWithSize(). Functionally, this doesn't change anything (other than deprecating the older loadBuffer() method in favor of loadImage()), but it sets the stage for a simpler change that will allow us to provide a more flexible way to load sized images.
#118543
2023-01-25 21:21:28 -08:00
Flutter GitHub Bot
9037e3fe26
roll packages ( #119192 )
2023-01-25 23:53:42 +00:00
yaakovschectman
455e6aca50
Test integration test apps' runner files against current template app ( #118646 )
...
* Create template file test
* Add to .ci.yaml
* Add to TESTOWNERS
* Organize test script
* Push license to top of file
* Equals sign
* Utilize path.join
* Expand error message
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
* Fix missing newline string
* Move template file test to analyze.dart
* Fix newline
* Var name
* Fix extension length
* Use ignore-list for filenames
* Update dev/bots/analyze.dart
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
* Indentation
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
2023-01-24 17:00:22 -05:00
Christopher Fujino
64b4c69bcc
roll pub deps and remove archive, crypto, typed_data from allow-list ( #119018 )
...
* roll pub deps and remove archive, crypto, typed_data from allow-list
* un-comment code
2023-01-24 01:55:06 +00:00
yaakovschectman
5e50ed972b
Test Utf8FromUtf16 ( #118647 )
2023-01-23 16:07:55 -05:00
Michael Goderbauer
70cecf6c9e
Remove unnecessary null checks in dev/*_tests ( #118844 )
2023-01-21 01:36:12 +00:00
Jenn Magder
030288d33b
Revert "[macos] add flavor options to commands in the flutter_tool
( #118421 )" ( #118858 )
...
This reverts commit 73096fd96e
.
2023-01-20 03:46:45 +00:00
Alex Wallen
73096fd96e
[macos] add flavor options to commands in the flutter_tool
( #118421 )
...
* Add new macos target configured for flavors
* Rename Free App copy-Info.plist to Free App Info.plist
* Remove bogus entitlements
* Remove Generated.xcconfig
* Audit project.pbxproj
* Remove unused configs
* share one info.plist
* Modify scheme so that paid app works
* Codesign automatic
* Pipe flavor as scheme into xcodebuild
* Ignore incoming flavor string
* pipe flavor for flutter run to work
* Add devicelab tests
* Error if host and target device are same for flutter install desktop
* Avoid bang (!) by promoting a local.
Co-authored-by: Jenn Magder <magder@google.com>
* Add supportsInstall property
* Override in test classes
* Add install test on macOS
* Refactor application_package and add tests for package directory
Co-authored-by: a-wallen <stephenwallen@google.com>
Co-authored-by: Jenn Magder <magder@google.com>
2023-01-19 23:52:16 +00:00
Danny Tuppeny
06909ccfa4
Update packages + fix tests for javascript mime change ( #118617 )
...
Update test expectations from application/javascript -> text/javascript
`package:mime` now uses `text/javascript` and not `application/javascript`.
See https://github.com/dart-lang/mime/pull/76 .
See https://datatracker.ietf.org/doc/html/rfc9239 .
> This document defines equivalent processing requirements for the various script media types. The most widely supported media type in use is `text/javascript`; all others are considered historical and obsolete aliases of `text/javascript`.
2023-01-19 09:54:40 -05:00
Alex Wallen
3348987546
Add new macos target configured for flavors ( #117352 )
...
Co-authored-by: Jenn Magder <magder@google.com>
Co-authored-by: a-wallen <stephenwallen@google.com>
2023-01-18 07:50:25 -08:00
Victoria Ashworth
b4d72752bd
Add Info.plist from build directory as input path to Thin Binary build phase ( #118209 )
...
* Add Info.plist from build directory as input path to Thin Binary build phase
* fix directive ordering
* migrate benchmark, integration, and example tests
2023-01-13 13:41:08 -06:00
Loïc Sharma
cea55d99d0
[Linux] Add a 'flutter run' console output test ( #118279 )
...
* Add Linux support for the UI integration test project
* Add Linux run console test
2023-01-13 19:17:12 +00:00
Andrew Kolos
5630d531b1
[tool] Generate a binary version of the asset manifest ( #117233 )
...
* initial
* update asset_bundle_package_test
* Update asset_bundle_test.dart
* Update asset_bundle_package_fonts_test.dart
* update pubspec checksum for smc dependency
* flutter update-packages --force-upgrade
* prefer += 1 over ++
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
* add regexp comment
* rescope int list comparison function
* update packages
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2023-01-12 19:33:30 +00:00
Flutter GitHub Bot
01583b7486
roll packages ( #118272 )
2023-01-10 23:03:04 +00:00
Jonah Williams
1d2e62b764
remove unsound mode web test ( #118256 )
2023-01-10 19:03:27 +00:00
Camille Simon
873cf51763
[Android] Increase timeout duration for spell check integration test ( #117989 )
...
* Add timeout
* Add library directive
* Add comment, remove testing only changes
2023-01-05 01:46:35 +00:00
Flutter GitHub Bot
341ae18f6e
roll packages ( #118001 )
2023-01-04 22:49:16 +00:00
Michael Goderbauer
fdc25a1700
Reland "Remove single-view assumption from ScrollPhysics ( #117503 )" ( #117916 )
...
This reverts commit c956121ac0
.
2023-01-03 21:34:08 +00:00
Xilai Zhang
c956121ac0
Revert "Remove single-view assumption from ScrollPhysics ( #117503 )" ( #117647 )
...
This reverts commit 999356b776
.
2022-12-27 21:22:16 +00:00
Xilai Zhang
4b4783d1f0
[flutter roll] Revert both #117338 and #117547 ( #117557 )
...
* Revert "Exposed tooltip longPress action when available (#117338 )"
This reverts commit 38e3930f39
.
* Revert "fixes android_semantics_integration_test to expect long press for tootip"
2022-12-23 22:46:45 +00:00
Michael Goderbauer
999356b776
Remove single-view assumption from ScrollPhysics ( #117503 )
...
* Remove single-view assumption from ScrollPhysics
* fix scrollable_dispose_test.dart
* add deprecated method back
2022-12-22 21:54:09 +00:00
Kenzie Davisson
725c1415df
Fix screenshot testing for flutter web integration_test ( #117114 )
...
* Fix screenshot testing for flutter web integration_test
* update packages
* fix method signature and todo
* Run tests on CI
* fix type
* remove silences
* Add docs
* fix comment
* fix whitespace
* review comments
2022-12-22 21:34:04 +00:00
chunhtai
bd482ebc54
fixes android_semantics_integration_test to expect long press for tooltip ( #117547 )
2022-12-22 21:32:03 +00:00
Camille Simon
9fb1ae839e
[iOS] Add task for spell check integration test ( #116222 )
...
* Add fix and test
* Add test owner
* Print error for testing
* Make sure locale is the problem
* Test capitalization fix
* Take out Android specific test
* Verify eng fix
* Test fix
* Empty-Commit
* Test all tests
* Up string size for testing
* Remove test
* Undo ci.yaml testing changes
* Test android variant:
* Change to testwidgets
* Add widget tester
* Remove android only attempt
* Revert ci.yaml changes
2022-12-22 02:47:11 +00:00
alanwutang11
1970bc919b
cacheWidth cacheHeight support for canvaskit on web ( #117423 )
...
* cacheWidth cacheHeight support for web canvaskit
* comments
* clarifying comment for loadTestImageProvider class
Co-authored-by: alanwutang11 <alpwu@google.com>
2022-12-21 21:06:06 +00:00
Michael Thomsen
400b05ac0c
Manual package roll ( #117439 )
2022-12-21 18:30:50 +00:00
Michael Goderbauer
fdd2d7d64a
Sync analysis_options.yaml & cleanups ( #117327 )
2022-12-20 14:15:39 -08:00
Michael Goderbauer
81bc54be75
Enable use_colored_box
lint ( #117370 )
2022-12-20 14:09:55 -08:00
Flutter GitHub Bot
4591f057fb
roll packages ( #117357 )
2022-12-20 22:04:23 +00:00
Zachary Anderson
c64dcbefa6
Revert "Manual roll Flutter Engine from 339791f190fa to 7ee3bf518036 (1 revision) #117367 ( #117372 )" ( #117396 )
...
This reverts commit 61fb6ea2d5
.
2022-12-20 09:04:05 -08:00
Siva
61fb6ea2d5
Manual roll Flutter Engine from 339791f190fa to 7ee3bf518036 (1 revision) #117367 ( #117372 )
2022-12-20 08:31:22 -08:00
Michael Goderbauer
1adc27503f
Bump min SDK to 2.19.0-0 ( #117345 )
...
* Bump min SDK to 2.19.0-0
* fix
2022-12-20 00:46:14 +00:00
alanwutang11
c0dddacb81
Fix is canvas kit bool ( #116944 )
...
* isCanvasKit implement and test
* isCanvasKit implement and test
* ++
* forgot license
* make isCanvasKit a getter
* addressed comments
* forgot to change names of integration test files
* typo
* simplified tests
* comments
2022-12-17 23:33:32 -08:00
Christopher Fujino
c7cb5f3f5b
[flutter_tools] pin package intl and roll pub packages ( #117168 )
...
* pin package intl and roll pub packages
* add test
* fix analysis
2022-12-16 00:34:51 +00:00
Alexander Markov
c63d797f94
Upgrade dependencies ( #117007 )
2022-12-14 13:13:05 -08:00
Daniel Flores Medina
ba917d6159
Remove workaround because issue is closed ( #110854 )
2022-12-14 00:25:07 +00:00
Christopher Fujino
7a743c8816
[flutter_tools] Pin and roll pub ( #116745 )
...
* pin path_provider_android
* make path_provider_android non-transitive
* roll
2022-12-12 21:02:07 +00:00