Commit Graph
103 Commits
Author SHA1 Message Date
Yui T d52fe20df3 Add getEmitOutput and update call to getCurrentDirectory 2014-09-10 09:54:34 -07:00
Daniel Rosenwasser 5edf075142 Corrected some spelling/grammar issues. 2014-09-08 13:07:45 -07:00
Anders Hejlsberg f62bbc238d Cache unsuccessful file lookups for improved performance. 2014-09-04 10:17:39 -07:00
Mohamed Hegazy dc0560ae59 Merge branch 'master' into getReferences
Conflicts:
	tests/baselines/reference/aliasUsageInGenericFunction.types
	tests/baselines/reference/aliasUsageInObjectLiteral.types
	tests/baselines/reference/aliasUsageInOrExpression.types
	tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.types
2014-08-29 15:56:36 -07:00
Mohamed Hegazy 49d8157d28 ensure that sys is not used outside tsc.ts 2014-08-28 23:10:05 -07:00
Daniel Rosenwasser 1f77198c4c Made getOccs more resilient. 2014-08-26 12:27:54 -07:00
Daniel Rosenwasser aef859f442 Merge branch 'master' into getReferences
Conflicts:
	src/services/services.ts
2014-08-25 16:51:35 -07:00
Mohamed Hegazy 892baf0d6c use Identifiers list from the parser to filter getReferences instead of bloomFilters 2014-08-22 22:27:05 -07:00
Sheetal Nandi 85b892fd6a Emit pinned/tripleslash reference comments of signatures
Fixes #501
2014-08-22 16:10:11 -07:00
Cyrus Najmabadi 9aee22b943 Merge branch 'master' into newLanguageService
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/harness/fourslash.ts
	src/harness/harness.ts
	src/harness/harnessLanguageService.ts
	src/harness/rwcRunner.ts
	src/services/services.ts
2014-08-22 14:23:14 -07:00
Mohamed Hegazy dbf9e47832 use isDeclarationOrFunctionExpressionOrCatchVariableName instead of isDeclarationIdentifier in the language service and remove unused functions 2014-08-21 13:34:50 -07:00
Dick van den Brink c9e526ffe9 Remove some unused variables 2014-08-21 21:24:33 +02:00
Mohamed Hegazy e0ffc47acc Merge branch 'master' into getReferences
Conflicts:
	src/compiler/checker.ts
2014-08-20 22:55:41 -07:00
Sheetal Nandi 6e4d0ef1ef Merge pull request #452 from Microsoft/emitComments
Emit comments in the .js and .d.ts files
2014-08-20 17:07:24 -07:00
Sheetal Nandi ce89da227d Include previous token trailing comments for parameters and type parameters as part of leading comments of them 2014-08-19 10:00:38 -07:00
Daniel Rosenwasser a366984bc9 Reassigned diagnostic codes. 2014-08-18 15:42:27 -07:00
Mohamed Hegazy 32a5984601 expose utility functions 2014-08-18 12:40:10 -07:00
Daniel Rosenwasser 5c59360ef7 Merge branch 'master' into diagnosticsCleanup 2014-08-15 17:17:27 -07:00
Cyrus Najmabadi 87ebb6b2da add rename localization messages. 2014-08-15 16:22:58 -07:00
Anders Hejlsberg eea8409e4f Merge pull request #460 from Microsoft/noArrowLookahead
Removed lookahead for simple arrow function expressions.
2014-08-15 12:54:18 -07:00
Anders Hejlsberg dcddb50f5b Removed lookahead for simple arrow function expressions. 2014-08-15 07:44:56 -07:00
Cyrus Najmabadi 7e70f695bb Revert "Merge branch 'master' into newLanguageService"
This reverts commit d135fa43f5, reversing
changes made to 7ddc00cba9.
2014-08-14 17:49:02 -07:00
Cyrus Najmabadi a1b7c4f54c Revert "Merge pull request #444 from Microsoft/newCompilerLS"
This reverts commit ae5f4c2617, reversing
changes made to 2f963743c4.
2014-08-14 17:37:45 -07:00
Sheetal Nandi e76d8f36b6 Align the multiline comments in the generated outputs by retaining its position relative to the first line in the comment 2014-08-14 14:43:28 -07:00
Sheetal Nandi a828507e4e Declaration comments for the type parameter declaration in .d.ts 2014-08-14 08:23:42 -07:00
Sheetal Nandi 5accc9962a Write JsDoc comments for ImportDeclaration in .d.ts file 2014-08-14 07:48:14 -07:00
Vladimir Matveev 72fc5dbf9b added fullTypeCheckFlag to TypeChecker 2014-08-13 15:12:51 -07:00
Cyrus Najmabadi 474cf0d575 Port over changes to the ScriptSnapshot API from the languageService-v2 branch. 2014-08-12 17:12:23 -07:00
Daniel Rosenwasser e6c42faa7c Addressed CR feedback, removed NoPrefix messages. 2014-08-12 14:56:27 -07:00
Daniel Rosenwasser 122b78612c Recovered deleted, renumbered existing, reworded some. 2014-08-07 15:59:49 -07:00
Jason Freeman cc7ca33eef Simplify checking for octal literals in parser 2014-08-07 12:49:52 -07:00
Jason Freeman 92f7c98adb Merge branch 'master' into octal 2014-08-07 12:11:13 -07:00
Jason Freeman b1f71e6504 Address feedback 2014-08-07 12:08:31 -07:00
Jason Freeman 72cf78f681 Error on octal literals in ES5 and strict mode 2014-08-06 18:10:16 -07:00
Mohamed Hegazy 63b835a7a9 Remove ByteOrderMark 2014-08-06 11:13:49 -07:00
Anders Hejlsberg a2a6b8a410 Support extensionless <reference> comments.
Fixes #344.
2014-08-05 14:32:53 -07:00
Daniel Rosenwasser 40f6ed0b65 Merge pull request #262 from Microsoft/trylessCatchesFinallyParseNicely
Improved errors for 'catch'/'finally' blocks missing 'try' statements
2014-08-04 15:56:20 -07:00
Mohamed Hegazy 3c0fd5324c Merge branch 'master' into getDefinition 2014-08-04 13:43:14 -07:00
Dick van den Brink c9c8748152 Code style: Missing semicolons 2014-08-04 22:32:32 +02:00
Mohamed Hegazy aa75de9c70 Consolidate Document and SoruceFile 2014-08-04 12:00:37 -07:00
Daniel Rosenwasser 9a89147587 Merge pull request #324 from Microsoft/watcherIardlyKnowEr
Support the '--watch' compiler flag.
2014-08-02 17:52:02 -07:00
Mohamed Hegazy 61436368b5 Merge branch 'master' into ls 2014-07-31 18:43:53 -07:00
Daniel Rosenwasser 617910b3d4 Support the '--watch' compiler flag. 2014-07-31 14:57:54 -07:00
Daniel Rosenwasser add65f1f29 Merge branch 'master' into trylessCatchesFinallyParseNicely
Conflicts:
	src/compiler/diagnosticMessages.json
2014-07-31 14:49:14 -07:00
Daniel Rosenwasser ef5ae6e969 Merge pull request #273 from Microsoft/es3HatesTrailingCommas
No longer emit trailing comma on object literals for ES3.
2014-07-29 16:31:17 -07:00
Daniel Rosenwasser c5349dc95f Accept object literal commas in ES3, preserve in ES5. 2014-07-29 16:25:10 -07:00
Mohamed Hegazy 346809ba2b wire in getCompletions 2014-07-29 12:10:21 -07:00
Mohamed Hegazy 8eda35afa0 Ensure SimpleArrowFunctionExpression has a NodeArray as its paramter as ForEachChild expexts that 2014-07-29 12:07:47 -07:00
Mohamed Hegazy 2ed3de1c28 push newline to compilerhost instead of using sys directelly. This allows the language service to set it, as sys is not defined in language service scenarios 2014-07-29 12:06:43 -07:00
Daniel Rosenwasser fce3bdd171 Merge pull request #256 from Microsoft/ambientAccessorErrors
Gracefully handle accessor declarations in ambient classes.
2014-07-29 11:46:32 -07:00