Commit Graph

32734 Commits

Author SHA1 Message Date
Sheetal Nandi 060dbd24f4 Instead of writing text from source file use text property to write text of synthesized node
Fixes #4364
2015-08-21 13:10:30 -07:00
zhengbli 582b0aa31e parse jsdoc param tag even without a param name 2015-08-21 13:07:41 -07:00
Mohamed Hegazy 2ed9bdbfb8 Merge pull request #4390 from adidahiya/fix-remove-TypeCheckerHost-interface
Make TypeCheckerHost internal
2015-08-21 12:23:40 -07:00
Vladimir Matveev 8cc7953941 use \r\n as default new line in transpile 2015-08-21 11:57:07 -07:00
Mohamed Hegazy 017355c583 Merge pull request #4388 from Microsoft/outFile
--outFile support
2015-08-21 11:47:34 -07:00
SaschaNaz eae30fd3de adding JSX closing tag/attribute/expression test 2015-08-22 03:39:15 +09:00
SaschaNaz 2677b3fa26 fixing autoformat not working with empty JsxText 2015-08-22 03:37:48 +09:00
Vladimir Matveev da009b8612 use \r\n as new line in harness 2015-08-21 11:32:53 -07:00
Vladimir Matveev 4f25efbd79 simplify module resolution tests 2015-08-21 10:57:36 -07:00
Vladimir Matveev dc2c968b08 addressed PR feedback: added comment 2015-08-21 10:37:13 -07:00
Vladimir Matveev 68d6d8c550 use Harness.IO instead of sys in harness 2015-08-21 00:31:25 -07:00
Adi Dahiya 7f52d5054d Make TypeCheckerHost internal
Fixes #4346
2015-08-21 01:43:47 -04:00
Mohamed Hegazy b395fb9f45 Merge branch 'master' into outFile
Conflicts:
	src/harness/fourslash.ts
2015-08-20 17:46:38 -07:00
Mohamed Hegazy 00cd8ad745 Add --outFile and revert change make --out relative in tsconfig.json 2015-08-20 17:37:56 -07:00
Yui T c88908e300 Add comments 2015-08-20 16:29:55 -07:00
Yui T eda9aead11 Add comments 2015-08-20 16:21:58 -07:00
Yui T c851a60ed9 Add test to make sure /// is preserved when removeComments is false 2015-08-20 16:16:17 -07:00
Vladimir Matveev dde7545d34 address PR feedback 2015-08-20 16:13:49 -07:00
Mohamed Hegazy cfc164b044 Consolidate option error messages into two 2015-08-20 15:58:57 -07:00
Sheetal Nandi 345de8fca5 Resolve the decorator type as type and check if the symbol has value.
This would make sure we are referencing correct symbol to check if it has value
Fixes #4239
2015-08-20 15:45:51 -07:00
jramsay 425ad026ae Merge pull request #4385 from Microsoft/ToolsVersionUpdate
Updating the internal toolsVersion from 1.5 -> 1.6 in shims.ts
2015-08-20 15:25:41 -07:00
Zhengbo Li b0868c6ba3 Merge pull request #4023 from zhengbli/addTsConfigWatcher
Add file watcher for tsconfig.json
2015-08-20 15:20:48 -07:00
Jason Ramsay d1fa571113 replacing let with const 2015-08-20 15:17:04 -07:00
Mohamed Hegazy 2a751abe4e Merge pull request #4371 from Microsoft/emitOutputForTsx
Emit tsx files correctly in getEmitOutput calls
2015-08-20 15:12:22 -07:00
Yui T 8eff741961 Add test in case of remove /// on node that will not be emitted when removeComment is true 2015-08-20 15:02:46 -07:00
Yui T 3f66968776 Only preseve pinned comment at the top of file 2015-08-20 15:01:59 -07:00
zhengbli b78e560927 Add message in protocol.d.ts and rename "rebuildProjects" to "reloadProjects" 2015-08-20 14:53:29 -07:00
Jason Ramsay e6c4019671 Updating the internal toolsVersion from 1.5 -> 1.6 in shims.ts 2015-08-20 14:48:03 -07:00
zhengbli a4d496c4c6 add command for rebuild all project structure 2015-08-20 14:34:46 -07:00
Mohamed Hegazy 539d94502c Use same parsing function for fourslash tests 2015-08-20 14:21:19 -07:00
zhengbli 762e0e8146 Delay creating inferred projects 2015-08-20 13:02:52 -07:00
Ryan Cavanaugh 6eca09b062 Handle non-entities as well 2015-08-20 12:30:12 -07:00
Ryan Cavanaugh 16e72971d9 Add comments 2015-08-20 12:23:27 -07:00
Ryan Cavanaugh 67f81bc53c Convert HTML entities to strings (#4125) 2015-08-20 12:20:28 -07:00
zhengbli c233d4d487 Merge branch 'addTsConfigWatcher' of https://github.com/zhengbli/TypeScript into addTsConfigWatcher 2015-08-20 12:18:53 -07:00
Ryan Cavanaugh f659c9098c Fix React whitespace emit #4376 2015-08-20 11:38:03 -07:00
Yui T 4b7e2b3139 Update tests file for /// and detached comments 2015-08-20 11:31:51 -07:00
Yui T 21ebc71325 Don't emit detached comment if removeComment is true 2015-08-20 09:47:45 -07:00
Yui T bb7a132b0e Address code review 2015-08-20 09:25:02 -07:00
Ryan Cavanaugh 8ad9138828 Merge pull request #4378 from tarikozket/patch-1
Fixed spelling
2015-08-20 09:12:52 -07:00
Tarik b8f41defd8 Fixed spelling 2015-08-20 14:10:26 +03:00
Mohamed Hegazy 229c470025 Merge pull request #4375 from basarat/fix/shebang-trivia-scan
fix(scanner) try a trivia scan only if pos === 0
2015-08-20 01:29:25 -07:00
Basarat Syed 042e1bbd91 fix(scanner) try a trivia scan only if pos === 0 2015-08-20 17:45:54 +10:00
Mohamed Hegazy 014137b544 remove unused createNewInstance support 2015-08-20 00:41:35 -07:00
Mohamed Hegazy b1f90e6775 change to use map instead of flag, value tuple. 2015-08-20 00:41:14 -07:00
Mohamed Hegazy 527f197a4e consolidate toLower call 2015-08-20 00:40:45 -07:00
Mohamed Hegazy b28befdc1e Handel additional properties 2015-08-19 23:53:19 -07:00
Mohamed Hegazy b2ac33da9e Export setCompilerOptionForSetting 2015-08-19 23:16:58 -07:00
Mohamed Hegazy eef8f04e5d remove unused flag aliases 2015-08-19 23:15:40 -07:00
Mohamed Hegazy 3da6de205c remove unused list of supported switchs 2015-08-19 23:12:25 -07:00