Commit graph

25 commits

Author SHA1 Message Date
Cyrus Najmabadi
29bfc15d9b use for-of in more places. 2015-03-13 09:41:54 -07:00
Anders Hejlsberg
25e52a3975 Ignore symbolic links when enumerating directories 2015-01-20 09:58:25 -08:00
Anders Hejlsberg
c342b58b23 Adding reference to core.ts in sys.ts 2015-01-15 18:18:19 -08:00
Anders Hejlsberg
f9f95ba614 Support for tsconfig.json files in command-line compiler 2015-01-15 13:22:23 -08:00
Daniel Rosenwasser
be1eb3430c Put 'sys' into the 'ts' module. 2014-12-11 13:43:34 -08:00
Daniel Rosenwasser
c5510444d9 Use __filename for 'getExecutingFilePath'. 2014-12-11 13:43:29 -08:00
Yui T
d50ce1cb47 Refactoring compiler utility-related files to use short-hand 2014-11-18 12:05:40 -08:00
Daniel Rosenwasser
c514b9231d Actually removed reference to the diagnostics file.
Addresses the original intention of #932.
2014-10-23 13:43:22 -07:00
Daniel Rosenwasser
b371b02ea0 Addressed CR feedback. 2014-10-21 15:11:55 -07:00
Daniel Rosenwasser
aac8b3fae5 Removed Diagnostics from sys.ts in order to avoid cyclical build dependency.
Specifically, processDiagnosticMessages.ts was dependent on sys.ts, which was dependent on the rest of the compiler,
which meant that in a broken state of diagnostics, you could never compile processDiagnosticMessages.ts.
2014-10-21 14:48:43 -07:00
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
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
9222711ace change name of the flag to emitBOM 2014-08-06 14:24:47 -07:00
Mohamed Hegazy
b1335e1795 add generateBOM switch 2014-08-06 11:37:59 -07:00
Daniel Rosenwasser
30509f1ecc Changed messages, got rid of 'oldProgram'. 2014-08-01 18:54:26 -07:00
Daniel Rosenwasser
91023227e4 Changed watchFile callback behavior.
We no longer recompile unless the new last-modified time is more recent.
2014-07-31 22:41:01 -07:00
Daniel Rosenwasser
617910b3d4 Support the '--watch' compiler flag. 2014-07-31 14:57:54 -07:00
Anders Hejlsberg
299f1c3390 Properly set exit code for process.
Supercedes #246.
Includes provisions for buggy behavior of WScript.Quit.
2014-07-25 11:01:09 -07:00
Anders Hejlsberg
f3f5993770 Incorporating code review feedback. 2014-07-16 11:46:25 -07:00
Anders Hejlsberg
c1d0fd979d More I/O fixes
Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
2014-07-16 10:57:05 -07:00
Vladimir Matveev
35ec15538a moved getCanonicalName to 'core' 2014-07-14 14:31:46 -07:00
Vladimir Matveev
3646788571 derive value of 'useCaseSensitiveFileNames' from underlying platform for node base implementation of 'sys' 2014-07-14 11:16:21 -07:00
Anders Hejlsberg
bbd14c005d Fix for I/O performance problems
sys.readFile checks whether file exists before reading instead of relying on exceptions
sys.writeFile returns a boolean result and doesn't use exceptions to communicate errors
Disabled code to create directories until performance has been verified
2014-07-14 10:45:24 -07:00
Mohamed Hegazy
214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00