zhengbli
0bc5c14d51
Change fileWatcher in sys for node 4
2015-10-01 15:25:43 -07:00
Wesley Wigham
b95e1ff6d8
This is what zero linter errors feels like
2015-09-30 16:10:52 -07:00
Vladimir Matveev
bc3025b391
make 'require is defined' a precondition for Node-based sys
2015-08-14 20:53:38 -07:00
Vladimir Matveev
5a48508ffa
adjust check for node env to handle webpack\browserify
2015-08-13 13:14:38 -07:00
Wesley Wigham
91f034669d
Conform lint of the future, unify quotations
2015-08-04 13:33:01 -07:00
Wesley Wigham
5a6d476797
Fix as many linter errors as possible
2015-08-04 13:31:25 -07:00
Mohamed Hegazy
c54947102a
Merge pull request #3682 from Microsoft/nodeSystemHostWriteSync
...
Node System host write - need to loop since writeSync might not write all bytes in one request
2015-07-13 15:50:58 -07:00
Dan Quirk
5dfa6104f9
Turn off a few rules and more cleanup post merge
2015-07-08 17:42:26 -07:00
Dirk Baeumer
ddb60fc8ce
Node System host write - need to loop since writeSync might not write all bytes
2015-06-30 10:49:15 +02:00
Mohamed Hegazy
224e7630ea
use namespaces instead of modules in the codebase
2015-06-12 09:01:48 -07:00
Anders Hejlsberg
990f19b69e
Merge branch 'master' into tsConfigExclude
...
Conflicts:
src/compiler/sys.ts
2015-06-03 15:12:13 -07:00
Oleksandr Chekhovskyi
f516ebd0e0
Follow symlinks when enumerating files in a directory
2015-06-01 09:12:26 +02:00
Anders Hejlsberg
70d2938f4f
Support "exclude" property in tsconfig.json
2015-05-16 11:38:28 -07:00
Mohamed Hegazy
9fdeffeb08
Fix formatting and parameter names
2015-04-09 14:18:32 -07:00
Cyrus Najmabadi
d10a54c6b0
Use for-of in more places.
2015-03-13 10:36:29 -07:00
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