Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class LeaksPaneController {
final leakSummaryHistory = ValueNotifier<String>('');
late String appProtocolVersion;
final appStatus =
ValueNotifier<AppStatus>(AppStatus.noCommunicationsRecieved);
ValueNotifier<AppStatus>(AppStatus.noCommunicationsReceived);

LeakSummary? _lastLeakSummary;

Expand Down Expand Up @@ -175,7 +175,7 @@ class LeaksPaneController {
switch (appStatus.value) {
case AppStatus.leakTrackingNotSupported:
return 'The application does not support leak tracking.';
case AppStatus.noCommunicationsRecieved:
case AppStatus.noCommunicationsReceived:
return 'Waiting for leak tracking messages from the application...';
case AppStatus.unsupportedProtocolVersion:
return 'The application uses unsupported leak tracking protocol $appProtocolVersion. '
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

enum AppStatus {
leakTrackingNotSupported,
noCommunicationsRecieved,
noCommunicationsReceived,
unsupportedProtocolVersion,
leakTrackingStarted,
leaksFound,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ mixin FilterableHeapClasses<T extends ClassStats> on HeapClasses<T> {
}
}

/// Set of heap class statistical information for single heap (not comparision between two heaps).
/// Set of heap class statistical information for single heap (not comparison between two heaps).
class SingleHeapClasses extends HeapClasses<SingleClassStats>
with FilterableHeapClasses<SingleClassStats> {
SingleHeapClasses(this.classesByName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ abstract class BaseTraceEventProcessor {
timestampMicros: fakeTimestampMicros,
args: {
'message': 'Warning - the end time of this event may be '
'innaccurate. The end trace event was missing, so the end '
'inaccurate. The end trace event was missing, so the end '
'time was inferred.',
},
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class IsolateManager extends Disposer {
// It is critical that the _serviceExtensionManager is already listening
// for events indicating that new extension rpcs are registered before this
// call otherwise there is a race condition where service extensions are not
// described in the selectedIsolate or recieved as an event. It is ok if a
// described in the selectedIsolate or received as an event. It is ok if a
// service extension is included in both places as duplicate extensions are
// handled gracefully.
await _initSelectedIsolate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ChartController extends DisposableController
/// Spacing for title iff title != null.
double topPadding = 0.0;

// TODO(terry): Compute dynamically based on Y-axis labels text width.
// TODO(terry): Compute dynamically based on Y-axis label text width.
final leftPadding = 50.0;

/// Computed minimum right padding.
Expand Down Expand Up @@ -373,13 +373,13 @@ class ChartController extends DisposableController
if (labelTimestamps.isEmpty) return;

final rightLabelTimestamp = labelTimestamps.last;
final rightMostLableDT =
final rightMostLabelDT =
DateTime.fromMillisecondsSinceEpoch(rightLabelTimestamp);
final rightMostTimestampDT =
DateTime.fromMillisecondsSinceEpoch(timestamps.last);

final nSeconds =
rightMostTimestampDT.difference(rightMostLableDT).inSeconds;
rightMostTimestampDT.difference(rightMostLabelDT).inSeconds;

if (nSeconds >= labelInterval) {
late int foundTimestamp;
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools_app/lib/src/shared/charts/treemap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class _TreemapState extends State<Treemap> {

final positionedTreemaps = <PositionedCell>[];

// Contruct list 1 sub-treemap.
// Construct list 1 sub-treemap.
final list1SizeRatio = list1ByteSize / totalByteSize;
final list1Width = isHorizontalRectangle ? width * list1SizeRatio : width;
final list1Height =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class DiagnosticsNodeDescription extends StatelessWidget {
// An Icon is approximately the width of 1 character

if (diagnostic?.showName == true && name != null) {
// The diagnostic will show it's name instead of an icon so add an
// The diagnostic will show its name instead of an icon so add an
// approximate name width.

if (diagnostic?.description != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import 'theme.dart';
/// [HistoryManager]. Includes built-in controls for navigating back and forth
/// through the content stored in the provided [HistoryManager].
///
/// [history] is the [HistoryManger] that contains the data to be displayed.
/// [history] is the [HistoryManager] that contains the data to be displayed.
///
/// [contentBuilder] is invoked with the currently selected historical data
/// when building the contents of the viewport.
Expand Down
4 changes: 2 additions & 2 deletions packages/devtools_app/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
</script>
<!-- The below URI ?id= must match the GA_DEVTOOLS_PROPERTY above. -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-26406144-34"></script>
<script type="text/javascript" src="devtools_analytics.js"></script>
<script src="devtools_analytics.js"></script>
<!-- End of DevTools Google Analytics -->

<!-- DO NOT REMOVE: -->
<!-- OBSERVER SCRIPT PLACEHOLDER -->

<script type="text/javascript">
<script>
function supportsES6Classes() {
"use strict";
try { eval("class Foo {}"); }
Expand Down