Commit Graph

  • 59a704e7c1 Rename references in es6.d.ts from Symbol to symbol Jason Freeman 2015-02-03 17:18:50 -08:00
  • e346b70013 Change isTypeOfKind calls to pass symbol TypeFlag when needed Jason Freeman 2015-02-03 17:12:23 -08:00
  • ebdd96bacf Update tests to use new symbol keyword Jason Freeman 2015-02-03 15:52:06 -08:00
  • e508bf7e86 Add symbol keyword Jason Freeman 2015-02-03 15:50:56 -08:00
  • 95af9978e1 Accept correct baselines for symbol property tests Jason Freeman 2015-02-02 17:19:27 -08:00
  • 779661c8da Add tests for symbol properties Jason Freeman 2015-02-02 12:48:18 -08:00
  • b60fa1467f Add tests for operators with symbol operand Jason Freeman 2015-01-30 14:57:51 -08:00
  • 25fcbe2f9e Change certain hasDynamicName checks to check the SyntaxKind instead Jason Freeman 2015-01-29 19:17:16 -08:00
  • 9cb38fb5f2 Create global Symbol type Jason Freeman 2015-01-29 17:15:57 -08:00
  • 30892af563 Change computed property error message to mention Symbols Jason Freeman 2015-01-28 16:14:46 -08:00
  • f344654460 Add named property symbol for known Symbol properties Jason Freeman 2015-01-28 15:57:47 -08:00
  • 07f3641af2 Update hasDynamicName to take well known symbols into account Jason Freeman 2015-01-28 10:46:22 -08:00
  • d788624332 Move hasDynamicName to utilities.ts Jason Freeman 2015-01-27 17:38:14 -08:00
  • 39952b1a93 Syntactically allow computed properties everywhere if the name looks like a built in Symbol Jason Freeman 2015-01-27 17:35:29 -08:00
  • b30d8f39c2 Change computed property error messages to be about symbols Jason Freeman 2015-01-27 16:07:01 -08:00
  • 11d75ef4ce Allow Symbol indexer in ES6 Jason Freeman 2015-01-26 14:34:22 -08:00
  • f44144a77c Preserve newlines appropriately between elements of an object literal or array literal when emitting. Cyrus Najmabadi 2015-02-06 20:16:35 -08:00
  • 0fbbbffde6 Emit functions on a singline line if they were originally written on a single line. Cyrus Najmabadi 2015-02-06 20:03:24 -08:00
  • 11aa4d362b Provide specialized functions for emitting the body of a function depending on if that body is an expression or a block. Cyrus Najmabadi 2015-02-06 19:53:52 -08:00
  • ff31b96533 Update test baseline. Cyrus Najmabadi 2015-02-06 19:06:16 -08:00
  • 911a705e8d Merge pull request #1974 from Microsoft/multiLineEmitting CyrusNajmabadi 2015-02-06 22:00:41 -05:00
  • 5a1c740ca8 Merge pull request #1973 from Microsoft/objectLiteralSemicolons CyrusNajmabadi 2015-02-06 21:52:05 -05:00
  • 36b6f4e1b7 Preserve single line blocks when emitting. Cyrus Najmabadi 2015-02-06 18:45:09 -08:00
  • 449f4a4f37 Have better error recovery for whne a user uses semicolons instead of commas to delimit an object literal. Cyrus Najmabadi 2015-02-06 17:30:29 -08:00
  • 55aa240ade Merge branch 'master' into LSAPICleanup Mohamed Hegazy 2015-02-06 17:17:23 -08:00
  • 340828e445 Update LKG Mohamed Hegazy 2015-02-06 16:37:41 -08:00
  • c03c9a42fd Allow commas as a separator between object/interface type members. Cyrus Najmabadi 2015-02-06 15:54:27 -08:00
  • b5715bfe40 Merge pull request #1968 from Microsoft/sourceFileTestInvariants CyrusNajmabadi 2015-02-06 18:13:28 -05:00
  • 02c1b8978b Check source file invariants after creating/updating them in our tests. Cyrus Najmabadi 2015-02-06 14:54:19 -08:00
  • 7e187ef75f Correctly set position of import declaration nodes Anders Hejlsberg 2015-02-06 14:44:24 -08:00
  • 7bd14a7895 Merge branch 'master' into es6importcheck Anders Hejlsberg 2015-02-06 14:36:36 -08:00
  • 89f58d0982 Always bind children of import clause Anders Hejlsberg 2015-02-06 14:24:38 -08:00
  • 759ced35eb Merge pull request #1966 from Microsoft/shimAPIChanges Mohamed Hegazy 2015-02-06 14:22:56 -08:00
  • 0f3f2bcb56 add comment Mohamed Hegazy 2015-02-06 14:22:32 -08:00
  • 68fd9f8d40 Shim API changes to enable existing installations of VS to use the latest master builds Mohamed Hegazy 2015-02-06 14:20:29 -08:00
  • 930d11bc82 Cleaning up a few things Anders Hejlsberg 2015-02-06 13:50:30 -08:00
  • 04dd08da70 Resolve missed merge conflict Ivo Gabe de Wolff 2015-02-06 16:45:26 +01:00
  • 30c10fb7c4 Merge branch 'master' into taggedTemplates Ivo Gabe de Wolff 2015-02-06 16:44:16 +01:00
  • 0819ca897c Addressing CR feedback Anders Hejlsberg 2015-02-06 07:39:11 -08:00
  • 6d0db0f401 Resolve ES6 imports in type checker Anders Hejlsberg 2015-02-06 06:17:06 -08:00
  • c6a6619ce7 Support ES6 imports in binder Anders Hejlsberg 2015-02-06 06:15:47 -08:00
  • 35583e6694 Process ES6 imports when creating program Anders Hejlsberg 2015-02-06 06:15:03 -08:00
  • 36c9cf09e6 Adding new import nodes to forEachChild Anders Hejlsberg 2015-02-06 06:13:54 -08:00
  • 369f784cfa Merge pull request #1939 from Microsoft/diagnosticsOrganization CyrusNajmabadi 2015-02-05 21:43:30 -05:00
  • d20d20aa9c Remove "debugger;" calls. Cyrus Najmabadi 2015-02-05 18:43:02 -08:00
  • 5c0b38b203 Remove getEnumMemberValue, it is now subsumed into getConstantValue. Cyrus Najmabadi 2015-02-05 18:26:56 -08:00
  • 6ed9741a7a Extract common function. Cyrus Najmabadi 2015-02-05 18:11:21 -08:00
  • b14a46bd85 Merge pull request #1951 from csnover/intl-hour12 Mohamed Hegazy 2015-02-05 17:32:37 -08:00
  • acbcd6c77f Merge branch 'master' into diagnosticsOrganization Cyrus Najmabadi 2015-02-05 17:30:27 -08:00
  • c77f732762 CR feedback. Cyrus Najmabadi 2015-02-05 17:24:46 -08:00
  • dc06b2f6de Merge pull request #1952 from Microsoft/jasonra-disallowRenameForStandardTSLib jramsay 2015-02-05 17:21:22 -08:00
  • f9d3b489f2 Put curly on the right line. Cyrus Najmabadi 2015-02-05 17:11:06 -08:00
  • 987dab9c9e addressing CR comments Jason Ramsay 2015-02-05 16:05:54 -08:00
  • 66a363f449 Simplify the API for emitting and reporting exit statuses to callers. Cyrus Najmabadi 2015-02-05 15:50:18 -08:00
  • 9e4d5dacc5 All options should be optional Colin Snover 2015-02-05 22:59:17 +00:00
  • e7f6693eda Move code for emitting above helper functions. Cyrus Najmabadi 2015-02-05 14:46:50 -08:00
  • b0061c1420 Emit both javascript and declarations in the presence of errors (*unless* -noEmitOnError is specified). Cyrus Najmabadi 2015-02-05 14:41:04 -08:00
  • c8691a189c Add newline before closing paren in multiline object literals. Daniel Rosenwasser 2015-02-05 13:57:27 -08:00
  • ea4e3de91c Remove unnecessary diagnostics split on SourceFile. Cyrus Najmabadi 2015-02-05 13:38:11 -08:00
  • 953e568d9e Disallow rename for elements that are defined in the standard TypeScript library. Jason Ramsay 2015-02-05 13:32:33 -08:00
  • f20fbb9726 Remove what looks like copy/paste errors in the parser. Cyrus Najmabadi 2015-02-05 13:14:41 -08:00
  • 9974526101 updated code style, added tests, fixed regex bug, merged to latest branch togru 2015-02-05 12:07:00 +01:00
  • c1dfdaa436 Simplify code for getting diagnostics in the Program. Cyrus Najmabadi 2015-02-05 02:15:38 -08:00
  • 493327af34 Fix language service handling of diagnostics. Cyrus Najmabadi 2015-02-05 02:10:36 -08:00
  • 337a99f62a Change the API for getting diagnostics so that all calls go through a Program instance. Cyrus Najmabadi 2015-02-05 01:47:29 -08:00
  • b12be3db19 Remove dependency from the typechecker to the compiler host. Cyrus Najmabadi 2015-02-04 23:20:26 -08:00
  • de30866460 Simplify the code for actually compiling within tsc. Cyrus Najmabadi 2015-02-04 22:26:03 -08:00
  • 68beccc480 Fix getFileContents so as not to always return the current file Mohamed Hegazy 2015-02-04 20:35:21 -08:00
  • 40a01a81b3 Merge branch 'master' into fourslashCleanup Mohamed Hegazy 2015-02-04 20:22:00 -08:00
  • fd2518dcdd rename type Mohamed Hegazy 2015-02-04 20:07:12 -08:00
  • 28c1a23e7c Track performance statistics in the ts module. Cyrus Najmabadi 2015-02-04 18:42:44 -08:00
  • ddb63d286b Emit computed properties in ES3/ES5 properly. Daniel Rosenwasser 2015-02-04 18:35:04 -08:00
  • 3cadb3c30c Use a diagnostics collection inside the program instance. Cyrus Najmabadi 2015-02-04 18:12:13 -08:00
  • d8a7e376f1 Update comment. Cyrus Najmabadi 2015-02-04 17:58:19 -08:00
  • 476c8249ac Remove 'isEmitBlocked' from the program API. Cyrus Najmabadi 2015-02-04 17:48:29 -08:00
  • 2a1d78d9e3 Simplify the createProgram API. Cyrus Najmabadi 2015-02-04 17:02:26 -08:00
  • bb307f8163 Simplify the API for emitting code from the Program instance. Cyrus Najmabadi 2015-02-04 16:53:14 -08:00
  • 6184c15d9c Merge pull request #1767 from Microsoft/LessAggresiveCompletionList Paul van Brenk 2015-02-04 16:47:12 -08:00
  • 40824ed8a5 Added templates, assignement and arrays + tests. Paul van Brenk 2015-02-04 16:40:22 -08:00
  • b6d083fa40 Do not publicly expose a way on a Program instance to get typecheckers with differing behavior. Cyrus Najmabadi 2015-02-04 16:11:38 -08:00
  • bbe51cfafe Adding tests Anders Hejlsberg 2015-02-04 15:39:57 -08:00
  • bfef4a0365 Add new tests for shims Mohamed Hegazy 2015-02-04 15:36:13 -08:00
  • d6b2c6d0bb Stop erroring on computed properties for ES3/ES5 emit. Daniel Rosenwasser 2015-02-04 15:33:53 -08:00
  • 5b049feb36 Hide the diagnostic producing methods from TypeChecker. Cyrus Najmabadi 2015-02-04 14:29:25 -08:00
  • ece874fde3 Merge branch 'master' into LessAggresiveCompletionList Paul van Brenk 2015-02-04 14:03:49 -08:00
  • 6e35f79412 Add builder support for variable declarations + test cases. Paul van Brenk 2015-02-04 14:03:26 -08:00
  • 2494b2d90f Support spread operator in call expressions Anders Hejlsberg 2015-02-04 13:39:24 -08:00
  • c7160ddb31 Rename semanticDiagnostics to bindDiagnotics. Cyrus Najmabadi 2015-02-04 13:31:36 -08:00
  • 9fac51b108 Make more diagnostic features internal so they're not exposed in our DTS. Cyrus Najmabadi 2015-02-04 13:11:20 -08:00
  • 35a6d0e68a Introduce an object to store and manage diagnostics for different compiler components. Cyrus Najmabadi 2015-02-04 13:04:42 -08:00
  • c5006ca8ac remove new line Mohamed Hegazy 2015-02-04 12:17:04 -08:00
  • c2bca0e84d Fix typo in type name Mohamed Hegazy 2015-02-04 12:16:47 -08:00
  • 42457636b6 Remove the implementation of TypeScriptLS Mohamed Hegazy 2015-02-04 11:07:55 -08:00
  • 87dfd01e9f Merge pull request #1923 from jbondc/master Mohamed Hegazy 2015-02-04 09:26:25 -08:00
  • 784dda5229 Merge pull request #1904 from Microsoft/changeLSDefaultTarget Mohamed Hegazy 2015-02-04 09:25:24 -08:00
  • c80a6da18e Add 'jake tsc' to only build the compiler for quick testing. jbondc 2015-02-04 08:52:45 -05:00
  • e233da0fd6 Parameter destructuring + tests Paul van Brenk 2015-02-03 18:03:40 -08:00
  • 657d465398 Added ES5 tests for computed properties. Daniel Rosenwasser 2015-02-03 17:43:31 -08:00
  • 65e8c00d9a Update fourslash tests to use the new adaptors Mohamed Hegazy 2015-02-03 17:29:12 -08:00
  • 5aca35e35f Move unit tests to use the new adaptors Mohamed Hegazy 2015-02-03 17:28:33 -08:00