Commit graph

809 commits

Author SHA1 Message Date
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
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
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
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
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
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
Jason Freeman
4e1bb26ad1 Print type of super 2014-08-28 12:31:37 -07:00
Daniel Rosenwasser
41d8d6c4e1 Merge pull request #549 from Microsoft/getOccurrences_switchCaseDefault
Get occurrences for switch/case/default/break keywords.
2014-08-28 11:41:33 -07:00
Sheetal Nandi
852f2d935c Merge pull request #516 from Microsoft/pinnedComments
Emit pinned or ///<reference> tag comments for signatures, ambient declaraitons and interfaces
2014-08-28 10:51:29 -07:00
Mohamed Hegazy
00a37a6a31 Update LKG 2014-08-27 20:06:56 -07:00
Daniel Rosenwasser
813f28d865 Removed assertion. 2014-08-27 17:28:45 -07:00
Daniel Rosenwasser
fd93a3b4f7 What's in a name anyhow? 2014-08-27 17:26:58 -07:00
Mohamed Hegazy
5b7da99446 Update type baselines 2014-08-27 17:19:43 -07:00
Daniel Rosenwasser
0ce39a3c2a Addressed CR feedback. 2014-08-27 17:19:08 -07:00
Daniel Rosenwasser
04456a261a Made 'isAnyFunction' more exhaustive as it should be. 2014-08-27 16:58:59 -07:00
Jason Freeman
3388f7bd48 Update baselines 2014-08-27 16:58:31 -07:00
Daniel Rosenwasser
ea613fd0d8 Replaced ES5 functions with analogous core.ts ones. 2014-08-27 16:39:05 -07:00
Daniel Rosenwasser
50d0cdc428 Better coverage against function boundaries. 2014-08-27 16:33:35 -07:00
Mohamed Hegazy
0f9c1adcd8 Merge branch 'master' into getReferences 2014-08-27 16:21:16 -07:00
Daniel Rosenwasser
232e51383f Moved null-guards to appropriate places, added helpers. 2014-08-27 16:07:46 -07:00
Anders Hejlsberg
deaf8e4a78 Addressing CR feedback. 2014-08-27 13:54:23 -07:00
Daniel Rosenwasser
3825c9b542 Handled function boundaries. 2014-08-27 12:12:45 -07:00
Jason Freeman
b13fb89d51 Merge branch 'master' into typeBaselines 2014-08-27 11:22:49 -07:00
Jason Freeman
aa0ae22b37 Update baselines 2014-08-27 10:06:16 -07:00
Anders Hejlsberg
f4d3c1c6e0 Deferred resolution of object literal members to support recursive types. 2014-08-26 20:45:31 -07:00
Daniel Rosenwasser
88f37e579c Support for switch/case/default/break in getOccs 2014-08-26 17:24:11 -07:00
Daniel Rosenwasser
8ab4df0e25 Added tests. 2014-08-26 14:18:09 -07:00
Mohamed Hegazy
211008d015 Fix undefined symbol name in error message 2014-08-26 13:03:24 -07:00
Daniel Rosenwasser
1f77198c4c Made getOccs more resilient. 2014-08-26 12:27:54 -07:00
Daniel Rosenwasser
558be4ea22 Implemented getOccsAtPos for try-catch-finally. 2014-08-26 11:48:31 -07:00