8659 Commits

Author SHA1 Message Date
Mohamed Hegazy
ec716549a5 Update default configurations 2015-11-04 09:08:33 -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
Daniel Rosenwasser
fa2e614f9f Merge branch 'master' into iFeelPrettyErr 2015-10-30 18:10:05 -07:00
Daniel Rosenwasser
5cbcafadb9 Merge pull request #5477 from Microsoft/mutatedArrayInForOf
Always create a temporary for iterated expressions in a for-of loop
2015-10-30 17:42:45 -07:00
Daniel Rosenwasser
d5dd69b7b6 Accepted baselines. 2015-10-30 17:10:14 -07:00
Daniel Rosenwasser
982926a4c4 Moved test. 2015-10-30 16:59:31 -07:00
Daniel Rosenwasser
6a277d981a Accepted baselines. 2015-10-30 15:59:27 -07:00
Daniel Rosenwasser
90bac23be4 Always generate an identifier in a for-of loop. 2015-10-30 15:59:16 -07:00
Daniel Rosenwasser
f36b6ab8f9 Accepted baselines. 2015-10-30 15:30:59 -07:00
Daniel Rosenwasser
c3c9e513a8 Added failing test. 2015-10-30 15:30:32 -07:00
Nathan Shively-Sanders
6aecd43d9a Fix isConstructorParameter 2015-10-30 15:03:44 -07:00
Nathan Shively-Sanders
84b894769e Accept baselines 2015-10-30 14:19:11 -07:00
Nathan Shively-Sanders
e609047b78 Add tests based on #5449 2015-10-30 14:02:07 -07:00
Nathan Shively-Sanders
c82d4a61e3 Forbid 'this' as constructor parameter type 2015-10-30 14:01:06 -07:00
Nathan Shively-Sanders
16f69daf10 Merge pull request #5469 from Microsoft/improve-constructor-object-return-error-message
Improve constructor object return error message
2015-10-30 10:17:47 -07:00
Vladimir Matveev
43b17c1ec7 Merge pull request #5462 from Microsoft/useResolvedFileNameWhenResolvingImports
Use dedicated type to store paths
2015-10-30 10:09:10 -07:00
Vladimir Matveev
83919f0a3e addressed PR feedback: renamed 'toRelativePath' to 'convertToRelativePath' 2015-10-30 09:52:14 -07:00
Nathan Shively-Sanders
1b0bc8a496 Accept baselines 2015-10-30 09:21:23 -07:00
Nathan Shively-Sanders
79f09dab4f Add more detailed error message
When an object literal, for example, is returned that does not match the
type of the consturctor, add detail about a field that is required but
missing.

Do this by passing `node.expression` instead of `undefined` -- the rest of
the error reporting infrastructure is already in place.
2015-10-30 09:16:10 -07:00