Commit Graph
1848 Commits
Author SHA1 Message Date
Vladimir Matveev eaee9ec600 Merge pull request #3223 from Microsoft/port-3109
Port PR 3109 into release 1.5
2015-05-19 11:03:46 -07:00
Vladimir Matveev 409dddc2f3 do not hoist ambient declarations 2015-05-19 10:31:09 -07:00
Vladimir Matveev c828bcb0c7 addressed PR feedback 2015-05-19 10:28:40 -07:00
Vladimir Matveev 87ed20bd57 system: fix emit for exports of non-top level entities, fix emit for enums 2015-05-19 10:27:56 -07:00
Jason Freeman 8922a09039 Only call getTypeOfSymbol recursively if it's a value 2015-05-13 17:45:09 -07:00
Jason Freeman 0401553810 Type check all files when emitting a file under -out 2015-05-08 13:58:20 -07:00
Jason Freeman b6979d80dc Make boolean compiler options in harness true only if they say 'true' 2015-05-08 13:43:13 -07:00
Jason Freeman 7a92282af3 Merge branch 'release-1.5' of https://github.com/Microsoft/TypeScript into removeSubtypesRecursion 2015-05-07 15:08:29 -07:00
Jason Freeman bb7f617e72 PR feedback and another test 2015-05-07 14:35:58 -07:00
Mohamed Hegazy ebb5a0d1d0 Merge branch 'master' into release-1.5 2015-05-07 12:31:04 -07:00
Jason Freeman d8ef7b612a Make removeSubtypes resilient to reentry 2015-05-07 11:39:28 -07:00
Mohamed Hegazy 69f94cde8e Merge branch 'master' into refactorNarrowTypeByInstanceOf 2015-05-07 11:27:42 -07:00
Mohamed Hegazy 60b7bbb6c5 Merge branch 'master' into release-1.5
Conflicts:
	bin/tsc.js
	bin/tsserver.js
	bin/typescript.js
	bin/typescriptServices.js
	src/compiler/checker.ts
	src/compiler/emitter.ts
	src/services/services.ts
	src/services/shims.ts
	tests/baselines/reference/classExpressionWithDecorator1.js
	tests/baselines/reference/decoratedClassFromExternalModule.js
	tests/baselines/reference/decoratorOnClass1.js
	tests/baselines/reference/decoratorOnClass2.js
	tests/baselines/reference/decoratorOnClass3.js
	tests/baselines/reference/decoratorOnClass4.js
	tests/baselines/reference/decoratorOnClass5.js
	tests/baselines/reference/decoratorOnClass8.js
	tests/baselines/reference/decoratorOnClassAccessor1.js
	tests/baselines/reference/decoratorOnClassAccessor2.js
	tests/baselines/reference/decoratorOnClassAccessor3.js
	tests/baselines/reference/decoratorOnClassAccessor4.js
	tests/baselines/reference/decoratorOnClassAccessor5.js
	tests/baselines/reference/decoratorOnClassAccessor6.js
	tests/baselines/reference/decoratorOnClassConstructorParameter1.js
	tests/baselines/reference/decoratorOnClassConstructorParameter4.js
	tests/baselines/reference/decoratorOnClassMethod1.js
	tests/baselines/reference/decoratorOnClassMethod10.js
	tests/baselines/reference/decoratorOnClassMethod11.js
	tests/baselines/reference/decoratorOnClassMethod12.js
	tests/baselines/reference/decoratorOnClassMethod13.js
	tests/baselines/reference/decoratorOnClassMethod2.js
	tests/baselines/reference/decoratorOnClassMethod3.js
	tests/baselines/reference/decoratorOnClassMethod4.js
	tests/baselines/reference/decoratorOnClassMethod5.js
	tests/baselines/reference/decoratorOnClassMethod6.js
	tests/baselines/reference/decoratorOnClassMethod7.js
	tests/baselines/reference/decoratorOnClassMethod8.js
	tests/baselines/reference/decoratorOnClassMethodParameter1.js
	tests/baselines/reference/decoratorOnClassProperty1.js
	tests/baselines/reference/decoratorOnClassProperty10.js
	tests/baselines/reference/decoratorOnClassProperty11.js
	tests/baselines/reference/decoratorOnClassProperty2.js
	tests/baselines/reference/decoratorOnClassProperty3.js
	tests/baselines/reference/decoratorOnClassProperty6.js
	tests/baselines/reference/decoratorOnClassProperty7.js
	tests/baselines/reference/missingDecoratorType.js
	tests/baselines/reference/sourceMapValidationDecorators.js
	tests/baselines/reference/sourceMapValidationDecorators.sourcemap.txt
2015-05-06 22:36:01 -07:00
Mohamed Hegazy 42b56cf671 Add a regression test 2015-05-06 20:25:12 -07:00
Mohamed Hegazy 8b43b3d18c Update test 2015-05-06 20:18:32 -07:00
Jason Freeman 498f315256 Fix typing for Promises so that a void error callback doesn't mess up inference 2015-05-06 15:53:01 -07:00
Mohamed Hegazy 5e94ce65ed Merge branch 'typeguardsByConstructorSigniture' of https://github.com/vvakame/TypeScript into vvakame-typeguardsByConstructorSigniture 2015-05-06 12:44:45 -07:00
vvakame 776f390786 PR feedback 2015-05-06 21:18:15 +09:00
Anders Hejlsberg 7b860f5df0 Merge pull request #2991 from Microsoft/circularVar
Error when variable is circularly referenced in type annotation
2015-05-05 13:07:29 -07:00
Anders Hejlsberg f08d3793a3 Adding regression test 2015-05-05 10:02:29 -07:00
Mohamed Hegazy 15f4b58d6c Merge pull request #2966 from Microsoft/getTypeDefinitionAtPosition
Get type definition at position
2015-05-04 14:51:10 -07:00
Mohamed Hegazy 11166d2f08 Merge branch 'kmashint-master' 2015-05-04 13:23:24 -07:00
Vladimir Matveev bd47ae4886 Merge pull request #3001 from Microsoft/formattingOnChainedCallbacks
fix formatting for chained callbacks
2015-05-04 12:46:08 -07:00
Mohamed Hegazy 07719e32f7 Merge branch 'master' of https://github.com/kmashint/TypeScript into kmashint-master 2015-05-04 12:42:54 -07:00
Yui fce012d370 Merge pull request #2735 from Microsoft/conformanceParameterDecl
Conformance test for Spec Change in Section 3.8.2.2 parameter Declaration and 6.4 Destructuring parameter declarations
2015-05-04 10:50:53 -07:00
Yui 183c1c47ab Merge pull request #2753 from Microsoft/conformanceArrayLiteral
Conformance test for update in section 4.6 Array Literal
2015-05-04 10:50:41 -07:00
Yui 3da13152f0 Merge pull request #2761 from Microsoft/conformanceContextuallyTypedFuncExp
Conformance test for update spec section 4.9.3 contextual typing in function expression
2015-05-04 10:48:42 -07:00
Yui 75c0bbcfa3 Merge pull request #2773 from Microsoft/conformanceDestructuringAssignment
Conformance test spec change in section 4.17.1 destructuring assignment and 5.1.2 variable declaration conformance tests
2015-05-04 10:47:58 -07:00
Yui 031c344bd6 Merge pull request #2785 from Microsoft/conformanceTypeGuard
Conformance for spec update section 4.20 Add additional tests for typeguard for class or object property
2015-05-04 10:47:06 -07:00
Yui 7a167f26ca Merge pull request #2792 from Microsoft/conformanceConstEnum
Conformance for spec update section 9.4, 12.1.4 const enum
2015-05-04 10:46:21 -07:00
Yui 80103b086a Merge pull request #2814 from Microsoft/conformanceContextuallyTypedExp
Conformance test for 4.19 Contextually Typed Expressions
2015-05-04 10:45:56 -07:00
Mohamed Hegazy 7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
kmashint be3e3e7646 Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:18:20 -04:00
kmashint 86bd1fc894 Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:07:51 -04:00
kmashint 47c4c125fe Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:07:45 -04:00
kmashint 2e0a55c4d3 Compiler flag to specify line ending #1693 unit tests 2015-05-03 02:07:39 -04:00
Anders Hejlsberg 7efd93a965 Adding test 2015-05-02 16:57:18 -07:00
vvakame ab10d509f5 support instantiate signature, it has type parameters. 2015-05-02 15:27:06 +09:00
Vladimir Matveev f5b13bdb6d fix formatting for chained callbacks 2015-05-01 23:13:23 -07:00
Mohamed Hegazy 3c99527e6e Add tests for __metadata and __param 2015-05-01 16:30:30 -07:00
Mohamed Hegazy 101aedbf4e Do not emit __extends if --noEmitHelpers is set 2015-05-01 16:29:41 -07:00
Mohamed Hegazy 93bf569432 Merge branch 'feature/noEmitExtends' of https://github.com/whitneyit/TypeScript into whitneyit-feature/noEmitExtends 2015-05-01 16:04:04 -07:00
Anders Hejlsberg a133684b36 Modifying test 2015-05-01 15:03:52 -07:00
Mohamed Hegazy 1de5ea802b Respond to code review comments 2015-05-01 14:58:23 -07:00
Cyrus Najmabadi 25aed1129c Unify more classification code. 2015-04-30 17:50:39 -07:00
Cyrus Najmabadi 089fd4dd8f Add a common, dense, format for classification operations to lower cost of processing on the host side.
We now just return an array of triples to represent classified results.  The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.

We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array).  That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 17:50:27 -07:00
Cyrus Najmabadi c0c2c4f9a3 Unify more classification code. 2015-04-30 14:57:38 -07:00
Cyrus Najmabadi 5ad7a593d4 Add a common, dense, format for classification operations to lower cost of processing on the host side.
We now just return an array of triples to represent classified results.  The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.

We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array).  That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 14:26:46 -07:00
vvakame 35d6e98e98 type narrowing by constructor signiture of interface 2015-04-30 23:12:35 +09:00
Mohamed Hegazy b6905aff0c Add getTypeDefinitionAtPosition to tsserver 2015-04-29 22:55:05 -07:00