471 Commits

Author SHA1 Message Date
Sheetal Nandi
53704227d0 Add test for multi level prepend 2019-02-20 10:41:24 -08:00
Sheetal Nandi
aa773e0705 Tests for strip internal 2019-02-20 10:41:21 -08:00
Sheetal Nandi
a881391dc9 Merge branch 'master' into incrementalBuildInfo 2019-02-20 10:37:44 -08:00
Wesley Wigham
ee17915801
Fix build breaks (#29977)
* Some callbacks in watchUtilities werent being strictly checked due to the structural fallback

* Add direct dependeny on ms since mocha removed its impl

* Manually init stats collection on base runner like mocha.run now does
2019-02-19 14:30:58 -08:00
Sheetal Nandi
b2b360a64f
Merge pull request #29816 from Microsoft/ti
Use execFileSync in typing installer
2019-02-15 10:47:04 -08:00
Sheetal Nandi
b958f1c8b5 Merge branch 'master' into incrementalBuildInfo 2019-02-14 12:19:10 -08:00
Sheetal Nandi
499bc70056 Make printer option to be writing bunfle file info and use the result instead 2019-02-11 13:47:24 -08:00
Ryan Cavanaugh
02a5ef6a17 Add setInterval/setTimeout 2019-02-11 11:26:19 -08:00
Nathan Shively-Sanders
17d16d1bbb
Disable checkJS survey (#29830)
* Disable checkJS survey

* Completely remove survey infrastructure

* Re-instate the protocol part of SurveyReady
2019-02-11 08:36:35 -08:00
Sheetal Nandi
1d77008993 Handle when no .tsbuildinfo is to be generated 2019-02-07 16:27:45 -08:00
Sheetal Nandi
99df3230aa Merge branch 'master' into incrementalBuildInfo 2019-02-07 15:05:58 -08:00
Sheetal Nandi
adcb79a111 Emit bundle information into bundle field of buildinfo and only if bundled emit 2019-02-07 14:32:52 -08:00
Sheetal Nandi
bc386c11fd Use execFileSync in typing installer 2019-02-07 14:20:20 -08:00
Kagami Sascha Rosylight
13c72b786e Merge remote-tracking branch 'upstream/master' into es2019 2019-02-08 06:55:56 +09:00
Ron Buckton
b9ca653cf6 Merge branch 'async-es2018' of https://github.com/saschanaz/TypeScript into saschanaz-async-es2018 2019-02-07 13:27:25 -08:00
Sheetal Nandi
23b5b14565 Fix incremental build changes declaration dir 2019-02-07 12:10:15 -08:00
Sheetal Nandi
e3f8c34bc9 Add mechanism to dump and read program to build info 2019-02-07 12:10:15 -08:00
Sheetal Nandi
212cd62f05 Generate buildInfo for non --out and prepend options as well 2019-02-07 12:10:14 -08:00
Sheetal Nandi
9794080ee7 Merge branch 'master' into usePrependToSkipBuild 2019-02-07 12:09:36 -08:00
Ron Buckton
a94c383b71
Merge pull request #27292 from kpreisser/fix26090
Align the ShimMap iterator behavior with native Maps
2019-02-07 11:17:22 -08:00
Sheetal Nandi
ada1c3ffd9 Fix missing comma 2019-02-07 11:11:14 -08:00
Sheetal Nandi
ab7d65e01f Merge branch 'master' into usePrependToSkipBuild 2019-02-07 10:39:41 -08:00
Sheetal Nandi
3a28fb0786 Add another test to generate baseline when sample's logic config file changes declaration dir 2019-02-07 10:29:56 -08:00
Kagami Sascha Rosylight
b3c179540a String.prototype.{trimStart,trimEnd} hit stage 4 2019-02-08 00:51:23 +09:00
Kagami Sascha Rosylight
f525a89e87 Array.prototype.{flat,flatMap} hit stage 4 2019-02-08 00:10:34 +09:00
Kagami Sascha Rosylight
40a4bd0a95 revive esnext.symbol 2019-02-07 10:45:44 +09:00
Kagami Sascha Rosylight
a8823f5169
Merge branch 'master' into es2019 2019-02-07 10:08:26 +09:00
Kagami Sascha Rosylight
5a6dc081f6 revive esnext.asynciterable 2019-02-07 10:01:36 +09:00
Kagami Sascha Rosylight
2c4589d5a9 Merge remote-tracking branch 'upstream/master' into async-es2018 2019-02-07 09:51:26 +09:00
Sheetal Nandi
ee9d3439a1 Generate baselines for sample 2019-02-06 15:22:55 -08:00
Sheetal Nandi
057163142b Generate baseline of .tsbuildinfo sections 2019-02-06 15:20:48 -08:00
Nathan Shively-Sanders
33af4ea250
assertNever no longer crashes on string input (#29764) 2019-02-06 08:57:24 -08:00
Sheetal Nandi
e6b74ef7f1 Factor out baseline generation into tsbuild helper so that sample can generate baselines as well 2019-02-05 15:13:13 -08:00
Sheetal Nandi
a0a4e6b0c2 Update test baselines 2019-02-04 15:02:35 -08:00
Sheetal Nandi
a64e5ad3f3 Even though .d.ts doesnt change, the map file most likely changes, so emit that 2019-02-04 15:02:06 -08:00
Sheetal Nandi
aa5d62a72c Perform only emit on js file if no decl file change 2019-02-04 15:01:54 -08:00
Sheetal Nandi
66dab21565 More refactoring 2019-02-01 10:46:37 -08:00
kpreisser
c4960d3c11 Adjust the unit test to spot a missed bug in the delete() implementation. 2019-02-01 11:59:26 +01:00
kpreisser
b502ae98e1 Add a unit test for the shimMap (currently failing).
This will test that iteration is in insertion order, new entries added during iteration will be visited by the iterator, and values can be deleted while an iterator is running.
2019-02-01 11:59:22 +01:00
Sheetal Nandi
03fa5bd90f Merge branch 'master' into usePrependToSkipBuild 2019-01-31 22:05:51 -08:00
Sheetal Nandi
79b5992247 Verify header updates 2019-01-31 22:01:54 -08:00
Sheetal Nandi
10f01318a3 Dont do base build again for each incremental scenario 2019-01-31 21:24:46 -08:00
Sheetal Nandi
b7defb3cac Some more reorg in test 2019-01-31 20:06:52 -08:00
Sheetal Nandi
3cf46f16bf Dont diff with only sources in incremental compilation, diff with the base build 2019-01-31 19:43:30 -08:00
Sheetal Nandi
4205eaf021 Baseline incremental build baselines 2019-01-31 19:30:15 -08:00
Sheetal Nandi
db3a4fe25d Separate out the tests for tsbuild into its own folder 2019-01-31 15:36:34 -08:00
Sheetal Nandi
39e37a2c57 Generate .tsbuildInfo if bundle uses references with prepend 2019-01-31 10:24:13 -08:00
Sheetal Nandi
bd769406ca If the project only needs prepend output to be changed, prepare to just manipulate output
Step 1: Update the verbose log to reflect it
2019-01-31 10:24:12 -08:00
Ryan Cavanaugh
2f7627b363
Merge pull request #28190 from ispedals/bug/24709
Support synthesized SourceFile parent in getOrCreateEmitNode (#24709)
2019-01-30 19:12:11 -08:00
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