Commit Graph

6040 Commits

Author SHA1 Message Date
Zack Radisic
0265b92dda Merge branch 'jarred/process-change' of https://github.com/oven-sh/bun into jarred/process-change 2024-02-29 19:14:45 -08:00
Zack Radisic
feb61afe83 shell: Fix rm 2024-02-29 18:49:42 -08:00
Jarred Sumner
27aa8d66f0 Merge branch 'main' into jarred/process-change 2024-02-29 18:23:10 -08:00
Zack Radisic
dd6799556e fix thing 2024-02-29 16:49:34 -08:00
Zack Radisic
f50996e115 I think I understand WindowsStreamingWriter 2024-02-29 16:18:35 -08:00
Meghan Denny
e45a4019c1 windows: pass test/transpiler/transpiler-stack-overflow.test.ts (#9164)
* windows: pass test/transpiler/transpiler-stack-overflow.test.ts

* remove regression silencing comment

* needed this too

* use proper drive letter detection

* oopsie
2024-02-29 15:21:39 -08:00
Zack Radisic
3a63e77a00 zack commit 2024-02-29 12:53:49 -08:00
Zack Radisic
1fb23293ca windows shell subproc works 2024-02-29 00:37:15 -08:00
Zack Radisic
604272b8f3 shell: Use custom open()/openat() 2024-02-28 22:31:45 -08:00
Zack Radisic
33823052d8 shell: Fix IOWriter bug 2024-02-28 22:04:17 -08:00
Jarred Sumner
9f3623f08e Fixup 2024-02-28 21:35:17 -08:00
Jarred Sumner
69d9759f60 Treat null as ignore 2024-02-28 21:34:31 -08:00
Meghan Denny
bcd604edc7 windows: pass test/js/bun/resolve/resolve.test.ts (#9158) 2024-02-28 19:58:42 -08:00
Jarred Sumner
ce63926249 Support signal codes in subprocess.kill(), resolve file path 2024-02-28 19:45:52 -08:00
Cameron Haley
bfdad44460 Fix issue where process.stdin is ended too early (#9155)
* Fix issue wherein process.stdin is ended too early

* [autofix.ci] apply automated fixes

* test: Generate prisma client on 'big' schema

* Update test/js/third_party/prisma/helper.ts

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2024-02-28 19:03:08 -08:00
Jarred Sumner
dd884ce673 Fixup 2024-02-28 17:54:55 -08:00
Jarred Sumner
607facb858 Fix windows regression in Bun.main (#9156)
* Fix windows regression in Bun.main

* Handle invalid handles

* Fix flaky test

* Better launch config

* Fixup
2024-02-28 17:17:14 -08:00
Zack Radisic
435b68ecf5 basic echo hi works on windows 2024-02-28 17:07:37 -08:00
Jarred Sumner
f34de31edb Fix windows regression in Bun.main (#9156)
* Fix windows regression in Bun.main

* Handle invalid handles

* Fix flaky test

* Better launch config

* Fixup
2024-02-28 16:49:37 -08:00
Jarred Sumner
4fe0bfd797 Woops 2024-02-28 15:27:21 -08:00
Jarred Sumner
703d6fc1a1 Merge branch 'main' into jarred/process-change 2024-02-28 15:18:34 -08:00
Jarred Sumner
53378227ca [windows] Fix regression from #9154 2024-02-28 15:16:40 -08:00
dave caruso
360bbb4dea fix(windows): fix directory cache regression "expected to end with a trailing slash" (#9144)
* okaaaaaaaay

* Revert "resolver: fix debug mode crash in test/bundler/bun-build-api.test.ts (#9140)"

This reverts commit 331d079dad.

* correctly fix the cache bust bug

this was introduced a couple of commits ago in my random fixes,
where i put the wrong fix to another directory caching bug.

i still stand by the assertion in place despite it causing many people
issues. it's precense will prevent subtle module resolutions failures.

* add an extra comment

* fix building a release build locally

* add a better test case for 3216

* staging

* fix mac issues

* ok

---------

Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2024-02-28 14:51:14 -08:00
Zack Radisic
2223b4aac2 Stupid unreachable 2024-02-28 14:42:57 -08:00
Jarred Sumner
52b8f84a19 Merge branch 'main' into jarred/process-change 2024-02-28 14:23:03 -08:00
Jarred Sumner
dc6af25b54 Fix ownKeys issue (#9154) 2024-02-28 14:22:25 -08:00
Jarred Sumner
639e972962 Merge branch 'main' into jarred/process-change 2024-02-27 22:40:24 -08:00
Meghan Denny
331d079dad resolver: fix debug mode crash in test/bundler/bun-build-api.test.ts (#9140) 2024-02-27 22:22:52 -08:00
Zack Radisic
bf3dbda9a2 Fix shell windows build 2024-02-27 21:57:39 -08:00
Jarred Sumner
a0030cf158 Update stdio.zig 2024-02-27 21:57:14 -08:00
Zack Radisic
0b27f7429d Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-27 21:41:21 -08:00
Zack Radisic
11c726512e Fix forgetting to decrement reference count 2024-02-27 21:41:08 -08:00
Zack Radisic
baa6f5495a Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-27 19:56:01 -08:00
Jarred Sumner
3812335c47 closeIfPossible 2024-02-27 19:55:27 -08:00
Meghan Denny
955d1399ba tidy 2024-02-27 19:22:22 -08:00
Meghan Denny
bce7f8245f get windows compiling again 2024-02-27 19:22:22 -08:00
Jarred Sumner
7200d34c61 Merge branch 'main' into jarred/process-change 2024-02-27 18:06:07 -08:00
Jarred Sumner
dc78bb6afd clean up 2024-02-27 17:58:04 -08:00
Zack Radisic
6fd8d13ec5 Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-27 17:38:20 -08:00
Zack Radisic
f653963ef7 shell: Fix a bunch of tests 2024-02-27 17:35:09 -08:00
dave caruso
c54844b30b windows: random things (#9046)
* random things

* fix reliability of loading napi stuff

* fix posix build

* a
2024-02-27 16:30:34 -08:00
Jarred Sumner
f3c494f9c0 Merge branch 'main' into jarred/process-change 2024-02-27 16:02:33 -08:00
Jarred Sumner
021b185a95 misc cleanup 2024-02-27 15:13:27 -08:00
Dylan Conway
c9b5191fc2 fix(bun:test): fix toContainKeys with undefined and null (#9125)
* fix 9118

* update

* RELEASE_AND_RETURN

* cache and coerce

* test for toContainKey throwing in hasOwnProperty

* fix test

* [autofix.ci] apply automated fixes

* fix non-truthy and more test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-27 15:10:26 -08:00
Zack Radisic
379abb493a Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-27 14:44:32 -08:00
Zack Radisic
ee6f2c8a75 HOLY FUCK big refactor 2024-02-27 14:44:13 -08:00
dave caruso
4e2d00d052 windows: changes to install/upgrade/uninstallation process (#9025) 2024-02-27 03:11:43 -08:00
Jarred Sumner
abf3dccc0e Fix memory leaks 2024-02-26 21:58:33 -08:00
Jarred Sumner
49e1c5c615 Fix UAF
cc @cirospaciari
2024-02-26 21:56:07 -08:00
Jarred Sumner
fd6fd78f0f Fixes #9120 (#9128)
* Fixes #9120

* Update buffer.test.js

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2024-02-26 19:15:28 -08:00