Commit graph

189 commits

Author SHA1 Message Date
Vladimir Matveev 0b738e86c4 merge with master 2014-11-01 02:06:37 -07:00
Vladimir Matveev 7d80b7186d do not treat module that contains only const enums as instantiated 2014-11-01 00:56:00 -07:00
Vladimir Matveev 270d18711c addressed CR feedback 2014-10-30 00:55:44 -07:00
Vladimir Matveev e949eda583 const enums, iteration 1: const enums can be used in imports, const enums can be merged only with const enums. 2014-10-29 00:17:16 -07:00
Vladimir Matveev 6f4ea86227 merge with master 2014-10-28 21:49:58 -07:00
Daniel Rosenwasser 35cf95c146 Merge branch 'master' into templates
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	src/services/utilities.ts
2014-10-28 19:06:07 -07:00
Daniel Rosenwasser b8535d339c Omit empty template tail literals. 2014-10-28 18:47:43 -07:00
Daniel Rosenwasser aabfebd40e Fixed emit for parenthesized template expressions. 2014-10-28 18:47:29 -07:00
Daniel Rosenwasser 4aafe1d2bc Addressed CR feedback. 2014-10-28 18:44:07 -07:00
Vladimir Matveev 2dd9511b0a 'const enum' iteration 0. TODO: allow and track const enums in imports, add more tests 2014-10-27 23:56:07 -07:00
Anders Hejlsberg 7f9c9b6825 Support for type aliases in .d.ts generation 2014-10-25 10:48:02 -07:00
Daniel Rosenwasser e7096280b4 Added support for tagged template strings, updated baselines.
Still need to implement some error recovery and add tests.
2014-10-23 16:54:11 -07:00
Daniel Rosenwasser b704f19502 Merge branch 'letAndConst' into templates
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-10-23 16:03:53 -07:00
Daniel Rosenwasser 518a5d3a48 Rudimentary template support, excluding tagging. 2014-10-23 14:57:47 -07:00
Mohamed Hegazy dd7ca69866 Create a new flag for diagnostics 'isEarly' and disable emit if this flag is set. Set the flag by default on all let and const errors to ensure we are not emitting invalid JS code. 2014-10-20 17:38:50 -07:00
Mohamed Hegazy 0e7d8b62ef Merge branch 'master' into letAndConst 2014-10-20 13:34:06 -07:00
Anders Hejlsberg 81eaae0afa Require optional properties to be present in subtypes
Remove unused getBestCommonType method (unrelated change)
2014-10-19 16:43:32 -07:00
Mohamed Hegazy e15f4e6d34 Merge branch 'master' into letAndConst
Conflicts:
	src/compiler/types.ts
2014-10-16 09:30:58 -07:00
Mohamed Hegazy 61549239d8 Fix emitting for const in for loops 2014-10-15 09:20:46 -07:00
Sheetal Nandi a934d50a9b Move symbolDisplayPartKind to services side 2014-10-13 12:35:17 -07:00
Mohamed Hegazy 778f101dea Add basic parsing support for let and const 2014-10-12 21:10:04 -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