Commit graph

5542 commits

Author SHA1 Message Date
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
Ron Buckton a906076b41 Updated LKG 2015-04-23 15:04:56 -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 938cfde099 Added test. 2015-04-23 14:38:36 -07:00
Daniel Rosenwasser e0c44db8dd Accepted baselines. 2015-04-23 14:23:37 -07:00
Daniel Rosenwasser a0cb5a10d6 Fixed checks to use isReservedNameInStrictMode. 2015-04-23 14:16:48 -07:00
Daniel Rosenwasser 9abfc3bd1a Added test. 2015-04-23 14:07:01 -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
Paul van Brenk f5b75439ea Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-04-23 12:58:27 -07:00
Ron Buckton ed644ddaa1 Added tests for 1.0 lib and missing decorator type 2015-04-23 12:33:12 -07:00
Ron Buckton a9e79bf06b Lazy resolution of global decorator types 2015-04-23 11:04:44 -07:00
Mohamed Hegazy b66a32f9a1 Merge branch 'csnover-fix-2036' 2015-04-23 10:55:12 -07:00
Mohamed Hegazy ded0e398b4 update error messages 2015-04-23 10:53:19 -07:00
Mohamed Hegazy 5172c172b7 Add more tests 2015-04-23 10:44:44 -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 ee6263d476 Merge pull request #2891 from Microsoft/libCommentChange
Fix #2837: remove (y, x) from the comment
2015-04-23 09:55:24 -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
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 aae129f6a4 Merge pull request #2874 from Microsoft/iteratorTypeFix
Fix Iterator type in es6.d.ts
2015-04-22 14:48:15 -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
Mohamed Hegazy 8c1a6525b5 Merge pull request #2855 from pedromaltez-forks/pm/svg-logo
Add SVG version of logo as per #1375
2015-04-21 17:07:32 -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
Pedro Maltez a17d1cd38c Add SVG version of logo as per #1375 2015-04-22 00:57:59 +01:00
Ron Buckton 3657d99a5e Updated LKG 2015-04-21 16:46:37 -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
Ron Buckton 1295519b8f Updated emit for __decorator and __metadata helpers 2015-04-21 14:10:37 -07:00
Paul van Brenk 80ae52b7e9 expose the config file processing throught the LS and
add a callback to enumerate files in a directory
2015-04-21 13:24:02 -07:00
Anders Hejlsberg cd48b965f8 Accepting new baselines 2015-04-21 12:08:42 -07:00
Anders Hejlsberg 8182b7132e Adding tests 2015-04-21 11:20:43 -07:00