Commit Graph

26475 Commits

Author SHA1 Message Date
Benjamin Lichtman
62cf44cb9b Allow per-file setting for rename default behavior preferences (#29593)
<!--
Thank you for submitting a pull request!

Here's a checklist you might find useful.
* [ ] There is an associated issue that is labeled
  'Bug' or 'help wanted' or is in the Community milestone
* [ ] Code is up-to-date with the `master` branch
* [ ] You've successfully run `jake runtests` locally
* [ ] You've signed the CLA
* [ ] There are new or updated unit tests validating the change

Refer to CONTRIBUTING.MD for more details.
  https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
-->

Fixes #29585.
#29314 and #29385 made it so their respective settings are only recognized when provided to the host as a whole.
This PR makes it so that the relevant settings for the preferences on the file override those of the preferences on the host.
2019-01-30 19:08:30 -08:00
Anders Hejlsberg
96706a75ed Merge pull request #29510 from Microsoft/constContexts
Const contexts for literal expressions
2019-01-30 15:55:47 -08:00
Anders Hejlsberg
eb513a2035 Merge pull request #29576 from Microsoft/fixContextuallyTypedParameters
Fix inference for contextually typed parameters with initializers
2019-01-30 15:51:29 -08:00
Ron Buckton
0ae73a5a9e Merge pull request #29650 from Microsoft/gulpMinParallel
Make 'gulp min' build tsc/tsserver in parallel
2019-01-30 13:49:26 -08:00
Sheetal Nandi
26e546aeaa Merge pull request #29626 from Microsoft/toLowerCase
Handle get from readFileCache correctly.
2019-01-30 13:10:40 -08:00
Sheetal Nandi
55b8e4fd29 Handle "" correctly when cacheing file text 2019-01-30 12:32:08 -08:00
Ron Buckton
1515374a2b Make 'gulp min' build tsc/tsserver in parallel 2019-01-30 11:36:30 -08:00
TypeScript Bot
e4f3b23e06 Update user baselines (#29645) 2019-01-30 08:29:27 -08:00
Ron Buckton
ae6c9cd051 Merge pull request #28489 from ajafff/shebang-comments
fix comment parsing at start of file
2019-01-29 17:45:13 -08:00
Ryan Cavanaugh
0df89cc96f Merge pull request #26941 from jack-williams/narrow-unknown-with-triple-equals
Fix #25172: Add narrowing for `unknown` with triple equals
2019-01-29 16:43:50 -08:00
Wesley Wigham
ea74ed477c Update user pr script for latest version of octokit (#29639) 2019-01-29 14:01:10 -08:00
Anders Hejlsberg
08fe06f527 Merge branch 'master' into constContexts
# Conflicts:
#	src/compiler/checker.ts
2019-01-29 12:29:30 -08:00
Anders Hejlsberg
cf7cd624ba Merge pull request #29435 from Microsoft/readonlyArrayTuple
Improved support for read-only arrays and tuples
2019-01-29 12:25:42 -08:00
Daniel Rosenwasser
d23d42263d Merge pull request #29637 from j-oliveras/patch-1
Bump version on issue template
2019-01-29 09:31:27 -08:00
TypeScript Bot
c241cea9d7 Update user baselines (#29633) 2019-01-29 09:05:34 -08:00
Jordi Oliveras Rovira
a458a7bf82 Bump version on issue template 2019-01-29 18:01:13 +01:00
Anders Hejlsberg
332468441e Fix lint error 2019-01-28 16:30:49 -08:00
Anders Hejlsberg
815f133633 Accept new baselines 2019-01-28 16:10:02 -08:00
Anders Hejlsberg
ff42c3d198 Handle readonly arrays and tuples in decorator metadata serialization 2019-01-28 16:09:55 -08:00
Anders Hejlsberg
151fac913c Merge branch 'master' into readonlyArrayTuple 2019-01-28 15:53:24 -08:00
Anders Hejlsberg
54ba2cc070 Accept new baselines 2019-01-28 15:20:41 -08:00
Anders Hejlsberg
45af34d349 Add subtype reduction complexity limit test 2019-01-28 15:20:32 -08:00
Anders Hejlsberg
d86612c6f1 Accept new baselines 2019-01-28 15:19:47 -08:00
Ron Buckton
e96310790f Merge pull request #29619 from Microsoft/simpleGulp
Simplify gulp to just use 'tsc -b' to build, update to gulp@4
2019-01-28 15:07:19 -08:00
Anders Hejlsberg
e727845029 Higher complexity limit for unions of primitives only 2019-01-28 13:58:15 -08:00
Anders Hejlsberg
ea3814676d Error on union types that are too complex to represent 2019-01-28 13:11:04 -08:00
Daniel Rosenwasser
c899c2ee00 Bump version to 3.4. 2019-01-28 12:36:24 -08:00
Sheetal Nandi
604af5c621 Handle get from readFileCache correctly.
Fixes #29623
2019-01-28 12:30:05 -08:00
Anders Hejlsberg
4335f4462c Tuples are known to be covaraint 2019-01-28 08:58:18 -08:00
Ron Buckton
47c2708a9c Simplify gulp to just use 'tsc -b' to build, update to gulp@4 2019-01-27 21:56:56 -08:00
Klaus Meinhardt
0604ae1a81 revert invalid baseline change 2019-01-27 19:35:18 +01:00
Klaus Meinhardt
33853e2258 accept baseline changes 2019-01-27 17:46:32 +01:00
Klaus Meinhardt
451ff29263 revert change of trailing comment parsing 2019-01-27 17:41:20 +01:00
Klaus Meinhardt
68133e5fad Merge branch 'master' into shebang-comments 2019-01-27 17:37:10 +01:00
Anders Hejlsberg
cd1f289129 Accept new baselines 2019-01-26 14:57:16 -08:00
Anders Hejlsberg
e290559057 Add tests for decorators and declaration emit from error free source 2019-01-26 14:57:02 -08:00
Anders Hejlsberg
4706a060a5 Merge branch 'master' into readonlyArrayTuple 2019-01-26 14:44:15 -08:00
Anders Hejlsberg
25ac1ed262 Merge branch 'master' into fixContextuallyTypedParameters
# Conflicts:
#	src/compiler/checker.ts
2019-01-25 16:43:46 -08:00
Sheetal Nandi
fa74cef81e Merge pull request #29591 from Microsoft/removeUnnecessaryDeclarations
Do not generate dts files for tsc/tsserver and such when we do not use it at all.
2019-01-25 15:51:13 -08:00
Wesley Wigham
4da9d8bc87 Include index signatures of the source in mapped type template target inferences (#29253) 2019-01-25 15:22:35 -08:00
Wesley Wigham
5f782bf58a Fixup restrictive instantiations to actually erase type parameter constraints (#29592) 2019-01-25 15:18:07 -08:00
Sheetal Nandi
e51a2fe80d Skip declaration emit for files that are just executables 2019-01-25 14:24:35 -08:00
Ron Buckton
bd8c6259b9 Merge pull request #29422 from Microsoft/fix29006
Fix crash in getTextOfPropertyName
2019-01-25 14:08:35 -08:00
Ryan Cavanaugh
ebf90871c6 Merge pull request #29584 from yacaovsnc/master
Remove extra http str in badge url
2019-01-25 13:28:14 -08:00
Ron Buckton
df709a2c61 Merge pull request #29583 from Microsoft/gulpTsserver
Add tsserver task to gulp
2019-01-25 10:59:45 -08:00
Wesley Wigham
74d41b926a Fix crash in watch-local 2019-01-25 10:55:24 -08:00
Ron Buckton
f51939326a Add tsserver task to gulp 2019-01-25 10:52:00 -08:00
Yang Cao
b3f8736316 Remove extra http str in badge url 2019-01-25 13:48:32 -05:00
Anders Hejlsberg
69d104897e Accept new baselines 2019-01-25 09:43:24 -08:00
Anders Hejlsberg
c6ccc5b6cb Address CR feedback 2019-01-25 09:43:12 -08:00