Commit Graph

32750 Commits

Author SHA1 Message Date
Sheetal Nandi e6068f405b Make applyChangesToOpenFiles efficient to handle batch file opens, close and changes before updating projects
Fixes #29667
2019-02-26 11:54:29 -08:00
Sheetal Nandi 2258bb2fb7 Add request applyChangesToOpenFiles 2019-02-26 10:21:01 -08:00
Sheetal Nandi 6fd7011870 Add test that batches all the open files to update program only once 2019-02-26 10:21:01 -08:00
Gabriela Araujo Britto 970ec62364 remove unused LeadingTriviaOption and TrailingTriviaOption options 2019-02-26 10:02:57 -08:00
Gabriela Araujo Britto bf5123de6a don't export useNonAjustedPositions 2019-02-26 09:49:10 -08:00
Gabriela Araujo Britto e3a465ffa3 change startPosition and endPosition to leadingTriviaOption and trailingTriviaOption 2019-02-26 09:43:35 -08:00
Sheetal Nandi 4db4c58924 Merge pull request #30095 from Microsoft/nodeExecFileSync
Do not wrap npm path with quotes
2019-02-26 09:10:22 -08:00
Sheetal Nandi 1ed5e1c63b Do not wrap npm path with quotes
Fixes #30086
2019-02-25 19:50:53 -08:00
王文璐 4d7ec380a9 check completions with assignable rather than identity 2019-02-26 10:54:01 +08:00
Wesley Wigham c5061486a9 Retain substitution types through instantiation if possible (#30059) 2019-02-25 17:10:03 -08:00
Wesley Wigham 0e858a6e16 Include misc script outputs in local build (#30092)
* Include other misc script outputs in local build

* Remove comment
2019-02-25 16:33:20 -08:00
Wesley Wigham c2f1998387 Fix baseline accept when there are multiple .delete files (#30091) 2019-02-25 16:18:03 -08:00
Ron Buckton 510bef6856 Remove NewTargetInComputedPropertyName hierachy fact 2019-02-25 14:58:57 -08:00
Gabriela Araujo Britto a5153a94ab add tests 2019-02-25 14:14:28 -08:00
Ron Buckton ad4cef01a3 Removes 'TypeScript' transform flag 2019-02-25 13:26:44 -08:00
Daniel Rosenwasser 9787021540 Merge pull request #30078 from Microsoft/updateNpmIgnore
Fix `.npmignore` by adding the `.git` file and the `.failed-tests` file.
2019-02-25 13:21:53 -08:00
Gabriela Araujo Britto 365967d484 Merge branch 'master' into convert-to-named-parameters 2019-02-25 10:54:58 -08:00
Gabriela Araujo Britto f571866f47 add new tests for bad class references 2019-02-25 10:32:56 -08:00
Gabriela Araujo Britto bc3611d1dd update failing tests 2019-02-25 10:32:28 -08:00
Titian Cernicova-Dragomir 8d66d55de1 Improved argument description for parameters originating from tuples that were extracted from functions. (ie mapped functions) 2019-02-25 18:18:00 +02:00
Daniel Rosenwasser c37254e509 Merge pull request #30062 from jwunderl/quick-fix-any-annotation
Remove any annotation from declare method quickfix
2019-02-24 23:18:06 -08:00
Daniel Rosenwasser 7a391fe613 Fix .npmignore by adding the .git file (as opposed to just a directory, which is not the case for git worktrees) and the .failed-tests file. 2019-02-24 23:05:48 -08:00
Sheetal Nandi 8b0611565b For now disable the new build 2019-02-22 18:19:24 -08:00
Sheetal Nandi 9fa28158bb Enable building typescript.d.ts with current source 2019-02-22 18:11:27 -08:00
Joseph Wunderlich d87e67df58 clarify intent in returnType creation 2019-02-22 18:00:21 -08:00
Joseph Wunderlich 21ab39649c remove any annotation from declare method quickfix 2019-02-22 17:24:21 -08:00
Gabriela Araujo Britto 640424e42c fix comment 2019-02-22 16:32:12 -08:00
Gabriela Araujo Britto ce42aa43a8 check usages of class if refactoring a constructor 2019-02-22 16:31:40 -08:00
Sheetal Nandi 9730cfa845 Dont emit sourceMapUrl from prepend text into the --out file 2019-02-22 14:39:47 -08:00
Sheetal Nandi e1b18ab5fb Merge branch 'master' into incrementalBuildInfo 2019-02-22 14:19:53 -08:00
Sheetal Nandi 415a5db166 Add test when declarationMap and sourcemap are disabled in the referenced project 2019-02-22 14:07:13 -08:00
Sheetal Nandi ab66b1e293 Fix the blank lines for internal enum members with --stripInternal 2019-02-22 13:51:13 -08:00
Sheetal Nandi 2b10b68d1c Test that shows stripInternal of enum member prints multiple blank lines for the enum members 2019-02-22 13:28:24 -08:00
Wesley Wigham a41a27694a Fix baseline-accept-rwc (#30052) 2019-02-22 13:12:11 -08:00
Sheetal Nandi a63d69de7a Fix incorrect emit when internal method is inside internal interface 2019-02-22 13:03:46 -08:00
Sheetal Nandi 23cd45bdef Test when internal and text region dont mix well together 2019-02-22 12:49:45 -08:00
Sheetal Nandi 22804c10ca Allow away to only test baselines excluding all other file read checks that are not going to change per scenario 2019-02-22 12:24:59 -08:00
Sheetal Nandi 4dc8ac7500 Fix the crash found while compiling src/compiler 2019-02-22 10:53:31 -08:00
TypeScript Bot 999eb0b9ed Update user baselines (#30046) 2019-02-22 08:56:15 -08:00
Sheetal Nandi 494bd92f1b Report error if overwriting buildInfo of another project reference 2019-02-21 19:34:20 -08:00
Wesley Wigham fb0dcd4987 Have runtests always throw on failure, make rm stream signal end of read queue (#30035) 2019-02-21 18:17:53 -08:00
Sheetal Nandi 89c4c4f684 Update the message to not just mean javascript since we might need to regenerate .d.ts as well 2019-02-21 17:52:15 -08:00
Sheetal Nandi 1e24cd19a8 Allow empty own source files 2019-02-21 17:36:20 -08:00
Sheetal Nandi 29862cecdf Refactoring for outFile tests 2019-02-21 15:18:01 -08:00
Wenlu Wang 592396d40a expose token flags and numeric flags (#29897)
* expose token flags and numeric flags

* hide hide useless token flags
2019-02-21 15:09:37 -08:00
Daniel Rosenwasser ae836eb854 Merge pull request #30028 from Microsoft/betterOverloadErrors
Better overload incompatibility errors
2019-02-21 13:53:31 -08:00
Sheetal Nandi bc4186cee5 Update the programBuildInfo to be platform and change independent so we can baseline it safely 2019-02-21 13:52:21 -08:00
Sheetal Nandi 7d464b81d4 Redirect getProgramBuildInfo onto builder so that we can test it for baselines more easily 2019-02-21 13:21:52 -08:00
Sheetal Nandi ad72aef4b1 Correctly set sourceFileInfo for bundle when generating output without creating program 2019-02-21 12:54:00 -08:00
Sheetal Nandi e9fb843e56 Add test to verify incremental build is same as if its built clean 2019-02-21 12:46:04 -08:00