114 Commits

Author SHA1 Message Date
Daniel Rosenwasser
38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00
Daniel Rosenwasser
535efd1b5d Encode the conditional presence of 'error' in the type system. 2015-09-10 14:28:57 -07:00
Daniel Rosenwasser
4b15c5f628 Added error for bad argument, fixed diagnostic for '--help' message. 2015-09-10 14:23:33 -07:00
Daniel Rosenwasser
fae7a129eb Assert condition to track root cause of issue. 2015-09-10 13:50:12 -07:00
Daniel Rosenwasser
4a85546f94 Merge pull request #4497 from weswigham/patch-4
Add system argument to readConfigFile
2015-09-04 18:10:46 -07:00
Vladimir Matveev
cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -07:00
Vladimir Matveev
3e2be80d8a remove 'experimental' from 'moduleResolution' command line argument 2015-09-01 11:09:41 -07:00
Vladimir Matveev
be8f17c5d7 Merge pull request #4488 from Microsoft/fixRWC
Move RWC runner to use Harness.IO instead of sys
2015-08-27 18:22:28 -07:00
Vladimir Matveev
24a65f4f79 merge with master 2015-08-27 17:15:49 -07:00
Wesley Wigham
f1dbf904a7 Toss the System out 2015-08-27 16:52:49 -07:00
Wesley Wigham
e4af02bb8b Toss the option out the window 2015-08-27 16:35:02 -07:00
Wesley Wigham
3598b906e3 Add optional argument to readConfigFile
Which allows the caller to specify the `System` used to read the file.
2015-08-27 11:40:21 -07:00
Vladimir Matveev
af2a49992f Move RWC runner to use Harness.IO 2015-08-26 18:54:25 -07:00
Anders Hejlsberg
bbdd340de9 Adding -suppressExcessPropertyErrors compiler option 2015-08-26 17:13:53 -07:00
Mohamed Hegazy
b85665cd38 Make new exported functions internal 2015-08-25 14:34:34 -07:00
Mohamed Hegazy
f3d36616b7 Merge branch 'init' of https://github.com/tinganho/TypeScript into tinganho-init
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2015-08-25 14:23:41 -07:00
Tingan Ho
963ba1918e Addresses CR feedback 2015-08-25 15:05:02 +08:00
Mohamed Hegazy
ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Mohamed Hegazy
00cd8ad745 Add --outFile and revert change make --out relative in tsconfig.json 2015-08-20 17:37:56 -07:00
Vladimir Matveev
dde7545d34 address PR feedback 2015-08-20 16:13:49 -07:00
Wesley Wigham
5324f8bf4c Fix new linter errors 2015-08-04 13:38:00 -07:00
Wesley Wigham
91f034669d Conform lint of the future, unify quotations 2015-08-04 13:33:01 -07:00
Tingan Ho
db6e46df12 Removes trailing comma logic and fixes default values 2015-07-29 10:26:18 +08:00
Ryan Cavanaugh
32816122f9 Error if 'files' property is not an array 2015-07-28 17:59:17 -07:00
Tingan Ho
38f4c2dc8d Adds project init 2015-07-27 19:52:57 +08:00
Dan Quirk
5dfa6104f9 Turn off a few rules and more cleanup post merge 2015-07-08 17:42:26 -07:00
Dan Quirk
be1371d3cd Merge master 2015-07-08 15:35:49 -07:00
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
Dan Quirk
cd48d8181a Fix build errors due to naive var->let replacement 2015-06-25 18:23:28 -07:00
Dan Quirk
d4403df35e var -> let 2015-06-25 17:36:19 -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