Commit Graph
79 Commits
Author SHA1 Message Date
Anders Hejlsberg 9f3d83adeb Truncate long types in error messages 2014-09-08 16:14:43 -07:00
Daniel Rosenwasser 5edf075142 Corrected some spelling/grammar issues. 2014-09-08 13:07:45 -07:00
Sheetal Nandi c2b78ead05 Handles all the line breaks in calculation of line-character position
lineFeed = 0x0A,              // \n
        carriageReturn = 0x0D,        // \r
        lineSeparator = 0x2028,
        paragraphSeparator = 0x2029,
        nextLine = 0x0085,

Fixes #131
2014-08-29 17:27:47 -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
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 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
Jason Freeman f949c5014a Merge branch 'master' into typeWriter
Conflicts:
	src/compiler/types.ts
2014-08-18 19:57:35 -07:00
Daniel Rosenwasser 8baee8a785 Merge branch 'master' into diagnosticsCleanup 2014-08-18 15:42:58 -07:00
Mohamed Hegazy 54d8722189 Merge branch 'master' into classifier 2014-08-18 14:33:30 -07:00
Mohamed Hegazy d419982422 Support getReferences on contextually typed object literal properties 2014-08-18 13:03:25 -07:00
Mohamed Hegazy 55d002117c support getReferences on object literals 2014-08-18 13:00:31 -07:00
Daniel Rosenwasser 5c59360ef7 Merge branch 'master' into diagnosticsCleanup 2014-08-15 17:17:27 -07:00
Jason Freeman 5574b58d64 Adjust TypeChecker to have separate method for getApparentType 2014-08-15 14:37:29 -07:00
Jason Freeman 537d8785f3 Change getTypeOfNode to take an apparentType flag 2014-08-15 14:36:49 -07:00
Jason Freeman 12a0909fdd Add getTypeOfNode function to checker API 2014-08-15 14:36:00 -07:00
Vladimir Matveev a271b94b9d merge with mastr 2014-08-15 12:06:53 -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 3e95358486 Emit comments in the javascript code if --removecomments is not specified 2014-08-14 05:41:04 -07:00
Sheetal Nandi f622cb4d11 Merge pull request #381 from branch 'remote/privacyErrors'
Report privacy errors on variable/property declarations and also emit import declarations that get used to defined visible type
2014-08-13 18:48:05 -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 90c173dd16 Merge branch 'master' into diagnosticsCleanup 2014-08-12 14:59:01 -07:00
Daniel Rosenwasser e6c42faa7c Addressed CR feedback, removed NoPrefix messages. 2014-08-12 14:56:27 -07:00
Sheetal Nandi 09ea12d95c Use typeof function in the declaration emitter instead of unwinding first level 2014-08-08 16:15:09 -07:00
Sheetal Nandi 1347621d0c Report error if the entityname reference in the import declaration is using private module 2014-08-08 13:56:53 -07:00
Mohamed Hegazy 019994004c wire classifier to use new compiler implementation 2014-08-07 23:44:43 -07:00
Dick van den Brink e0f738429f Added missing semicolons 2014-08-07 21:08:38 +02:00
Mohamed Hegazy 9222711ace change name of the flag to emitBOM 2014-08-06 14:24:47 -07:00
Sheetal Nandi 875d0c0c75 Emit unexported aliases that need to be emitted to .d.ts to make correct result 2014-08-06 13:12:49 -07:00
Mohamed Hegazy f125ee20bb Merge branch 'master' into bom
Conflicts:
	src/compiler/commandLineParser.ts
	src/compiler/emitter.ts
2014-08-06 12:55:57 -07:00
Daniel Rosenwasser 3ad6e31aa5 Merge pull request #351 from Microsoft/wontYouPleasePleaseHelpMe
Support the '--help' compiler flag.
2014-08-06 11:59:18 -07:00
Sheetal Nandi 5c4009a163 Merge pull request #161 from Microsoft/privacyErrors
Report errors for usage of private types when generating declaration file
2014-08-06 11:51:55 -07:00
Mohamed Hegazy b1335e1795 add generateBOM switch 2014-08-06 11:37:59 -07:00
Mohamed Hegazy 63b835a7a9 Remove ByteOrderMark 2014-08-06 11:13:49 -07:00
Daniel Rosenwasser 81c4b0b900 Merge branch 'master' into wontYouPleasePleaseHelpMe
Conflicts:
	src/compiler/commandLineParser.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-08-05 12:50:16 -07:00
Mohamed Hegazy f8228e1544 Change variabel names:
* documentsByName to sourceFilesByName
* getSymbolOfIdentifierLikeNode to getSymbolInfo
2014-08-04 13:37:17 -07:00
Mohamed Hegazy 1667894ec6 Merge branch 'master' into getDefinition 2014-08-04 12:52:27 -07:00
Daniel Rosenwasser e05e7836e3 Style and comments. 2014-08-04 12:20:54 -07:00
Mohamed Hegazy aa75de9c70 Consolidate Document and SoruceFile 2014-08-04 12:00:37 -07:00
Anders Hejlsberg 9a5324347e Merge pull request #330 from Microsoft/pullContextualTypes
Pull model for contextual types
2014-08-04 11:51:23 -07:00
Anders Hejlsberg 2b26e37976 Addressing CR feedback. 2014-08-04 11:40:56 -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
Daniel Rosenwasser 2dd9763bad Implemented --help. 2014-08-01 17:33:14 -07:00
Mohamed Hegazy 8606873db6 move identifier-like node handleing (e.g. super, this, string property access etc..) to the checker 2014-08-01 17:11:11 -07:00
Vladimir Matveev b43d694ec1 move exportAssignSymbol to symbolLinks 2014-08-01 13:09:06 -07:00
Mohamed Hegazy c406662bc4 Wire getDefinitionAtPosition using the new compiler implementation 2014-07-31 19:58:18 -07:00