10124 Commits

Author SHA1 Message Date
Mohamed Hegazy
16fffb454e Add flag to emit modules in loose mode 2016-02-05 16:58:31 -08:00
Ryan Cavanaugh
0e6102a6d2 Merge pull request #6927 from RyanCavanaugh/mergeSalsaFixes
Merge salsa fixes
2016-02-05 11:36:06 -08:00
Ryan Cavanaugh
e4a6b670c1 Use different syntax kind here
(cherry picked from commit d47097f009ce63eca1021ce646aaa04cab19fa64)
2016-02-05 10:47:38 -08:00
Ryan Cavanaugh
8d0267c854 Recognize = as equivalent to ? in JSDoc signatures
Fixes #6811

(cherry picked from commit f7eac73a6f2e72470c581c62857e4ea7263e871e)
2016-02-05 10:47:28 -08:00
Ryan Cavanaugh
4035bf3006 Allow parsing TS-style generics in JSDoc
Fixes #6814

(cherry picked from commit 6e06bb39a13281c6080e973e1a015aea66e8b9ce)

# Conflicts:
#	tests/cases/fourslash/jsDocGenerics1.ts
2016-02-05 10:47:09 -08:00
Ryan Cavanaugh
78237739ba Add more complex test scenarios
(cherry picked from commit e347c3711cc4b85eda34f1aba844e1a6576ff40c)

# Conflicts:
#	tests/cases/fourslash/jsDocGenerics1.ts
2016-02-05 10:46:15 -08:00
Ryan Cavanaugh
34b0b5c82d Capture node.parent
(cherry picked from commit 1c7062313d2dde764ea7f7d20f2415b02d8d6fbb)
2016-02-05 10:43:19 -08:00
Ryan Cavanaugh
37441e1698 Recognize object literal method JSDoc comments
Fixes #6825

(cherry picked from commit 8aad976c69ef4528f751a0312db2a40ed6a758d8)
2016-02-05 10:43:09 -08:00
Ryan Cavanaugh
569f0b261c ❤️ linter 2016-02-05 10:42:05 -08:00
Ryan Cavanaugh
909e0b1903 Always show file tokens in JS completion lists
Fixes #6654
2016-02-05 10:42:00 -08:00
Yui
aaea852609 Merge pull request #6911 from Microsoft/fix6901
Fix emitting super-call when using prologue directives
2016-02-04 21:12:03 -08:00
Kanchalai Tanglertsampan
c02816fead Address PR 2016-02-04 18:20:25 -08:00
Vladimir Matveev
252aada130 Merge pull request #6910 from Microsoft/port-6898
Ports #6898 into release-1.8
2016-02-04 16:01:11 -08:00
Kanchalai Tanglertsampan
b89ab66d1b Update baselines 2016-02-04 14:18:38 -08:00
Kanchalai Tanglertsampan
66e2bd6b70 Fix where we start checking for super-call 2016-02-04 14:18:23 -08:00
Kanchalai Tanglertsampan
32c918523a Add tests 2016-02-04 14:07:05 -08:00
Vladimir Matveev
a2774c10d5 port PR #6898 2016-02-04 14:03:39 -08:00
Vladimir Matveev
3d01190706 Merge pull request #6906 from Microsoft/port-6858
Ports #6858 into release-1.8
2016-02-04 12:46:43 -08:00
Bill Ticehurst
b761096dff Merge pull request #6905 from Microsoft/portJsDocFixes
Port Salsa fixes
2016-02-04 12:40:49 -08:00
Bill Ticehurst
232b322e14 Merge pull request #6904 from Microsoft/port6632
Port6632
2016-02-04 12:40:37 -08:00
Vladimir Matveev
8d2d869f9f Merge pull request #6858 from Microsoft/emitImportsInDts
emit import declarations without import clause in .d.ts files
2016-02-04 12:14:10 -08:00
Ryan Cavanaugh
73a8ace843 Fixes bug #6673
#6673

(cherry picked from commit f89ebb8fd80e28e74cdbfb4f3585b3f1d7bdbe39)
2016-02-04 11:30:34 -08:00
Ryan Cavanaugh
54bc98b22a Add malformed parameter test
(cherry picked from commit b15ff81384f33e17bb8e10e10d5992cd6727e68c)
2016-02-04 11:30:04 -08:00
Ryan Cavanaugh
a426de3b89 Fix lint
(cherry picked from commit 95196886f7fb37078ddcbc2b85c8d171fc9e5a6e)
2016-02-04 11:30:04 -08:00
Ryan Cavanaugh
cf0e79a02f Add explicit return undefined;
(cherry picked from commit 1f503f1b27fb52ee5dacd75bd9379908ce6ee68e)
2016-02-04 11:30:03 -08:00
Ryan Cavanaugh
f0e70cbf0f Don't crash when return type jsdoc tag is malformed
Fixes #6662

(cherry picked from commit 5a845bf0fca604a9928ec8762266231ec62fafda)
2016-02-04 11:30:03 -08:00
Ryan Cavanaugh
c6e18a9fcf Fix case when position === 0
(cherry picked from commit 1231c9e145ef65cf51d5f582abfb71929892c48a)
2016-02-04 11:28:37 -08:00
Ryan Cavanaugh
f84bbcdf59 Don't show the currently-completing thing at the cursor in JS files
Fixes #6693

(cherry picked from commit 124bd517e71353d8c22c0ee63f2e830c0b18004c)
2016-02-04 11:28:29 -08:00
Ryan Cavanaugh
96ec9be665 Recognize the RHS of assignments as the JSDoc target expression
Fixes #6552

(cherry picked from commit 364b08854bc1face5c9b38301bb83c7346f1ccce)
2016-02-04 11:28:07 -08:00
Ryan Cavanaugh
176baf904a Add some tests
(cherry picked from commit 3dfd378b7e0cf6fb685c63410439fdd12a672fb9)
2016-02-04 11:27:43 -08:00
Ryan Cavanaugh
eb27166b09 Parse JSDoc comments for ES6 class constructors and methods
Fixes #6646

(cherry picked from commit 1b282cda1de630186e9ad4aa20f30dfd66bb9c9b)
2016-02-04 11:27:31 -08:00
Ryan Cavanaugh
de2ef72d4f Use union types in the return type of functions in the error case
Fixes #6663

(cherry picked from commit da6e82f639a7cc96887fde34391a9c8c654fa301)
2016-02-04 11:26:45 -08:00
Ryan Cavanaugh
671d83e81a Treat multiple prototype property assignments as union property declarations
(cherry picked from commit a4c6f666862d14e187bb7e09615fdfc0c92ab875)
2016-02-04 11:26:02 -08:00
Ryan Cavanaugh
5de87e30c6 Allow multiple 'this' property assignments in Salsa
Fixes issue #6645

(cherry picked from commit 7259b9fd4aa29ffb83acfffd14f55e6bee8c5d87)
2016-02-04 11:26:02 -08:00
zhengbli
85bb1e8610 Add more tests and comments
(cherry picked from commit bf897c29393e7e7ee92a71e123e502ca3d0ba12f)
2016-02-04 10:45:50 -08:00
zhengbli
477706cb2d Fix build error
(cherry picked from commit 646e46e022cddbfe31655ce5f0a40b7603dcca0b)
2016-02-04 10:45:37 -08:00
zhengbli
98149f6f0b add tests
(cherry picked from commit 9a6815f3c7887c757cbe5a56dc6f6b4e67f6d2bc)
2016-02-04 10:44:46 -08:00
zhengbli
ea099e7d13 Fix for thisProperty
(cherry picked from commit b389e9c61984f1ac303e3382b2d3ceaa9a8e0b84)
2016-02-04 10:44:46 -08:00
zhengbli
2a24e033cd Fix find all references for salsa
(cherry picked from commit e4ab2db9fb88520e81427e2c6f252fdbb717dcf8)
2016-02-04 10:44:46 -08:00
Vladimir Matveev
6975e44346 Merge pull request #6848 from Microsoft/port-6846
Ports #6846 in release-1.8
2016-02-02 12:44:19 -08:00
Vladimir Matveev
9fe10a6ac0 Merge pull request #6846 from Microsoft/noErrorOnEmptyDtsFile
do not error if typings for external library is empty .d.ts file
2016-02-02 12:13:42 -08:00
Vladimir Matveev
175493423e Merge pull request #6812 from Microsoft/port-6798
Ports #6798 into release-1.8
2016-02-01 19:00:30 -08:00
Vladimir Matveev
b14685d340 Merge pull request #6798 from Microsoft/dottedNamesInJsx
properly classify dotted tag names in jsx
2016-02-01 17:02:26 -08:00
Yui
738dde189d Merge pull request #6745 from Microsoft/fix6637
Fix6637
2016-02-01 16:49:25 -08:00
Daniel Rosenwasser
3865e71df3 Merge pull request #6797 from Microsoft/weReallyNeedANewSyntaxKindForTheseExports
Allow 'export default's in JS files without incorrect error
2016-02-01 14:34:24 -08:00
Daniel Rosenwasser
abf9239915 Accepted that other baseline. 2016-02-01 14:15:52 -08:00
Daniel Rosenwasser
67a77b608f Accepted baselines. 2016-02-01 13:29:49 -08:00
Daniel Rosenwasser
34a0deb561 Only error on 'export =' declarations. 2016-02-01 13:28:58 -08:00
Daniel Rosenwasser
e5adec9467 Added tests. 2016-02-01 13:27:50 -08:00
Vladimir Matveev
a4af38a622 Merge pull request #6791 from Microsoft/port-6789
Ports #6789 into release-1.8
2016-02-01 12:05:45 -08:00