Yui T
8e37730d85
Update fourslash for getEmitOutput
2014-09-10 09:54:36 -07:00
Anders Hejlsberg
aa58dcbee0
Adding noErrorTruncation compiler option
2014-09-09 12:25:03 -07:00
Anders Hejlsberg
9f3d83adeb
Truncate long types in error messages
2014-09-08 16:14:43 -07:00
Cyrus Najmabadi
aeb428e9e5
Fix incremental parsing bug due to non invalidating cached data in nodes.
2014-09-05 17:59:52 -07:00
Ryan Cavanaugh
b8b522784c
Address CR feedback
2014-09-04 10:44:36 -07:00
Ryan Cavanaugh
0aba039a0d
Speed up RWC IO playback by removing unfound files from resolution candidates
2014-09-04 09:18:29 -07:00
Ryan Cavanaugh
f2546c1392
Correctly handle zero-length test inputs
2014-09-04 09:09:22 -07:00
Ryan Cavanaugh
f328c7c6f8
Handle missing files more gracefully; big perf gains in loggedIO
2014-09-02 17:16:25 -07:00
Ryan Cavanaugh
1249e9d06c
Add timestamp to capture files for better tracking
2014-09-02 15:40:15 -07:00
Ryan Cavanaugh
18de560402
Add jake task for making instrumented tsc
2014-09-02 12:19:58 -07:00
Mohamed Hegazy
dc0560ae59
Merge branch 'master' into getReferences
...
Conflicts:
tests/baselines/reference/aliasUsageInGenericFunction.types
tests/baselines/reference/aliasUsageInObjectLiteral.types
tests/baselines/reference/aliasUsageInOrExpression.types
tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.types
2014-08-29 15:56:36 -07:00
Mohamed Hegazy
ee0c0f6cea
Merge branch 'master' into restrictUseOfSys
2014-08-29 14:46:17 -07:00
Mohamed Hegazy
49d8157d28
ensure that sys is not used outside tsc.ts
2014-08-28 23:10:05 -07:00
Jason Freeman
44c2453ec6
Don't use UseTypeOfFunction in typeWriter
2014-08-28 12:52:44 -07:00
Jason Freeman
46825ab05d
Print Array as T[]
2014-08-28 12:48:30 -07:00
Jason Freeman
6a7d912fe4
Print pure namespaces as unknown
2014-08-28 12:40:58 -07:00
Jason Freeman
4e1bb26ad1
Print type of super
2014-08-28 12:31:37 -07:00
Daniel Rosenwasser
e851e4b00b
Removed unused method.
2014-08-25 17:57:50 -07:00
Daniel Rosenwasser
f948f5d3f7
Re-added fourslash tests, corrected failures.
2014-08-25 17:35:18 -07:00
Daniel Rosenwasser
aef859f442
Merge branch 'master' into getReferences
...
Conflicts:
src/services/services.ts
2014-08-25 16:51:35 -07:00
Jason Freeman
828a1cd065
More type baseline changes
2014-08-25 11:04:30 -07:00
Jason Freeman
cc20bb19d0
Baseline and harness changes
2014-08-25 10:55:22 -07:00
Mohamed Hegazy
8fcc8b26ba
Ensure range for string literal references are within the quotes to ensure rename is successful
2014-08-22 22:07:45 -07:00
Daniel Rosenwasser
48c6bdb2aa
Merge branch 'master' into printDiagnosticCodes
2014-08-22 15:52:04 -07:00
Daniel Rosenwasser
7f4ae93904
Updated error reporting within harness to match that of tsc.
2014-08-22 15:32:40 -07:00
Cyrus Najmabadi
9aee22b943
Merge branch 'master' into newLanguageService
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/harness/fourslash.ts
src/harness/harness.ts
src/harness/harnessLanguageService.ts
src/harness/rwcRunner.ts
src/services/services.ts
2014-08-22 14:23:14 -07:00
Sheetal Nandi
92e3202604
Fix the compilerRunner when compiling resulting d.ts file when --out is specified
2014-08-21 17:13:27 -07:00
Sheetal Nandi
753364768e
Merge pull request #495 from Microsoft/rwcRunner
...
Simplifies RWC Runner to use HarnessCompiler.compileFiles so it can be used to baseline errors and sourcemaps more like compiler runner
2014-08-21 13:04:46 -07:00
Sheetal Nandi
2ac377cc76
Fixed the file map lookup to use hasOwnProperty
2014-08-21 13:03:08 -07:00
Mohamed Hegazy
e0ffc47acc
Merge branch 'master' into getReferences
...
Conflicts:
src/compiler/checker.ts
2014-08-20 22:55:41 -07:00
Mohamed Hegazy
74518a9b7f
respond to code review comments
2014-08-20 22:46:47 -07:00
Sheetal Nandi
6e4d0ef1ef
Merge pull request #452 from Microsoft/emitComments
...
Emit comments in the .js and .d.ts files
2014-08-20 17:07:24 -07:00
Sheetal Nandi
412ef61cd8
Baseline sourcemap record from rwc runner
2014-08-20 15:57:25 -07:00
Sheetal Nandi
3d5f692c0a
Emit the error file contents and highlight it to show errors for rwc errors
2014-08-20 15:44:52 -07:00
Sheetal Nandi
58fca3773f
Simplify rwc runner to use the common functionality to get errors, js files etc as part of harness compilation
2014-08-20 15:26:33 -07:00
Sheetal Nandi
b53e989f88
Emit declarations and sourcemaps in rwc test runner
2014-08-19 20:21:59 -07:00
Sheetal Nandi
4ba7446a7d
Emit the line, col information into the rwc runner error baselines
2014-08-19 20:21:50 -07:00
Jason Freeman
f949c5014a
Merge branch 'master' into typeWriter
...
Conflicts:
src/compiler/types.ts
2014-08-18 19:57:35 -07:00
Jason Freeman
a08aa14a74
Address PR feedback
2014-08-18 18:51:18 -07:00
Mohamed Hegazy
54d8722189
Merge branch 'master' into classifier
2014-08-18 14:33:30 -07:00
Jason Freeman
dc44edfa5f
Clean up local state after the describe callback for each compiler test
2014-08-18 14:29:55 -07:00
Mohamed Hegazy
f84d2af9e7
disable resolution for now
2014-08-18 12:40:41 -07:00
Cyrus Najmabadi
323ecebf81
Add todo comment tests.
2014-08-15 14:47:10 -07:00
Jason Freeman
14f9ed9235
Only give to typeWriter files that were part of compiled program
2014-08-15 14:37:34 -07:00
Jason Freeman
834a6f71c1
Add logic in checker for getting type of export assignments and imports
2014-08-15 14:37:32 -07:00
Jason Freeman
5574b58d64
Adjust TypeChecker to have separate method for getApparentType
2014-08-15 14:37:29 -07:00
Jason Freeman
f4c00455b8
Print types for arbitrary expressions in typeWriter
2014-08-15 14:36:51 -07:00
Jason Freeman
96fba4d867
TypeWriter logic for identifiers
2014-08-15 14:34:15 -07:00
Jason Freeman
3c6c0353b3
Make the harness invoke typeWriter
2014-08-15 14:34:13 -07:00
Vladimir Matveev
a271b94b9d
merge with mastr
2014-08-15 12:06:53 -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
ca1eb9fa8d
Fix the compiler runner to handle comments flag to determine if it is --removeComments
2014-08-14 08:43:45 -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
Vladimir Matveev
72fc5dbf9b
added fullTypeCheckFlag to TypeChecker
2014-08-13 15:12:51 -07:00
Mohamed Hegazy
85b53c74d1
Merge branch 'master' into classifier
2014-08-12 21:43:38 -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
Mohamed Hegazy
d028c06034
remove unused folders from unitest runner
2014-08-07 23:45:33 -07:00
Mohamed Hegazy
3fcd33ec32
Enable clorizer unit tests
2014-08-07 23:45:03 -07:00
Mohamed Hegazy
e515ca9697
remove unused property
2014-08-07 23:44:53 -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