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