Commit Graph

5165 Commits

Author SHA1 Message Date
Ron Buckton
a5eb68bcbb Lazy resolution of global decorator types 2015-04-23 16:18:05 -07:00
Ron Buckton
f53e6a8b85 Merge pull request #2897 from Microsoft/fixThisInDecoratorHelpers
Fix this in decorator helpers
2015-04-23 16:13:25 -07:00
Daniel Rosenwasser
2d09dcc16f Corrected call. 2015-04-23 15:52:18 -07:00
Ron Buckton
1c40032579 Fixes his in decorator helpers 2015-04-23 15:36:07 -07:00
Paul van Brenk
3907caec68 Merge pull request #2877 from Microsoft/tsconfigSupportInLS
This adds a method to the language service to parse a tsconfig file and correctly calculate the initial collection of files to consider. 

We expect the 'host' to find the files in the file system.
2015-04-23 15:21:08 -07:00
Daniel Rosenwasser
f83efcc7aa Merge pull request #2895 from Microsoft/reservedNamesImportsExports
Allow contextually reserved names in import/export clauses
2015-04-23 14:52:57 -07:00
Ron Buckton
bc5e5a20ea Merge pull request #2892 from Microsoft/lazyGlobalDecoratorTypes
Lazy resolution of global decorator types
2015-04-23 14:47:36 -07:00
Daniel Rosenwasser
a0cb5a10d6 Fixed checks to use isReservedNameInStrictMode. 2015-04-23 14:16:48 -07:00
Mohamed Hegazy
c9dd6592f8 Update toolsVersion 2015-04-23 14:12:04 -07:00
Daniel Rosenwasser
8406c15868 Use 'emitVerbatimDeclarationName' instead of using a default flag in emitBareNode. 2015-04-23 14:00:21 -07:00
Cyrus Najmabadi
25c52bb406 Faster getClassifications 2015-04-23 13:40:34 -07:00
Paul van Brenk
42c1bdd607 Merge branch 'master' into tsconfigSupportInLS 2015-04-23 13:37:01 -07:00
Paul van Brenk
a3885e5af0 Don't double wrap exceptions. 2015-04-23 13:36:54 -07:00
Daniel Rosenwasser
f1e65c64b0 emitJavaScriptWorker -> emitBareNode; emitNodeWithoutSourceMap -> emitWithoutSourceMap 2015-04-23 13:32:40 -07:00
Paul van Brenk
f5b75439ea Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-04-23 12:58:27 -07:00
Ron Buckton
a9e79bf06b Lazy resolution of global decorator types 2015-04-23 11:04:44 -07:00
Mohamed Hegazy
ded0e398b4 update error messages 2015-04-23 10:53:19 -07:00
Mohamed Hegazy
ae4474aa40 Merge branch 'fix-2036' of https://github.com/csnover/TypeScript into csnover-fix-2036 2015-04-23 10:21:11 -07:00
Paul van Brenk
b6477607ac correct the slashes for a new line. 2015-04-23 10:17:57 -07:00
Vladimir Matveev
4e784644ce Merge pull request #2886 from Microsoft/formattingTypeAliases
fixed formatting for equals token in type aliases
2015-04-23 10:11:45 -07:00
Mohamed Hegazy
f96dbd151c Fix #2837: remove (y, x) from the comment 2015-04-23 09:37:20 -07:00
Vladimir Matveev
05b95c30ff fixed formatting for equals token in type aliases 2015-04-22 21:46:10 -07:00
Paul van Brenk
8955d7ba57 More refactoring 2015-04-22 18:09:55 -07:00
Paul van Brenk
f8424d0b0c Minor clean up to make it more readable. 2015-04-22 18:00:09 -07:00
Daniel Rosenwasser
689f383145 Added comments for 'emitNodeWorker'. 2015-04-22 17:31:55 -07:00
Daniel Rosenwasser
5ae26e10bd Moved function used in declaration emitter to the declaration emitter to break dependency loop. 2015-04-22 17:11:24 -07:00
Daniel Rosenwasser
d5203b9699 Removed vestigial code. 2015-04-22 17:09:44 -07:00
Daniel Rosenwasser
5502e2bbe5 Comment the new core functions. 2015-04-22 17:05:39 -07:00
Daniel Rosenwasser
01deef4d48 emitSourceMap -> shouldEmitSourceMap 2015-04-22 16:42:45 -07:00
Daniel Rosenwasser
f7273ca4b2 Emit comments for function declarations in a more uniform way. 2015-04-22 16:02:49 -07:00
Paul van Brenk
5c44a0ff3e Improve error message when encountering an invalid tsconfig.json file. 2015-04-22 15:58:04 -07:00
Jason Freeman
60afbc1334 Merge pull request #2875 from Microsoft/incrementor
Rename iterator property of ForStatement to incrementor
2015-04-22 15:07:09 -07:00
Jason Freeman
966c33796f Merge branch 'master' of https://github.com/Microsoft/TypeScript into iteratorTypeFix 2015-04-22 14:27:14 -07:00
Paul van Brenk
b1472d99f2 Add error handling. 2015-04-22 14:27:05 -07:00
Anders Hejlsberg
4a98c4680a Merge pull request #2804 from Microsoft/unionPropertyAccess
Only public properties accessible through union type
2015-04-22 14:16:30 -07:00
Anders Hejlsberg
3309e754c1 Merge pull request #2851 from Microsoft/circularTypeAlias
Support circular type aliases in signatures
2015-04-22 14:06:52 -07:00
Jason Freeman
2a2ef28fc6 Undo the change to return 2015-04-22 13:38:30 -07:00
Jason Freeman
4487fa426b Rename iterator property of ForStatement to incrementor 2015-04-22 13:29:50 -07:00
Jason Freeman
4dc9da255f Fix Iterator type in es6.d.ts 2015-04-22 13:23:52 -07:00
Paul van Brenk
c6a9c8fa89 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-04-22 13:05:07 -07:00
Colin Snover
378b5ffd1a Add support for UMD-like module export format
The new module format enables global-less universal modules,
compatible with both AMD and CJS module loaders.

Fixes #2036.
2015-04-22 14:21:33 -05:00
CyrusNajmabadi
5edb5cdfc7 Merge pull request #2857 from Microsoft/symbolWriter
Produce type and symbol baselines when running tests.
2015-04-22 10:54:08 -07:00
Vladimir Matveev
afc3dd3c62 addressed PR feedback 2015-04-21 22:27:42 -07:00
CyrusNajmabadi
8a8d175f79 Merge pull request #2856 from Microsoft/blockLocals
Blocks with locals should be added to the container chain.
2015-04-21 17:40:52 -07:00
Anders Hejlsberg
782c55f771 Addressing CR feedback 2015-04-21 17:39:50 -07:00
Cyrus Najmabadi
81ebac5d77 Produce type and symbol baseslines when running tests. 2015-04-21 17:07:57 -07:00
Cyrus Najmabadi
92756e135b Blocks with locals should be added to the container chain so we can detect name collisions in them. 2015-04-21 17:03:15 -07:00
Ron Buckton
706b5a100b Updated emit for __decorator and __metadata helpers 2015-04-21 16:34:14 -07:00
Daniel Rosenwasser
d716a5a0bc emitDeclarationName -> emitNameOfDeclaration 2015-04-21 16:33:59 -07:00
Ron Buckton
ce4c31094e Merge pull request #2853 from Microsoft/decoratorReflectTiming
Updated emit for __decorator and __metadata helpers
2015-04-21 16:32:48 -07:00