Commit Graph

1551 Commits

Author SHA1 Message Date
Vladimir Matveev 269ae3ab99 introduce FileMap to store mappings with filenames as keys 2015-06-03 13:48:34 -07:00
CyrusNajmabadi f624c0fd7e Merge pull request #3296 from Microsoft/jsDocClassification
Add syntactic classification for doc comments.
2015-06-02 15:17:39 -07:00
Cyrus Najmabadi 513183e7b1 PR feedback. 2015-06-02 13:58:49 -07:00
Cyrus Najmabadi be97bd250c Merge branch 'master' into jsDocClassification 2015-06-02 13:48:56 -07:00
Daniel Rosenwasser 589a01c51f Block completion when in trailing flags of a regex. 2015-06-02 13:01:44 -07:00
Ron Buckton 2cb0dfd99d Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-06-01 17:41:04 -07:00
Ron Buckton f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -07:00
Vladimir Matveev f79f5bb765 Merge pull request #3331 from Microsoft/clean_hostCache
perf: clean hostCache to avoid extending lifetime of script snapshots
2015-06-01 16:32:06 -07:00
Vladimir Matveev 22e493d0d3 clean hostCache to avoid extending lifetime of script snapshots 2015-06-01 16:08:58 -07:00
Jason Freeman 059bb18bac Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.symbols
	tests/baselines/reference/for-of37.symbols
	tests/baselines/reference/for-of38.symbols
	tests/baselines/reference/for-of40.symbols
	tests/baselines/reference/for-of45.symbols
	tests/baselines/reference/for-of50.symbols
	tests/baselines/reference/iterableArrayPattern30.symbols
	tests/baselines/reference/promiseVoidErrorCallback.symbols
	tests/baselines/reference/typedArrays.symbols
2015-05-29 17:14:29 -07:00
Cyrus Najmabadi 0f3584e9cc Removing unnecessary code. 2015-05-28 15:04:08 -07:00
Cyrus Najmabadi 64c7f3d38b Add syntactic classification for doc comments. 2015-05-28 14:45:43 -07:00
Cyrus Najmabadi 9aab98419b Parsing support for jsDocComments. 2015-05-28 10:14:18 -07:00
Jason Freeman 0a49128908 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-27 13:24:00 -04:00
Vladimir Matveev f1789acb47 remove space after close bracket only if next token does not start block in function declaration context 2015-05-26 16:25:09 -07:00
Jason Freeman 67c88a2588 Initial PR feedback 2015-05-20 16:38:13 -07:00
Paul van Brenk 635c703872 Fix issue in the parsing of tsConfig file, this was fixed in master before, but never ported.
The realizeDiagnosticS function already returns an array, no need to wrap again. The realizeDiagnostic (no S) function returns a single diagnostic.
2015-05-19 18:07:21 -07:00
Paul van Brenk 3853489628 Update version to 1.5.3 for the VS 2015 release 2015-05-19 16:25:12 -07:00
Jason Freeman 6037780159 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-19 15:08:41 -07:00
Mohamed Hegazy 5ea2cea95d Merge pull request #3208 from Microsoft/updateSingleCompilationFlagName
Update singleCompilation flag name to isolatedModules
2015-05-19 13:54:49 -07:00
Vladimir Matveev 91f69d7a02 Merge pull request #3226 from Microsoft/port-3183
Port PR 3183 into release 1.5
2015-05-19 11:53:16 -07:00
Vladimir Matveev 1f35f194d2 use textSpanEnd instead of handrolled version 2015-05-19 11:12:53 -07:00
Vladimir Matveev 845820dfe9 addressed PR feedback 2015-05-19 11:12:42 -07:00
Vladimir Matveev 0b9dd9e239 during file update request only changed portion of the text from the host 2015-05-19 11:12:25 -07:00
Vladimir Matveev 2252e3045c add optional 'getProjectVersion' method to perform fast up-to-date checks 2015-05-19 11:09:45 -07:00
Mohamed Hegazy 1da04ba8f4 Change flag --singleCompilation to --isolatedModules 2015-05-18 21:49:41 -07:00
Vladimir Matveev 66a91c33fb use textSpanEnd instead of handrolled version 2015-05-15 16:36:58 -07:00
Vladimir Matveev d3a2dc0c64 addressed PR feedback 2015-05-15 15:28:02 -07:00
Vladimir Matveev 2c4801ea47 during file update request only changed portion of the text from the host 2015-05-15 14:28:02 -07:00
Paul van Brenk 591e882e4d Added comment for Daniel 2015-05-13 15:15:12 -07:00
Paul van Brenk 35aad18097 alligned comments 2015-05-13 14:48:40 -07:00
Paul van Brenk 03876fff4b Additional cases added for creating new variables. 2015-05-13 14:43:17 -07:00
Paul van Brenk fb68321c14 Merge branch 'master' into completionFixes 2015-05-13 13:28:02 -07:00
Vladimir Matveev af342382ed add optional 'getProjectVersion' method to perform fast up-to-date checks 2015-05-12 10:57:55 -07:00
Jason Freeman a14ec69316 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-08 15:33:18 -07:00
CyrusNajmabadi 79ec3ec5a3 Merge pull request #3092 from Microsoft/classificationLoop1.5
Prevent infinite loop when classifying.
2015-05-08 13:59:49 -07:00
Cyrus Najmabadi a8d25c82ac Prevent infinite loop when classifying. 2015-05-08 13:10:17 -07:00
Cyrus Najmabadi 286f0150a6 Prevent infinite loop when classifying. 2015-05-08 10:54:00 -07:00
Cyrus Najmabadi 4c809eddfb Don't wrap an array of errors in an additional array. 2015-05-08 09:55:59 -07:00
Vladimir Matveev a33bb6bb19 use canonical file name when asking the host if file exists 2015-05-06 16:00:50 -07:00
Jason Freeman cf4ca1fc3c Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-05-06 11:42:26 -07:00
Bryan Forbes 884ca4edbc ProjectService passing incorrect object to parseConfigFile()
The return signature of `readConfigFile()` changed in
f8424d0b0c and the code using it in
`ProjectService` was never updated to match. This lead to the language
services attempting to parse an object that doesn't match what is
expected and using the default compiler options instead of what is
defined in `tsconfig.json`. Similarly, the return value of the
closure in `getTSConfigFileInfo()` was never updated to match in
both places it returns.
2015-05-05 16:51:14 -05:00
Jason Freeman 6183c81f9e Formatting for yield and yield* expressions 2015-05-04 16:01:32 -07:00
Jason Freeman be5557a644 Formatting for generators 2015-05-04 16:00:29 -07:00
Mohamed Hegazy 15f4b58d6c Merge pull request #2966 from Microsoft/getTypeDefinitionAtPosition
Get type definition at position
2015-05-04 14:51:10 -07:00
Vladimir Matveev bd47ae4886 Merge pull request #3001 from Microsoft/formattingOnChainedCallbacks
fix formatting for chained callbacks
2015-05-04 12:46:08 -07:00
Mohamed Hegazy 7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
Vladimir Matveev 5f3e7dec9a fix formatting 2015-05-03 22:37:11 -07:00
Vladimir Matveev 432ac30d3c addressed PR feedback, split conditional expression into multiple lines 2015-05-02 13:36:50 -07:00
Vladimir Matveev f5b13bdb6d fix formatting for chained callbacks 2015-05-01 23:13:23 -07:00