Commit Graph

336 Commits

Author SHA1 Message Date
Anders Hejlsberg
7d3c006992 Making sys.getMemoryUsage optional. 2014-08-14 13:05:39 -07:00
Anders Hejlsberg
4d62b488b7 Include memory usage in -diagnostics report 2014-08-14 10:52:24 -07:00
Mohamed Hegazy
2a106bf923 Merge pull request #427 from sparecycles/fix/reference-static-regex
fix: /// <reference path="..." static='true' />
2014-08-12 17:46:06 -07:00
Mohamed Hegazy
bc61807d85 Merge pull request #443 from Microsoft/fourslash
Reenable Fourslash tests after they have been accidentlly disabled
2014-08-12 17:45:04 -07:00
Mohamed Hegazy
d353fcdfb3 remove fullTypeCheck flag as it may lead to missing errors if we make any requests with fullTypeCheck=false and we cache any result 2014-08-12 17:34:30 -07:00
Vladimir Matveev
ccaf904cfa support outlining for arbitrary blocks 2014-08-12 15:47:57 -07:00
Vladimir Matveev
62abc82f7f Merge pull request #437 from Microsoft/flush_stdout
use writeSync instead of stdout.write to make sure that stream is flushed
2014-08-12 15:40:02 -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
Anders Hejlsberg
d3621bf042 Merge pull request #436 from Microsoft/improvedArrayErrors
Rearranging members of Array<T> to improve error reporting.
2014-08-12 13:07:00 -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
Vladimir Matveev
6e7c95b817 use writeSync instead of stdout.write to make sure that stream is flushed 2014-08-12 11:30:11 -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
Anders Hejlsberg
e0a4b3c1cc Rearranging members of Array<T> to improve error reporting. 2014-08-12 11:13:15 -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
Adam Freidin
988cec595d fix: /// <reference path="..." static='true' />
The second quote of the static attribute was incorrectly
matched against the first quote of the path attribute.
2014-08-11 10:38:41 -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