Commit Graph
3411 Commits
Author SHA1 Message Date
Bill Ticehurst bc8ac66fb3 Merge remote-tracking branch 'origin/release-1.8' into FixCommonJSModules 2016-03-09 14:58:01 -08:00
Ryan Cavanaugh a264cea783 Merge pull request #7268 from RyanCavanaugh/fix7063
Don't error on duplicate prototype property assignments
2016-03-01 13:57:04 -08:00
Bill Ticehurst b5da80202f Changed how parserContextFlags are handled in tests 2016-03-01 10:36:37 -08:00
Bill Ticehurst ae27b89847 Fix failing JSDocParser tests 2016-02-29 22:37:42 -08:00
Bill Ticehurst c4a10cfcdd Fixed default import from export equals 2016-02-28 18:25:04 -08:00
Ryan Cavanaugh 8334aeac4d Don't error on duplicate prototype property assignments
Fixes #7063
2016-02-26 14:58:01 -08:00
Ryan Cavanaugh 904091e6ea Fix duplicate errors in JSDoc function types with anon parameters
Fixes #6993
2016-02-26 14:41:49 -08:00
Bill Ticehurst 9e46c180b4 Fixed es2015 imports from export= 2016-02-25 17:29:15 -08:00
Nathan Shively-Sanders 2115b379e0 Add test and baseline 2016-02-25 15:07:17 -08:00
Bill Ticehurst 13ec44aecf Updated tests
(cherry picked from commit fb474d13dd)
2016-02-16 11:28:51 -08:00
Bill Ticehurst d396f6e8c9 Allow decorators in JavaScript files
(cherry picked from commit f601e6dd76)
2016-02-16 11:28:50 -08:00
Bill Ticehurst cf0b9f6ee2 Fix fallback to classic resolution
(cherry picked from commit e03a45a824)
2016-02-12 15:46:16 -08:00
Daniel Rosenwasser 5a76a1dd74 Merge pull request #6744 from Microsoft/removePredicateTypiness
Remove notion of predicates as types, move predicates back to signatures
2016-02-12 14:43:42 -08:00
Daniel Rosenwasser f235b85ca1 Added tests for declaration emit. 2016-02-12 14:12:21 -08:00
Ryan Cavanaugh d5538f0b2d Merge pull request #7036 from RyanCavanaugh/port7007
Port PR 7007 to release 1.8
2016-02-11 16:50:18 -08:00
Ryan Cavanaugh 5af2c47b13 Add undefined checks for malformed type tags
Fixes #7002
2016-02-11 14:35:31 -08:00
Bill Ticehurst 1173473e3c Merge pull request #7016 from Microsoft/CommonJSDefault
Make CommonJS the default (and some default "exclude" values).
2016-02-11 13:33:02 -08:00
Yui 2d4bc0caff Merge pull request #6860 from Microsoft/checksuperbeforethislexically
Check using "super" before "this" lexically
2016-02-11 13:12:59 -08:00
Bill Ticehurst d446d06f96 Added module: none baseline 2016-02-11 12:46:15 -08:00
Vladimir Matveev 7404b901b9 fix falling tests and linter issues 2016-02-11 09:48:47 -08:00
Bill Ticehurst ed1eb2b274 Fixed up paths in fourslash tests 2016-02-10 22:28:52 -08:00
Ron Buckton b0e37ab036 Added test for noCustomAsyncPromise switch 2016-02-08 17:59:54 -08:00
Kanchalai Tanglertsampan 1cfce12001 Merge branch 'release-1.8' into checksuperbeforethislexically 2016-02-08 10:43:41 -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 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 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 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 37441e1698 Recognize object literal method JSDoc comments
Fixes #6825

(cherry picked from commit 8aad976c69)
2016-02-05 10:43:09 -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 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
Kanchalai Tanglertsampan 47a2f3be1f Move tests into correct location 2016-02-04 13:12:16 -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
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 CavanaughandBill Ticehurst 73a8ace843 Fixes bug #6673
#6673

(cherry picked from commit f89ebb8fd8)
2016-02-04 11:30:34 -08:00
Ryan CavanaughandBill Ticehurst 54bc98b22a Add malformed parameter test
(cherry picked from commit b15ff81384)
2016-02-04 11:30:04 -08:00
Ryan CavanaughandBill Ticehurst 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 CavanaughandBill Ticehurst 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 CavanaughandBill Ticehurst 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 CavanaughandBill Ticehurst 176baf904a Add some tests
(cherry picked from commit 3dfd378b7e)
2016-02-04 11:27:43 -08:00
Ryan CavanaughandBill Ticehurst 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 CavanaughandBill Ticehurst 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 CavanaughandBill Ticehurst 671d83e81a Treat multiple prototype property assignments as union property declarations
(cherry picked from commit a4c6f66686)
2016-02-04 11:26:02 -08:00
Ryan CavanaughandBill Ticehurst 5de87e30c6 Allow multiple 'this' property assignments in Salsa
Fixes issue #6645

(cherry picked from commit 7259b9fd4a)
2016-02-04 11:26:02 -08:00
zhengbliandBill Ticehurst 85bb1e8610 Add more tests and comments
(cherry picked from commit bf897c2939)
2016-02-04 10:45:50 -08:00
zhengbliandBill Ticehurst 98149f6f0b add tests
(cherry picked from commit 9a6815f3c7)
2016-02-04 10:44:46 -08:00