Commit graph

173 commits

Author SHA1 Message Date
Sheetal Nandi
2e36faed28 Fix the crash in declaration file emit when alias is used before its declaration
Fixes #938
2014-10-22 10:23:15 -07:00
Yui T
ac68f93189 Addres code review 2014-10-14 12:16:26 -07:00
Yui T
848bfe7160 Update language service to use getDeclarationDiagnostics instead of emitFile to get declaration errors 2014-10-13 12:41:26 -07:00
Yui T
cc48fc3efd Refactoring parameters formatting 2014-10-13 11:27:07 -07:00
Yui T
fee4343218 Refactoring emitDeclaration, separate emitDeclaration from emitFiles 2014-10-10 16:44:14 -07:00
Yui T
00c30a3ed7 Merge branch 'master' into fixThrowExceptionOnEmitFile 2014-10-09 14:36:48 -07:00
Yui T
3cb6c9cf45 Add isDeclarationFile and update similar all usage 2014-10-09 14:19:36 -07:00
Yui T
ab5f0241eb Fix comments 2014-10-09 10:12:49 -07:00
Sheetal Nandi
58cfc985b9 Merge branch 'master' into symbolInfoFormatting 2014-10-08 18:25:42 -07:00
Yui T
90ed17b21e Fix formatting 2014-10-08 18:18:41 -07:00
Yui T
67eff65e03 Add more test cases 2014-10-08 18:15:07 -07:00
Yui T
b90c5f2ca4 Address code review 2014-10-08 10:26:39 -07:00
Yui T
96cdc4f163 Fix throwing exception from emitFile 2014-10-07 21:41:04 -07:00
Yui T
530a5c0650 Merge branch 'master' into getEmitOutputExternalModule 2014-10-07 13:21:19 -07:00
Yui T
7d725037b3 Address code review 2014-10-07 13:20:06 -07:00
Yui T
d345d228a7 Fix spelling 2014-10-07 10:17:29 -07:00
Yui T
be02f962c7 Fix compileOnSave with external module 2014-10-06 18:34:01 -07:00
Sheetal Nandi
2de4ad0335 Merge pull request #818 from Microsoft/sourceMapRelativeDirName
Fixes incorrect path resolution of sources to sourcemap when the directory paths differ in only case
2014-10-06 11:48:10 -07:00
Daniel Rosenwasser
c1d15c792b Merge branch 'master' into navbar
Also fixed getSourceText and renamed it to getTextOfNode
2014-10-03 17:44:52 -07:00
Daniel Rosenwasser
7d9bf5093b Replaced 'getModuleNameFromFilename' with 'removeFileExtension'. 2014-10-03 16:21:15 -07:00
Sheetal Nandi
710bac6d81 Fix the source map directory resolution with non case sensitive file names 2014-10-03 15:10:12 -07:00
Sheetal Nandi
90e2c362a5 Move the symbol classification and display parts writing to the Services and format the newlines correctly 2014-09-30 17:08:59 -07:00
Daniel Rosenwasser
5851752e32 Merge branch 'master' into navbar
Conflicts:
	Jakefile
	src/services/getScriptLexicalStructureWalker.ts
	src/services/services.ts
2014-09-30 14:20:58 -07:00
Yui T
dc8a5f8b15 Address code review 2014-09-25 13:58:01 -07:00
Daniel Rosenwasser
a98cca7723 Properly support string-literal property names and escape external module names. 2014-09-25 13:10:04 -07:00
Yui T
71a54fbbb6 Remove default setting of noResolve flag 2014-09-25 11:47:41 -07:00
Jason Freeman
22e989795d Merge branch 'master' into sigHelp
Conflicts:
	src/compiler/checker.ts
	src/compiler/types.ts
	src/services/services.ts
2014-09-24 10:47:41 -07:00
Jason Freeman
3dc686028a Address PR feedback for trailing commas 2014-09-24 10:36:44 -07:00
Jason Freeman
de2ac51924 Change NodeArray to have a hasTrailingComma property instead of an OmittedExpression 2014-09-23 19:40:25 -07:00
Cyrus Najmabadi
352cc0ef13 Merge branch 'master' into classifiedQuickInfo 2014-09-23 13:55:18 -07:00
Mohamed Hegazy
95394220b4 Merge branch 'release-1.1'
Conflicts:
	Jakefile
	src/compiler/tsc.ts
2014-09-22 14:55:28 -07:00
Mohamed Hegazy
09d6e4aaa6 Condition the custom serialization on the existance of JSON 2014-09-22 13:17:21 -07:00
Mohamed Hegazy
4465fe1890 respond to code review comments 2014-09-22 12:47:26 -07:00
Mohamed Hegazy
804a3a5a57 Properly escape strings when serializing source maps 2014-09-22 11:50:31 -07:00
Cyrus Najmabadi
e3609e20af Rename Comment->CommentRange. 2014-09-21 14:52:51 -07:00
Cyrus Najmabadi
fae7a3560e Provide capability to ask the checker what the constant value of an enum member is. 2014-09-21 13:58:15 -07:00
Cyrus Najmabadi
89eff5608d Merge branch 'master' into classifiedQuickInfo 2014-09-20 14:43:30 -07:00
Mohamed Hegazy
c0b507ad08 remove commented out code 2014-09-19 15:17:11 -07:00
Mohamed Hegazy
b15304fc9e add explict serialization logic for source maps to avoid using JSON 2014-09-19 15:09:04 -07:00
Cyrus Najmabadi
778799669e Support getting symbolDisplayParts for types as well as symbols. 2014-09-19 15:06:27 -07:00
Anders Hejlsberg
08188b0142 Merge branch 'master' into protectedMembers 2014-09-17 17:05:45 -07:00
Anders Hejlsberg
ce6b6234ef Support for protected members in classes 2014-09-17 10:36:32 -07:00
Yui T
9ee63fa21d Merge branch 'master' into getEmitOutput
Conflicts:
	src/services/services.ts
2014-09-16 17:40:38 -07:00
Yui T
bf37eb4c4b Fix space formatting 2014-09-16 17:29:45 -07:00
Mohamed Hegazy
50a4926eaf Merge branch 'master' into navigateTo
Conflicts:
	src/services/services.ts
2014-09-16 16:54:01 -07:00
Yui T
58f155d06b Update checking for semanticErrors and fix spelling 2014-09-16 15:19:02 -07:00
Mohamed Hegazy
706ca8eae9 use NodeFlags.AccessibilityModifier in places where we need NodeFlags.Private | NodeFlags.Public 2014-09-16 10:55:47 -07:00
Daniel Rosenwasser
358733fda3 Merge branch 'master' into getOccurrencesLoopBreakContinue 2014-09-15 16:01:05 -07:00
Yui T
0b06ddcc9a Fix getEmitOutput to only output one file except when 'out' flag is specified. Add testcases 2014-09-12 12:57:00 -07:00
Anders Hejlsberg
74536cc6ed Report circular type inference errors with -noImplicitAny 2014-09-12 07:28:49 -07:00