Commit Graph

326 Commits

Author SHA1 Message Date
Vladimir Matveev ccaf904cfa support outlining for arbitrary blocks 2014-08-12 15:47:57 -07:00
Mohamed Hegazy 911cb2b1fb Make sure fourslash tests are running 2014-08-12 13:34:07 -07:00
Mohamed Hegazy 0b41303df2 Ensure scriptsnapshot is set when creating a source file 2014-08-12 13:33:48 -07:00
Vladimir Matveev 551a532f5d Merge pull request #430 from Microsoft/outlining
enable outlining atop of new compiler
2014-08-12 11:59:14 -07:00
Mohamed Hegazy 6070dcc26a Merge pull request #421 from hn3000/fixTypo-sourceMap
fix typo: sourcemap -> sourceMap
2014-08-12 11:27:50 -07:00
Vladimir Matveev a409ec9790 switch to getStart 2014-08-11 22:57:32 -07:00
Vladimir Matveev bf3fbe347a adressed CR feedback: use pos instead of full start 2014-08-11 22:34:58 -07:00
Mohamed Hegazy 349367d991 Consolidate logic to use the lib in one location in the tests 2014-08-11 15:35:15 -07:00
Vladimir Matveev 5e0221eeac switch to using OutliningSpan instead of TextSpan to better support language service 2014-08-11 15:08:40 -07:00
Vladimir Matveev 785c083888 enable outlining atop of new compiler 2014-08-11 13:15:07 -07:00
Harald Niesche a85d28628b fix typo: sourcemap -> sourceMap 2014-08-10 14:02:49 +02:00
Ivo Gabe de Wolff 8e8f512053 Add optional index and output to String.match 2014-08-09 12:06:52 +02:00
Ivo Gabe de Wolff 39921a065d RegExpExecArray should extends Array<string>
instead of copying all the methods of Array<string>
2014-08-09 12:03:14 +02:00
Anders Hejlsberg c71e596ba8 Merge pull request #409 from Microsoft/extractComments
Adding getLeadingComments and getTrailingComments methods to scanner.
2014-08-08 17:16:43 -07:00
Anders Hejlsberg 3c5ffbe78c Merge pull request #408 from Microsoft/globalArrayType
Simplifying createArrayType recursion check.
2014-08-08 17:12:03 -07:00
Anders Hejlsberg 5318bab517 Removing unused variable. 2014-08-08 17:03:51 -07:00
Anders Hejlsberg be56670ddf Adding getLeadingComments and getTrailingComments methods to scanner. 2014-08-08 16:38:27 -07:00
Anders Hejlsberg 11492cb05d Simplifying createArrayType recursion check.
I made these changes during some unrelated experiments but I'd like to keep them.
2014-08-08 14:12:47 -07:00
Mohamed Hegazy 1a4a822da6 Merge pull request #386 from Microsoft/tsc
rename tc.js to tsc.js
2014-08-08 13:00:50 -07:00
Mohamed Hegazy a90c62bf8b Merge branch 'master' into tsc 2014-08-08 12:56:46 -07:00
Dick van den Brink 877b0cfa1a Fixed typo soruceFile -> sourceFile 2014-08-08 20:19:51 +02:00
Mohamed Hegazy 39046fa2d1 Merge pull request #395 from DickvdBrink/code-style
Added missing semicolons
2014-08-07 17:23:10 -07:00
Jason Freeman cc7ca33eef Simplify checking for octal literals in parser 2014-08-07 12:49:52 -07:00
Jason Freeman 92f7c98adb Merge branch 'master' into octal 2014-08-07 12:11:13 -07:00
Dick van den Brink e0f738429f Added missing semicolons 2014-08-07 21:08:38 +02:00
Jason Freeman b1f71e6504 Address feedback 2014-08-07 12:08:31 -07:00
Vladimir Matveev 02d0b024c6 Merge pull request #378 from Microsoft/inherited_overloads_with_specialized_signatures
do not reorder signatures from derived and base types
2014-08-07 10:35:47 -07:00
Vladimir Matveev e642086d56 fix comment 2014-08-07 10:26:18 -07:00
Mohamed Hegazy 9d8cee1f72 rename tc.js to tsc.js 2014-08-06 23:21:53 -07:00
Mohamed Hegazy 9e6cacb701 Merge branch 'master' into bom 2014-08-06 22:50:40 -07:00
Jason Freeman 72cf78f681 Error on octal literals in ES5 and strict mode 2014-08-06 18:10:16 -07:00
Jason Freeman f744113edf Scan octal literals 2014-08-06 18:10:11 -07:00
Daniel Rosenwasser 893940cedf Merge pull request #367 from Microsoft/theDisintegrationOfThePersistenceOfMemory
Fixed memory leak when using '--watch' flag.
2014-08-06 16:28:27 -07:00
Daniel Rosenwasser eaa28feefd Style and comments. 2014-08-06 14:29:43 -07:00
Mohamed Hegazy 9222711ace change name of the flag to emitBOM 2014-08-06 14:24:47 -07:00
Vladimir Matveev 236e24b468 do not reorder signatures from derived and base types 2014-08-06 13:39:09 -07:00
Daniel Rosenwasser bd06e77b18 Addressed code review feedback. 2014-08-06 13:22:18 -07:00
Mohamed Hegazy f125ee20bb Merge branch 'master' into bom
Conflicts:
	src/compiler/commandLineParser.ts
	src/compiler/emitter.ts
2014-08-06 12:55:57 -07:00
Mohamed Hegazy a4a773a352 make the BOM visible in the test output 2014-08-06 12:36:39 -07:00
Mohamed Hegazy 35c1577ff5 Add tests for generateBOM switch 2014-08-06 12:05:01 -07:00
Daniel Rosenwasser 3ad6e31aa5 Merge pull request #351 from Microsoft/wontYouPleasePleaseHelpMe
Support the '--help' compiler flag.
2014-08-06 11:59:18 -07:00
Sheetal Nandi 5c4009a163 Merge pull request #161 from Microsoft/privacyErrors
Report errors for usage of private types when generating declaration file
2014-08-06 11:51:55 -07:00
Mohamed Hegazy b1335e1795 add generateBOM switch 2014-08-06 11:37:59 -07:00
Sheetal Nandi e31aa9e12a Added more comments and todos as per code review feedback 2014-08-06 11:26:34 -07:00
Mohamed Hegazy 63b835a7a9 Remove ByteOrderMark 2014-08-06 11:13:49 -07:00
Daniel Rosenwasser 6f563b7af9 Fixed memory leak from '--watch' flag.
As I initially feared, we were actually nesting closure environments with each new `getSourceFile`.

Fixes #366.
2014-08-05 18:28:48 -07:00
Daniel Rosenwasser a24b175586 Perform an explicit return just in case sys.exit fails. 2014-08-05 16:40:04 -07:00
Anders Hejlsberg a2a6b8a410 Support extensionless <reference> comments.
Fixes #344.
2014-08-05 14:32:53 -07:00
Daniel Rosenwasser 81c4b0b900 Merge branch 'master' into wontYouPleasePleaseHelpMe
Conflicts:
	src/compiler/commandLineParser.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-08-05 12:50:16 -07:00
Daniel Rosenwasser 078e49dd8b Explicitly supply generic argument for 'compareValues'. 2014-08-04 18:29:58 -07:00