Unverified Commit 975fcc1f authored by Phil Quitslund's avatar Phil Quitslund Committed by GitHub

master->main deafult branch migration (#89782)

parent e7b1b206
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# #
# For a list of lints, see: http://dart-lang.github.io/linter/lints/ # For a list of lints, see: http://dart-lang.github.io/linter/lints/
# See the configuration guide for more # See the configuration guide for more
# https://github.com/dart-lang/sdk/tree/master/pkg/analyzer#configuring-the-analyzer # https://github.com/dart-lang/sdk/tree/main/pkg/analyzer#configuring-the-analyzer
# #
# There are other similar analysis options files in the flutter repos, # There are other similar analysis options files in the flutter repos,
# which should be kept in sync with this file: # which should be kept in sync with this file:
......
...@@ -162,7 +162,7 @@ abstract class BindingBase { ...@@ -162,7 +162,7 @@ abstract class BindingBase {
/// ///
/// See also: /// See also:
/// ///
/// * <https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#rpcs-requests-and-responses> /// * <https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#rpcs-requests-and-responses>
@protected @protected
@mustCallSuper @mustCallSuper
void initServiceExtensions() { void initServiceExtensions() {
......
...@@ -688,9 +688,9 @@ class _WidgetInspectorService = Object with WidgetInspectorService; ...@@ -688,9 +688,9 @@ class _WidgetInspectorService = Object with WidgetInspectorService;
/// ///
/// Calls to this object are typically made from GUI tools such as the [Flutter /// Calls to this object are typically made from GUI tools such as the [Flutter
/// IntelliJ Plugin](https://github.com/flutter/flutter-intellij/blob/master/README.md) /// IntelliJ Plugin](https://github.com/flutter/flutter-intellij/blob/master/README.md)
/// using the [Dart VM Service protocol](https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md). /// using the [Dart VM Service protocol](https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md).
/// This class uses its own object id and manages object lifecycles itself /// This class uses its own object id and manages object lifecycles itself
/// instead of depending on the [object ids](https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#getobject) /// instead of depending on the [object ids](https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#getobject)
/// specified by the VM Service Protocol because the VM Service Protocol ids /// specified by the VM Service Protocol because the VM Service Protocol ids
/// expire unpredictably. Object references are tracked in groups so that tools /// expire unpredictably. Object references are tracked in groups so that tools
/// that clients can use dereference all objects in a group with a single /// that clients can use dereference all objects in a group with a single
...@@ -977,7 +977,7 @@ mixin WidgetInspectorService { ...@@ -977,7 +977,7 @@ mixin WidgetInspectorService {
/// ///
/// See also: /// See also:
/// ///
/// * <https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#rpcs-requests-and-responses> /// * <https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#rpcs-requests-and-responses>
/// * [BindingBase.initServiceExtensions], which explains when service /// * [BindingBase.initServiceExtensions], which explains when service
/// extensions can be used. /// extensions can be used.
void initServiceExtensions(RegisterServiceExtensionCallback registerServiceExtensionCallback) { void initServiceExtensions(RegisterServiceExtensionCallback registerServiceExtensionCallback) {
......
...@@ -12,7 +12,7 @@ Note that the tests in this directory are also invoked from external repositorie ...@@ -12,7 +12,7 @@ Note that the tests in this directory are also invoked from external repositorie
Specifically, the CI system for the dart-lang/sdk repo runs these tests in order to Specifically, the CI system for the dart-lang/sdk repo runs these tests in order to
ensure that changes to the dart fix file format do not break Flutter. ensure that changes to the dart fix file format do not break Flutter.
See [tools/bots/flutter/analyze_flutter_flutter.sh](https://github.com/dart-lang/sdk/blob/master/tools/bots/flutter/analyze_flutter_flutter.sh) See [tools/bots/flutter/analyze_flutter_flutter.sh](https://github.com/dart-lang/sdk/blob/main/tools/bots/flutter/analyze_flutter_flutter.sh)
for where the tests are invoked. for where the tests are invoked.
When possible, please coordinate changes to this directory that might affect the When possible, please coordinate changes to this directory that might affect the
......
...@@ -625,7 +625,7 @@ abstract class FlutterDriver { ...@@ -625,7 +625,7 @@ abstract class FlutterDriver {
/// ... /// ...
/// ] /// ]
/// ///
/// [getFlagList]: https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#getflaglist /// [getFlagList]: https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#getflaglist
/// ///
/// Throws [UnimplementedError] on [WebFlutterDriver] instances. /// Throws [UnimplementedError] on [WebFlutterDriver] instances.
Future<List<Map<String, dynamic>>> getVmFlags() async { Future<List<Map<String, dynamic>>> getVmFlags() async {
......
...@@ -580,7 +580,7 @@ Future<vms.VmService> _waitAndConnect(String url, Map<String, dynamic>? headers) ...@@ -580,7 +580,7 @@ Future<vms.VmService> _waitAndConnect(String url, Map<String, dynamic>? headers)
const Duration _kPauseBetweenReconnectAttempts = Duration(seconds: 1); const Duration _kPauseBetweenReconnectAttempts = Duration(seconds: 1);
// See `timeline_streams` in // See `timeline_streams` in
// https://github.com/dart-lang/sdk/blob/master/runtime/vm/timeline.cc // https://github.com/dart-lang/sdk/blob/main/runtime/vm/timeline.cc
List<String> _timelineStreamsToString(List<TimelineStream> streams) { List<String> _timelineStreamsToString(List<TimelineStream> streams) {
return streams.map<String>((TimelineStream stream) { return streams.map<String>((TimelineStream stream) {
switch (stream) { switch (stream) {
......
...@@ -860,7 +860,7 @@ class DebuggingOptions { ...@@ -860,7 +860,7 @@ class DebuggingOptions {
/// Additional null runtime checks inserted for web applications. /// Additional null runtime checks inserted for web applications.
/// ///
/// See also: /// See also:
/// * https://github.com/dart-lang/sdk/blob/master/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md /// * https://github.com/dart-lang/sdk/blob/main/sdk/lib/html/doc/NATIVE_NULL_ASSERTIONS.md
final bool nativeNullAssertions; final bool nativeNullAssertions;
bool get hasObservatoryPort => hostVmServicePort != null; bool get hasObservatoryPort => hostVmServicePort != null;
......
...@@ -759,7 +759,7 @@ abstract class FlutterCommand extends Command<void> { ...@@ -759,7 +759,7 @@ abstract class FlutterCommand extends Command<void> {
FlutterOptions.kEnableExperiment, FlutterOptions.kEnableExperiment,
help: help:
'The name of an experimental Dart feature to enable. For more information see: ' 'The name of an experimental Dart feature to enable. For more information see: '
'https://github.com/dart-lang/sdk/blob/master/docs/process/experimental-flags.md', 'https://github.com/dart-lang/sdk/blob/main/docs/process/experimental-flags.md',
hide: hide, hide: hide,
); );
} }
......
...@@ -324,7 +324,7 @@ void _buildCoverageMap( ...@@ -324,7 +324,7 @@ void _buildCoverageMap(
// Binary search the token position table for the line and column which // Binary search the token position table for the line and column which
// corresponds to each token position. // corresponds to each token position.
// The format of this table is described in https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#script // The format of this table is described in https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#script
List<int> _lineAndColumn(int position, List<dynamic> tokenPositions) { List<int> _lineAndColumn(int position, List<dynamic> tokenPositions) {
int min = 0; int min = 0;
int max = tokenPositions.length; int max = tokenPositions.length;
......
...@@ -697,7 +697,7 @@ void main() { ...@@ -697,7 +697,7 @@ void main() {
args: <String, Object>{ args: <String, Object>{
'streamId': 'Isolate', 'streamId': 'Isolate',
}, },
// Stream already subscribed - https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#streamlisten // Stream already subscribed - https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#streamlisten
errorCode: 103, errorCode: 103,
), ),
listViewsRequest, listViewsRequest,
......
...@@ -210,7 +210,7 @@ class FlutterView { ...@@ -210,7 +210,7 @@ class FlutterView {
/// This is a wrapper class for the `@Isolate` RPC object. /// This is a wrapper class for the `@Isolate` RPC object.
/// ///
/// See: /// See:
/// https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#isolate /// https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md#isolate
/// ///
/// This class contains information about the Isolate like its name and ID, as /// This class contains information about the Isolate like its name and ID, as
/// well as a reference to the parent DartVM on which it is running. /// well as a reference to the parent DartVM on which it is running.
......
...@@ -256,7 +256,7 @@ https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab ...@@ -256,7 +256,7 @@ https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
/// The `streams` parameter limits the recorded timeline event streams to only /// The `streams` parameter limits the recorded timeline event streams to only
/// the ones listed. By default, all streams are recorded. /// the ones listed. By default, all streams are recorded.
/// See `timeline_streams` in /// See `timeline_streams` in
/// [Dart-SDK/runtime/vm/timeline.cc](https://github.com/dart-lang/sdk/blob/master/runtime/vm/timeline.cc) /// [Dart-SDK/runtime/vm/timeline.cc](https://github.com/dart-lang/sdk/blob/main/runtime/vm/timeline.cc)
/// ///
/// If [retainPriorEvents] is true, retains events recorded prior to calling /// If [retainPriorEvents] is true, retains events recorded prior to calling
/// [action]. Otherwise, prior events are cleared before calling [action]. By /// [action]. Otherwise, prior events are cleared before calling [action]. By
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment