85 Commits

Author SHA1 Message Date
Ron Buckton
4b4a96b9dc Merge branch 'master' into asyncFunctions 2015-07-01 09:27:45 -07:00
Ryan Cavanaugh
b1a05b8d3c Improve commandline help for --jsx 2015-06-26 09:38:21 -07:00
Ryan Cavanaugh
b3ca00986f Merge remote-tracking branch 'upstream/master' into jsxAndAs 2015-06-22 22:41:41 -07:00
Ryan Cavanaugh
25553446ef Misc cleanup 2015-06-22 10:31:00 -07:00
Ron Buckton
76c0d32f9d Moved async functions for ES6 behind experimental flag 2015-06-19 18:05:43 -07:00
Zhengbo Li
9ab6f41890 Fix the issue that the "out" path is not relative to the path of tsconfig.json 2015-06-19 17:34:10 -07:00
Ryan Cavanaugh
6dfe3d72cf JSX/as support in tsc.js + error messages 2015-06-18 14:01:31 -07:00
Mohamed Hegazy
224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Mohamed Hegazy
223d26f535 Expose skipDefaultLibCheck as a commandline option 2015-06-04 13:56:33 -07:00
Anders Hejlsberg
990f19b69e Merge branch 'master' into tsConfigExclude
Conflicts:
	src/compiler/sys.ts
2015-06-03 15:12:13 -07:00
Ron Buckton
f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -07:00
Ron Buckton
62ba36908b Added experimentalDecorators flag 2015-06-01 15:01:24 -07:00
Mohamed Hegazy
1da04ba8f4 Change flag --singleCompilation to --isolatedModules 2015-05-18 21:49:41 -07:00
Anders Hejlsberg
70d2938f4f Support "exclude" property in tsconfig.json 2015-05-16 11:38:28 -07:00
Dan Quirk
05f753918c Update help description for noEmitOnError 2015-05-12 14:31:38 -07:00
Mohamed Hegazy
91fedf4df1 Update description message and variable names 2015-05-04 13:21:39 -07:00
kmashint
c1d2aeab84 Compiler flag to specify line ending #1693 code review adjustments 2015-05-03 02:07:18 -04:00
Keith Mashinter
16d7e5cad7 Compiler flag to specify line ending #1693 fix whitespace 2015-05-03 02:07:13 -04:00
Keith Mashinter
532f92b88f Compiler flag to specify line ending #1693 2015-05-03 02:07:03 -04:00
James Whitney
76fa4b838f Add support for --noEmitHelpers flag
This PR is a Work In Progress that addresses multiple `__extends`
being output as described in #1350: Multiple `__extends` being output
when `--module amd` is set.

The issue still exists as of `v1.5.0 - f53e6a8`.

Apparently a fix was created for this in #1356 but according to #2009, a
[comment](https://github.com/Microsoft/TypeScript/issues/2009#issuecomment-74136291)
later indicated that this was never merged in.

Further conversation continued in #2487 but did not yield any result. I
refer to my earlier recommendation in #1350.

> My question is this, would the TypeScript team be open to a flag that
> can be passed to tsc that will generate something like the following
> ```ts
> define(["require", "exports", "__extends", './mammal'], function (require, exports, __extends, Mammal) {
>     var Human = (function (_super) {
>         __extends(Human, _super);
>         function Human() {
>             _super.apply(this, arguments);
>         }
>         return Human;
>     })(Mammal);
>     return Human;
> });
> ```

To continue with the naming convention I have chosen the flag
`--noEmitHelpers`.
2015-04-30 13:23:30 +10:00
Mohamed Hegazy
32409f9b9b Merge branch 'master' into inlineSourceMaps 2015-04-27 10:11:43 -07:00
Vladimir Matveev
b1cc06e44c merge with master 2015-04-23 20:50:35 -07:00
Paul van Brenk
42c1bdd607 Merge branch 'master' into tsconfigSupportInLS 2015-04-23 13:37:01 -07:00
Paul van Brenk
a3885e5af0 Don't double wrap exceptions. 2015-04-23 13:36:54 -07:00
Paul van Brenk
f5b75439ea Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-04-23 12:58:27 -07:00
Mohamed Hegazy
ded0e398b4 update error messages 2015-04-23 10:53:19 -07:00
Paul van Brenk
8955d7ba57 More refactoring 2015-04-22 18:09:55 -07:00
Paul van Brenk
f8424d0b0c Minor clean up to make it more readable. 2015-04-22 18:00:09 -07:00
Paul van Brenk
5c44a0ff3e Improve error message when encountering an invalid tsconfig.json file. 2015-04-22 15:58:04 -07:00
Paul van Brenk
c6a9c8fa89 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-04-22 13:05:07 -07:00
Colin Snover
378b5ffd1a Add support for UMD-like module export format
The new module format enables global-less universal modules,
compatible with both AMD and CJS module loaders.

Fixes #2036.
2015-04-22 14:21:33 -05:00
Paul van Brenk
80ae52b7e9 expose the config file processing throught the LS and
add a callback to enumerate files in a directory
2015-04-21 13:24:02 -07:00
Mohamed Hegazy
658bba9eaf Add --inlineSources option 2015-04-20 20:33:31 -07:00
Mohamed Hegazy
c940b1651a Merge branch 'master' into inlineSourceMaps 2015-04-19 13:33:50 -07:00
Mohamed Hegazy
261adffe50 Add rootDir option 2015-04-14 22:11:25 -07:00
Vladimir Matveev
1781ce1bd8 Merge remote-tracking branch 'origin/master' into systemModule 2015-04-11 12:31:52 -07:00
Vladimir Matveev
e8fcf8fa2a initial support for system module 2015-04-10 12:10:38 -07:00
Mohamed Hegazy
97a4c24ad9 Expose parseCommandLine 2015-04-09 14:18:59 -07:00
Mohamed Hegazy
a998abb153 Add inlineSourceMap option 2015-04-08 00:14:23 -07:00
Ron Buckton
5c440384ba Added __param helper for parameter decorators and cleaned up __decorate and __metadata 2015-04-01 17:58:28 -07:00
Mohamed Hegazy
0afa4597a7 Merge pull request #2563 from Microsoft/exposeConfigFileHelpers
Expose readConfigFile and parseConfigFile
2015-03-31 20:39:47 -07:00
Vladimir Matveev
f239bbc3b1 Merge pull request #2550 from Microsoft/separateCompilation
Relax import/export elision rules for separate compilation
2015-03-31 14:51:39 -07:00
Mohamed Hegazy
18d8fedbf5 Expose readConfigFile and parseConfigFile 2015-03-31 10:52:21 -07:00
Mohamed Hegazy
cebe42b81f Remove unsed options 2015-03-30 23:32:11 -07:00
Vladimir Matveev
4b7e6cfc2e addressed CR feedback, accepted baselines 2015-03-30 20:16:50 -07:00
Cyrus Najmabadi
3b35473e25 Merge branch 'master' into forOfLengthCache
Conflicts:
	Jakefile
	src/compiler/commandLineParser.ts
	src/compiler/types.ts
2015-03-29 00:09:29 -07:00
Cyrus Najmabadi
7fff53cf33 Remove experimental flag to cache for-of length checks. 2015-03-28 23:50:52 -07:00
Cyrus Najmabadi
ceeeb9cd11 Always preserve new lines for array and object literals and additional constructs like blocks. 2015-03-26 13:46:35 -07:00
Cyrus Najmabadi
d8d4719765 Add experimental option to cache the .length access in downlevel for-of emit. 2015-03-13 16:15:25 -07:00
Cyrus Najmabadi
6e8d80f159 tests for newline preservation. 2015-03-08 19:26:33 -07:00