Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 1506323002: Explicitly specify that FilePath is not just absolute, but also a normalized path. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add an error for invalid file paths. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analysis.server; 5 library analysis.server;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:core' hide Resource; 9 import 'dart:core' hide Resource;
10 import 'dart:math' show max; 10 import 'dart:math' show max;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 /** 66 /**
67 * Instances of the class [AnalysisServer] implement a server that listens on a 67 * Instances of the class [AnalysisServer] implement a server that listens on a
68 * [CommunicationChannel] for analysis requests and process them. 68 * [CommunicationChannel] for analysis requests and process them.
69 */ 69 */
70 class AnalysisServer { 70 class AnalysisServer {
71 /** 71 /**
72 * The version of the analysis server. The value should be replaced 72 * The version of the analysis server. The value should be replaced
73 * automatically during the build. 73 * automatically during the build.
74 */ 74 */
75 static final String VERSION = '1.12.0'; 75 static final String VERSION = '1.14.0';
76 76
77 /** 77 /**
78 * The number of milliseconds to perform operations before inserting 78 * The number of milliseconds to perform operations before inserting
79 * a 1 millisecond delay so that the VM and dart:io can deliver content 79 * a 1 millisecond delay so that the VM and dart:io can deliver content
80 * to stdin. This should be removed once the underlying problem is fixed. 80 * to stdin. This should be removed once the underlying problem is fixed.
81 */ 81 */
82 static int performOperationDelayFreqency = 25; 82 static int performOperationDelayFreqency = 25;
83 83
84 /** 84 /**
85 * The options of this server instance. 85 * The options of this server instance.
(...skipping 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 /** 1667 /**
1668 * The [PerformanceTag] for time spent in server request handlers. 1668 * The [PerformanceTag] for time spent in server request handlers.
1669 */ 1669 */
1670 static PerformanceTag serverRequests = new PerformanceTag('serverRequests'); 1670 static PerformanceTag serverRequests = new PerformanceTag('serverRequests');
1671 1671
1672 /** 1672 /**
1673 * The [PerformanceTag] for time spent in split store microtasks. 1673 * The [PerformanceTag] for time spent in split store microtasks.
1674 */ 1674 */
1675 static PerformanceTag splitStore = new PerformanceTag('splitStore'); 1675 static PerformanceTag splitStore = new PerformanceTag('splitStore');
1676 } 1676 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698