Commit Graph

48 Commits

Author SHA1 Message Date
Cyrus Najmabadi
323ecebf81 Add todo comment tests. 2014-08-15 14:47:10 -07:00
Cyrus Najmabadi
7e70f695bb Revert "Merge branch 'master' into newLanguageService"
This reverts commit d135fa43f5, reversing
changes made to 7ddc00cba9.
2014-08-14 17:49:02 -07:00
Cyrus Najmabadi
d135fa43f5 Merge branch 'master' into newLanguageService 2014-08-14 17:48:31 -07:00
Cyrus Najmabadi
a1b7c4f54c Revert "Merge pull request #444 from Microsoft/newCompilerLS"
This reverts commit ae5f4c2617, reversing
changes made to 2f963743c4.
2014-08-14 17:37:45 -07:00
Cyrus Najmabadi
7ddc00cba9 Initial port of the new language service work. 2014-08-14 16:51:16 -07:00
Sheetal Nandi
f622cb4d11 Merge pull request #381 from branch 'remote/privacyErrors'
Report privacy errors on variable/property declarations and also emit import declarations that get used to defined visible type
2014-08-13 18:48:05 -07:00
Cyrus Najmabadi
088e58644a Merge branch 'master' into newCompilerLS
Conflicts:
	src/services/services.ts
2014-08-13 15:41:42 -07:00
Cyrus Najmabadi
474cf0d575 Port over changes to the ScriptSnapshot API from the languageService-v2 branch. 2014-08-12 17:12:23 -07:00
Mohamed Hegazy
911cb2b1fb Make sure fourslash tests are running 2014-08-12 13:34:07 -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
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
Sheetal Nandi
54f5f15796 Update the project runner to emit errors in more readable way 2014-08-07 17:49:47 -07:00
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