Commit Graph
3618 Commits
Author SHA1 Message Date
Sheetal Nandi 1ca28b739e Merge pull request #4402 from Microsoft/metadataTypeName
Instead of writing text from source file use text property to write t…
2015-08-24 10:59:05 -07:00
Zhengbo Li ecaf16df4b Merge pull request #4283 from zhengbli/JsDocIntellisense2
Add Intellisense to JsDoc
2015-08-21 16:08:37 -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 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 00d4b4cb50 Correctly identify JSX Expressions as Expression parent nodes
Fixes bug #4404
2015-08-21 14:43:14 -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
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
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
Mohamed Hegazy cfc164b044 Consolidate option error messages into two 2015-08-20 15:58:57 -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
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
Ryan Cavanaugh f659c9098c Fix React whitespace emit #4376 2015-08-20 11:38:03 -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 f95fcf9671 Emit tsx files correctelly in getEmitOutput calls 2015-08-19 22:18:32 -07:00
Vladimir Matveev 5bcb3f0be8 Merge pull request #4368 from Microsoft/noResolveAndExternalModules
Process imports to source files to record module name resolutions
2015-08-19 17:00:36 -07:00
Vladimir Matveev 4a829572be added tests 2015-08-19 15:37:37 -07:00
Vladimir Matveev ffadce6335 always process imported modules in 'createProgram' to record module resolutions 2015-08-19 11:58:02 -07:00
David Souther 407c8beed5 Emits safe value for import. 2015-08-18 21:17:43 -04:00
Schmavery 6f42e4164b Apply suggested fixes to arguments PR 2015-08-17 18:33:48 -07:00
Schmavery 2b3da9a49e Add arguments to completion list #4249 2015-08-17 17:13:17 -07:00
Mohamed Hegazy e86f207859 Merge pull request #4309 from Microsoft/fix4274
Fix #4274: When collecting linked aliases use SymbolFlags.Alias to capture local aliases as well
2015-08-17 15:55:35 -07:00
Sheetal Nandi ed361a26b9 Merge pull request #4086 from Microsoft/sourcemap
Fixes the interaction of sourcemap and source comments
2015-08-17 15:34:35 -07:00
Mohamed Hegazy 25dfcec83b Merge pull request #4290 from Microsoft/fix4277
Fix #4277: Ensure we are passing refEnd and not length to findSourceFile
2015-08-17 15:21:04 -07:00
Vladimir Matveev b6b735c0f2 merge with master 2015-08-17 14:38:24 -07:00
Vladimir Matveev a88bfbd651 Merge branch 'master' into reuseAndCache 2015-08-17 14:36:17 -07:00
Mohamed Hegazy 2ffc37510d Merge pull request #4281 from adidahiya/expose-scanner-typings
Make createScanner external (fixes #4057)
2015-08-17 12:18:00 -07:00
Sheetal Nandi ebe7ca75a6 Merge branch 'master' into sourcemap 2015-08-17 11:26:49 -07:00
Vladimir Matveev 6a17db8e3b Merge pull request #4319 from Microsoft/renameDependencies
allow transpiler to provide alternative names for dependencies
2015-08-17 10:44:53 -07:00
Vladimir Matveev cbb2425ccd addressed PR feedback 2015-08-17 10:37:44 -07:00
Vladimir Matveev bc3025b391 make 'require is defined' a precondition for Node-based sys 2015-08-14 20:53:38 -07:00
Mohamed Hegazy 53239d4a8b Merge pull request #4310 from Microsoft/fix4170
Fix #4170, remove error when using import=require syntax in t=ES6 and in ambient context
2015-08-14 15:11:19 -07:00
Vladimir Matveev 7e8cfa0859 allow transpiler to provide alternative names for dependencies 2015-08-14 13:00:41 -07:00
Vladimir Matveev 5fbe3fc75c Merge pull request #4308 from Microsoft/adjustNodeCheck
adjust check for node env to handle webpack\browserify
2015-08-14 11:41:16 -07:00
Anders Hejlsberg 7376e4845d Merge pull request #4200 from Microsoft/unionPartialSignatures
Partial matches in union type signatures
2015-08-13 23:16:48 -07:00
Mohamed Hegazy 7353cfaece Fix #4170, remove error when using import=require syntax in t=ES6 and in ambient context
This is consistent with the behaviour of "export=" in --t=ES6 and in ambient contexts
2015-08-13 14:56:27 -07:00
Mohamed Hegazy fafd497124 Fix #4274: When collecting linked aliases use SymbolFlags.Alias to capture local aliases as well 2015-08-13 14:30:29 -07:00
Vladimir Matveev 5a48508ffa adjust check for node env to handle webpack\browserify 2015-08-13 13:14:38 -07:00
Mohamed Hegazy 1749329655 Merge branch 'master' into fix4277 2015-08-13 12:45:53 -07:00
Mohamed Hegazy fdda66f055 handel merge conflict, use refPos instead of start 2015-08-13 12:45:26 -07:00
Yui f92aa8681a Merge pull request #4230 from Microsoft/commentsNotPreserveForCallExp
Preserve comments on parameters in call expressions
2015-08-12 18:54:34 -07:00
Yui T 6adf7feb5e Remove asterisks 2015-08-12 17:52:36 -07:00
Yui T 732376a73b Merge branch 'master' into commentsNotPreserveForCallExp 2015-08-12 17:46:39 -07:00
Yui T c0801b1388 Add asterisks 2015-08-12 17:46:24 -07:00
Mohamed Hegazy 94fa6b92b4 Fix #4277: Ensure we are passing refEnd and not length to findSourceFile.
Also add a more conservative check for empty refPos and refEnd to ensure diagnostic emit does not fail
2015-08-12 13:04:10 -07:00