Commit Graph

7968 Commits

Author SHA1 Message Date
Zhengbo Li ecaf16df4b Merge pull request #4283 from zhengbli/JsDocIntellisense2
Add Intellisense to JsDoc
2015-08-21 16:08:37 -07:00
zhengbli fb403dad91 Move getElementsByClassName from HTMLElement to Element 2015-08-21 16:01:35 -07:00
Ryan Cavanaugh c12da5a2c2 Merge pull request #4406 from RyanCavanaugh/fix4404
Correctly identify JSX Expressions as Expression parent nodes
2015-08-21 15:27:39 -07:00
Ryan Cavanaugh dec947a27b Merge pull request #4380 from RyanCavanaugh/fix4376_2
Fix React whitespace emit
2015-08-21 15:22:55 -07:00
Mohamed Hegazy f9c3adeae0 Update LKG 2015-08-21 15:20:08 -07:00
Ryan Cavanaugh 27dabe49e0 Merge remote-tracking branch 'upstream/master' into fix4376_2
# Conflicts:
#	src/compiler/emitter.ts
2015-08-21 14:49:48 -07:00
Ryan Cavanaugh b6f38891f0 :rage1: debugger; 2015-08-21 14:46:32 -07:00
Ryan Cavanaugh 00d4b4cb50 Correctly identify JSX Expressions as Expression parent nodes
Fixes bug #4404
2015-08-21 14:43:14 -07:00
zhengbli 69bc569b2f Fix issue when the newly added files in tsconfig is not opened 2015-08-21 14:33:59 -07:00
Vladimir Matveev ea1512e466 Merge pull request #4394 from Microsoft/browserifyFix
use Harness.IO instead of sys in harness
2015-08-21 14:25:44 -07:00
Ryan Cavanaugh 65f4ac6d6f Merge pull request #4381 from RyanCavanaugh/fix4125
Convert HTML entities to strings (#4125)
2015-08-21 13:30:09 -07:00
Vladimir Matveev 64fd41df2a use buffer in harness only when running outside of the browser 2015-08-21 13:16:08 -07:00
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
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
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