Commit Graph

10958 Commits

Author SHA1 Message Date
Anders Hejlsberg
477489699c Correct handling of falsy types ("" | 0 | false) 2016-06-24 11:49:37 -07:00
Andy Hanson
6a60d8bb90 Merge branch 'master' into range_tests 2016-06-24 09:17:57 -07:00
Andy Hanson
6bc8db031c Remove unnecessary parameter 2016-06-24 09:16:39 -07:00
Andy Hanson
a011b4df12 Fix bug where exports. was prepended to namespace export accesses 2016-06-24 06:51:19 -07:00
Andy
999ac0add3 Merge pull request #9270 from Microsoft/this_references
Allow to find all references of the 'this 'keyword
2016-06-24 06:24:12 -07:00
zhengbli
83335f59a7 Add new APIs to protocol 2016-06-24 00:50:15 -07:00
Zhengbo Li
69e2f0e459 Merge pull request #9306 from zhengbli/syncGetErrAPIs
Port the sync diagnostics API from tsserverVS-WIP branch to 2.0
2016-06-23 21:59:29 -07:00
Paul van Brenk
6346fc1168 Fix typo 2016-06-23 17:36:59 -07:00
zhengbli
9f9deceeef Correct the api string name 2016-06-23 16:25:30 -07:00
Wesley Wigham
9cd1f786c3 Merge pull request #9332 from Microsoft/object-whitespace-rule
Object whitespace rule
2016-06-23 14:02:36 -07:00
Nathan Shively-Sanders
c9511b736e 1. pass subshell args 2. fix build order in services
1. /bin/sh requires its arguments joined into a single string unlike
cmd.
2. services/ depends on a couple of files from server/ but the order was
implicit, and changed from jakefile. Now the order is explicit in the
tsconfig.
2016-06-23 13:08:27 -07:00
Wesley Wigham
59ae2ff8ef Fix object whitespace lints 2016-06-23 12:39:20 -07:00
Wesley Wigham
be6c34f1c7 Merge pull request #9068 from weswigham/remove-jake
Add Gulpfile.ts
2016-06-23 12:17:27 -07:00
Andy Hanson
89c992a8a1 Respond to PR comments 2016-06-23 12:08:18 -07:00
Andy Hanson
1aafc553dd Change reference tests to verify actual ranges referenced and not just their count 2016-06-23 10:48:35 -07:00
Ryan Cavanaugh
14774d6438 Merge pull request #9305 from RyanCavanaugh/fix9293
Properly detect circular constructor-declared `this` properties (JS)
2016-06-23 10:30:07 -07:00
Andy Hanson
62607722d4 Remove Signature#thisType and use Signature#thisParameter everywhere 2016-06-23 10:04:19 -07:00
Nathan Shively-Sanders
3f6010cd9f Merge pull request #9298 from OrangeShark/new-rest-param-error
New rest parameter properties error message
2016-06-23 08:33:05 -07:00
Vladimir Matveev
cf616dc292 [in progress] project system work - path normalization 2016-06-22 17:02:08 -07:00
Vladimir Matveev
c8d37dc87e [in progress] project system work - versions 2016-06-22 16:51:09 -07:00
Nathan Shively-Sanders
9134ed3b7d Merge pull request #9303 from Microsoft/signatures-use-jsdoc-for-minArgumentCount
Signatures use JSDoc to determine optionality
2016-06-22 15:04:14 -07:00
Wesley Wigham
d008da5888 Make use of module compiler option explicit, add strip internal to tsconfigs 2016-06-22 13:05:58 -07:00
Ron Buckton
12bfb7e987 Merge pull request #9204 from Microsoft/promiseAndAsyncUpdates
Update Promise and PromiseLike, fix async functions issues with never.
2016-06-21 18:09:28 -07:00
Vladimir Matveev
c9b82eddda [in progress] project system work 2016-06-21 17:31:54 -07:00
zhengbli
35c50bfb1f Port the sync version diagnostics API from tsserverVS-WIP branch to 2.0 2016-06-21 17:13:21 -07:00
Ryan Cavanaugh
66c30931a9 Lint 2016-06-21 16:13:11 -07:00
Erik Edrosa
20f8c33e52 Change binding pattern parameter property error 2016-06-21 19:08:15 -04:00
Nathan Shively-Sanders
3a7396ea1c For optionality, check question token before JSDoc 2016-06-21 15:55:55 -07:00
Ryan Cavanaugh
0e3ffb5fbe Don't crash when JS class property is self-referential.
Fixes #9293
2016-06-21 15:40:26 -07:00
Bill Ticehurst
8ff2c1ad4f Fixed linting error 2016-06-21 14:00:42 -07:00
Bill Ticehurst
07bfbab6ff Changed implementation to use closure 2016-06-21 13:47:17 -07:00
Nathan Shively-Sanders
553d727148 Signatures use JSDoc to determine optionality 2016-06-21 13:01:26 -07:00
Yui
9a85b9369f Fix rwc-runner from breaking change in compiler (#9284) 2016-06-21 12:25:24 -07:00
Jason Ramsay
369253bbc4 Fix case when a document contains multiple script blocks with different base indentations.
Use the base indent size if it is greater that the indentation of the inherited predecessor
2016-06-21 11:46:49 -07:00
Mohamed Hegazy
25da96561a Merge branch 'tsserverVS-WIP' into reuseTrees 2016-06-21 11:35:25 -07:00
Mohamed Hegazy
a45ac2420c Use document registry to get sourceFiles in SyntaxTreeCache to share trees between semantic and syntaxtic oprations 2016-06-21 11:34:49 -07:00
Erik Edrosa
1a66f54e89 Add error message for rest parameter properties 2016-06-21 14:27:14 -04:00
Erik Edrosa
392fe47478 Add new error for rest parameters 2016-06-21 14:27:14 -04:00
Vladimir Matveev
c5189ddeed Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-21 09:36:57 -07:00
Bill Ticehurst
4d4f679ec4 Merge branch 'master' into loadJsFromModules 2016-06-21 09:03:38 -07:00
Andy Hanson
07437a6e7c Make goto-definition work for this parameter 2016-06-21 05:56:18 -07:00
Anders Hejlsberg
a91f71488b Literal types for const enum members 2016-06-20 20:24:54 -07:00
Basarat Ali Syed
8e489cb2a4 export interface used by other exported functions 2016-06-21 11:45:42 +10:00
Vladimir Matveev
d88b21a5e7 merge with origin/master 2016-06-20 17:12:33 -07:00
Vladimir Matveev
e690f4fdff ported PR #9073 2016-06-20 16:48:57 -07:00
Wesley Wigham
b103857b23 Merge branch 'master' into remove-jake 2016-06-20 16:33:01 -07:00
Wesley Wigham
0e5b741d42 Use merge2, gulp-if, gulp-newer, and more projects 2016-06-20 15:30:38 -07:00
Vladimir Matveev
3225e55548 merge with origin/master 2016-06-20 15:22:00 -07:00
Richard Knoll
b49acd527a Merge branch 'master' into glob2_merged 2016-06-20 14:10:55 -07:00
Zhengbo Li
7b3abc682b Merge pull request #9213 from zhengbli/fixRealPath
ignore casing when converting a source file path to relative path
2016-06-20 14:07:09 -07:00