Commit graph

5689 commits

Author SHA1 Message Date
Mohamed Hegazy
14362b0ca5 Merge branch 'vvakame-typeguardsByConstructorSigniture' 2015-05-06 13:05:41 -07:00
Mohamed Hegazy
0a28a3ec80 Remove getUnionTypeOfSubtypeConstituents 2015-05-06 13:05:12 -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
Mohamed Hegazy
61a404d3e5 Update LKG 2015-05-06 11:26:55 -07:00
Mohamed Hegazy
63369251b6 Merge pull request #3047 from bryanforbes/fix-tsserver-config-parse
ProjectService passing incorrect object to parseConfigFile()
2015-05-06 10:32:30 -07:00
vvakame
ee4a15c602 PR feedback 2015-05-06 10:13:46 -07:00
Mohamed Hegazy
e43680de11 show more clearly error message when found missing module name
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-05-06 10:13:32 -07:00
vvakame
776f390786 PR feedback 2015-05-06 21:18:15 +09:00
Dan Quirk
78f81efd3a Merge pull request #3050 from tinganho/iojs
Fixes iojs environment check issue
2015-05-05 19:23:25 -07:00
Tingan Ho
0c2ae8fc53 Fixes iojs environment check issue 2015-05-06 10:12:37 +08:00
Bryan Forbes
884ca4edbc ProjectService passing incorrect object to parseConfigFile()
The return signature of `readConfigFile()` changed in
f8424d0b0c and the code using it in
`ProjectService` was never updated to match. This lead to the language
services attempting to parse an object that doesn't match what is
expected and using the default compiler options instead of what is
defined in `tsconfig.json`. Similarly, the return value of the
closure in `getTSConfigFileInfo()` was never updated to match in
both places it returns.
2015-05-05 16:51:14 -05: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
69de046074 Merge pull request #3041 from Microsoft/fixCircularAliasError
Fix circular alias error
2015-05-05 12:24:14 -07:00
Jason Freeman
6c934aa288 Merge pull request #3030 from Microsoft/lineEndings
Harness now reports a difference in line endings when comparing baselines
2015-05-05 12:17:46 -07:00
Mohamed Hegazy
e62db556f6 Update LKG 2015-05-05 11:47:10 -07:00
Jason Freeman
ed7df8138f Merge branch 'master' of https://github.com/Microsoft/TypeScript into lineEndings 2015-05-05 11:37:08 -07:00
Jason Freeman
a25534bd8d Remove unnecessary LineEndingSensitive option from BaselineOptions 2015-05-05 11:36:21 -07:00
Zhengbo Li
fcecd816f4 Merge pull request #3042 from zhengbli/issue3002
Add missing overload to XMLHttpRequest.send
2015-05-05 11:30:54 -07:00
Mohamed Hegazy
13e4450de0 Delete emitter.js 2015-05-05 10:57:15 -07:00
Zhengbo Li
2a098cd36c Add missing overload to XMLHttpRequest.send
Fix issue #3002
2015-05-05 10:23:51 -07:00
Anders Hejlsberg
f08d3793a3 Adding regression test 2015-05-05 10:02:29 -07:00
Anders Hejlsberg
6338e2b192 Fix 'resolveName' to correctly obtain local name of export default 2015-05-05 09:50:11 -07:00
vvakame
e342c95562 fix code styling 2015-05-06 01:00:17 +09:00
Anders Hejlsberg
eeb23ad96e Addressing CR feedback 2015-05-05 07:23:56 -07:00
vvakame
880ccf0221 PR feedback 2015-05-05 20:29:43 +09:00
Vladimir Matveev
3c9a3c558f Merge pull request #3029 from Microsoft/outputJsFiles
emit input non .ts files as separate files when 'allowNonTsExtensions' a...
2015-05-04 18:02:19 -07:00
Vladimir Matveev
82796673ca use only 'separateCompilation' flag when checking of file should be emitted 2015-05-04 17:49:13 -07:00
Jason Freeman
08cffc598c Rebaseline tests 2015-05-04 17:30:06 -07:00
Jason Freeman
d3a2c2a042 Make the harness report a failure if the line endings differ from the baselines 2015-05-04 17:29:57 -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
Mohamed Hegazy
91fedf4df1 Update description message and variable names 2015-05-04 13:21:39 -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
e7447a1f43 Merge pull request #3023 from Microsoft/updateBaselineWhenMergeConformance
Update baselines from merging conformance test
2015-05-04 11:35:50 -07:00
Vladimir Matveev
60f3fe3de2 emit input non .ts files as separate files when 'allowNonTsExtensions' and 'separateCompilation' flags are specified (used in 'transpile' related scenarios) 2015-05-04 11:21:35 -07:00
Yui T
e0ec6e6e71 Update baselines 2015-05-04 11:18:25 -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
Mohamed Hegazy
80cff5bf0a Merge pull request #3020 from Microsoft/exposeScanner
Fix #3012: expose scanner
2015-05-04 10:00:56 -07:00
Mohamed Hegazy
7327044410 Fix #3012: expose scanner 2015-05-04 09:51:29 -07:00
Zhengbo Li
282c1d2139 Merge pull request #3016 from zhengbli/fixFormatConfigurationIssue
Fix host formatting configuration issues
2015-05-03 23:03:06 -07:00
Vladimir Matveev
5f3e7dec9a fix formatting 2015-05-03 22:37:11 -07:00
Daniel Rosenwasser
4cc1848a17 Merge pull request #2996 from Microsoft/lastOrUndefinedReplacement
Replace awkward last-element selection pattern with 'lastOrUndefined'
2015-05-03 22:28:51 -07:00