Commit Graph

  • 56839604da Disallow refering to static property in computed property name Yui T 2015-03-12 08:40:09 -07:00
  • b9f63a85b1 Emit es6 export ModuleDeclaration Mohamed Hegazy 2015-03-12 01:38:35 -07:00
  • 05932fdddf Es6 module emit for export VarDeclaration, export LexicalDeclaration Sheetal Nandi 2015-02-17 14:12:28 -08:00
  • 29b221430f Do not rewrite substitute named import reference when generating es6 modules Sheetal Nandi 2015-02-12 17:54:30 -08:00
  • 006ed82730 Remove references with exports.id as es6 module doesnt have exports.id Sheetal Nandi 2015-02-17 13:47:15 -08:00
  • 4b7548487c Fix the checks with language version to use default es3 Sheetal Nandi 2015-02-12 17:54:30 -08:00
  • 3ed8bcc179 Simplify module kind selection Mohamed Hegazy 2015-03-12 00:18:20 -07:00
  • 8c26507bd5 Support for emitting import declaration in es6 format Mohamed Hegazy 2015-03-12 00:17:40 -07:00
  • d3246a340a addressed PR feedback Vladimir Matveev 2015-03-11 23:49:35 -07:00
  • 7b3e50fb98 Emit in ES6 module if script target is es6 or higher Mohamed Hegazy 2015-03-11 23:29:30 -07:00
  • 4ef687c5fa Add tests Mohamed Hegazy 2015-03-11 22:55:09 -07:00
  • b52d9ec23e Report error if module gen target is specified in es6 Mohamed Hegazy 2015-03-11 22:53:36 -07:00
  • 04ea7fe6de Handel isDeclaration visible for imports Mohamed Hegazy 2015-03-11 22:17:16 -07:00
  • a6e4e04bd9 Add tests Mohamed Hegazy 2015-03-11 22:16:52 -07:00
  • 61a5bfb09d Report error on export assignment with es6 and above target Mohamed Hegazy 2015-03-11 21:53:37 -07:00
  • e902d8462e ES6 doesnt support import id = require("mod") syntax Mohamed Hegazy 2015-03-11 21:40:10 -07:00
  • 7d2d55e44e Rebaseline tests that will be affected by #2308 Jason Freeman 2015-03-11 18:53:04 -07:00
  • 751b1aee16 disallow recursive references for block-scoped bindings Vladimir Matveev 2015-03-11 16:54:18 -07:00
  • 7ee587c43f Emit class with export and export default Yui T 2015-03-11 16:45:55 -07:00
  • 03176d33ef Add tests for downlevel for-of type checking Jason Freeman 2015-03-11 16:33:38 -07:00
  • 29cbe9d4ba Remove unhelpful comment Jason Freeman 2015-03-11 16:33:19 -07:00
  • 32aee67c4f Change a test to be more interesting Jason Freeman 2015-03-10 17:36:17 -07:00
  • 61cd2a7543 Introduce checkElementTypeOfArrayOrString for downlevel for..of type checking Jason Freeman 2015-03-09 11:27:02 -07:00
  • 5b46f5f9ae Remove error for using 'for...of' in ES3/ES5 Jason Freeman 2015-03-05 15:21:00 -08:00
  • a0a506b11b Emit class declaration with static property assignment Yui T 2015-03-11 16:13:08 -07:00
  • b38743c793 Merge pull request #2307 from Microsoft/sigHelpIndex CyrusNajmabadi 2015-03-11 16:02:00 -07:00
  • d2ecfa7526 Merge pull request #2303 from Microsoft/smartIndentInIncompleteForLikeStatements Vladimir Matveev 2015-03-11 15:58:04 -07:00
  • 05c2a3ef89 Add explanatory comments. Cyrus Najmabadi 2015-03-11 15:30:33 -07:00
  • 63ba645791 Remove unnecessary code. Cyrus Najmabadi 2015-03-11 15:08:28 -07:00
  • d9d90b2c02 Compute consistent argument indices and counts for signature help. Cyrus Najmabadi 2015-03-11 15:05:31 -07:00
  • 42ae38ddcc Add failing test. Cyrus Najmabadi 2015-03-11 14:44:32 -07:00
  • 4b955ee91a added for* statements to isCompletedNode Vladimir Matveev 2015-03-11 14:03:32 -07:00
  • da12d465d0 Add tests for extension, type arguments, overload Yui T 2015-03-10 19:11:07 -07:00
  • 76dcfb660b Merge pull request #2291 from Microsoft/letConstInSwitchStatements Vladimir Matveev 2015-03-10 18:33:54 -07:00
  • 59c71acae8 introduce emitCaseBlock function Vladimir Matveev 2015-03-10 18:17:52 -07:00
  • efcf0e6f57 introduce CaseBlock as a block-scoped container for switch statements Vladimir Matveev 2015-03-10 17:50:54 -07:00
  • 890aa4a84d test cases for constructor overload, non-static property assignment, getter/setter, method, static method, Yui T 2015-03-10 17:39:13 -07:00
  • 1b84f1d1d0 emit get/set member function Yui T 2015-03-10 17:22:33 -07:00
  • aa08300cbf Merge pull request #2238 from caitp/issue-2090 Daniel Rosenwasser 2015-03-10 16:13:19 -07:00
  • 8576282975 Emit non-getter/setter member function Yui T 2015-03-10 15:41:41 -07:00
  • d3205ef955 Remove redundant sourcemap span and comment. Differentiate between emit for below ES6 and above ES6 Yui T 2015-03-10 15:21:38 -07:00
  • 0d06729b18 Move comment and refer to tuple type literal syntax rather than TupleType interface Caitlin Potter 2015-03-10 15:58:39 -04:00
  • 11bb5f9851 Merge pull request #2275 from DickvdBrink/object-generics Mohamed Hegazy 2015-03-10 12:24:16 -07:00
  • 07a893dee0 Merge pull request #2207 from Microsoft/for-ofES5 Jason Freeman 2015-03-10 12:13:16 -07:00
  • 033a83d44a Basic emit for class constructor without static property assignment Yui T 2015-03-10 12:12:41 -07:00
  • 3e4955bc0f Merge pull request #2270 from mihailik/patch-1 Mohamed Hegazy 2015-03-10 11:57:08 -07:00
  • f389aefc47 Fix call to emitNode after merge with master Jason Freeman 2015-03-10 10:41:26 -07:00
  • 7acb410251 Add note about use of isTupleType() Caitlin Potter 2015-03-10 13:37:25 -04:00
  • bd2c239161 Add tests for tuple type compatibility Caitlin Potter 2015-03-06 20:54:31 -05:00
  • c222b2bb3e Improve message for array destructuring error Caitlin Potter 2015-03-06 17:51:51 -05:00
  • 1349a196a0 Merge branch 'master' of https://github.com/Microsoft/TypeScript into for-ofES5 Jason Freeman 2015-03-09 19:45:37 -07:00
  • b15d8aa2b5 Address PR feedback Jason Freeman 2015-03-09 13:32:02 -07:00
  • f747e5a1f9 Merge pull request #2276 from Microsoft/commentEmit CyrusNajmabadi 2015-03-09 16:31:38 -07:00
  • c21fe03d18 Merge branch 'master' into commentEmit Cyrus Najmabadi 2015-03-09 15:58:32 -07:00
  • f061e00d45 Merge pull request #2267 from Microsoft/indentSimplification CyrusNajmabadi 2015-03-09 15:54:27 -07:00
  • aa96475f73 CR feedback. Cyrus Najmabadi 2015-03-09 15:50:40 -07:00
  • 1a4299ef44 Merge branch 'master' into indentSimplification Cyrus Najmabadi 2015-03-09 15:48:53 -07:00
  • 7001562110 made seal, freeze and preventExtensions generic Dick van den Brink 2015-03-09 23:48:51 +01:00
  • 31cf443a28 Add specialized codepath for emitting without comments. Cyrus Najmabadi 2015-03-09 15:47:23 -07:00
  • eb92b5311d Merge pull request #2273 from Microsoft/fixRWCRunner Yui 2015-03-09 15:26:41 -07:00
  • 725577e328 Remove deubgger statement Yui T 2015-03-09 15:14:08 -07:00
  • 4c7891ce09 Fix file path resolution in RWC Yui T 2015-03-09 15:10:47 -07:00
  • bfbc18d6d7 rename emitNode to emitNodeWithoutSourceMap Cyrus Najmabadi 2015-03-09 15:01:02 -07:00
  • 103bb34d7b Merge branch 'master' into indentSimplification Cyrus Najmabadi 2015-03-09 13:04:24 -07:00
  • 5556683227 Merge pull request #2258 from Microsoft/formatLine Steve Lucco 2015-03-09 12:52:14 -07:00
  • 37c6f69f01 Hold at most 4 snapshots per file in the server. This is about 1K per file. steveluc 2015-03-09 11:57:50 -07:00
  • a27fbff280 Merge branch 'master' of https://github.com/Microsoft/TypeScript into for-ofES5 Jason Freeman 2015-03-09 11:17:31 -07:00
  • dc451b0f69 Fix for #2268 createDiagnosticCollection should be @internal mihailik 2015-03-09 14:05:53 +00:00
  • 04320e415e Renames and comments as requested by feedback. steveluc 2015-03-09 01:23:03 -07:00
  • 35b56aa69b Further simplification. Cyrus Najmabadi 2015-03-09 01:07:02 -07:00
  • 848bc87071 Merge pull request #2266 from Microsoft/moveLocal CyrusNajmabadi 2015-03-09 00:47:07 -07:00
  • 6340531a16 Simplify indentation code in the emitter. Cyrus Najmabadi 2015-03-08 23:07:03 -07:00
  • 29c06f9d6a Move variable closer to where it is used. Cyrus Najmabadi 2015-03-08 22:35:28 -07:00
  • c6cd57d18c Merge pull request #2265 from Microsoft/preserveFormatting CyrusNajmabadi 2015-03-08 20:25:36 -07:00
  • 4903ca0981 Merge branch 'master' into preserveFormatting Cyrus Najmabadi 2015-03-08 19:47:34 -07:00
  • 6e8d80f159 tests for newline preservation. Cyrus Najmabadi 2015-03-08 19:18:10 -07:00
  • c371f1e521 Make the preservation of formatting an optional experimental compiler flag. Cyrus Najmabadi 2015-03-08 18:23:23 -07:00
  • 161d6463ab Merge pull request #2263 from DickvdBrink/valueOf-lib.d.ts Mohamed Hegazy 2015-03-08 11:33:33 -07:00
  • e60edb3c7e Accepted baselines Dick van den Brink 2015-03-08 19:07:22 +01:00
  • 23f56dadfb Fixed tests due to lib.d.ts changes Dick van den Brink 2015-03-08 18:59:04 +01:00
  • c0db7ffe8f Added valueOf definitions for String and Number Dick van den Brink 2015-03-08 18:08:49 +01:00
  • 360e47880e Addressed comments on code style and organization. steveluc 2015-03-07 23:19:58 -08:00
  • 24141f05db Merge pull request #2245 from billti/ExportVersion Bill Ticehurst 2015-03-07 21:40:32 -08:00
  • a6816fc128 Added description to version exports Bill Ticehurst 2015-03-07 20:12:16 -08:00
  • f351916fc2 Merge pull request #2257 from Microsoft/LKG CyrusNajmabadi 2015-03-07 18:38:55 -08:00
  • 865802a63c Added new logger methods to test harness. steveluc 2015-03-07 17:46:56 -08:00
  • 9a45160ab6 Changed TypeScript server logging to use an environment variable TSS_LOG as follows. If TSS_LOG is not set, no logging will occur. If TSS_LOG is set to any value, logging will occur as before this change (log file will be in directory of tsserver.js with name .logPID where PID is the process id of the server process; log will contain the pre-change messages). If TSS_LOG is set to a string that has the form "-file fileName", the log file will be in the tsserver.js directory with name 'fileName'. If TSS_LOG is set to a string that has the form "-level levelName", then the level of logging will be set to 'levelName'. Currently the two levels are 'normal' and 'verbose'. The TSS_LOG string can contain zero, one or both of its options as in "-file LOG -level verbose". At the verbose level, the server will log every request, response and event, and will also give elapsed time for message processing. steveluc 2015-03-07 17:13:52 -08:00
  • 8bef6d7ebc Added additional cases for format on enter. These cases fix bugs in the orginal format on enter (which wasn't distinguishing whether there was existing whitespace to start some types of lines). steveluc 2015-03-07 15:44:21 -08:00
  • 1a08de9222 Merge branch 'master' into LKG Cyrus Najmabadi 2015-03-07 14:08:04 -08:00
  • c424fad34e Merge pull request #2255 from Microsoft/returnStatus CyrusNajmabadi 2015-03-07 14:07:47 -08:00
  • 50954ac0cc Update LKG Cyrus Najmabadi 2015-03-07 14:07:39 -08:00
  • 04d373ab9b Update LKG Cyrus Najmabadi 2015-03-07 13:59:18 -08:00
  • 7570aaac65 Merge branch 'master' into returnStatus Cyrus Najmabadi 2015-03-07 13:51:44 -08:00
  • 21627384a8 Merge branch 'master' into propertyAccessEmit Cyrus Najmabadi 2015-03-07 13:51:10 -08:00
  • 2a990a8685 Preserve newlines for conditional expressions Cyrus Najmabadi 2015-03-07 13:50:26 -08:00
  • dddc4660a1 Simplify code to emit indent code. Cyrus Najmabadi 2015-03-07 13:33:02 -08:00
  • 680e48f507 Preserve newlines on either side of a binary expression. Cyrus Najmabadi 2015-03-07 12:54:12 -08:00
  • a18934d6da Address omitted return keyword. Cyrus Najmabadi 2015-03-07 12:27:20 -08:00
  • ac56aa50ae Merge pull request #2251 from Microsoft/expressionToBlock CyrusNajmabadi 2015-03-07 02:21:28 -08:00
  • bdcdd84dda CR feedback. Cyrus Najmabadi 2015-03-07 02:08:36 -08:00