8686 Commits

Author SHA1 Message Date
Ryan Cavanaugh
e630ce247b Fix merge problems from master 2015-11-09 12:49: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
Ryan Cavanaugh
3f4e5a4552 Merge branch 'master' into javaScriptModules
# Conflicts:
#	tests/webTestServer.ts
2015-11-06 16:34:38 -08:00
Mohamed Hegazy
aa3999419c Merge pull request #5555 from Microsoft/addGetCurrentDirectory
Add getCurrentDirectory to call to createDocumentRegistry
2015-11-06 15:17:38 -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
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
12c6a7400d Merge pull request #5531 from weswigham/prefer-const
Prefer const lint rule & fixes
2015-11-04 17:51:11 -08:00
Wesley Wigham
84551d7cbd for..of loops 2015-11-04 17:39:04 -08:00
Wesley Wigham
db2f5f2249 I love fixing lints on my linter code 2015-11-04 14:58:48 -08:00
Wesley Wigham
8a93b48945 fix lint: prefer const 2015-11-04 14:51:36 -08:00
Wesley Wigham
51fc4f2c23 Add prefer const rule 2015-11-04 14:51:31 -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
Vladimir Matveev
35fcd249a6 Merge pull request #5519 from Microsoft/noReachabilityErrorsOnEmptyStatement
do not report 'unreachable code' on empty statements
2015-11-04 09:32:39 -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
2c644476fb Merge pull request #5514 from Microsoft/relativePathInErrorReporting
Use relative file name when reporting errors
2015-11-03 14:40:09 -08:00
Mohamed Hegazy
884dff03ba Use relative file name when reporting errors 2015-11-03 14:27:26 -08:00
Daniel Rosenwasser
7f9a816da7 Merge pull request #5454 from MartyIX/issue-4841
Support '/dev/stdout' as a valid '--out' parameter
2015-11-02 23:30:21 -08:00
Martin Všetička
30499e7ee5 Support '/dev/stdout' as a valid '--out' parameter 2015-11-03 08:05:49 +01:00
Daniel Rosenwasser
ae2faf83ba Merge pull request #5503 from Microsoft/libReadmes
Add 'README.md' files to 'lib' and 'src/lib'.
2015-11-02 17:45:10 -08:00
Mohamed Hegazy
485b3ab22e Merge pull request #5461 from Microsoft/contributingLibFixes
Update documentation for fixing lib issues
2015-11-02 17:10:11 -08:00
Daniel Rosenwasser
da169de53d Added 'lib/README.md' to .npmignore. 2015-11-02 17:09:48 -08:00
Mohamed Hegazy
244b26d762 Update CONTRIBUTING.md 2015-11-02 17:08:14 -08:00
Mohamed Hegazy
4a7804337c Update CONTRIBUTING.md 2015-11-02 17:07:14 -08:00
Daniel Rosenwasser
83c33551ae Added 'README.md' files to 'lib' and 'src/lib'. 2015-11-02 16:57:57 -08:00
Daniel Rosenwasser
51965b66d2 Merge pull request #5502 from Microsoft/usePretty
Use '--pretty' in builds
2015-11-02 16:50:18 -08:00
Daniel Rosenwasser
3f0c6b1aaf Use '--pretty' in builds. 2015-11-02 16:41:28 -08:00
Daniel Rosenwasser
fc51ca749c Updated LKG. 2015-11-02 16:41:13 -08:00
Daniel Rosenwasser
a44a340449 Fix description of '--pretty'. 2015-11-02 16:40:35 -08:00
Daniel Rosenwasser
38b990bd5b Merge pull request #5140 from Microsoft/iFeelPrettyErr
Stylize tsc's error messages with color and context
2015-11-02 16:31:12 -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
Mohamed Hegazy
8d60ed3d43 Update baselines 2015-11-02 15:24:23 -08:00
Daniel Rosenwasser
40f10abe01 Forget about tty detection. It won't work in build tools. 2015-11-02 15:23:15 -08:00
Vladimir Matveev
fb15e9c7c0 Merge pull request #4788 from Microsoft/reachabilityChecks
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser
654cbd9779 Just name the option 'pretty' for now. 2015-11-02 13:20:48 -08:00
Daniel Rosenwasser
4219c5ffec Added colors to diagnostic types, addressed some CR feedback. 2015-11-02 13:12:19 -08:00
Mohamed Hegazy
3e631449a1 Merge pull request #5450 from sarod/allow-comments-tsconfig
Allow comments in tsconfig.json
2015-11-02 11:46:44 -08:00
Yui
f503169f8c Merge pull request #5472 from MartyIX/issue-5183
Fix copyright comments are not preserved when generating d.ts files
2015-11-02 11:21:47 -08:00
Nathan Shively-Sanders
cc64210519 Merge pull request #5474 from Microsoft/forbid-this-as-constructor-parameter-type
Forbid this as constructor parameter type
2015-11-02 11:04:36 -08:00
Nathan Shively-Sanders
67b9647069 Add a variable of type this in constructor body
The test already had a reference to the `this` value, but that doesn't
show that the *type* is allowed.
2015-11-02 10:47:56 -08:00
Martin Vseticka
1703972dd2 Preserve copyright comments when generating d.ts files 2015-11-02 17:07:16 +01:00
Sébastien Arod
638e4b758a Use regex for repacing comments content.
Use space for indents
2015-11-01 15:31:16 +01:00
Sébastien Arod
00b389d477 New commit using TS scanner.
This commit uses TS scanner and replaces comments token text
by whitespaces to preserve orginal positions.
2015-10-31 23:17:46 +01:00
Nathan Shively-Sanders
201266b97f Switch to isNodeDescendantOf 2015-10-31 12:42:04 -07:00
Daniel Rosenwasser
48c2bb1c50 Fixed 'tsconfig.json' ordering. 2015-10-30 18:10:31 -07:00