Commit Graph

34031 Commits

Author SHA1 Message Date
Yui T cc6140f6e9 Only emit "use strict" when users ask for or the file is external module 2017-03-17 17:22:02 -07:00
Mohamed Hegazy a710e9433b Do not report semantic diagnostics for infered and external projects with only .js files 2017-03-17 17:20:43 -07:00
Yui T 1af1005636 Correctly bind import call expression 2017-03-17 16:58:51 -07:00
Arthur Ozga 57cd9eaf3b Merge branch 'master' into createTypeNode 2017-03-17 16:50:05 -07:00
Andy ac67b94a6e Merge pull request #14690 from Microsoft/clean_up_parser
Clean up code in parser
2017-03-17 15:05:09 -07:00
Arthur Ozga ff061a1b93 consolidate edits 2017-03-17 14:56:04 -07:00
Andy Hanson 6234cbb82f Move comment to JSDoc 2017-03-17 14:04:36 -07:00
Arthur Ozga d3661f5b6a add tokenVisitor 2017-03-17 13:55:39 -07:00
Andy Hanson 2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Andy Hanson 4c71862388 Nope, need 'isInString' 2017-03-17 12:57:34 -07:00
Daniel Rosenwasser 230e1da1f9 Merge pull request #14707 from Microsoft/logoUpdate
TypeScript Logo Update
2017-03-17 12:30:26 -07:00
Arthur Ozga 944b34fd4e move commas to end of line 2017-03-17 12:08:38 -07:00
Arthur Ozga ac7fc8fe75 Handle TODO's 2017-03-17 11:54:51 -07:00
Andy Hanson 03e0238cee Don't need isInString to be a property 2017-03-17 11:54:18 -07:00
Andy Hanson 94f6839aec Factor out FindAllReferences.Core and use Definition/Entry to allow findReferencedSymbols and getImplementationsAtPosition to return different results 2017-03-17 11:47:31 -07:00
Daniel Rosenwasser 2ff19f492b Update the logo to the one which our website uses. 2017-03-17 11:22:01 -07:00
Yui T 804ab2c0df Remove duplicat es2018 tests 2017-03-17 10:54:06 -07:00
Yui T dbac66c756 Update baselines from adding es2018 value into moduleKind 2017-03-17 10:50:32 -07:00
Andy Hanson ec558b8080 Merge branch 'master' into refactor_findallrefs 2017-03-17 08:04:04 -07:00
Diogo Franco (Kovensky) 61ebcb49c7 Allow exporting a binding before its declaration 2017-03-17 10:25:37 +09:00
Arthur Ozga 4fa32a29ce make enclosingdeclaration arg required 2017-03-16 18:02:57 -07:00
Arthur Ozga dee9ced060 add tests 2017-03-16 18:02:34 -07:00
Kanchalai Tanglertsampan a77f0d2b1a Do not collect imports in parser as it makes it very hard for incremental parsing 2017-03-16 17:47:10 -07:00
Arthur Ozga 621c044790 remove test 2017-03-16 17:22:57 -07:00
Arthur Ozga 7216ee6024 Merge branch 'createTypeNode' of github.com:aozgaa/TypeScript into createTypeNode 2017-03-16 17:21:53 -07:00
Arthur Ozga 28df2ab2df some cleanup 2017-03-16 17:21:12 -07:00
Arthur Ozga 7318c2c5a9 some cleanup 2017-03-16 17:18:28 -07:00
Arthur Ozga a88be7c6f9 consolidate SignatureParts 2017-03-16 16:59:01 -07:00
Arthur Ozga 41e511efd2 fix call 2017-03-16 16:51:18 -07:00
Arthur Ozga 7b93a75e41 Merge branch 'master' into createTypeNode 2017-03-16 16:46:45 -07:00
Arthur Ozga 69587a286a transformers tests 2017-03-16 16:41:38 -07:00
Arthur Ozga 0fa4f112a3 signatures, parameter, literals, anyonymous types 2017-03-16 16:41:26 -07:00
Arthur Ozga 451b2d648f Add signatures test 2017-03-16 16:09:54 -07:00
Vladimir Matveev 595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Andy Hanson 18f283f68a Add more missing quotes 2017-03-16 14:43:56 -07:00
Kanchalai Tanglertsampan 6db02e7438 Fix up incorrect system emit 2017-03-16 14:01:37 -07:00
Kanchalai Tanglertsampan aace2c358f Update baselines and add fourslash 2017-03-16 13:39:30 -07:00
Kanchalai Tanglertsampan 4980fa4d5d Update resolveEntityName to check for non entity name in property access expression 2017-03-16 13:39:17 -07:00
Andy Hanson 9c0f77091c Clean up code in parser 2017-03-16 13:23:35 -07:00
Mohamed Hegazy 7ead44f841 Merge pull request #14448 from DLehenbauer/removeWScript
Remove vestiges of WScript support
2017-03-16 12:23:32 -07:00
Zhengbo Li 5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Arthur Ozga ec997f3299 more temp 2017-03-16 09:52:19 -07:00
Kanchalai Tanglertsampan 1c90ef5aad wip-fix resolveEntityName with parenthesizedExpression 2017-03-15 19:16:37 -07:00
Mohamed Hegazy d78e5a1db5 Normalize line endings when validating baselines 2017-03-15 18:39:44 -07:00
Arthur Ozga 0a2d7a7f94 temp
* added signature factory/visitor entry
2017-03-15 18:09:55 -07:00
Mohamed Hegazy 0112a38ec9 Accept baselines 2017-03-15 17:21:28 -07:00
Mohamed Hegazy b6ccad4b54 Fix bad merge 2017-03-15 17:21:07 -07:00
Mohamed Hegazy 5016141b94 Remove sourceMap:false from default compiler optios now that we have all options generated 2017-03-15 16:41:39 -07:00
Mohamed Hegazy 5bbd8f809a rename catogories, and reorder options 2017-03-15 16:15:59 -07:00
Mohamed Hegazy efa3093ece Print comments in a diffrent column 2017-03-15 16:08:32 -07:00