Commit Graph
6252 Commits
Author SHA1 Message Date
zhengbli b9778e6d20 cr feedback 2015-11-11 10:31:09 -08:00
zhengbli f92d241888 Add file content as a parameter for the tsserver open command 2015-11-10 13:36:19 -08:00
Ryan Cavanaugh ad61788113 Merge pull request #5266 from Microsoft/javaScriptModules
JavaScript LS scaffolding + JS module inference
2015-11-10 11:59:09 -08:00
Daniel Rosenwasser 9c284805ec Merge pull request #5185 from Microsoft/stringLiteralTypes
String literal types
2015-11-09 17:23:50 -08:00
Daniel Rosenwasser 92d37c3029 Merge pull request #5511 from Microsoft/skipDefaultLibCheckWithNoDefaultLib
Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used
2015-11-09 15:43:26 -08:00
Vladimir Matveev 5d9e7e10c0 Merge pull request #5576 from Microsoft/importsInShorthandProps
use modulekind to check if initializer for shorthand property assignm…
2015-11-09 14:57:47 -08:00
Ryan Cavanaugh 69ca1f2e1d Merge remote-tracking branch 'origin/master' into javaScriptModules
# Conflicts:
#	src/compiler/parser.ts
2015-11-09 14:48:37 -08:00
Daniel Rosenwasser cece4411ca Get rid of the concept of 'isDefaultLib'. 2015-11-09 14:40:57 -08:00
Vladimir Matveev 6f08e89455 use modulekind to check if initializer for shorthand property assignment should be emitted 2015-11-09 13:34:30 -08:00
Wesley Wigham 14d65098c9 Merge pull request #5385 from weswigham/5378-equality-fix
Stop considering symbol names when checking type parameter identity
2015-11-09 13:32:43 -08:00
Daniel Rosenwasser ea4e21d969 Fixed comments. 2015-11-09 13:27:19 -08:00
Wesley Wigham 977c3eec22 fix lints 2015-11-09 12:50:38 -08:00
Ryan Cavanaugh e630ce247b Fix merge problems from master 2015-11-09 12:49:36 -08:00
Wesley Wigham cadf54334b Merge branch 'master' into out-module-concat 2015-11-09 12:38:23 -08:00
Wesley Wigham e75286121f Merge branch 'master' into 5378-equality-fix 2015-11-09 11:56:31 -08:00
Vladimir Matveev a4d10bd777 Merge pull request #5561 from Microsoft/oneEmitter
A few perf-related low hanging fruits
2015-11-09 10:35:37 -08:00
Vladimir Matveev 3f1596bba7 remove nodeConstructors array, replace it with single local 2015-11-07 15:28:21 -08:00
Mohamed Hegazy c3df2890fc Merge pull request #5092 from tinganho/instanceOfElseClause
Instance of else clause
2015-11-07 12:20:36 -08:00
Ryan Cavanaugh 7dd1bf487d Merge branch 'master' into javaScriptModules
# Conflicts:
#	lib/lib.es6.d.ts
#	lib/tsc.js
#	lib/tsserver.js
#	lib/typescript.d.ts
#	lib/typescript.js
#	lib/typescriptServices.d.ts
#	lib/typescriptServices.js
#	src/compiler/binder.ts
#	src/compiler/checker.ts
#	src/compiler/parser.ts
#	src/compiler/program.ts
#	src/harness/fourslash.ts
2015-11-06 16:49:09 -08:00
Anders Hejlsberg d1c7a62a60 Merge pull request #5552 from Microsoft/thisAndConstraints
Instantiate constraints with type parameter as 'this'
2015-11-06 16:45:05 -08:00
Vladimir Matveev 39415d1594 Merge branch 'master' into oneEmitter 2015-11-06 16:42:14 -08:00
Ryan Cavanaugh 3f4e5a4552 Merge branch 'master' into javaScriptModules
# Conflicts:
#	tests/webTestServer.ts
2015-11-06 16:34:38 -08:00
Vladimir Matveev 45746d11a6 make emitter singleton, replace reading file properties with local access, use one constructor function for all nodes 2015-11-06 16:21:43 -08:00
Daniel Rosenwasser c011ed455b Const. 2015-11-06 15:00:35 -08:00
Ryan Cavanaugh d880d4f4fb Don't look for .js files when resolving node modules 2015-11-06 14:38:29 -08:00
Mohamed Hegazy c0bb2eaaea Add getCurrentDirectory to call to createDocumentRegistry 2015-11-06 14:16:44 -08:00
Ryan Cavanaugh 7a94031475 Rename isTsx for clarity 2015-11-06 14:11:15 -08:00
Daniel Rosenwasser bb232f739d Merge remote-tracking branch 'origin/master' into stringLiteralTypes 2015-11-06 13:06:43 -08:00
Daniel Rosenwasser 8dbfe1ca63 Added specific checks for comparing stringlike types. 2015-11-06 12:58:03 -08:00
Anders Hejlsberg eee211a2a6 Instantiate type parameter constraints with type parameter as 'this' 2015-11-06 08:54:22 -08:00
Anders Hejlsberg 9b4956fa11 Merge pull request #5459 from Microsoft/partialSignatureMatching
Fix union type partial signature matching
2015-11-05 16:46:52 -08:00
Anders Hejlsberg 31331ff6d1 Addressing CR feedback 2015-11-05 16:31:30 -08:00
Wesley Wigham 98e9fea6e6 Merge branch 'master' into 5378-equality-fix 2015-11-04 19:20:14 -08:00
Wesley Wigham 8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Mohamed Hegazy b8e5a89667 Merge pull request #5527 from Microsoft/updateDefaults
Update default configurations for --init
2015-11-04 09:33:55 -08:00
Mohamed Hegazy ec716549a5 Update default configurations 2015-11-04 09:08:33 -08:00
Vladimir Matveev 652a3a4a55 do not report 'unreachable code' on empty statements 2015-11-03 22:30:27 -08:00
Mohamed Hegazy 884dff03ba Use relative file name when reporting errors 2015-11-03 14:27:26 -08:00
Daniel Rosenwasser b9368a955c Fixed comment. 2015-11-03 12:55:18 -08:00
Daniel Rosenwasser 2be7f4f27b Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used. 2015-11-03 12:53:31 -08:00
Martin Všetička 30499e7ee5 Support '/dev/stdout' as a valid '--out' parameter 2015-11-03 08:05:49 +01:00
Wesley Wigham 1baea88246 shorten function 2015-11-02 17:04:59 -08:00
Daniel Rosenwasser 83c33551ae Added 'README.md' files to 'lib' and 'src/lib'. 2015-11-02 16:57:57 -08:00
Wesley Wigham 6f9702112f Merge branch 'master' into out-module-concat 2015-11-02 16:57:07 -08:00
Wesley Wigham 265fb518a8 feedback from CR 2015-11-02 16:54:12 -08:00
Daniel Rosenwasser a44a340449 Fix description of '--pretty'. 2015-11-02 16:40:35 -08:00
Daniel Rosenwasser ce24bcb2ee ; 2015-11-02 15:45:57 -08:00
Daniel Rosenwasser 32b259eb84 Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:31:23 -08:00
Daniel Rosenwasser e5f105367a Merge branch 'master' into iFeelPrettyErr 2015-11-02 15:28:42 -08:00
Daniel Rosenwasser 40f10abe01 Forget about tty detection. It won't work in build tools. 2015-11-02 15:23:15 -08:00