Commit graph

59 commits

Author SHA1 Message Date
CyrusNajmabadi 5141f1d4c9 Merge pull request #2111 from Microsoft/navToPatternMatcher
Move NavigateTo over to using the new pattern matcher.
2015-02-23 16:01:23 -08:00
Anders Hejlsberg f0f4ca6b06 Merge branch 'master' into es6Import
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
	tests/baselines/reference/recursiveClassReferenceTest.js.map
	tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt
2015-02-23 11:15:56 -08:00
Cyrus Najmabadi fd1b5875e2 Move NavigateTo over to using the new pattern matcher. 2015-02-22 21:25:43 -08:00
CyrusNajmabadi b3a74ae32d Merge pull request #2094 from Microsoft/patternMatcher
Add a PatternMatcher API (similar to the one in Roslyn) for more advanced matching with features like NavigateTo.
2015-02-21 14:56:11 -08:00
Cyrus Najmabadi 06a278458a Merge branch 'master' into patternMatcher
Conflicts:
	src/services/services.ts
2015-02-21 14:34:15 -08:00
Cyrus Najmabadi 8c90fc6bc8 Merge branch 'master' into binaryExpressionEmit
Conflicts:
	src/compiler/checker.ts
2015-02-20 21:28:15 -08:00
Cyrus Najmabadi fc229368d1 Include the binary expression's operator in the AST. 2015-02-20 18:56:42 -08:00
Cyrus Najmabadi eb5936b06f Merge branch 'master' into baseZero
Conflicts:
	src/harness/harnessLanguageService.ts
2015-02-20 16:56:58 -08:00
CyrusNajmabadi 5c1ef11d69 Merge pull request #2084 from Microsoft/limitNavigateTo
Allow clients to limit the amount of data that navigate to returns.
2015-02-20 16:42:06 -08:00
Cyrus Najmabadi 33e1e5d905 Add a PatternMatcher API (similar to the one in Roslyn) for more advanced matching with features like NavigateTo. 2015-02-20 00:22:41 -08:00
Jason Freeman 2928449bbe Accept baselines 2015-02-19 16:43:45 -08:00
Cyrus Najmabadi 8d7791c579 Merge branch 'master' into limitNavigateTo 2015-02-19 15:34:05 -08:00
Cyrus Najmabadi 2b64e50489 Add support for limiting the number of NavigateTo results that you get back. 2015-02-19 15:13:03 -08:00
Steve Lucco 6d7045ec5a Merge pull request #2041 from Microsoft/TSServer
TS Server
2015-02-19 13:10:21 -08:00
Jason Freeman 5596993351 Merge branch 'master' into forOf
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-02-18 14:49:10 -08:00
Jason Freeman 2c4244d749 Accept API baseline changes 2015-02-18 11:35:26 -08:00
Cyrus Najmabadi a83534a72c Fix up API samples. 2015-02-16 19:55:32 -08:00
Cyrus Najmabadi 78cfbb6e50 Update baselines. 2015-02-16 15:20:40 -08:00
Mohamed Hegazy 32e2f4d95d Accept APISamples baselines 2015-02-16 12:04:34 -08:00
Anders Hejlsberg cc52dcec49 Accepting new baselines 2015-02-15 08:30:39 -08:00
Jason Freeman 9c273d8133 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
	src/services/services.ts
2015-02-13 14:52:03 -08:00
Daniel Rosenwasser a1b90f0e32 Added baselines. 2015-02-13 13:33:12 -08:00
Anders Hejlsberg 6c47c326a9 Accepting new baselines 2015-02-12 18:05:50 -08:00
Daniel Rosenwasser 65e23b1e60 Added API baseline changes. 2015-02-12 16:46:25 -08:00
Jason Freeman 486cebd224 Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols 2015-02-12 11:03:35 -08:00
Mohamed Hegazy a3aeecc8b6 accept baseline changes 2015-02-12 09:52:09 -08:00
Anders Hejlsberg 3b39e9f4a1 Accepting new baselines 2015-02-11 10:52:29 -08:00
Jason Freeman a94e61bfcd Merge branch 'master' of https://github.com/Microsoft/TypeScript into esSymbols
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
2015-02-10 16:20:32 -08:00
Anders Hejlsberg e8cc2bf5f7 Merge branch 'master' into es6Import 2015-02-10 16:17:50 -08:00
Anders Hejlsberg bbab04e64e Accepting new baselines 2015-02-10 15:03:28 -08:00
Anders Hejlsberg 67874b4c9e Accepting new baselines 2015-02-09 11:23:32 -08:00
Cyrus Najmabadi f1cb97b692 Add additional aggressive checks during incremental parsing. 2015-02-08 16:10:16 -08:00
Anders Hejlsberg acaea1c914 Accepting new baselines 2015-02-08 08:13:15 -08:00
Jason Freeman 59a704e7c1 Rename references in es6.d.ts from Symbol to symbol 2015-02-06 21:32:13 -08:00
Jason Freeman ebdd96bacf Update tests to use new symbol keyword 2015-02-06 21:32:05 -08:00
Cyrus Najmabadi 5c0b38b203 Remove getEnumMemberValue, it is now subsumed into getConstantValue. 2015-02-05 18:26:56 -08:00
Cyrus Najmabadi acbcd6c77f Merge branch 'master' into diagnosticsOrganization 2015-02-05 17:30:27 -08:00
Cyrus Najmabadi 66a363f449 Simplify the API for emitting and reporting exit statuses to callers. 2015-02-05 15:50:18 -08:00
Cyrus Najmabadi ea4e3de91c Remove unnecessary diagnostics split on SourceFile. 2015-02-05 13:38:11 -08:00
Cyrus Najmabadi 337a99f62a Change the API for getting diagnostics so that all calls go through a Program instance. 2015-02-05 01:47:29 -08:00
Cyrus Najmabadi b12be3db19 Remove dependency from the typechecker to the compiler host.
This also lets us not expose the compiler host from the Program instance.
The compiler host was only needed by the type checker to get the host newline.
The host newline was used for concatenating diagnostic message chains.  Now
we don't concatenate them up front.  Instead, we just store the message chain
in the diagnostic itself.  Then when we pass it to the host, it can then decide
what newline to use.
2015-02-04 23:20:26 -08:00
Cyrus Najmabadi 476c8249ac Remove 'isEmitBlocked' from the program API.
If emitting is blocked, then calling .emit on the program will simply return
immediately with an appropriate reason given in the EmitResult.
2015-02-04 17:48:29 -08:00
Cyrus Najmabadi 2a1d78d9e3 Simplify the createProgram API.
Allow the host parameter to be optional to simplify command line programs.
2015-02-04 17:02:26 -08:00
Cyrus Najmabadi bb307f8163 Simplify the API for emitting code from the Program instance. 2015-02-04 16:53:14 -08:00
Cyrus Najmabadi b6d083fa40 Do not publicly expose a way on a Program instance to get typecheckers with differing behavior.
Now, you can only get the non-diagnostics, pull-type-checker from the Program instance.
If you want diagnostics, you simply ask the Program instance for the diagnostics you want.
2015-02-04 16:11:38 -08:00
Cyrus Najmabadi 5b049feb36 Hide the diagnostic producing methods from TypeChecker.
Instead, consumers should get these diagnostics through the Program instance.
2015-02-04 14:29:25 -08:00
Paul van Brenk ece874fde3 Merge branch 'master' into LessAggresiveCompletionList 2015-02-04 14:03:49 -08:00
Cyrus Najmabadi 9fac51b108 Make more diagnostic features internal so they're not exposed in our DTS. 2015-02-04 13:22:28 -08:00
CyrusNajmabadi de13648c9f Merge pull request #1918 from Microsoft/filename
Fix spelling of 'Filename' to be 'FileName'.
2015-02-03 20:05:58 -05:00
Paul van Brenk d9f678fd6d Rename the isBuilder property to something more meaningful. 2015-02-03 16:31:53 -08:00