Enables the `no_runtimeType_toString` analysis option. This isn't part
of the base flutter/flutter analysis options, but is set in
flutter/packages which this repo better corresponds to.
This is already enabled in flutter/plugins, and is being enabled here as
part of aligning their options.
Part of https://github.com/flutter/flutter/issues/113764
In preparation for merging repos, this adds the `.g.dart` suffix we use
for Pigeon-generated files in plugins to the analysis ignore list. This
eliminates the last remaining difference between the two repos' analysis
options.
Part of https://github.com/flutter/flutter/issues/113764
* [ci] Switch more macOS tests to LUCI
Enables the newly-added LUCI versions of the remaining macOS host tests
(other than custom-tests, which still has issues that are under
investigation) and removes the Cirrus versions of those tests. This
almost completes the macOS LUCI migration for this repository.
* Simplify remaining Cirrus config
* Rename scripts
* Remove reference to config that doesn't exist in this repo yet
The sharding setup here is intended to match flutter/plugin to prepare
for merging, and it's being changed (along with the names) in
https://github.com/flutter/plugins/pull/7064
* [go-router] Add ability to pop with result using extension #116506
* Increased version
* Added a test to validate the result is captured
* #116506 Changed dynamic to Object?
This continues the LUCI migration of macOS host tests, now that ARM
configurations should be working in LUCI, adding both iOS and macOS
platform tests. In order to reduce later work aligning with
flutter/plugins, this adds the same iOS sharding that is currently used
in flutter/plugins, even though it's overkill for flutter/packages at
the moment.
* 7d3b762df Fix: Added `margin` parameter for `MaterialBanner` class (flutter/flutter#119005)
* 40bd82ef6 Roll Plugins from 1e5efd144f93 to e9406bc209a2 (4 revisions) (flutter/flutter#119249)
* 07522b74e Roll Flutter Engine from 8f1e5dc1b124 to 04f22beebb42 (5 revisions) (flutter/flutter#119218)
* 459c1b78b Marks Mac complex_layout_scroll_perf_macos__timeline_summary to be unflaky (flutter/flutter#119157)
* 2b8f2d050 Add API for discovering assets (flutter/flutter#118410)
* a04ab7129 Revert "Add API for discovering assets (#118410)" (flutter/flutter#119273)
* 1da487dfb Roll Flutter Engine from 04f22beebb42 to 93901260098e (12 revisions) (flutter/flutter#119279)
* 1b779b655 Roll Flutter Engine from 93901260098e to be0125bd5716 (2 revisions) (flutter/flutter#119283)
* 42bd5f2bd Download platform-agnostic Flutter Web SDK in the flutter_tool (flutter/flutter#118654)
* d52b6b989 Roll Flutter Engine from be0125bd5716 to d17004dd96d7 (2 revisions) (flutter/flutter#119287)
* 4aed487ca Roll Flutter Engine from d17004dd96d7 to a63d98feb608 (3 revisions) (flutter/flutter#119299)
* 05fc29fe7 Rename DeviceGestureSettings.fromWindow to DeviceGestureSettings.fromView (flutter/flutter#119291)
* 86ab01d2b Revert "Add --serve-observatory flag to run, attach, and test (#118402)" (flutter/flutter#119302)
* 8d03af342 Roll Flutter Engine from a63d98feb608 to 79c958fc7e9b (3 revisions) (flutter/flutter#119306)
* 27f8ebdae ade610ec8 [fuchsia] Migrate to new RealmBuilder API (flutter/engine#39175) (flutter/flutter#119310)
Corrects the name of the tasks; they accidentally used the old "plugins"
name rather than the new generic "packages" name that we're moving to
for anything that is not actually plugin-specific.
Also fixes the script referenced in the build step.
* Add SwiftFunction annotation
* Bump version to 3.2.4
* Remove unused imports
* Improve methods map
* Remove unnecessary print
* Force cast match of SwiftFunction
* Update packages/pigeon/lib/pigeon_lib.dart
Co-authored-by: gaaclarke <30870216+gaaclarke@users.noreply.github.com>
* Improve documentation of function to parse method with SwiftFunction
* Fix some dartdocs
* gen
* analyze
* Improve SwiftFunction application
* Add type annotation
* format
* Run format
* Update macos Swift tests
* Bump version to 7.0.0
* revert version change
* Improve some code of SwiftGenerator
* Bump version to 6.1.0
* Improve echo functions for Swift
* Match order of parameters
* Documents _SwiftFunctionComponents.fromMethod and _SwiftFunctionArgument
* Improve doc comments
* Fix tests
* Fix SwiftFunction documentation
Co-authored-by: gaaclarke <30870216+gaaclarke@users.noreply.github.com>
Co-authored-by: tarrinneal <tarrinneal@gmail.com>
* changed selectedIndex on standardNavigationRail to allow null value
* Update CHANGELOG.md
* increase version number
* Update CHANGELOG.md
* Update CHANGELOG.md
* change index types from int to int?
* add test for slectedIndex can be set to null
* Update CHANGELOG.md
* index types set to int? and ensure BottomNavigationRail currentIndex isn't null
* Update packages/flutter_adaptive_scaffold/CHANGELOG.md
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
* Update packages/flutter_adaptive_scaffold/lib/src/adaptive_scaffold.dart
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
* Update packages/flutter_adaptive_scaffold/CHANGELOG.md
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
* [pigeon] Minor C++ output fixes
Removes a stray ; from an inline constructor.
Fixes indentation for an inline vector construction.
* Version bump
* Change list serialization construction and remove a bunch of flutter::s
* Move some implementation-file-only helpers into the class
* Remove more namespaces
* Update test expectations
* Improve test
* declaration-style comment
* Fix generator version
* Split into two files with no changes
* Adjust to fix compilation
* Duplicate run_tests to test with no changes
* Rework run_tests.dart
* Extract sharable code
* Make test.dart run every supported test
* Update all docs
* Update for changes in base PR
* Analysis, missed tests
* Move custom-test to heavy workload due to OOM
* Re-merge Cirrus configuration
Co-authored-by: Tarrin Neal <tarrinneal@gmail.com>
* [pigeon] Fix missed casting of not nullable Dart int to Kotlin long
* [pigeon] Consolidate simple datatypes header unit tests
* Release fixed integration tests of Android Kotlin implementation
* Add gen files
* Update formatting
By executing:
dart pub global run flutter_plugin_tools format --packages pigeon
* remove merge conflict code
Co-authored-by: Tarrin Neal <tarrinneal@gmail.com>
* Remove test_pigeon_android, which is unused
* Update Dart unit test output names for consistency
* Simplify unit test generation
* Fold dart analysis tests into the dart unit test system, which already does analysis
* Move Java unit tests to Dart
* Remove more dead code, consolidate slightly
* Move legacy iOS unit tests to Dart
* Move command-line tests from bash to Dart
* Move default test set to Dart; eliminate sh
* Update docs reference to script
* Fix legacy iOS test
* Disable iOS integration tests
* da5f8cf90 Roll Flutter Engine from a512cebdcd30 to 7dc5e7efa66a (2 revisions) (flutter/flutter#118505)
* baefeccbe 35479aa1c Roll Fuchsia Mac SDK from 21nYb648VWbpxc36t... to w0hr1ZMvYGJnWInwK... (flutter/engine#38880) (flutter/flutter#118509)
* ca300ce57 25cb82272 Add include to make g3 happy (flutter/engine#38850) (flutter/flutter#118510)
* 1220245b3 f79030440 Roll Skia from c72c7bf7e45b to c64a10d525d1 (7 revisions) (flutter/engine#38858) (flutter/flutter#118511)
* 7188c3e62 Update documentation about accent color (flutter/flutter#116778)
* 8c2fdb803 M3 Button padding adjustments (flutter/flutter#118449)
* f22280a0c Revert "M3 Button padding adjustments (#118449)" (flutter/flutter#118598)
* cc7845e71 Post a ToolEvent when selecting widget for inspection (flutter/flutter#118098)
* a3629a223 Roll Plugins from 92a5367d58df to 4e5cf2d2da27 (8 revisions) (flutter/flutter#118624)
* ae7b99efb Rename `_*Marker` classes to be `_*Scope`, for consistency (flutter/flutter#118070)
* 6fafbc33f Updated tokens to v0.152 (flutter/flutter#118594)
* 4b3cf9bbd Add reference to HardwareKeyboard in RawKeyboard documentation (flutter/flutter#118607)
* 0449030a9 Disable Xcode cache cleanup (flutter/flutter#118641)
* f989d551c Devicelab android emulator (flutter/flutter#113472)
* 0eaa83ad6 Fix some Focus related documentation typos (flutter/flutter#118576)
* 780563ce0 Add const constructor to TextInputFormatter (flutter/flutter#116654)
* 973cff40b [Re-land] Button padding m3 (flutter/flutter#118640)
* 334898754 Add new macos target configured for flavors (flutter/flutter#117352)
* 627752064 Roll Plugins from 4e5cf2d2da27 to 11361d01099d (4 revisions) (flutter/flutter#118682)
* 997d43618 Fix applyBoxFit's handling of fitWidth and fitHeight. (flutter/flutter#117185)
* 8a58ec5c3 Roll Flutter Engine from f79030440948 to c52b290813bd (29 revisions) (flutter/flutter#118720)
* 374f09e1a [flutter_tools] No more implicit --no-sound-null-safety (flutter/flutter#118491)
* ae1cc18c4 remove single-view assumption from `paintImage` (flutter/flutter#118721)
* bb8b96a5d Fix path for require.js (flutter/flutter#118722)
* c83a69855 update uikit view documentation (flutter/flutter#118715)
* 2b3ca0dc4 Bump github/codeql-action from 2.1.38 to 2.1.39 (flutter/flutter#118735)
* 666dccc85 [macOS] bringup new e2e_summary devicelab test (flutter/flutter#118717)
* d07b88e4c Docs fix an=>a (flutter/flutter#118652)
* 11d21e066 Add @pragma('vm:entry-point') to RestorableRouteBuilder arguments (flutter/flutter#118738)
* 7d9eaab01 Appbar iconTheme override fix (flutter/flutter#118681)
* 6f708305d Roll Flutter Engine from c52b290813bd to 290636c1cb6b (2 revisions) (flutter/flutter#118743)
* b3059d2c0 Bump activesupport from 6.1.5 to 6.1.7.1 in /dev/ci/mac (flutter/flutter#118745)
* ffcf63ae8 Add verbose flag to plugin_dependencies_test to debug flake (flutter/flutter#118755)
* 2609212ca 2a11023c7 [ios_platform_view] more precision when determine if a clip rrect is necessary (flutter/engine#38965) (flutter/flutter#118751)
* 21fb443a3 8ed6790b5 Bump chrome_and_driver version to 110. (flutter/engine#38986) (flutter/flutter#118758)
* e5c9d065f Forgot to remove emulator flag. (flutter/flutter#118762)
* 6a9b2db4a 95b0c151f Roll Dart SDK from 645fd748e79e to ddf70a598f27 (14 revisions) (flutter/engine#38990) (flutter/flutter#118763)
* 0bbb5ec0c 40f7f0f09 Roll Fuchsia Mac SDK from P5QcCJU8I71xVXuMT... to tlYMsnCv86Fjt5LfF... (flutter/engine#38994) (flutter/flutter#118771)
* d53cc4a10 [macOS] New e2e_summary benchmark fails without Cocoapods. (flutter/flutter#118754)
* 3e71e0caf Updated `ListTile` documentation, add Material 3 example and other `ListTile` examples fixes. (flutter/flutter#118705)
* 213b3cb3d Check whether slider is mounted before interaction, no-op if unmounted (flutter/flutter#113556)
* 06909ccfa Update packages + fix tests for javascript mime change (flutter/flutter#118617)
* 46c7fd14d 88e61d8bd Remove references to Observatory (flutter/engine#38919) (flutter/flutter#118793)
* b9ab64049 Remove incorrect statement in documentation (flutter/flutter#118636)
* ea36b3a5a Add focus detector to CupertinoSwitch (flutter/flutter#118345)
* 9b5ea30a9 Switching over from iOS-15 to iOS-16 in .ci.yaml. (flutter/flutter#118807)
* 67ffaef25 29a0582a1 Roll Fuchsia Mac SDK from tlYMsnCv86Fjt5LfF... to 6oiZwMyNsjucSxTHJ... (flutter/engine#39004) (flutter/flutter#118817)
* 5cd2d4c61 Support iOS wireless debugging (flutter/flutter#118104)
* cbf2e1689 Revert "Support iOS wireless debugging (#118104)" (flutter/flutter#118826)
* 2258590a8 Do not run Mac_arm64_ios run_debug_test_macos in presubmit during iPhone 11 migration (flutter/flutter#118828)
* 1dd7f45bf Add `build macos --config-only` option. (flutter/flutter#118649)
* 22520f54d [macOS] Add timeline summary benchmarks (flutter/flutter#118748)
* 99e4ca50c Roll Flutter Engine from 29a0582a1d5f to 78bbea005d27 (2 revisions) (flutter/flutter#118829)
* c5ceff11d [flutter_tools] Ensure service worker starts caching assets since first load (flutter/flutter#116833)
* 818bb4e65 Roll Flutter Engine from 78bbea005d27 to 26b6609c603b (3 revisions) (flutter/flutter#118839)
* 09bd0f661 Support logging 'flutter run' communication to DAP clients (flutter/flutter#118674)
* 73096fd96 [macos] add flavor options to commands in the `flutter_tool` (flutter/flutter#118421)
* Add the new wrapper APIs
* Regenerate files
* Add the new integration tests
* macOS Swift implementation
* iOS Swift implementation
* Android Kotlin implementation; some tests disabled
* Android Java implementation
* iOS Obj-C implementation
* Windows C++ implementation
* [pigeon] Fix missed line break between generated statements in Kotlin
* [pigeon] Extend platform test pigeon to catch missed line break
* [pigeon] Use prefared core tests pigeon to catch missed line break
* [pigeon] Remove formatting that causes a position-related issues
* [pigeon] Move not a special-case type field to the end to improve compilation test coverage
* [pigeon] Restore accidentally removed changelog entry
* fix broken test and add gen files
Co-authored-by: tarrinneal <tarrinneal@gmail.com>
This adds a bringup LUCI version of the macOS-host custom package tests.
This is the first attempt to migrate a flutter/packages or
flutter/plugins test to macOS ARM, so is experimental.
The motivation for doing this migration now is to see if it can unblock
https://github.com/flutter/packages/pull/2816, which doesn't seem to
be able to run successfully on Cirrus ARM machines (very possibly due
to the same issue that blocked flutter/plugins migrations to ARM on
Cirrus).
* Add new APIs, unimplemented and unused
* Add Dart implementation
* Add multiple arity FlutterApi
* Add Dart unit tests for desired output format
* Enable the existing integration test
* Add units tests for callback format
* Adjust unit test expectations for error callback
* First-pass implementation; mostly untested
* Comment fix
* Add todo
* Minor fixes
* Fix compilation error in Swift from new pigeons
* Make new Maps string-keyed to avoid Swift error
* Update generation
* Update unit test for change
* Update C++ test plugin for API changes
* Fix type regression
* missing ;
* Drop string_view in Flutter API
* Unwind incorrect 'simplification' of custom classes
* Fix merge mistake
* Merge mistake
* Version bump
* Address review comments
* Fix Dart unit test compilation