16925 Commits

Author SHA1 Message Date
Anders Hejlsberg
cca7ac2557 Use immediate constraint, not base constraint, of indexed access 2017-03-27 11:37:27 +02:00
Bill Ticehurst
9e8b3d9c3b Merge pull request #14846 from Microsoft/dev/billti/port14809ToMaster
Port 14809 to master
2017-03-24 15:16:52 -07:00
Bill Ticehurst
21c954717c Changes for Map implementation
(cherry picked from commit 8a67b6ddd43bdb33c89c1877d2755b738cb4c4c1)
2017-03-24 11:58:49 -07:00
Ryan Cavanaugh
eef0505f55 Store diabled projects as 0
(cherry picked from commit e9e7271fc3ab50654cb234c813e46fc90d70a736)
(cherry picked from commit 35e77171e98d134c64ae1000d94b1be317879a05)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh
e5313bda21 Don't add in size of disabled projects
(cherry picked from commit 2721a8c8b4fcacc551e68594964ea581b713f83c)
(cherry picked from commit 1696df6c9eca388b72b73a1e1897ab9b85080a7e)
2017-03-24 11:58:48 -07:00
Ryan Cavanaugh
390e63200a Add unit test
(cherry picked from commit ff0947996c03c07a7d2c1d8fdaf25e60dce6039c)
(cherry picked from commit c66a5359e2bdc45b0a37941f614dda40661ae2cd)
2017-03-24 11:58:47 -07:00
Ryan Cavanaugh
5b7a099aa6 Math
(cherry picked from commit 7b17f6affecd6fb5e478607bf43e4cc29edf3f45)
(cherry picked from commit 63aeacb83f2c00eef903bb6d2f39d3aa6b72254d)
2017-03-24 11:58:46 -07:00
Ryan Cavanaugh
d69a18d9d9 Store the size of the project properly
(cherry picked from commit 16c7bcfebbeb8490a86dd994167283414d9d43a0)
(cherry picked from commit 8b3c54dbfb04c084061c287a342e7e6ffa0f0612)
2017-03-24 11:58:46 -07:00
Ryan Cavanaugh
afbe63ae99 Make compatible with 2.1 maps
# Conflicts:
#	src/server/editorServices.ts
#	src/server/project.ts

(cherry picked from commit 456614f7e0d8ac0f5d420a6caf42f57cf5dda313)
(cherry picked from commit be30adc77f450a4871045c48d7d614c196fe37a5)
2017-03-24 11:58:20 -07:00
Ryan Cavanaugh
71e296042a Apply the 20 MB non-TS source limit across all projects
(cherry picked from commit cc8ce5975cbda492834d43ec1b743126a3334df4)
(cherry picked from commit de8fb9e8335d9bf34d0bbd5e61fee4df40cb5222)
2017-03-24 11:58:20 -07:00
Bill Ticehurst
25d8367aaf Suppress semantic errors in JS only configured projects
(cherry picked from commit 4ee8bdb762f870351da9be51d13dae6c9328e72f)
2017-03-24 11:58:14 -07:00
Anders Hejlsberg
a9d8df2e5a Merge pull request #14825 from Microsoft/fixDeeplyNestedCheck
Fix deeply nested type check
2017-03-23 11:42:49 -07:00
Anders Hejlsberg
f139a6c58a Accept new baselines 2017-03-23 11:24:01 -07:00
Anders Hejlsberg
5ea146334a Add regression test 2017-03-23 11:23:26 -07:00
Anders Hejlsberg
f4fc9ed61f Fix deeply nested type check 2017-03-23 11:23:13 -07:00
Mohamed Hegazy
87c291eb2f Merge pull request #14195 from HerringtonDarkholme/object-iteration
fix #14187, forIn should allow non primitive object as right hand side
2017-03-23 10:11:50 -07:00
Mohamed Hegazy
868802b223 Port updated dom files (#14805) 2017-03-23 00:41:07 -07:00
Mohamed Hegazy
aad80ad138 Merge pull request #13982 from Microsoft/optionsDescription
Simplified help, and enhanced `--init` output
2017-03-22 15:14:22 -07:00
Mohamed Hegazy
11d1409f5f Format else clauses 2017-03-22 13:01:53 -07:00
Mohamed Hegazy
ae1983bce1 Show help if --all is specifided without --help 2017-03-22 12:45:36 -07:00
Mohamed Hegazy
88b88e1055 Remove BOM 2017-03-22 12:41:11 -07:00
Mohamed Hegazy
d906e91236 Code review comments 2017-03-22 12:01:08 -07:00
Mohamed Hegazy
b2f49ccfcb Merge branch 'master' into optionsDescription 2017-03-22 11:04:35 -07:00
Mohamed Hegazy
a71879c4a9 Merge pull request #14418 from ajafff/fix-parent-type
Fix parent type of JsxAttributes
2017-03-22 10:32:43 -07:00
Klaus Meinhardt
eb8972d5ff Add parent types to class elements 2017-03-22 15:28:51 +01:00
Klaus Meinhardt
fcca27c03e Fix type of HeritageClause#types 2017-03-22 13:00:07 +01:00
Klaus Meinhardt
6e086980a4 Also fix type of NewExpression#arguments 2017-03-22 12:58:28 +01:00
Klaus Meinhardt
1511dd9c24 Fix parent type of JsxAttributes 2017-03-22 12:58:28 +01:00
Mohamed Hegazy
4a1cf5d182 Merge pull request #14777 from misoguy/issue/#14775
Replace "tsc @args.txt" to "tsc --project tsconfig.json"
2017-03-21 19:39:48 -07:00
Soo Jae Hwang
747a6fd4f5 Replace "tsc @args.txt" to "tsc --project tsconfig.json" 2017-03-22 10:38:05 +09:00
Andy
00abefbb68 Merge pull request #14771 from Microsoft/rm_old_tests
Remove unused test files
2017-03-21 13:21:12 -07:00
Andy Hanson
1b2cd3e01a Remove unused test files 2017-03-21 12:42:53 -07:00
Andy
d7c630f4df Merge pull request #14443 from Microsoft/specific_types
Use more specific types in a few cases
2017-03-21 12:26:04 -07:00
Yui
46587c8dca Merge pull request #14235 from Microsoft/master-fix14043
[Master] fix 14043 collect return type from return statement in generator function
2017-03-21 11:06:11 -07:00
Yui
f5d566e794 Merge pull request #14152 from Microsoft/master-11566
[Master] Fix 11566 : SFC returns null
2017-03-21 09:18:15 -07:00
Kanchalai Tanglertsampan
2e28c06cb6 Merge branch 'master' into master-11566 2017-03-21 09:04:21 -07:00
Kanchalai Tanglertsampan
71e52dea92 finish remove unused yieldTypes 2017-03-21 08:38:01 -07:00
Yui
990d2fa54b Merge pull request #14307 from Microsoft/master-13893
[Master] Fix 13893: Fix runtime crash when class is used before declaration
2017-03-21 08:36:59 -07:00
Kanchalai Tanglertsampan
6dc8072bb9 Merge branch 'master' into master-fix14043
# Conflicts:
#	src/compiler/checker.ts
2017-03-21 08:17:33 -07:00
Kanchalai Tanglertsampan
bb5b20b587 Address code review 2017-03-21 08:07:11 -07:00
Kanchalai Tanglertsampan
a8ffb5cad9 Address code review 2017-03-21 07:26:47 -07:00
Yui
b6dfa39ce0 Merge pull request #14252 from Microsoft/master-fix12297
[Master] Fix 12297 undefined exception in writeReferencePath
2017-03-20 21:00:34 -07:00
Kanchalai Tanglertsampan
028c41b951 Merge branch 'master' into master-13893 2017-03-20 17:22:04 -07:00
Anders Hejlsberg
363c5144bc Merge pull request #14635 from Microsoft/fixIntersectionMethodOverrides
Fix intersection method overrides
2017-03-20 16:24:05 -07:00
Andy
18f0d85bff Merge pull request #14581 from Microsoft/foreachchild
Expose `forEachChild` as a method of Node
2017-03-20 14:56:21 -07:00
Andy
d5c1b71429 Merge pull request #14710 from Microsoft/lint
Fix lint errors
2017-03-20 14:50:36 -07:00
Andy
082cf11c36 Merge pull request #14730 from Microsoft/typo
Fix typo
2017-03-20 14:50:07 -07:00
Andy Hanson
b8aa84e8bf Use more specific types in a few cases 2017-03-20 14:49:12 -07:00
Yui
de5211352a Merge pull request #14132 from Microsoft/master-fix12952
[Master] Fix 12952 : throw exception when parsing conflict marker in JSX
2017-03-20 14:32:52 -07:00
Yui
7b04f1d60b Merge pull request #14717 from Microsoft/master-onlyEmitUseStrictInExternalModule
[Master] Only emit "use strict" when users ask for or the file is external module
2017-03-20 14:32:20 -07:00