Commit graph

5565 commits

Author SHA1 Message Date
Vladimir Matveev 8df7cbb515 pass IO when getting default library instead of reading it to prevent
memory leaks, do not count errors in library files twice
2015-08-27 16:59:37 -07:00
Vladimir Matveev af2a49992f Move RWC runner to use Harness.IO 2015-08-26 18:54:25 -07:00
Vladimir Matveev 1d94653798 Revert "Read default lib from the local file system instead of log-array when do Not use custom library file"
This reverts commit 735efee7ce.
2015-08-26 18:14:52 -07:00
Vladimir Matveev 421990ed81 Revert "Address CR"
This reverts commit 8a4c56bb76.
2015-08-26 18:14:38 -07:00
Yui T 8a4c56bb76 Address CR 2015-08-26 13:05:38 -07:00
Yui T 735efee7ce Read default lib from the local file system instead of log-array when do Not use custom library file 2015-08-26 13:05:29 -07:00
Zhengbo Li b340a47dce Merge pull request #4469 from zhengbli/issue4295
Fix MessageEvent and ProgressEvent constructors
2015-08-26 12:31:53 -07:00
zhengbli 748231f45d CR feedback 2015-08-26 12:24:40 -07:00
zhengbli c7ea94be75 fix MessageEvent and ProgressEvent constructors 2015-08-26 12:12:40 -07:00
Yui T b9622780c2 Merge branch 'release-1.6' into fix3989
Conflicts:
	src/services/services.ts
2015-08-26 11:07:19 -07:00
zhengbli 9ed51c6399 Fix inconsistent line endings in lib.d.ts 2015-08-25 12:16:31 -07:00
Mohamed Hegazy ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi 3fdb5e8882 Used let instead of var 2015-08-24 12:08:22 -07:00
Sheetal Nandi 3ca08916d4 When emitting metadata about type, Use object type if the type cant be resolved
This could be true if expression cannot be resolved resulting in error
2015-08-24 12:07:14 -07:00
Sheetal Nandi 979e2bf7c4 Write synthesized node's text property instead of getting text from source file
This fixes issue of not being able to emit qualified expression correctly
2015-08-24 12:06:21 -07:00
Sheetal Nandi 8c7a634814 Merge branch 'master' into importDeclarationAndDecorator 2015-08-24 11:04:08 -07:00
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 15fb496be8 Merge pull request #4408 from zhengbli/issue4401
Move getElementsByClassName from HTMLElement to Element
2015-08-21 16:38:19 -07:00
Zhengbo Li 9e6501c1b3 Merge pull request #4405 from zhengbli/fixTsconfigWatcherIssue
Fix issue when the newly added files in tsconfig is not opened
2015-08-21 16:20:52 -07:00
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 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
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 da009b8612 use \r\n as new line in harness 2015-08-21 11:32:53 -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
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
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