Commit Graph

8156 Commits

Author SHA1 Message Date
Mohamed Hegazy
bd5d0965bb Merge pull request #4847 from Microsoft/looser-next-line-rule
Next-line rule was too strict
2015-09-29 12:01:58 -07:00
Ryan Cavanaugh
c452606cc1 Merge pull request #5007 from RyanCavanaugh/fix4514
Allow /* comments between < and JSX element name
2015-09-29 11:55:29 -07:00
Ryan Cavanaugh
784fe58e7e Merge pull request #5009 from RyanCavanaugh/fix4832
Correctly emit 'as' operator left operand as expression
2015-09-29 11:14:52 -07:00
Ryan Cavanaugh
1f1209581c Merge pull request #5008 from RyanCavanaugh/fix4574
Offer correct completion when between a boolean JSX attr and the close tag
2015-09-29 11:14:21 -07:00
Ryan Cavanaugh
e313e2e317 Move cheaper check earlier in condition 2015-09-29 11:12:34 -07:00
Vladimir Matveev
bfa390e09e Merge pull request #4989 from Microsoft/relativeModuleNamesInImports
record resolution for relative file name if file was found via absolu…
2015-09-29 10:17:43 -07:00
Ryan Cavanaugh
5daa1fcd2c Fail 2015-09-28 17:42:50 -07:00
Ryan Cavanaugh
b2797bbaab Correctly emit 'as' operator left operand as expression
Fixes #4832
2015-09-28 17:24:59 -07:00
Ryan Cavanaugh
b3d2c20ace Offer correct completion when between a boolean JSX attr and the close tag
Fixes #4574
2015-09-28 17:13:29 -07:00
Ryan Cavanaugh
f780d68499 Allow /* comments between < and JSX element name 2015-09-28 16:11:10 -07:00
Mohamed Hegazy
c55d6dc0e3 Merge branch 'Eyas-vscode-ignores'
Conflicts:
	.npmignore
2015-09-28 15:06:12 -07:00
Mohamed Hegazy
20eaa22b02 Merge branch 'vscode-ignores' of https://github.com/Eyas/TypeScript into Eyas-vscode-ignores 2015-09-28 14:10:13 -07:00
Vladimir Matveev
85a29d2c1a Merge pull request #4932 from Microsoft/formatMalformedTsx
use formatting scanner with languageVariant=JSX for .tsx files
2015-09-28 11:13:42 -07:00
Ryan Cavanaugh
83991c0b48 Merge pull request #5002 from Microsoft/weswigham-patch-1
Add .vscode to npmignore
2015-09-28 11:13:05 -07:00
Mohamed Hegazy
3ecad00e94 Update CONTRIBUTING.md
remove references to "only accepting pull requests of bug fixes"
2015-09-28 11:11:46 -07:00
Wesley Wigham
accf6ea144 Add .vscode to npmignore 2015-09-28 10:46:00 -07:00
Vladimir Matveev
b046c3a570 Merge pull request #4980 from csnover/fix-4952
Put AMD dependency list inline with define call in UMD modules
2015-09-28 10:41:23 -07:00
Daniel Rosenwasser
7d257b2a84 Merge pull request #4991 from MartyIX/patch-1
Do not auto-generate names for anonymous class expressions
2015-09-28 10:34:08 -07:00
MartyIX
08a494ecbf Update emitter.ts
Proposed fix for #4908

Can anybody confirm if I'm on a right track?
2015-09-28 07:53:15 +02:00
Vladimir Matveev
e53646a0cd harden the implementation of Program.getSourceFile to handle all relative file names correctly 2015-09-27 13:32:13 -07:00
Vladimir Matveev
dae5a626da record resolution for relative file name if file was found via absolute name 2015-09-26 21:29:07 -07:00
Daniel Rosenwasser
d9559d58ca Merge branch 'grabParamsFromInitializers' 2015-09-25 17:11:33 -07:00
Daniel Rosenwasser
2692cde712 :%s/apst/apt 2015-09-25 17:10:58 -07:00
Colin Snover
f3969048c5 Put AMD dependency list inline with define call in UMD modules
Fixes #4952.
2015-09-25 23:57:47 +00:00
Daniel Rosenwasser
6bfc28f883 Try to grab parameters for single-declaration variable statements.
We only do this for a (parenthesized) function expression, arrow function,
or class expression with a constructor.

In the presence of a class expression, if there are multiple constructor
declarations, the parameters are acquired from the first one.
2015-09-25 16:30:26 -07:00
Daniel Rosenwasser
7b7e62ce72 Modified/added tests. 2015-09-25 16:27:58 -07:00
Daniel Rosenwasser
0ab9536f73 Merge pull request #4978 from Microsoft/expandDocTemplateCoverage
Expand JSDoc template generation locations (to 'master')
2015-09-25 15:28:28 -07:00
Daniel Rosenwasser
a458d4b2f4 Amended comments. 2015-09-25 13:59:47 -07:00
Wesley Wigham
76ef9ce2f3 Merge pull request #4973 from weswigham/4699-fix
#4699 fix
2015-09-25 11:49:58 -07:00
Daniel Rosenwasser
43a6eb8171 Switched parameter name to array binding pattern. 2015-09-25 11:43:29 -07:00
Wesley Wigham
031240fd42 Yeah. 2015-09-25 11:39:42 -07:00
Wesley Wigham
ff4c20c0de Remove postinstall, make it manual, make sure jakefile is in gitignore 2015-09-25 11:26:41 -07:00
Wesley Wigham
106b32d97b Better messages. 2015-09-25 11:07:03 -07:00
Wesley Wigham
c88ba9bbe9 Run linking script only if present 2015-09-25 10:59:01 -07:00
Vladimir Matveev
b866781609 Merge pull request #4946 from Microsoft/constInitializersInEnums
align behavior of constant expressions in initializers of ambient enu…
2015-09-24 21:49:35 -07:00
Wesley Wigham
b786687af8 Merge pull request #4961 from weswigham/repo-hooks
Git post-checkout hook
2015-09-24 17:56:54 -07:00
Daniel Rosenwasser
81dabb4d51 Ensure that doc comments don't appear between dotted names.
Also updated TODO
2015-09-24 17:11:05 -07:00
Daniel Rosenwasser
08e2b0a159 Added tests for dotted namespace declarations, object literal methods. 2015-09-24 17:09:16 -07:00
Wesley Wigham
29f7c2c9c8 intentation is powerful 2015-09-24 17:07:02 -07:00
Wesley Wigham
9984ae9000 We can go simpler 2015-09-24 17:04:57 -07:00
Wesley Wigham
e747bf2b36 fix hook 2015-09-24 17:02:10 -07:00
Wesley Wigham
758e4402da Add git hooks 2015-09-24 17:00:27 -07:00
Daniel Rosenwasser
67b44b59c0 Add JSDoc to methods, constructors, classes, and namespace/module declarations. 2015-09-24 16:40:13 -07:00
Daniel Rosenwasser
7f4f461a84 Amended tests. 2015-09-24 16:30:40 -07:00
Daniel Rosenwasser
1545ab56f3 Use a loop because reduce is unreadable. 2015-09-24 16:01:47 -07:00
Anders Hejlsberg
bcea3594a3 Merge pull request #4956 from Microsoft/bindingElementContextualTyping
Fix parameter destructuring issues
2015-09-24 15:55:37 -07:00
Anders Hejlsberg
80e3b72816 Adding repro from #4818 to test 2015-09-24 15:46:00 -07:00
Daniel Rosenwasser
b2821c5321 Added tests for JSDoc comment templates on other declarations/statements. 2015-09-24 15:00:51 -07:00
Anders Hejlsberg
eb73565429 Adding tests 2015-09-24 13:52:19 -07:00
Anders Hejlsberg
1a26789615 Properly propagate contextual types into parameter destructuring elements 2015-09-24 13:35:12 -07:00