Commit Graph

5877 Commits

Author SHA1 Message Date
Ron Buckton
331d26f402 Merge pull request #4741 from Microsoft/es3Decorators
Allow decorators in ES3
2015-10-02 16:22:14 -07:00
Wesley Wigham
e16a14b5b3 tslint had a new release and added this rule, theirs was a little stricter 2015-10-02 15:15:39 -07:00
Ryan Cavanaugh
19b208cec6 Merge pull request #5040 from RyanCavanaugh/fix4688
Identify JSX Spread Attributes as Expression parents
2015-10-02 08:00:32 -07:00
Ron Buckton
8a41cdeb14 Fix linter errors 2015-10-01 20:16:40 -07:00
Wesley Wigham
cc95dcac1b Fix lint error that was commited
This is what happens when your merge PRs by hand and forget to run the linter. You break everyone's PRs.
2015-10-01 18:33:52 -07:00
Ron Buckton
be6e43e108 Merge branch 'master' into es3Decorators 2015-10-01 16:56:25 -07:00
Mohamed Hegazy
2d78df49a4 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-10-01 15:54:41 -07:00
Daniel Rosenwasser
acef223f95 Merge pull request #5043 from Microsoft/findRefsOnVarInExtends
Correctly recognize value symbol presence of expressions in extends clauses
2015-10-01 12:36:12 -07:00
Zhengbo Li
a6ba6fa10a Merge pull request #5042 from zhengbli/FixFloat32ArrayInLib
Fix the bug turning Float32Array type to any
2015-10-01 10:02:42 -07:00
Mohamed Hegazy
7e6a27f1f7 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-10-01 09:38:22 -07:00
Daniel Rosenwasser
dfb95b8692 Merge pull request #5050 from plantain-00/issue4701
Error message should be fixed for ambient module inside namespace
2015-09-30 21:40:28 -07:00
yaoyao
2428e65ac3 change the references to the error message 2015-10-01 10:05:40 +08:00
yaoyao
aa9fa90967 Error message should be fixed for ambient module inside namespace 2015-10-01 08:58:59 +08:00
Mohamed Hegazy
c6260160b7 Merge branch 'master' into ShyykoSerhiy-master 2015-09-30 16:30:59 -07:00
Mohamed Hegazy
2b6d2a9f71 Merge branch 'master' of https://github.com/ShyykoSerhiy/TypeScript into ShyykoSerhiy-master
Conflicts:
	src/compiler/sys.ts
	src/compiler/tsc.ts
2015-09-30 16:30:49 -07:00
Wesley Wigham
b95e1ff6d8 This is what zero linter errors feels like 2015-09-30 16:10:52 -07:00
Wesley Wigham
3fe379ce52 lint harness, disablow control flow analysis because buggy 2015-09-30 15:45:23 -07:00
Daniel Rosenwasser
48de0b6ff6 Account for interface extends clauses. 2015-09-30 14:30:54 -07:00
zhengbli
660058dcde Fix the bug turning Float32Array type to any 2015-09-30 13:55:29 -07:00
Daniel Rosenwasser
f80fa8ea82 Use appropriate resolution meaning. 2015-09-30 13:50:29 -07:00
Ryan Cavanaugh
3bb66a130f JSX Spread Attributes are expression parents
Fixes #4688
2015-09-30 13:39:40 -07:00
Anders Hejlsberg
cbe2f3df64 Merge pull request #4910 from Microsoft/polymorphicThisType
Polymorphic 'this' type
2015-09-30 13:18:33 -07:00
Ryan Cavanaugh
a4db4be4b6 Merge pull request #5019 from RyanCavanaugh/fix4731
Issue correct completions in 'as' operator
2015-09-30 13:11:09 -07:00
Vladimir Matveev
87825ee11b Merge pull request #5024 from Microsoft/importsInAmbientModules
collect imports and exports in ambient external modules
2015-09-29 17:02:07 -07:00
Zhengbo Li
4ad216073c Merge pull request #4994 from zhengbli/i4959
Avoid deleting trailing white spaces in templates
2015-09-29 16:53:40 -07:00
Anders Hejlsberg
24f906a143 Error when emitted type in declaration file references inaccessible 'this' 2015-09-29 15:15:30 -07:00
Mohamed Hegazy
bedeab73ed Merge pull request #5018 from SaschaNaz/formatAssignment
Indent expression statements
2015-09-29 15:12:40 -07:00
Vladimir Matveev
b4f326ab04 collect imports and exports in ambient external modules 2015-09-29 15:06:03 -07:00
zhengbli
16762a4ff0 Update tests 2015-09-29 13:56:57 -07:00
Daniel Rosenwasser
ca920bf29e Merge pull request #4998 from MartyIX/patch-2
tsc --watch should show more information(eg: time) when recompiling
2015-09-29 13:12:31 -07:00
Ryan Cavanaugh
141813ca09 Issue correct completions in 'as' operator 2015-09-29 12:23:16 -07:00
Ryan Cavanaugh
c452606cc1 Merge pull request #5007 from RyanCavanaugh/fix4514
Allow /* comments between < and JSX element name
2015-09-29 11:55:29 -07:00
Martin Vseticka
e35733479e Show date and time when using --watch flag 2015-09-29 20:27:02 +02:00
Ryan Cavanaugh
784fe58e7e Merge pull request #5009 from RyanCavanaugh/fix4832
Correctly emit 'as' operator left operand as expression
2015-09-29 11:14:52 -07:00
Ryan Cavanaugh
1f1209581c Merge pull request #5008 from RyanCavanaugh/fix4574
Offer correct completion when between a boolean JSX attr and the close tag
2015-09-29 11:14:21 -07:00
Ryan Cavanaugh
e313e2e317 Move cheaper check earlier in condition 2015-09-29 11:12:34 -07:00
SaschaNaz
06bf74a029 indent expressions 2015-09-30 02:59:10 +09:00
Vladimir Matveev
bfa390e09e Merge pull request #4989 from Microsoft/relativeModuleNamesInImports
record resolution for relative file name if file was found via absolu…
2015-09-29 10:17:43 -07:00
Ryan Cavanaugh
5daa1fcd2c Fail 2015-09-28 17:42:50 -07:00
Ryan Cavanaugh
b2797bbaab Correctly emit 'as' operator left operand as expression
Fixes #4832
2015-09-28 17:24:59 -07:00
Ryan Cavanaugh
b3d2c20ace Offer correct completion when between a boolean JSX attr and the close tag
Fixes #4574
2015-09-28 17:13:29 -07:00
Ryan Cavanaugh
f780d68499 Allow /* comments between < and JSX element name 2015-09-28 16:11:10 -07:00
zhengbli
fbb73b76c7 cr feedback 2015-09-28 15:52:09 -07:00
Vladimir Matveev
85a29d2c1a Merge pull request #4932 from Microsoft/formatMalformedTsx
use formatting scanner with languageVariant=JSX for .tsx files
2015-09-28 11:13:42 -07:00
Vladimir Matveev
b046c3a570 Merge pull request #4980 from csnover/fix-4952
Put AMD dependency list inline with define call in UMD modules
2015-09-28 10:41:23 -07:00
MartyIX
08a494ecbf Update emitter.ts
Proposed fix for #4908

Can anybody confirm if I'm on a right track?
2015-09-28 07:53:15 +02:00
zhengbli
f66c23811e Remove extra empty lines 2015-09-27 20:15:51 -07:00
zhengbli
896f745c83 Avoid deleting trailing whitespaces for tempmlates 2015-09-27 19:36:25 -07:00
Vladimir Matveev
e53646a0cd harden the implementation of Program.getSourceFile to handle all relative file names correctly 2015-09-27 13:32:13 -07:00
Anders Hejlsberg
5dc8402367 Make tuple type itself the 'this' type of base array type 2015-09-27 09:04:57 -07:00