Commit Graph

10958 Commits

Author SHA1 Message Date
Ryan Cavanaugh
124305d007 Emit parens around type-asserted binary operators
Fixes #9766
2016-07-15 15:56:22 -07:00
Vladimir Matveev
bf8937cc84 remove extra semicolon 2016-07-15 12:51:53 -07:00
Vladimir Matveev
af0c548312 Merge pull request #9750 from Microsoft/fixFormatDiagnostics
use sys based host for formatting diagnostics
2016-07-15 12:35:03 -07:00
Vladimir Matveev
859bd1b823 Merge pull request #9750 from Microsoft/fixFormatDiagnostics
use sys based host for formatting diagnostics
2016-07-15 12:33:53 -07:00
falsandtru
4954f810ac Fix a command example in help messages (#9747) 2016-07-15 11:52:39 -07:00
Tingan Ho
d66837bac8 Fixes capitalization (#9736) 2016-07-15 11:52:26 -07:00
Vladimir Matveev
2da6846557 use sys based host for formatting diagnostics 2016-07-14 23:02:56 -07:00
Nathan Shively-Sanders
ad56220c45 Instantiate contextual this parameters if needed 2016-07-14 14:17:50 -07:00
Sheetal Nandi
f16f27661f Merge pull request #9529 from Microsoft/identifierAndTokenConstructor
Create separate constructors for Tokens and Identifiers
2016-07-14 13:35:09 -07:00
Wesley Wigham
b8e814e9a4 Harden compilerRunner vs rooted path names in tests (#9714)
* Harden compilerRunner vs rooted path names in tests

* Call toPath on currentDirectory
2016-07-14 10:30:37 -07:00
Anders Hejlsberg
44339dd55f Performance optimizations 2016-07-14 09:21:18 -07:00
Vladimir Matsveyeu
87d8dcf95f Merge remote-tracking branch 'origin/master' into tsserverVS-WIP-deferUpdate 2016-07-13 17:19:24 -07:00
Vladimir Matveev
4f9a23468b move endsWith to core.ts 2016-07-13 17:08:57 -07:00
Vladimir Matsveyeu
3808e2cdbb Merge remote-tracking branch 'origin/master' into tsserverVS-WIP-deferUpdate 2016-07-13 16:59:55 -07:00
Vladimir Matveev
39c948ad34 merge with origin/master 2016-07-13 16:20:08 -07:00
Alex Eagle
62f49c3b7e use getNewLine from host rather than sys 2016-07-13 15:25:31 -07:00
Alex Eagle
05fbe7cddd use getNewLine from host rather than sys 2016-07-13 15:25:15 -07:00
Alex Eagle
e28acd3c1f Add formatDiagnostics utility 2016-07-13 14:22:16 -07:00
Andy
ea99262891 Merge pull request #9680 from Microsoft/format_tsx_release-2.0
Handle JSX bodies in formatter
2016-07-13 14:01:41 -07:00
Nathan Shively-Sanders
ebb0906928 Use originalKeywordKind to detect this parameters 2016-07-13 13:06:10 -07:00
Wesley Wigham
5484e754e4 Remove extra semicolon 2016-07-13 12:40:37 -07:00
Andy
1546974ea6 Merge pull request #9676 from Microsoft/relative_module
Treat "." and ".." as relative module names
2016-07-13 12:18:14 -07:00
Andy Hanson
df59058812 Fix endsWith bug 2016-07-13 11:47:53 -07:00
Nathan Shively-Sanders
5efbf61c95 Skip this in emitter in 2 more places 2016-07-13 11:42:59 -07:00
zhengbli
606ac0e533 Port #9621 to release-2.0 2016-07-13 11:38:26 -07:00
Zhengbo Li
9eeb69dfbc Merge pull request #9621 from zhengbli/fixJSDocPropertyTag
fix the issue that @property types are not recoganized
2016-07-13 11:32:36 -07:00
Alex Eagle
34e81f2805 Add formatDiagnostics utility 2016-07-13 11:15:09 -07:00
Richard Knoll
574851f526 More PR feedback 2016-07-13 11:00:54 -07:00
Andy Hanson
8e679b7021 Remove duplicate startsWith and endsWith functions 2016-07-13 10:04:21 -07:00
Andy Hanson
e6e6a8b110 Use regex 2016-07-13 09:55:57 -07:00
Andy Hanson
122c47c035 Handle JSX bodies in formatter 2016-07-13 08:15:55 -07:00
Andy Hanson
c90897ccdd Treat "." and ".." as relative module names 2016-07-13 06:51:00 -07:00
Vladimir Matveev
a9ba0a5585 use circular buffer instead of unbounded array 2016-07-12 18:48:41 -07:00
Vladimir Matveev
78974efe18 defer updates in project structure after file is edited 2016-07-12 18:02:54 -07:00
Richard Knoll
fd2caf6e48 Merge remote-tracking branch 'origin/master' into explicitly_included_globs 2016-07-12 11:21:53 -07:00
Richard Knoll
0fe6c55fe3 Merge branch 'master' into explicitly_included_globs 2016-07-12 11:17:42 -07:00
Richard Knoll
e0aca418bc Responding to PR feedback 2016-07-12 11:13:47 -07:00
Andy Hanson
5d37c29dbb Handle JSX bodies in formatter 2016-07-12 09:45:55 -07:00
Vladimir Matveev
bcdb06c4f7 introduce methods that allow to get project without refreshing inferred projects 2016-07-11 20:59:22 -07:00
Yui
48ab0ce07f Change version to 2.1.0 (#9615) 2016-07-11 20:53:12 -07:00
Vladimir Matveev
aea1534704 move saveTo to ScriptInfo 2016-07-11 19:51:14 -07:00
Vladimir Matveev
ac9717dc3d use Logger directly 2016-07-11 19:44:23 -07:00
Wesley Wigham
cfe3aadeb3 Move unittests into harness 2016-07-11 17:42:52 -07:00
Wesley Wigham
fb20df0568 Have tsconfig for harness 2016-07-11 16:36:20 -07:00
Nathan Shively-Sanders
f19844fbe9 Merge pull request #9580 from Microsoft/compile-with-noImplicitThis
Compile with --noImplicitThis
2016-07-11 15:25:44 -07:00
zhengbli
c19512edb5 Add node flag check 2016-07-11 14:57:54 -07:00
Sheetal Nandi
78a1ca7d50 Make setting properties explicit instead of using parameter properties 2016-07-11 14:02:23 -07:00
Nathan Shively-Sanders
fa0fab1523 Merge branch 'release-2.0' of https://github.com/Microsoft/TypeScript into release-2.0 2016-07-11 13:54:22 -07:00
Nathan Shively-Sanders
6414a5721c Remove another use of this, in program.ts 2016-07-11 13:49:36 -07:00
Bill Ticehurst
2f768f622e Merge pull request #9607 from Microsoft/issue9542
Fix #9542 (allow files under node_modules to be included in the compilation).
2016-07-11 13:47:39 -07:00