Commit graph

7802 commits

Author SHA1 Message Date
Daniel Rosenwasser
c9c6d82376 Merge pull request #4480 from Microsoft/goToDefinitionOnConstructors
Fix issue with go-to-definition when first declaration of symbol is not specifically a class declaration
2015-08-26 16:39:29 -07:00
Daniel Rosenwasser
9f3c99e392 Don't assume the class declaration will occur first, and that it is *only* a class declaration. 2015-08-26 16:19:55 -07:00
Ryan Cavanaugh
09120e3a40 Remove unused field 2015-08-26 16:13:35 -07:00
Ryan Cavanaugh
0e4fdf8373 Use synthetic identifier during emit instead 2015-08-26 16:12:50 -07:00
Vladimir Matveev
cb1d582c7f Merge pull request #4474 from Microsoft/errorMessageInEnums
fix error message for forward references in enums
2015-08-26 15:52:24 -07:00
Daniel Rosenwasser
9eef4b8f47 Added tests. 2015-08-26 15:48:49 -07:00
Ryan Cavanaugh
6b5a14a353 CR feedback 2015-08-26 15:28:21 -07:00
Vladimir Matveev
aedbff163b Merge remote-tracking branch 'origin' into errorMessageInEnums 2015-08-26 14:03:14 -07:00
Anders Hejlsberg
bbaf322ab7 Merge pull request #4464 from Microsoft/cacheTypeInstantiations
Cache anonymous object type instantiations
2015-08-26 13:29:54 -07:00
Ryan Cavanaugh
c68fc53e37 Correctly emit imported 'React' references in JSX.
Fixes bug #4422
2015-08-26 13:26:51 -07:00
Vladimir Matveev
a38c32f495 fix error message for forward references in enums 2015-08-26 13:12:29 -07:00
Yui T
8a4c56bb76 Address CR 2015-08-26 13:05:38 -07:00
Yui T
735efee7ce Read default lib from the local file system instead of log-array when do Not use custom library file 2015-08-26 13:05:29 -07:00
Zhengbo Li
d29c21042e Merge pull request #4470 from Microsoft/release-1.6
Merge branch release-1.6
2015-08-26 12:33:24 -07:00
Zhengbo Li
b340a47dce Merge pull request #4469 from zhengbli/issue4295
Fix MessageEvent and ProgressEvent constructors
2015-08-26 12:31:53 -07:00
zhengbli
748231f45d CR feedback 2015-08-26 12:24:40 -07:00
zhengbli
c7ea94be75 fix MessageEvent and ProgressEvent constructors 2015-08-26 12:12:40 -07:00
SaschaNaz
a74ca1801e adding rules, ParenthesizedType not yet 2015-08-27 03:33:36 +09:00
Yui T
e6d91a459e Merge branch 'release-1.6' 2015-08-26 11:14:22 -07:00
Yui T
b9622780c2 Merge branch 'release-1.6' into fix3989
Conflicts:
	src/services/services.ts
2015-08-26 11:07:19 -07:00
Anders Hejlsberg
32f37bb8e0 Accepting new baselines 2015-08-26 06:59:58 -07:00
Anders Hejlsberg
e364ef3c7c Adding tests 2015-08-26 06:58:53 -07:00
Anders Hejlsberg
d615d21e6d Add cache of anonymous object type instantiations to TypeMapper 2015-08-26 06:41:41 -07:00
Mohamed Hegazy
ca593ec1ab Merge branch 'tinganho-init' 2015-08-25 19:05:23 -07:00
Mohamed Hegazy
ea35f07c0e change variable name 2015-08-25 17:45:21 -07:00
Mohamed Hegazy
01dda94433 Only set files if we have one 2015-08-25 17:44:16 -07:00
Mohamed Hegazy
d3d4a00691 use toLowerCase and remove unused property 2015-08-25 17:43:46 -07:00
Mohamed Hegazy
509232f477 Move handeling to a diffrent function, and remove specialized serialization 2015-08-25 17:42:39 -07:00
Yui T
9b04405e20 Add test and address PR 2015-08-25 16:53:12 -07:00
Mohamed Hegazy
16a6de281c Update error message 2015-08-25 14:41:43 -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
Daniel Rosenwasser
13815442fe Update version to 1.7 in 'master'. 2015-08-25 14:07:49 -07:00
Zhengbo Li
ab9cf955a9 Merge pull request #4446 from zhengbli/fixLibLineEnding
Fix inconsistent line endings in lib.d.ts
2015-08-25 12:38:30 -07:00
zhengbli
9ed51c6399 Fix inconsistent line endings in lib.d.ts 2015-08-25 12:16:31 -07:00
SaschaNaz
c0a87e9947 fixing function type formatting 2015-08-26 02:01:33 +09:00
SaschaNaz
80b2aac1b6 Merge remote-tracking branch 'Microsoft/master' 2015-08-26 01:37:43 +09:00
Tingan Ho
1670ce9664 Removes project init test 2015-08-25 15:43:10 +08:00
Tingan Ho
075cd1249f Removes jsonWithComments 2015-08-25 15:31:14 +08:00
Tingan Ho
963ba1918e Addresses CR feedback 2015-08-25 15:05:02 +08:00
Mohamed Hegazy
9a6db930b4 Merge pull request #4352 from Microsoft/moduleResolutionStrategies
Adding different module resolution strategies
2015-08-24 16:03:12 -07:00
Mohamed Hegazy
ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi
b8c8dbcf4c Merge pull request #4386 from Microsoft/importDeclarationAndDecorator
Resolve the decorator type as type and check if the symbol has value.
2015-08-24 13:54:36 -07:00
Sheetal Nandi
2defe94b1f Added test for transpilation with emitting of metadata and decorator 2015-08-24 12:47:39 -07:00
Sheetal Nandi
3fdb5e8882 Used let instead of var 2015-08-24 12:08:22 -07:00
Sheetal Nandi
3ca08916d4 When emitting metadata about type, Use object type if the type cant be resolved
This could be true if expression cannot be resolved resulting in error
2015-08-24 12:07:14 -07:00
Sheetal Nandi
979e2bf7c4 Write synthesized node's text property instead of getting text from source file
This fixes issue of not being able to emit qualified expression correctly
2015-08-24 12:06:21 -07:00
Sheetal Nandi
6c457f6c1d Tests for #4239 2015-08-24 12:05:16 -07:00
Sheetal Nandi
8c7a634814 Merge branch 'master' into importDeclarationAndDecorator 2015-08-24 11:04:08 -07:00
Sheetal Nandi
1ca28b739e Merge pull request #4402 from Microsoft/metadataTypeName
Instead of writing text from source file use text property to write t…
2015-08-24 10:59:05 -07:00