34591 Commits

Author SHA1 Message Date
Mohamed Hegazy
5e98138921 Fix typo in running the tests section 2014-09-04 09:47:32 -07:00
Mohamed Hegazy
46f0c6cec4 Update .gitignore 2014-09-04 09:46:15 -07:00
Mohamed Hegazy
4ac4dd15d5 Merge pull request #588 from Microsoft/rwcImporter
Rwc importer
2014-09-04 09:44:12 -07:00
Ryan Cavanaugh
0aba039a0d Speed up RWC IO playback by removing unfound files from resolution candidates 2014-09-04 09:18:29 -07:00
Ryan Cavanaugh
f2546c1392 Correctly handle zero-length test inputs 2014-09-04 09:09:22 -07:00
Daniel Rosenwasser
e060a8e710 Merge pull request #561 from Microsoft/getOccurrencesIfElseIfElseIfElse
getOccurrencesAtPosition support for if/else keywords
2014-09-03 14:26:19 -07:00
Mohamed Hegazy
755fce2fd3 Merge pull request #493 from RReverser/patch-1
Fix for importing modules from definitions
2014-09-03 13:13:29 -07:00
Mohamed Hegazy
c952750327 Fix typo in file name 2014-09-03 13:10:31 -07:00
Anders Hejlsberg
a611ef40a8 Merge pull request #589 from Microsoft/updateLanguageSpec
Language Specification updated to version 1.1
2014-09-03 11:46:44 -07:00
Anders Hejlsberg
542f3601b0 Language Specification updated to version 1.1 2014-09-03 11:32:50 -07:00
Anders Hejlsberg
dab3691af6 Merge pull request #550 from Microsoft/deferredTypeLiterals
Deferred resolution of object literal members to support recursive types.
2014-09-03 11:03:24 -07:00
Anders Hejlsberg
be08411a6c Merge branch 'master' into deferredTypeLiterals 2014-09-03 10:53:21 -07:00
Mohamed Hegazy
08130e0ba9 increase the timeout for RWC tests 2014-09-03 10:37:32 -07:00
Mohamed Hegazy
4e21f1e548 Import Definitlly typed unit tests into the RWC suite 2014-09-03 10:37:03 -07:00
Ingvar Stepanyan
797ab01467 Return undefined instead of null. 2014-09-03 20:06:17 +03:00
Ingvar Stepanyan
4083d9299b Fixes #492
Conflicts:
	src/services/services.ts
2014-09-03 20:06:14 +03:00
Sheetal Nandi
2f7429e887 Merge pull request #572 from Microsoft/commentFormatting
Fix the tab and indent calculation when formatting comments in the emitted output
2014-09-02 21:24:34 -07:00
Sheetal Nandi
7181184e32 Fixed the parenthesis around the expression around line indent calculation 2014-09-02 21:13:11 -07:00
Sheetal Nandi
223aaca674 Corrected linepos assignment 2014-09-02 21:11:21 -07:00
Ryan Cavanaugh
f328c7c6f8 Handle missing files more gracefully; big perf gains in loggedIO 2014-09-02 17:16:25 -07:00
Ryan Cavanaugh
1249e9d06c Add timestamp to capture files for better tracking 2014-09-02 15:40:15 -07:00
Ryan Cavanaugh
7ae6739ff1 Correctly handle async calls; fix formatting 2014-09-02 14:22:14 -07:00
Ryan Cavanaugh
18de560402 Add jake task for making instrumented tsc 2014-09-02 12:19:58 -07:00
Anders Hejlsberg
2105404931 Merge branch 'master' into deferredTypeLiterals 2014-08-30 16:14:11 -07:00
Sheetal Nandi
816b018ae2 Fix the tab and indent calculation when formatting comments in the emitted output 2014-08-29 20:49:47 -07:00
Sheetal Nandi
a87a7794f4 Report error if exports or require is used for declaration name in external module
Fixes #63
2014-08-29 18:45:38 -07:00
Sheetal Nandi
c2b78ead05 Handles all the line breaks in calculation of line-character position
lineFeed = 0x0A,              // \n
        carriageReturn = 0x0D,        // \r
        lineSeparator = 0x2028,
        paragraphSeparator = 0x2029,
        nextLine = 0x0085,

Fixes #131
2014-08-29 17:27:47 -07:00
Daniel Rosenwasser
ba396ed28f Utilize getContainingFunction in services. 2014-08-29 17:13:14 -07:00
Daniel Rosenwasser
7e5802192e Added tests for getOccs on return keywords. 2014-08-29 16:11:02 -07:00
Mohamed Hegazy
655039c9c7 Merge pull request #473 from Microsoft/getReferences
Wire getReferences to use the new compiler
2014-08-29 16:03:58 -07:00
Mohamed Hegazy
dc0560ae59 Merge branch 'master' into getReferences
Conflicts:
	tests/baselines/reference/aliasUsageInGenericFunction.types
	tests/baselines/reference/aliasUsageInObjectLiteral.types
	tests/baselines/reference/aliasUsageInOrExpression.types
	tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.types
2014-08-29 15:56:36 -07:00
Daniel Rosenwasser
fbb10cd6b3 Added getOccs support for return keywords. 2014-08-29 14:57:48 -07:00
Daniel Rosenwasser
3f3dd29461 Use isWhitespace in getIfElseOccurrences. 2014-08-29 14:52:43 -07:00
Mohamed Hegazy
4fbc0037c6 Merge pull request #562 from Microsoft/restrictUseOfSys
Ensure that sys is not used outside tsc.ts
2014-08-29 14:50:37 -07:00
Mohamed Hegazy
a026c05cb3 Update LKG 2014-08-29 14:50:18 -07:00
Mohamed Hegazy
ee0c0f6cea Merge branch 'master' into restrictUseOfSys 2014-08-29 14:46:17 -07:00
Daniel Rosenwasser
38d7ba612f Added missing break statement. 2014-08-29 14:38:08 -07:00
Sheetal Nandi
b514fa58a9 Merge pull request #514 from Microsoft/overloadSignatureDeclaration
Correct the declaration emit for overload implementation if there is single overload signature
2014-08-29 14:33:53 -07:00
Daniel Rosenwasser
0a5c12c7ab Added test case for broken if-elses. 2014-08-29 13:44:54 -07:00
Daniel Rosenwasser
0632d0c38c Addressed CR feedback, no longer highlighting elseifs with comments between. 2014-08-29 13:08:48 -07:00
Mohamed Hegazy
49d8157d28 ensure that sys is not used outside tsc.ts 2014-08-28 23:10:05 -07:00
Jason Freeman
0a6f027d31 Merge pull request #554 from Microsoft/typeBaselines
Changes to typeWriter and type baselines
2014-08-28 20:40:33 -04:00
Jason Freeman
ae59368836 Update baselines 2014-08-28 17:30:56 -07:00
Jason Freeman
ad27af1a33 Merge branch 'master' into typeBaselines 2014-08-28 17:24:45 -07:00
Daniel Rosenwasser
24f6e41de1 Added getOccs support for if/else keywords, and some tests. 2014-08-28 17:14:57 -07:00
Mohamed Hegazy
f55b5ef1bb remove unused file 2014-08-28 16:53:57 -07:00
Jason Freeman
088ca88bfd Revert condition inside shouldWriteTypeOfFunctionSymbol 2014-08-28 13:18:59 -07:00
Jason Freeman
44c2453ec6 Don't use UseTypeOfFunction in typeWriter 2014-08-28 12:52:44 -07:00
Jason Freeman
46825ab05d Print Array as T[] 2014-08-28 12:48:30 -07:00
Jason Freeman
6a7d912fe4 Print pure namespaces as unknown 2014-08-28 12:40:58 -07:00