Commit Graph

9028 Commits

Author SHA1 Message Date
Zack Radisic
afbc997b51 Okay now the shell compiles, but segfaults 2024-02-21 16:44:39 -08:00
Zack Radisic
b166e8a4af Holy cleansing of @panic("TODO SHELL")
at least it compiles now
2024-02-21 16:20:40 -08:00
Zack Radisic
436621ecf5 Eliminate @panic("TODO SHELL") for BufferedWriter 2024-02-21 16:11:50 -08:00
Zack Radisic
c6df32d214 Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-21 15:24:54 -08:00
Zack Radisic
2092e99d6e Slowly remove some @panic("TODO SHELL") 2024-02-21 15:24:43 -08:00
Zack Radisic
893d2f0253 Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-21 14:45:19 -08:00
Zack Radisic
3ee74c47e2 Make shell compile again 2024-02-21 14:41:22 -08:00
cirospaciari
a626bf6ea3 Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-21 14:49:52 -03:00
cirospaciari
11c62887c6 fix ref/unref server on windows 2024-02-21 14:49:44 -03:00
cirospaciari
e44fc06f7e fix some compile errors 2024-02-21 14:17:48 -03:00
Zack Radisic
dc098038cb Merge branch 'jarred/process-change' of github.com:oven-sh/bun into jarred/process-change 2024-02-20 20:28:33 -08:00
Zack Radisic
7cd9af1091 Some shell changes
at least it compiles
2024-02-20 20:28:00 -08:00
cirospaciari
65b147700d join 2024-02-20 20:25:32 -03:00
cirospaciari
5d26789a08 remove old todos 2024-02-20 20:09:18 -03:00
cirospaciari
0aeb5004df fix closing on PipeWriter and PipeReader 2024-02-20 20:07:06 -03:00
cirospaciari
e28d3791ca WIP sync close (shows ref count bug in stream) 2024-02-20 19:16:39 -03:00
cirospaciari
32c933d1e0 WIP needs to find where we need to uv_close 2024-02-20 18:40:52 -03:00
cirospaciari
b02336cc3d WIP needs to find where we need to uv_close 2024-02-20 18:40:39 -03:00
cirospaciari
5bdff11462 oopsie 2024-02-20 18:10:13 -03:00
cirospaciari
12fcb6b747 fix EOF 2024-02-20 18:07:37 -03:00
cirospaciari
dbbd10dd7e oopsie 2024-02-20 17:46:39 -03:00
cirospaciari
9ed49780a2 actually continue reading 2024-02-20 17:45:52 -03:00
cirospaciari
2b9719691c we need to pause here 2024-02-20 17:41:06 -03:00
Jarred Sumner
6a1fdafc1a Allow sockets on Linux for sendfile 2024-02-20 12:32:19 -08:00
cirospaciari
30c4ba2fff some PipeReader fixes 2024-02-20 17:14:08 -03:00
Jarred Sumner
78291af8de [child_process] Fix neglecting to drain stdout/stderr pipes
cc @jdalton @paperdave
2024-02-20 16:16:52 -08:00
cirospaciari
12892295e8 extra pipes 2024-02-20 13:21:04 -03:00
cirospaciari
5caffa890a fix merge 2024-02-20 12:14:52 -03:00
cirospaciari
259d793777 re-add iov in file so PipeReader compile 2024-02-20 12:07:38 -03:00
cirospaciari
c9dace0677 fix pipe writting 2024-02-20 12:02:04 -03:00
Georgijs Vilums
e011c70230 streaming console stdin working, file stdin WIP 2024-02-19 21:55:35 -08:00
Georgijs Vilums
d783c1aeb2 Merge branch 'jarred/process-change' of https://github.com/oven-sh/bun into jarred/process-change 2024-02-19 21:25:41 -08:00
Georgijs Vilums
091cdcf1fd implement "source" in PipeReader 2024-02-19 21:25:38 -08:00
Jarred Sumner
e71615bc20 Fixups 2024-02-20 05:31:04 +01:00
Jarred Sumner
c79153d276 Update linux_c.zig 2024-02-19 20:13:09 -08:00
Jarred Sumner
a66bb04e36 Update linux_c.zig 2024-02-19 20:12:27 -08:00
Jarred Sumner
3876d64853 Update process.zig 2024-02-19 19:41:40 -08:00
Jarred Sumner
e9c7184aa1 Update linux_c.zig 2024-02-19 19:40:59 -08:00
Jarred Sumner
b201cc3aed Use socket instead of pipe 2024-02-19 19:33:28 -08:00
Georgijs Vilums
7098a86acc Merge branch 'jarred/process-change' of https://github.com/oven-sh/bun into jarred/process-change 2024-02-19 17:02:13 -08:00
Georgijs Vilums
533be25faa factor out pipe source into separate file 2024-02-19 17:02:10 -08:00
Jarred Sumner
27bdf3a11d Merge branch 'main' into jarred/process-change 2024-02-19 16:32:25 -08:00
Meghan Denny
5712ba8b3b debug: introduce bun.callmod_inline (#9001) 2024-02-19 14:43:42 -08:00
cirospaciari
9bf9eb3108 fix my mistakes 2024-02-19 19:39:52 -03:00
cirospaciari
b2dd9aa7e3 make this actually unreachable 2024-02-19 19:02:42 -03:00
dave caruso
6f1939621c fix astro (#8999)
* fix astro

* set undefined

* [autofix.ci] apply automated fixes

* Fix astro

* Fix test

* Remove bad assertion

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2024-02-19 13:48:08 -08:00
cirospaciari
6905ef8f7e fix ipc deinit 2024-02-19 18:32:50 -03:00
cirospaciari
c974d80b00 change the default exit code to SIGTERM (143) 2024-02-19 18:32:10 -03:00
cirospaciari
edf7d58e7b use SIGTERM in process.kill 2024-02-19 18:16:49 -03:00
cirospaciari
55e621b790 fix process kill 2024-02-19 18:14:56 -03:00