mirror of
https://github.com/flutter/flutter
synced 2024-08-27 20:10:11 +00:00
master->main deafult branch migration (#89782)
This commit is contained in:
parent
e7b1b2065d
commit
975fcc1f2f
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
# For a list of lints, see: http://dart-lang.github.io/linter/lints/
|
||||
# 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,
|
||||
# which should be kept in sync with this file:
|
||||
|
|
|
@ -162,7 +162,7 @@ abstract class BindingBase {
|
|||
///
|
||||
/// 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
|
||||
@mustCallSuper
|
||||
void initServiceExtensions() {
|
||||
|
|
|
@ -688,9 +688,9 @@ class _WidgetInspectorService = Object with WidgetInspectorService;
|
|||
///
|
||||
/// 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)
|
||||
/// 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
|
||||
/// 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
|
||||
/// expire unpredictably. Object references are tracked in groups so that tools
|
||||
/// that clients can use dereference all objects in a group with a single
|
||||
|
@ -977,7 +977,7 @@ mixin WidgetInspectorService {
|
|||
///
|
||||
/// 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
|
||||
/// extensions can be used.
|
||||
void initServiceExtensions(RegisterServiceExtensionCallback registerServiceExtensionCallback) {
|
||||
|
|
|
@ -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
|
||||
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.
|
||||
|
||||
When possible, please coordinate changes to this directory that might affect the
|
||||
|
|
|
@ -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.
|
||||
Future<List<Map<String, dynamic>>> getVmFlags() async {
|
||||
|
|
|
@ -580,7 +580,7 @@ Future<vms.VmService> _waitAndConnect(String url, Map<String, dynamic>? headers)
|
|||
const Duration _kPauseBetweenReconnectAttempts = Duration(seconds: 1);
|
||||
|
||||
// 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) {
|
||||
return streams.map<String>((TimelineStream stream) {
|
||||
switch (stream) {
|
||||
|
|
|
@ -860,7 +860,7 @@ class DebuggingOptions {
|
|||
/// Additional null runtime checks inserted for web applications.
|
||||
///
|
||||
/// 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;
|
||||
|
||||
bool get hasObservatoryPort => hostVmServicePort != null;
|
||||
|
|
|
@ -759,7 +759,7 @@ abstract class FlutterCommand extends Command<void> {
|
|||
FlutterOptions.kEnableExperiment,
|
||||
help:
|
||||
'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,
|
||||
);
|
||||
}
|
||||
|
|
|
@ -324,7 +324,7 @@ void _buildCoverageMap(
|
|||
|
||||
// Binary search the token position table for the line and column which
|
||||
// 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) {
|
||||
int min = 0;
|
||||
int max = tokenPositions.length;
|
||||
|
|
|
@ -697,7 +697,7 @@ void main() {
|
|||
args: <String, Object>{
|
||||
'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,
|
||||
),
|
||||
listViewsRequest,
|
||||
|
|
|
@ -210,7 +210,7 @@ class FlutterView {
|
|||
/// This is a wrapper class for the `@Isolate` RPC object.
|
||||
///
|
||||
/// 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
|
||||
/// 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
|
|||
/// The `streams` parameter limits the recorded timeline event streams to only
|
||||
/// the ones listed. By default, all streams are recorded.
|
||||
/// 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
|
||||
/// [action]. Otherwise, prior events are cleared before calling [action]. By
|
||||
|
|
Loading…
Reference in a new issue