Commit Graph

26317 Commits

Author SHA1 Message Date
Vladimir Matveev bc3025b391 make 'require is defined' a precondition for Node-based sys 2015-08-14 20:53:38 -07:00
zhengbli 20902b00e8 Remove the extension.d.ts and move the content to core.d.ts
Change the set function parameter type in TypedArrays
2015-08-14 16:27:48 -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
zhengbli 7e1201eed2 Further fixes 2015-08-14 14:17:55 -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
zhengbli 43f7d8ca89 Fix File constructor 2015-08-14 10:50:18 -07:00
zhengbli cdbf2b4771 Fix document.open return type 2015-08-14 00:28:40 -07:00
zhengbli 1c434ecdf2 Added missing dictionaries also 2015-08-14 00:07:03 -07:00
zhengbli e4dd7e0e48 Add missing types in webworker.generated.ts 2015-08-13 23:56:02 -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 e34238cb92 Merge pull request #4305 from ToddThomson/SpaceWithinNonEmptyBrackets
Add Spacing for Nonempty Brackets Formatting Option
2015-08-13 15:00:13 -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
ToddThomson 0415cc7f68 Addresses PR comments
Removed all spaces from nonempty parenthesis in code for this PR.
Modified the input string for testing the
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets option in the
fourslash test.
2015-08-13 14:06:56 -07:00
zhengbli 37c0acf4c2 CR feedback 2015-08-13 13:48:25 -07:00
Vladimir Matveev 5a48508ffa adjust check for node env to handle webpack\browserify 2015-08-13 13:14:38 -07:00
zhengbli 6315f7302b Make parameter littleEndian in DataView methods optional 2015-08-13 13:11:25 -07:00
zhengbli 82dc484ccb Fix ImageData constructor 2015-08-13 12:59:19 -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
ToddThomson 9146d9bc2f Add Spacing for Nonempty Brackets Formatting Option
User formatting option to add single space after opening and before
closing nonempty brackets.
2015-08-13 11:56:35 -07:00
SaschaNaz f832bd20f2 fix class expression + expressionWithTypeArgument 2015-08-14 03:45:52 +09:00
zhengbli 9dac516b26 CR feedback 2015-08-13 11:06:36 -07:00
Yui T 7950cc7ca3 Merge branch 'master' into omitComments
Conflicts:
	src/compiler/emitter.ts
	src/compiler/scanner.ts
2015-08-13 11:01:20 -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
Vladimir Matveev 405db829a0 mismatch order of arguments 2015-08-12 13:55:41 -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
zhengbli 03ea38f31f Fix bugs and add support for @param expressions 2015-08-11 23:20:03 -07:00
zhengbli 5e9186b9ed Enable intellisense in jsDoc tag @type brackets 2015-08-11 21:40:37 -07:00
zhengbli 0b6aeeca9d Add JsDoc intellisense for JavaScript files 2015-08-11 20:18:05 -07:00
Adi Dahiya fcc43a6730 Make createScanner external (fixes #4057) 2015-08-11 21:44:56 -04:00
Vladimir Matveev 7c8da42230 Merge pull request #4279 from Microsoft/highlightRefsInOneDocument
keep only document highlights from the original file
2015-08-11 18:01:59 -07:00
Daniel Rosenwasser 9717427130 Merge pull request #4276 from SaschaNaz/typeAssertionFormattingFix
Fix generics/type-assertion formatting
2015-08-11 12:22:08 -07:00
Vladimir Matveev ce44d95115 keep only document highlights from the original file 2015-08-11 12:04:55 -07:00
Ryan Cavanaugh 5035559c59 Merge pull request #4228 from RyanCavanaugh/jsxHash
Fix case where # occurs after > in JSX expression
2015-08-11 11:56:19 -07:00
Ryan Cavanaugh dd446d80ad Fix comment 2015-08-11 11:05:37 -07:00
SaschaNaz dfcc1e6944 fix generics/type-assertion formatting 2015-08-11 23:47:44 +09:00
Yui T 86b104133f Fix comments 2015-08-10 17:34:39 -07:00
Vladimir Matveev 586abacec4 Merge pull request #4179 from Microsoft/exportDeclarationsInSystem
emit export declarations for system modules as a part of 'execute' me…
2015-08-10 13:59:45 -07:00
Vladimir Matveev 7ecaea3926 addressed PR feedback 2015-08-10 13:51:54 -07:00
Mohamed Hegazy bfa624c0c7 Merge pull request #4133 from Microsoft/addNewLineHelper
Add a helper for getting Newlines
2015-08-10 13:21:23 -07:00
zhengbli b3f0a2a2e4 Merge branch 'master' into JSDocCommentScaffolding 2015-08-10 12:55:45 -07:00
Zhengbo Li 74dc5a27b5 Merge pull request #3858 from zhengbli/fixWorkerType
Update ErrorEventHandler type in worker
2015-08-10 12:24:46 -07:00
Zhengbo Li a3ef530139 Merge pull request #3918 from zhengbli/issue3884
Change the type of window.orientation to number
2015-08-10 12:24:40 -07:00
Mohamed Hegazy 7f49375f3e Fix #3912: emit declaration for binding elements correctelly 2015-08-10 10:50:08 -07:00
zhengbli fceba238dd Merge branch 'master' of https://github.com/Microsoft/TypeScript into errorlist
Conflicts:
	src/server/session.ts
2015-08-10 09:40:12 -07:00