Commit Graph

12544 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
Wesley Wigham
a9906e5f00 Add npm update call to install, lets see how it goes 2016-07-15 12:47:12 -07:00
Wesley Wigham
f184668095 Merge branch 'master' into travis-cache 2016-07-15 12:46:30 -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
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
Wesley Wigham
3cb0513752 Have travis fast_finish (#9718)
This causes a build to be marked as failed the instant any of its component builds fail (rather than waiting for them all to finish to mark a failure).
2016-07-14 10:29:12 -07:00
Anders Hejlsberg
4501b3ec60 Accept new baselines 2016-07-14 09:21:54 -07:00
Anders Hejlsberg
44339dd55f Performance optimizations 2016-07-14 09:21:18 -07:00
Wesley Wigham
695582e33b Tell travis to build on OSX in addition to Linux (#9717)
This way we can have a CI environment with a case-insensitive filesystem. Travis added supprot for this around April.
2016-07-13 23:49:32 -07:00
Vladimir Matveev
cc4b331460 Merge pull request #9716 from Microsoft/moveEndsWIth
move endsWith to core.ts
2016-07-13 17:18:41 -07:00
Vladimir Matveev
4f9a23468b move endsWith to core.ts 2016-07-13 17:08:57 -07:00
Mohamed Hegazy
37d41f9ec0 Merge pull request #9713 from alexeagle/release-2.0
use getNewLine from host rather than sys
2016-07-13 16:57:11 -07:00
Mohamed Hegazy
d7e17aaf76 Merge pull request #9704 from alexeagle/master
use getNewLine from host rather than sys
2016-07-13 16:52:41 -07:00
Vladimir Matveev
3625637c95 Merge pull request #9710 from Microsoft/fixAbsolutePath
fix absolute paths in baselines
2016-07-13 16:41:56 -07:00
Vladimir Matveev
a706ad58bd fix absolute paths in baselines 2016-07-13 16:24:11 -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
Mohamed Hegazy
8612caea38 Merge pull request #9701 from alexeagle/release-2.0
cherry-pick formatDiagnostics utility to release-2.0 branch
2016-07-13 14:31:14 -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
23f4be9643 Merge pull request #9695 from Microsoft/weswigham-patch-1
Remove extra semicolon
2016-07-13 12:42:48 -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
2cc040c666 Test that emitter skips this with rest parameter
Also test that it's skipped when emitting decorator metadata
2016-07-13 11:43:28 -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
Mohamed Hegazy
049610eae7 Merge pull request #9689 from alexeagle/formatDiags
Add formatDiagnostics utility
2016-07-13 11:32:07 -07:00
Andy Hanson
919e31a264 Include resolution trace 2016-07-13 11:26:24 -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
Richard Knoll
fd2caf6e48 Merge remote-tracking branch 'origin/master' into explicitly_included_globs 2016-07-12 11:21:53 -07:00
Andy
f9d29370b6 Merge pull request #9647 from Microsoft/format_tsx
Handle JSX bodies in formatter
2016-07-12 11:18:32 -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
Yui
48ab0ce07f Change version to 2.1.0 (#9615) 2016-07-11 20:53:12 -07:00
Wesley Wigham
59608778a6 Merge pull request #9628 from Microsoft/tsconfig-for-harness
Add tsconfig for harness and tsserverlibrary, remove external dtses
2016-07-11 18:30:44 -07:00