6883 Commits

Author SHA1 Message Date
Mohamed Hegazy
ec70105c9d Add check for reactNamespace value 2016-01-07 15:00:50 -08:00
Mohamed Hegazy
9b92697a61 Add new helper to check for valid identifiers 2016-01-07 14:56:05 -08:00
Mohamed Hegazy
cc1947b94f Rename jsxNamespace to reactNamespace 2016-01-07 13:59:25 -08:00
Mohamed Hegazy
c0b28a3a40 Merge branch 'react-factory-option' of https://github.com/rwyborn/TypeScript into rwyborn-react-factory-option
Conflicts:
	src/compiler/checker.ts
2016-01-07 13:50:03 -08:00
Kagami Sascha Rosylight
4ef8e0bb73 remove unneeded comment 2016-01-08 02:25:29 +09:00
Kagami Sascha Rosylight
5cafd962e9 thinner arrows 2016-01-08 02:24:32 +09:00
Kagami Sascha Rosylight
5144603b3b const everywhere 2016-01-08 02:16:14 +09:00
Kagami Sascha Rosylight
f0a4d6fd0b enclose entryName 2016-01-08 02:00:20 +09:00
Kagami Sascha Rosylight
4f2f00f63f resolve conflicts 2016-01-08 01:49:11 +09:00
Kagami Sascha Rosylight
3672fb5476 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into maintainShims 2016-01-08 01:37:22 +09:00
Vladimir Matveev
36af815bba add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail 2016-01-06 12:37:52 -08:00
Zhengbo Li
b168da9248 Merge pull request #6300 from zhengbli/syncTsjs20151230
Update dom.generated.d.ts with latest version in TSJS repo
2016-01-06 00:41:09 -08:00
Vladimir Matveev
ba0f7f52ab Merge pull request #6362 from Microsoft/Revert6098
Revert "Merge pull request #6098 from guybedford/master"
2016-01-05 10:56:24 -08:00
Vladimir Matveev
dbe8489087 Revert "Merge pull request #6098 from guybedford/master"
This reverts commit 996f16940e3d10a3fe0fb018defa78ce869021ee, reversing
changes made to 51fd41b0c7b0f38335f8a2de6f5cd66b278c5a9c.
2016-01-05 10:40:24 -08:00
Ryan Cavanaugh
aed73bd139 Merge pull request #6291 from RyanCavanaugh/fix6280
Issue correct errors for missing JSX closing tags
2016-01-05 10:23:49 -08:00
Daniel Rosenwasser
7d292c41d6 Use string literals for '[Symbol.toStringTag]' properties. 2016-01-05 11:23:45 -05:00
Daniel Rosenwasser
a4dc0f37da Added '[Symbol.toStringTag]' properties to type arrays. 2016-01-05 11:20:44 -05:00
Daniel Rosenwasser
347359c18e Added '[Symbol.toStringTag]' property to 'GeneratorFunction'. 2016-01-05 11:08:52 -05:00
Daniel Rosenwasser
5ab5cfd2fd Contextually type the RHS of logical 'and' and comma expressions. 2016-01-04 22:54:37 -05:00
Daniel Rosenwasser
2cb7ab9692 Merge pull request #6232 from Microsoft/contextuallyTypeJsxStringLiteralAttributes
Contextually type JSX string literal attributes
2016-01-04 14:50:09 -05:00
Mohamed Hegazy
996f16940e Merge pull request #6098 from guybedford/master
Naive implementation for #6097
2016-01-04 09:38:27 -08:00
Nathan Shively-Sanders
b01de71d52 Fix lint in services/patternMatcher.ts 2016-01-04 09:04:53 -08:00
Nathan Shively-Sanders
ec4c6fea2d Merge branch 'master' into lint-nested-++ 2016-01-04 08:56:05 -08:00
Ryan Cavanaugh
0debd2b6cd Merge pull request #6290 from RyanCavanaugh/fix5865
Tag 'react' import as used if it exists when targeting --jsx preserve
2016-01-04 07:47:01 -08:00
Ryan Cavanaugh
6be0206242 Merge pull request #6287 from RyanCavanaugh/fix6241
Escape quotes when they appear as HTML entities in JSX text
2016-01-01 09:31:13 -08:00
Zhengbo Li
55ae18b824 update dom.generated.d.ts with latest version in TSJS repo 2015-12-30 14:23:47 -08:00
Daniel Rosenwasser
3765349812 Merge pull request #6279 from Microsoft/lintMoreServices
Lint more services code
2015-12-30 01:48:43 -05:00
Daniel Rosenwasser
99b771c016 Merge pull request #4398 from SaschaNaz/formatTsxAttr
Fixing JSX/TSX closing tag/attribute/expression formatting
2015-12-30 01:25:21 -05:00
Ryan Cavanaugh
2c4856ae71 Issue correct errors for missing JSX closing tags
Fixes #6280
2015-12-29 16:00:15 -08:00
Ryan Cavanaugh
80a16de570 Tag the 'react' import as used even under --jsx preserve
Fixes #5865
2015-12-29 14:43:57 -08:00
Ryan Cavanaugh
3288f5bb6d Make linter happy 2015-12-29 13:16:00 -08:00
Ryan Cavanaugh
e12855bca0 Escape quotes when they appear as HTML entities in JSX text
Fixes #6241
2015-12-29 12:39:27 -08:00
Daniel Rosenwasser
2032c6d18a Lint 'patternMatcher.ts'. 2015-12-28 17:21:03 -05:00
Daniel Rosenwasser
51933a231f Flattened 'ts.OutliningElementsCollector' to a single declaration. 2015-12-28 17:00:36 -05:00
Daniel Rosenwasser
f9eb330b19 Lint 'navigateTo.ts'. 2015-12-28 16:58:27 -05:00
Daniel Rosenwasser
9b9abf8674 Lint 'outliningElementsCollector.ts'. 2015-12-28 16:50:58 -05:00
Kagami Sascha Rosylight
6373cfff64 lets and template strings 2015-12-24 17:21:03 +09:00
Kagami Sascha Rosylight
64958669e1 remove "this should be removed ..." codes 2015-12-24 17:18:10 +09:00
Daniel Rosenwasser
a0ef319f5d Simplified JSX contextual typing code and added support for contextually typing string literal attribute initializers. 2015-12-23 17:10:16 -08:00
Nathan Shively-Sanders
34ddaef44c Remove new lint from services.ts 2015-12-22 16:14:55 -08:00
Nathan Shively-Sanders
abf9961528 Merge branch 'master' into lint-nested-++ 2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders
401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
vladima
39605fe5f8 report pre-emit diagnostics that blocked emit 2015-12-21 21:43:51 -08:00
Daniel Rosenwasser
3969b89b23 Fixups for #6163. 2015-12-21 13:40:59 -08:00
Daniel Rosenwasser
ee50adbc85 Merge pull request #6129 from pimterry/decorator-overload-msg
Improve decorator on overload error message
2015-12-21 13:30:46 -08:00
Daniel Rosenwasser
adf5290587 Merge pull request #6163 from DanCorder/5810
Fix issue #5810 doubled comment on functions in array literals
2015-12-21 13:29:03 -08:00
Daniel Rosenwasser
93a459b405 Merge pull request #6164 from Microsoft/fileList
'filelist' -> 'fileList' and use 'const' for import
2015-12-19 17:53:52 -08:00
Anders Hejlsberg
66a0f1d2ea Merge pull request #6111 from Microsoft/simplifyAbstractCheck
Simplify abstract constructor type assignability checking
2015-12-18 19:09:10 -08:00
Daniel Rosenwasser
9badf0c026 filelist -> fileList 2015-12-18 14:48:35 -08:00
Dan Corder
aba197cd4b Fix issue #5810 doubled comment on functions in array literals 2015-12-18 22:35:08 +00:00