Commit graph

3185 commits

Author SHA1 Message Date
Sheetal Nandi 2264322380 Enable project runner to compile generated .d.ts files
Uncovered bug in quoted .d.ts compilation
2014-08-07 17:26:29 -07:00
Sheetal Nandi 5657c28b8b Fix the incorrect declaration file path during d.ts file compile in the compilerrunner 2014-08-07 14:59:00 -07:00
Dick van den Brink e0f738429f Added missing semicolons 2014-08-07 21:08:38 +02:00
Mohamed Hegazy 9222711ace change name of the flag to emitBOM 2014-08-06 14:24:47 -07:00
Sheetal Nandi 0b227d5196 Test baselines because of change 2014-08-06 13:12:34 -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
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
Mohamed Hegazy 63b835a7a9 Remove ByteOrderMark 2014-08-06 11:13:49 -07:00
Mohamed Hegazy aa75de9c70 Consolidate Document and SoruceFile 2014-08-04 12:00:37 -07:00
Ryan Cavanaugh b4a450026b Use compiler directly in fourslash runner so we can avoid repeated compile overhead 2014-08-01 14:36:20 -07:00
Mohamed Hegazy 648af3801a react to changes after rebase 2014-07-29 12:35:26 -07:00
Mohamed Hegazy a6e87cd9ec enable fourslash tests by default 2014-07-29 12:18:02 -07:00
Mohamed Hegazy 0a08a42abe enbale fourslash tests 2014-07-29 12:17:33 -07:00
Mohamed Hegazy 17f7ed5cbe delete unused file 2014-07-29 12:17:13 -07:00
Mohamed Hegazy 9061e58dff Change services output file name to typescriptservices.js 2014-07-29 12:16:32 -07:00
Mohamed Hegazy eb9fa722ec Add missing getNewLine method to test implementations of CompilerHost 2014-07-29 12:16:22 -07:00
Dan Quirk d91c59bd29 Fix minor formatting issues 2014-07-24 16:04:37 -07:00
Dan Quirk 5d85421262 More cleanup 2014-07-23 17:14:17 -07:00
Dan Quirk ef2ffc6d78 Cleanup 2014-07-23 17:10:38 -07:00
Dan Quirk 3ad77c6ea0 Be less clever, just use \r\n for newlines by default, tests can opt into different newlines, fix one more file casing test 2014-07-23 03:27:56 -07:00
Dan Quirk ec9d25f980 Trying to fix newlines in sourcemap baselines for *nix 2014-07-23 15:51:03 -07:00
Jason Freeman 837a8935c7 Remove error about missing module flag from checker 2014-07-21 09:40:38 -07:00
Sheetal Nandi 09ec1bb9ae Report error on Class/Interface heritage clause if it cant be accessed
Fixes #78 and #83
2014-07-18 18:07:38 -07:00
Sheetal Nandi e0ce0e97d5 Updating with code review feedback 2014-07-18 12:32:27 -07:00
Sheetal Nandi 2c7946ee00 Pulled out the d.ts compilation into separate it block 2014-07-17 22:43:59 -07:00
Sheetal Nandi d09e5508e2 Report global errors and re-enable assert for the number of errors reported 2014-07-17 18:16:40 -07:00
Sheetal Nandi 8936662090 Enable compiler runner to report the errors from compiling generated declaration files 2014-07-17 18:16:32 -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 e9cd8a0e88 add prefixes for getCanonicalName 2014-07-14 14:44:56 -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