14598 Commits

Author SHA1 Message Date
Mohamed Hegazy
2920f82804 Add error reporting for using --noImplicitUseStrict with --options.alwaysStrict 2016-10-13 16:54:09 -07:00
Mohamed Hegazy
418a251237 Merge branch '10758-always-strict' of https://github.com/slawomir/TypeScript into slawomir-10758-always-strict 2016-10-13 16:17:06 -07:00
Zhengbo Li
a6443e3e5a Avoid watching non-existing directories and fix null-exception (#11601)
* Avoid watching non-existing directories and fix null-exception

* Add test

* Move the fix to sys to cover tsc -w also
2016-10-13 15:39:09 -07:00
Anders Hejlsberg
17c2ab20d4 Merge pull request #11587 from Microsoft/narrowStringAndNumber
Narrow string and number types in literal equality checks
2016-10-13 13:59:57 -07:00
Anders Hejlsberg
8bcb22c56d Add tests 2016-10-13 06:40:16 -07:00
Anders Hejlsberg
57a9a6344a Accept new baselines 2016-10-13 06:31:28 -07:00
Anders Hejlsberg
7dd64d3ea2 Properly narrow union types containing string and number 2016-10-13 06:29:34 -07:00
Daniel Rosenwasser
31a55e6452 Merge pull request #11570 from Microsoft/fixErrorMessageForUmdGlobals
Fix error message for UMD globals
2016-10-12 15:30:54 -07:00
Vladimir Matveev
1b32744925 Merge pull request #11569 from Microsoft/vladima/port-11550
Ports PR #11550 to master
2016-10-12 15:19:52 -07:00
Daniel Rosenwasser
fbb9d5b148 Accepted baselines. 2016-10-12 15:09:36 -07:00
Daniel Rosenwasser
7bbaef66ae Change error message for referencing UMD globals from a module. 2016-10-12 15:09:02 -07:00
Vladimir Matveev
92b63fa725 Merge pull request #11550 from Microsoft/vladima/generate-protocol
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 14:18:19 -07:00
Anders Hejlsberg
4c581def93 Fix bug in scanner 2016-10-12 14:12:47 -07:00
Anders Hejlsberg
7497d81eec Narrow string and number types in equality checks and switch cases 2016-10-12 14:12:32 -07:00
Bill Ticehurst
4ccb3bb75c Merge pull request #11511 from Microsoft/FixImportListCompletions
Resolve export= module members
2016-10-12 10:48:35 -07:00
Andy
4fde1afb8b Merge pull request #11532 from Microsoft/navtree
Add "navtree" and "navtree-full" server commands
2016-10-12 09:01:11 -07:00
Andy Hanson
a567dacbe2 Merge branch 'master' into navtree 2016-10-12 08:09:12 -07:00
Paul van Brenk
9f73ae5903 Merge pull request #10185 from Microsoft/pvb/codeaction/api
The API to support codefixes
2016-10-11 19:51:18 -07:00
Zhengbo Li
460de66311 Turn on skipLibCheck for js-only inferred project and external project (#11399)
* Turn on skipLibCheck for js-only inferred project and external project

* avoid changing compiler options

* Update tests
2016-10-11 19:19:40 -07:00
Bill Ticehurst
db5da0b85f Reverted test change 2016-10-11 18:08:54 -07:00
Bill Ticehurst
a4e7bff759 Fixed errors with overloaded method exports 2016-10-11 17:51:53 -07:00
Paul van Brenk
9b98d00155 Merge branch 'master' into pvb/codeaction/api 2016-10-11 17:31:20 -07:00
Paul van Brenk
dc516c050a Remove duplicate interface 2016-10-11 17:30:49 -07:00
Zhengbo Li
2671668d86 Remove cached resolvedModule result if the target file was deleted (#11460)
* Add test first for debugging

* Remove cached resolvedModule if the file was deleted

* Move the fix to lsHost

* Properly clean lastDeletedFile

* Remove unused builder API

* move the delete file check into module name valid check
2016-10-11 13:41:04 -07:00
Andy
4fa2e5ed8c Merge pull request #11540 from Microsoft/jsdoc_type_alias
Support JSDoc for type alias
2016-10-11 13:31:10 -07:00
Andy Hanson
413a26b94d Support JSDoc for type alias 2016-10-11 11:14:15 -07:00
Andy Hanson
9385b84c62 Add "navtree" and "navtree-full" server commands 2016-10-11 08:32:37 -07:00
Bill Ticehurst
49fd35da33 Resolve export= module members 2016-10-10 22:40:03 -07:00
Zhengbo Li
3b0515fd8b Send config file diagnonstics event even when no errors were found (#11285)
* emit config diagnostics event when no errors found

* Add tests for project service events
2016-10-10 16:38:08 -07:00
Vladimir Matveev
997acaec7a update documentation in protocol.d.ts (#11501)
update documentation in protocol.d.ts
2016-10-10 16:04:14 -07:00
Slawomir Sadziak
8210634e8d Fix #10758 Add compiler option to parse in strict mode
* fix comment
 * optimize loop
2016-10-10 23:03:07 +02:00
Yui
ea56522f80 Merge pull request #11496 from Microsoft/master_port11268_fixChakraLoadDll
[Master] Port fix in PR#11628
2016-10-10 12:50:55 -07:00
Kanchalai Tanglertsampan
5ce22801a7 Port fix from PR#11268 2016-10-10 11:11:06 -07:00
Ryan Cavanaugh
fe32282e3a Merge pull request #11347 from HerringtonDarkholme/remove-redundant
remove redundant type assertion
2016-10-10 10:58:39 -07:00
Slawomir Sadziak
ea808f52fe Fix #10758 Add compiler option to parse in strict mode
* add unit test to ensure "use strict" is not added twice
 * fix code
2016-10-10 12:15:34 +02:00
Slawomir Sadziak
29a85e02ab Fix #10758 Add compiler option to parse in strict mode
* add compiler option alwaysStrict
 * compile in strict mode when option is set
 * emit "use strict"
2016-10-10 00:03:33 +02:00
Paul van Brenk
7c96c28863 Fix test failure 2016-10-07 15:55:33 -07:00
Paul van Brenk
f3103100e3 Deal with buildbreak 2016-10-07 14:13:32 -07:00
Paul van Brenk
a88ceb5597 Merge branch 'master' into pvb/codeaction/api 2016-10-07 14:02:24 -07:00
Paul van Brenk
a83a2b0de0 Codefixes in client for testing the server. 2016-10-07 13:58:53 -07:00
Paul van Brenk
77610f6e3e rename of the response body 2016-10-07 11:18:01 -07:00
Paul van Brenk
c29e9b7e4b PR feedback 2016-10-07 10:31:12 -07:00
Andy
d34916abf8 Merge pull request #11448 from Microsoft/fix_array_condition
Fix array conditional
2016-10-07 10:03:06 -07:00
Andy
e0e8cf05fb Merge pull request #11449 from Microsoft/resolved_path
Inline calculation of resolvedPath
2016-10-07 10:02:54 -07:00
Andy Hanson
a4f610df82 Inline calculation of resolvedPath 2016-10-07 08:41:23 -07:00
Andy Hanson
13a8dc11b0 Fix array conditional 2016-10-07 08:35:13 -07:00
Andy
49a6391b4f Merge pull request #11447 from Microsoft/visit_module_block
Fix tslint build
2016-10-07 08:35:02 -07:00
Andy Hanson
731ce345b3 Add any to allow us to cast a ModuleBlock to a Block 2016-10-07 08:24:54 -07:00
Ron Buckton
9c0d6b2175 Merge pull request #11431 from Microsoft/awaiterInES3
Fix syntax error in __awaiter when running in ES3
2016-10-06 17:55:06 -07:00
Arthur Ozga
94d895587a Merge pull request #11328 from Microsoft/FixTripleSlashCompletions
Fix triple slash completions
2016-10-06 16:39:35 -07:00