Commit graph

10141 commits

Author SHA1 Message Date
Bill Ticehurst
fc5d94df57 Do not add minified JavaScript files on file crawl 2016-02-11 09:54:34 -08:00
Bill Ticehurst
e4f7add568 Merge pull request #7027 from Microsoft/fixTestsAndLinter
fix falling tests and linter issues
2016-02-11 09:53:41 -08:00
Vladimir Matveev
7404b901b9 fix falling tests and linter issues 2016-02-11 09:48:47 -08:00
Bill Ticehurst
2922bd59a6 Fix node_modules exclude 2016-02-10 23:03:01 -08:00
Bill Ticehurst
ed1eb2b274 Fixed up paths in fourslash tests 2016-02-10 22:28:52 -08:00
Bill Ticehurst
f9fb68fbfc Fixed up baselines 2016-02-10 22:08:56 -08:00
Bill Ticehurst
f2e7f9f50f Removed errors for missing module specifier 2016-02-10 19:56:31 -08:00
Bill Ticehurst
0e5a93b85a Changed further defaults to CommonJS 2016-02-10 19:17:54 -08:00
Bill Ticehurst
b791fd89cd Changed node_modules and module defaults 2016-02-10 18:45:44 -08:00
Ron Buckton
1256352872 Merge pull request #6967 from Microsoft/revertNoCustomPromise
Revert restrictions on custom Promise in async function return type
2016-02-09 12:43:07 -08:00
Ron Buckton
b0e37ab036 Added test for noCustomAsyncPromise switch 2016-02-08 17:59:54 -08:00
Ron Buckton
6e30675822 Revert default behavior to allow custom Promise return types for async functions. 2016-02-08 12:45:58 -08:00
Bill Ticehurst
06d62ed26c Merge pull request #6949 from Microsoft/jsEmittedAsJsx
Fix emitted file extension for JavaScript files with JSX.Preserve
2016-02-07 13:08:28 -08:00
Bill Ticehurst
af0a0eedd8 Fix emitted file extension for JavaScript files with JSX.Preserve 2016-02-06 18:41:23 -08:00
Mohamed Hegazy
0619eb0a8c Merge pull request #6944 from Microsoft/portNoImplicitStrictTo1.8
Port noImplicitStrict to release-1.8
2016-02-06 12:36:09 -08:00
Mohamed Hegazy
622f469029 change flag name 2016-02-06 12:15:14 -08:00
Mohamed Hegazy
e58ba40d12 Rename flag 2016-02-05 17:00:06 -08:00
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 d47097f009)
2016-02-05 10:47:38 -08:00
Ryan Cavanaugh
8d0267c854 Recognize = as equivalent to ? in JSDoc signatures
Fixes #6811

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

(cherry picked from commit 6e06bb39a1)

# 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 e347c3711c)

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

(cherry picked from commit 8aad976c69)
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 f89ebb8fd8)
2016-02-04 11:30:34 -08:00
Ryan Cavanaugh
54bc98b22a Add malformed parameter test
(cherry picked from commit b15ff81384)
2016-02-04 11:30:04 -08:00
Ryan Cavanaugh
a426de3b89 Fix lint
(cherry picked from commit 95196886f7)
2016-02-04 11:30:04 -08:00
Ryan Cavanaugh
cf0e79a02f Add explicit return undefined;
(cherry picked from commit 1f503f1b27)
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 5a845bf0fc)
2016-02-04 11:30:03 -08:00
Ryan Cavanaugh
c6e18a9fcf Fix case when position === 0
(cherry picked from commit 1231c9e145)
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 124bd517e7)
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 364b08854b)
2016-02-04 11:28:07 -08:00
Ryan Cavanaugh
176baf904a Add some tests
(cherry picked from commit 3dfd378b7e)
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 1b282cda1d)
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 da6e82f639)
2016-02-04 11:26:45 -08:00
Ryan Cavanaugh
671d83e81a Treat multiple prototype property assignments as union property declarations
(cherry picked from commit a4c6f66686)
2016-02-04 11:26:02 -08:00