Commit graph

624 commits

Author SHA1 Message Date
Jonah Williams 958f7c5b55
[flutter_tools] ensure generated entrypoint matches test and web entrypoint language version (#59291)
Ensure that the language version of the test/web generated entrypoint matches the language version of the test file to run, or the overall package language version if no annotation is provided.
2020-06-16 09:17:12 -07:00
Justin McCandless 77859c682e
Characters package (#59267) 2020-06-15 09:50:02 -07:00
Chase Latta d64884dedf
Remove Fuchsia BUILD.gn files (#59285) 2020-06-12 12:50:03 -07:00
Jonah Williams bf94520644
[versions] Update all the versions (#59283) 2020-06-11 16:40:22 -07:00
Jenn Magder 319a61fd81
Move iOS Podfile logic into tool (#59044) 2020-06-10 14:12:48 -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
Michael Goderbauer b749a50a73
Revert "Increase delay to verify cause of flakiness (#58701)" (#58799) 2020-06-05 12:38:02 -07:00
Michael Goderbauer 483147fcca
Increase delay to verify cause of flakiness (#58701) 2020-06-04 13:38:01 -07:00
Dan Field c5318f7f07
Make debugSemantics available to profile mode (#58620) 2020-06-03 12:32:35 -07:00
Jonah Williams 01b9bf8ea6
[flutter_tools] deprecate flutter generate and codegen (#58328) 2020-06-03 09:28:02 -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
Jenn Magder 34ba3e85ce
Remove outdated disable_input_output_paths from example project Podfiles (#58524) 2020-06-02 17:56:27 -07:00
Jenn Magder 145d70c197
Rename integration test ios_app_with_watch_companion -> ios_app_with_extensions (#58458) 2020-06-02 11:00:19 -07:00
Jenn Magder c34d6e27c9
Revert "Remove outdated disable_input_output_paths from example project Podfiles (#58444)" (#58504)
This reverts commit 8adaea9083.
2020-06-02 10:04:57 -07:00
Jenn Magder 8adaea9083
Remove outdated disable_input_output_paths from example project Podfiles (#58444) 2020-06-02 09:03:01 -07:00
Mehmet Fidanboylu 1d395c5e18
Revert "Add clipBehavior to widgets with clipRect (#55977)" (#58344)
This reverts commit cd593dae19.
2020-05-31 07:41:50 -07:00
liyuqian cd593dae19
Add clipBehavior to widgets with clipRect (#55977)
* Add clipBehavior to RenderFlex

* Add clipBehavior to FittedBox

* Add clipBehavior to Flex and FittedBox

* Add clipBehavior to UnconstrainedBox

* Add clipBehavior to Stack and Wrap

* Add clipBehavior to TextEditable

* Add clipBehavior to ListWheelScrollView

* Add clipBehavior to SingleChildScrollView

* Add clipBehavior to RenderViewportBase's widgets

Those widgets are NestedScrollView and ShrinkWrappingViewport.

* Fix tests

* Remove enum Overflow and fix typo

* Remove clipToSize

* Analyze fix

* Remove Mixin and other small fixes

* Fix tests and respect Stack's default clipBehavior

* Add Overflow back to make it non-breaking

* Restore clipBehavior to make it non-breaking

* Small fixes

* Fix rebase
2020-05-29 15:38:50 -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
Jenn Magder 03d22501a6
Remove unused integration test iOS directory (#57624) 2020-05-27 10:07:45 -07:00
Justin McCandless 53d7f24521
Fix Web asking for clipboard permissions (#57324) 2020-05-19 17:57:04 -07:00
Tianguang 5a3104b36a
Update flutter_gallery_assets to ^0.2.0 (#57328)
* Bump flutter_gallery_assets version to ^0.2.0.

* Run `flutter update-packages --force-upgrade`.

* Add comment.

* Remove duplicate key.
2020-05-18 18:26:18 +02:00
Zachary Anderson 859f2f9bd4
Update packages (#57321) 2020-05-16 15:02:06 -07:00
Jonah Williams 631087d83b
[flutter_tools] cache-bust in service worker (#56786) 2020-05-16 14:57:04 -07:00
nturgut 32547dcc7e
Revert " Bring back paste button hide behavior 3 (#57139)" (#57286)
This reverts commit 8de07d5527.
2020-05-15 10:42:37 -07:00
Justin McCandless 8de07d5527
Bring back paste button hide behavior 3 (#57139) 2020-05-14 11:37:02 -07:00
Anna Gringauze e88ef6d554
Updated dwds (and other packages) (#56958) 2020-05-13 09:07:09 -07:00
Jenn Magder c969b8af7b
Revert "Bring back paste button hide behavior 2 (#56922)" (#56951)
This reverts commit d988226374.
2020-05-11 15:28:10 -07:00
Justin McCandless d988226374
Bring back paste button hide behavior 2 (#56922)
Unrevert of paste button hides when nothing to paste
2020-05-11 13:23:24 -07:00
Jenn Magder 9c87b32477
Remove Runner target check, prefer schemes (#56620) 2020-05-11 11:56:44 -07:00
Mehmet Fidanboylu 0786f29ff2
Revert "Bring back paste button hide behavior (#56689)" (#56806)
This reverts commit d56349822d.
2020-05-09 20:22:17 -07:00
Justin McCandless d56349822d
Bring back paste button hide behavior (#56689)
Unreverts #54902 with fixes for a failing integration test.
2020-05-08 13:41:22 -07:00
Yegor 324fdb6b3c
LayoutBuilder: skip calling builder when constraints are the same (#55414)
Avoid calling `builder` in `ConstrainedLayoutBuilder` when layout constraints are the same.

[Design doc](flutter.dev/go/layout-builder-optimization).

## Related Issues

Fixes https://github.com/flutter/flutter/issues/6469
2020-05-08 12:27:59 -07:00
Jonah Williams 721ce7aa6e
add macOS to ui integration test (#56324)
This is required to run the macOS twc enabled devicelab test.
2020-05-04 15:55:33 -07:00
Jenn Magder c8c55b4098
Check Xcode build setting FULL_PRODUCT_NAME for bundle name (#55799) 2020-05-04 11:31:08 -07:00
Jonah Williams 6dc1e83f12
[flutter_tools] ensure track-widget-creation can be disabled on Android/macOS (#56203)
Ensure --no-track-widget-creation is piped through android/macOS. Adds integration testing for iOS/android/macOS
2020-05-04 11:22:15 -07:00
Jonah Williams ac2dfcf338
[version] update all versions (#56141) 2020-05-01 15:14:36 -07:00
Ferhat 0d452b8305
[web] Change display mode of PWA default to standalone (#56056)
Change display mode of PWA default to standalone, update integration test manifest to new default
2020-04-30 11:20:14 -07:00
Jose Alba 4f8634e7d1
Removing Deprecated flag (#55782) 2020-04-27 16:39:02 -07:00
Jose Alba 7eb3df4a11
Default to use V2 Slider (#55599)
* Instead of changing test I just flipped flag so the test uses the proper slider

* Use Depracated annotation

* Updated depracation notice

* Updated depracation notice again

* Ignore analyze issues

* flutter analyze .

* ignore analyzer

* // ignore: deprecated_member_use

* Ignoring notice

* indentation
2020-04-27 17:57:42 -04:00
Jonah Williams 1ab3878996
[flutter_tools] support --enable-experiment in flutter test (#55564)
Support --enable-experiment in flutter test (for flutter_tester). Required minor change for null safety.
2020-04-27 14:47:43 -07:00
Dan Field 2ae0e5a37a
Roll packages, drop custom timeline parsing for tracing tests (#55433) 2020-04-22 21:43:03 -07:00
Jonah Williams 94ddf56b9e
[flutter_tools] unpin package config and update (#55348) 2020-04-22 10:16:34 -07:00
Jonah Williams 0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos (#54617) 2020-04-21 20:39:36 -07:00
Amir Hardon 34895351be
Enable android_views window touch test (#55130) 2020-04-20 09:21:15 -07:00
Jose Alba 3f30b6138d
Migrating old Gallery to new Slider (#55201) 2020-04-20 11:42:46 -04:00
Amir Hardon a0379f45d6
Test touch for Android windows added by platform views (#55068) 2020-04-17 17:21:28 -07:00
Jonah Williams e092dcfa22
[flutter_tools] Reland: fix multiple dart defines (#54973) 2020-04-16 10:56:49 -07:00
Michael Thomsen fd397e1fc0
Roll pinned package versions (#54952) 2020-04-16 10:55:02 -07:00
Jonah Williams 11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web (#54909)" (#54967)
This reverts commit b8bd09db21.
2020-04-16 08:33:16 -07:00
Jonah Williams b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web (#54909) 2020-04-15 22:25:32 -07:00
tauu 56b7c93584
[flutter_tools] fix build for projects with watchOS companion app (#51126)
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-15 12:13:06 -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
Chris Yang 7042481dae
fix test (#54403) 2020-04-10 10:30:04 -07:00
Tong Wu a5765331bc
Re-enable deploy_gallery. (#54248) 2020-04-09 16:15:01 -07:00
Jonah Williams 4b98c0565a
Revert "fix and re-land "re-enable android_view_test (#54214)" (#54312)" (#54387)
This reverts commit 13052b10e4.
2020-04-09 12:41:00 -07:00
Jacob MacDonald efdce3cf72
drop image package dependency for goldens (#54144) 2020-04-09 11:21:23 -07:00
Chris Yang 13052b10e4
fix and re-land "re-enable android_view_test (#54214)" (#54312) 2020-04-09 11:03:02 -07:00
Filip Hracek 1593788cd9
Rename GPU thread to raster thread in API docs (#53422) 2020-04-08 18:57:03 -07:00
Jonah Williams dbecf2afd5
Revert "enable the regressed test (#54214)" (#54307)
This reverts commit f8784e72a9.
2020-04-08 13:58:33 -07:00
Chris Yang f8784e72a9
enable the regressed test (#54214) 2020-04-08 12:42:03 -07:00
Michael Goderbauer d47ad7ec0d
Reverse dependency between services and scheduler (#54212) 2020-04-08 09:12:03 -07:00
Jonah Williams 0a25309fb1
[versions] update versions (#54247) 2020-04-07 19:42:02 -07:00
Jose Alba 3441d6cbe7
Slider rebase work (#53916)
* [Slider] Rebase.

* disabled thumb color with alphaBlend of colorScheme surface

* test remove alphablend

* Change rectangular track to how it used to be

* Chaned to adaptive slider

* blank lines

Co-authored-by: Will Larche <larche@google.com>
2020-04-07 17:10:18 -04:00
Michael Thomsen 98e7791ec9
Roll pinned xml and petitparser versions (#54181) 2020-04-07 12:16:03 -07:00
Konstantin Scheglov b0492cc976
Fix newly reported prefer_const_constructors lints. (#54176) 2020-04-07 08:59:01 -07:00
Amir Hardon ba18e99d1b
Enable the android_views AlertDialog test (#54163) 2020-04-07 08:32:13 -07:00
Alexandre Ardhuin f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes (#52507) 2020-04-06 13:36:01 -07:00
Amir Hardon 80bc3f4a3c
Test creation of Android AlertDialogs with a platform view context (#53980) 2020-04-06 12:36:01 -07:00
stuartmorgan 2d623278e7
Restructure the Windows app template (#53600)
This moves the app template more toward being a more generic starting
point for any Flutter application, eliminating some hard-code
assumptions about there being a single window/engine pair that is
directly bound to the life of the application:
- Moves the runloop into its own class, making it capable of servicing
  any number of engine instances.
- Moves the logic for setting up a window containing only a Flutter view
  into a window subclass for ease of re-use.
- Makes quit-on-window-close an optional property. (Long term this
  should be even more generic, like a quit-when-last-window-closes
  option, but this is a short-term improvement that removes the binding
  between the runloop and the window).
- Allows for multiple instances of Win32Window to exist without issues
  relating to the window class registration.

Since there are getting to be a non-trivial number of files associated
with the runner, this moves the source into a runner/ directory, as is
already done on some other platforms.

Note that creating multiple Flutter windows at the same time still
doesn't work correctly even with this change, but this addresses some of
the known issues, and makes it easier to test in the future (e.g., for
debugging engine-level issues with multiple instances).

Fixes #45397
2020-04-06 12:24:05 -07:00
Anisov Aleksey be6234d56e
Read custom app project name from gradle.properties (#52791) 2020-04-05 20:46:44 -07:00
Amir Hardon caeaac7739
disable MotionEvents test (#54023) 2020-04-04 19:25:11 -07:00
Amir Hardon f0aea666d7
revive the android_views test (#53963) 2020-04-04 16:41:01 -07:00
Kate Lovett 63f8b9a4d5
Improving A11y for Flutter Gallery Demos (#53616) 2020-04-03 10:34:14 -07:00
Greg Spencer a8b3d1b74f
Add toggleable attribute to Radio (#53846)
This adds a new toggleable attribute to the Radio widget. This allows a radio group to be set back to an indeterminate state if the selected radio button is selected again.

Fixes #53791
2020-04-02 15:40:37 -07:00
Greg Spencer e20080b5d1
Add LICENSE file to packages/flutter, add test to make sure it… (#53799)
This adds a LICENSE file to the packages/flutter directory so that it can be found when building, and a test to make sure it exists in produced binaries.
2020-04-02 10:38:25 -07:00
Jose Alba d14a301e41
Revert "[Slider] Rebase. (#52663)" (#53698)
This reverts commit e71cf1cdbe.
2020-03-31 16:14:22 -07:00
Jose Alba e71cf1cdbe
[Slider] Rebase. (#52663) 2020-03-31 10:56:01 -07:00
Jonah Williams 8cb1d269f6
[versions] update EVERYTHING (#53467) 2020-03-30 14:09:38 -07:00
chunhtai 9fdd4d2e0c
Renamed test class to avoid conflict with the navigator page api. (#53279) 2020-03-25 12:11:01 -07:00
Jonah Williams 10571920c0
[flutter_tools] update to latest dwds API (#52936)
Should fix issues introduced in web-server device and allow loading org-dartlang-app URIs
2020-03-23 18:47:50 -07:00
Chris Yang b05210c707
Move ios screenshot test to flutter gold. (#52553) 2020-03-19 16:27:41 -07:00
Sam Rawlins 5d0e87ce38
Exclude codegen/lib/main.dart from static analysis (#52829) 2020-03-18 13:16:02 -07:00
Jonah Williams da0788a180
Update fuchsia remote debug protocol to use package:test shim instead of package:test_api (#52706)
This is necessary to ensure the tests can run in google3. Fixes https://b.corp.google.com/issues/151657461
2020-03-18 09:12:46 -07:00
Jonah Williams 6884086e5c
[flutter_tools] Update to latest dwds APIs (#51004)
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
Jonah Williams a7011c4817
[flutter_tools] don't force service worker cache files to be absolute (#52606) 2020-03-17 10:17:03 -07:00
Michael Thomsen e36f4a467f
Fix paths causing test failures (#52660) 2020-03-16 14:05:48 +01:00
Michael Thomsen e167181444
Move flutter_gallery to the testing folder (#52532)
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery.
2020-03-16 10:31:42 +01:00
Chris Yang 8bcd94817f
Fix ios_platform_view_tests app name. (Trivail) (#52446) 2020-03-12 15:39:01 -07:00
Chris Yang 7fb7ea63b3
Reland "Add ios platform view integration test (#51882)" (#52440) 2020-03-11 16:32:47 -07:00
Chris Yang fc5350ed04
Revert "Add ios platform view integration test (#51882)" (#52373)
This reverts commit 357fd2db38.
2020-03-10 18:42:15 -07:00
Chris Yang 357fd2db38
Add ios platform view integration test (#51882) 2020-03-10 17:33:01 -07:00
Ben Konyi 66b978a197
Update pub dependencies to roll forward package:test (#52273) 2020-03-10 13:26:02 -07:00
Jonah Williams c1112d3f7e
[flutter_tools] Reland: Allow providing dart-defines to Android, iOS, macOS builds (#52044) 2020-03-06 14:53:36 -08:00
Jonah Williams ee476a7bd1
Revert "[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds (#51714)" (#52041)
This reverts commit ee60eeea3e.
2020-03-05 12:51:42 -08:00
Jonah Williams ee60eeea3e
[flutter_tools] Allow providing dart-defines to Android, iOS, macOS builds (#51714) 2020-03-05 12:38:40 -08:00