Commit Graph

5197 Commits

Author SHA1 Message Date
Mohamed Hegazy
f231d6aba8 Merge pull request #2700 from Microsoft/removeOptionalTypeOnExportDefault
Remove optional type on export default
2015-04-10 15:31:31 -07:00
Ron Buckton
6121730875 Merge pull request #2680 from Microsoft/fixArrowBindingPattern
Add support for parsing binding patterns in arrow function parameters
2015-04-10 11:38:18 -07:00
Ron Buckton
15df45d813 Update baselines due to changes in master 2015-04-10 11:09:24 -07:00
Ron Buckton
042b96592a Merge branch 'master' into fixArrowBindingPattern 2015-04-10 09:54:13 -07:00
Ron Buckton
02d88f2968 Simpler lookahead, let the tryParse do the hard work 2015-04-10 09:53:21 -07:00
Daniel Rosenwasser
ad477c7fc9 Merge pull request #2691 from Microsoft/isRegExpWeHardlyKnewYe
Remove 'Symbol.isRegExp' and introduce 'RegExp.prototype.flags'
2015-04-10 01:51:59 -07:00
CyrusNajmabadi
6cc1091f3d Merge pull request #2705 from Microsoft/renameDocHighlightsType
Rename type.
2015-04-09 22:42:56 -07:00
Cyrus Najmabadi
024d653efc Rename type. 2015-04-09 22:27:18 -07:00
Ron Buckton
9636142733 Comment cleanup 2015-04-09 17:47:56 -07:00
Ron Buckton
19695f9bca Simplified lookahead and added ES6 test cases 2015-04-09 17:45:45 -07:00
Ron Buckton
f318515f70 Merge pull request #2664 from Microsoft/fixDecoratorFormatting
Fixes some formatting for decorators
2015-04-09 17:42:56 -07:00
ahmad-farid
01d945b18b Merge pull request #2612 from ahmad-farid/OCNoTest2
Adding outlining for comments to allow collapsing in VS #698
2015-04-09 17:35:25 -07:00
Daniel Rosenwasser
6493980f64 Merge pull request #2701 from Microsoft/superAnnoyingEmitInEs6Classes
Don't emit '_this' when encountering 'super' in ES6 emit
2015-04-09 17:24:40 -07:00
Ahmad Farid
35d848f0bd merging 2015-04-09 17:11:42 -07:00
Ahmad Farid
86e5773c65 Merging 2015-04-09 17:06:25 -07:00
Daniel Rosenwasser
63bb38157b Ragga fragga newlines. 2015-04-09 17:00:22 -07:00
Mohamed Hegazy
a5a83c1cf7 Merge branch 'master' into removeOptionalTypeOnExportDefault 2015-04-09 16:35:14 -07:00
Mohamed Hegazy
dc4d8c8d1f Emit temp var declaration for 'export default <expression>' in declaration emit 2015-04-09 16:34:16 -07:00
Mohamed Hegazy
afe35c810a Revert "Support an optional type annotation on export default statement"
This reverts commit a6a8a96249.
2015-04-09 16:32:23 -07:00
Daniel Rosenwasser
fb8cc0c40a Don't emit '_this' declaration in ES6 or later. 2015-04-09 16:29:38 -07:00
CyrusNajmabadi
97a3e71dc7 Merge pull request #2682 from Microsoft/GetOccurrencesSingleFile
Ensure that getOccurrences not return items not in the file asked for.
2015-04-09 16:19:38 -07:00
Daniel Rosenwasser
c25170558e Added test for super method calls in ES6 classes. 2015-04-09 16:06:26 -07:00
Ahmad Farid
a34801f30b merging with master 2015-04-09 16:05:06 -07:00
Cyrus Najmabadi
fc512b284b Use modules with const members. 2015-04-09 15:11:26 -07:00
Mohamed Hegazy
b1c93d3401 Merge pull request #2659 from Microsoft/decoratorsLS
Fix find all refs and goto def for decorators
2015-04-09 15:04:49 -07:00
Cyrus Najmabadi
9627746ba9 Add the 'none' kind. 2015-04-09 14:49:00 -07:00
Mohamed Hegazy
666765cfaa accept new test baselines 2015-04-09 14:42:29 -07:00
Cyrus Najmabadi
73121ce451 Distinguish written vs read references. 2015-04-09 14:37:21 -07:00
Mohamed Hegazy
f6eb66b572 Merge branch 'master' into decoratorsLS 2015-04-09 14:31:55 -07:00
Ahmad Farid
79886595e0 Merge branch 'outlineCommentsFinal' 2015-04-09 14:31:07 -07:00
Ahmad Farid
9258778cb8 Merge branch 'OCNoTest2' of https://github.com/ahmad-farid/TypeScript into outlineCommentsFinal 2015-04-09 14:30:20 -07:00
Daniel Rosenwasser
3d0655d088 Updated baselines. 2015-04-09 14:28:29 -07:00
Daniel Rosenwasser
8aeff70e48 Fix a test so that we don't get duplicate declaration errors. 2015-04-09 14:14:55 -07:00
Daniel Rosenwasser
33028d5199 Replace uses of 'Symbol.isRegExp' with 'Symbol.toPrimitive'. 2015-04-09 14:06:57 -07:00
Daniel Rosenwasser
f75c9a6624 Added 'flags' to RegExp.prototype. 2015-04-09 12:52:31 -07:00
Daniel Rosenwasser
d3dd48f07b Remove 'isRegExp'. 2015-04-09 12:35:11 -07:00
Johannes Rieken
55d6e10687 support URI patterns 2015-04-09 11:58:47 -07:00
Cyrus Najmabadi
1d1ebd536a Fix up the harness code. 2015-04-08 23:41:22 -07:00
Cyrus Najmabadi
020c12c6a6 Merge branch 'master' into GetOccurrencesSingleFile 2015-04-08 23:36:22 -07:00
Cyrus Najmabadi
585c6aaf65 CR feedback. 2015-04-08 23:24:51 -07:00
Cyrus Najmabadi
575ce27119 Allow the host to indicate which files it would like highlighting spans for. 2015-04-08 23:16:16 -07:00
Cyrus Najmabadi
e5d0ffab15 Use the fileName that is in scope. 2015-04-08 22:28:40 -07:00
Cyrus Najmabadi
0d233fdd17 No need to tweak spans in syntactic highlights. 2015-04-08 22:26:34 -07:00
Cyrus Najmabadi
02778b19b4 Get semantic document highlights as well through the new API. 2015-04-08 22:24:59 -07:00
Cyrus Najmabadi
6dee32a703 Extract code for getting syntactic document highlights into its own function. 2015-04-08 21:59:50 -07:00
Daniel Rosenwasser
4eb8c738ee Merge pull request #2666 from Microsoft/occurrencesOnServer
Support getOccurrences on the TS Server
2015-04-08 18:11:50 -07:00
Ron Buckton
0546042df3 Add support for parsing destructuring patterns in arrow function parameter lists 2015-04-08 18:01:21 -07:00
Ron Buckton
609036a2d6 PR feedback and baseline updates 2015-04-08 17:06:00 -07:00
Daniel Rosenwasser
180f17d088 Destructure arguments at dispatched calls. 2015-04-08 17:02:42 -07:00
Jason Freeman
21a5611839 Merge pull request #2498 from Microsoft/iteratorSpreadDestructure
Support spreading and destructuring of iterators in ES6
2015-04-08 16:58:56 -07:00