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
cirospaciari
c974d80b00
change the default exit code to SIGTERM (143)
2024-02-19 18:32:10 -03:00
cirospaciari
3c09e04aed
revert done on updateRef
2024-02-19 17:51:30 -03: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
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
cirospaciari
854fb4ec96
remove ipc waning
2024-02-19 17:25:42 -03:00
cirospaciari
b27d79a814
fix and simplify writer
2024-02-19 17:12:28 -03:00
Yannik Schröder
182d052d4b
events.on: Add compatibility with readline module (#8885 )
...
* fix: make event.on work with for...await of readline module
* fix: queueing events before next() call and multiple event vals
* test: add tests for events.on and readline for await...of
* style, docs
* [autofix.ci] apply automated fixes
* refactor: use removeListeners instead of check for done
* test: merge test files
* test: remove todo comment
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-19 11:44:09 -08:00
cirospaciari
d16b850e8d
opsie
2024-02-19 16:12:47 -03:00
cirospaciari
ef21455800
add getStream
2024-02-19 16:04:54 -03:00
cirospaciari
7db3d4c21c
IPC works
2024-02-19 15:54:30 -03:00
Jarred Sumner
42d15ea853
Fixes #8964 ( #8978 )
...
* Fixes #8964
* Fix test.each when used with test.only
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-19 10:36:08 -08:00
Jarred Sumner
7407080628
Bump
2024-02-19 10:28:05 -08:00
Jarred Sumner
7ec9ad5cb7
Add test for #7864 ( #8997 )
...
* Add test for #7864
* Add napi-rs/canvas
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-19 10:27:12 -08:00
Meghan Denny
141140ef7c
windows: pass more tests ( #8938 )
...
* windows: implement bun.isWritable
* windows: pass test/cli/run/as-node.test.ts
C:\Users\dave\AppData\Local\Temp\bun-node-a2ae984c3\node.exe is a hardlink on windows so it will not resolve to C:\bun\build\bun-debug.exe
skip the first param since that is not the behavior this test is supposed to be testing
* windows: pass test/js/node/dns/node-dns.test.js
* windows: pass test/js/node/process/process.test.js
* windows: pass test/js/web/streams/streams.test.js
* windows: pass test/js/workerd/html-rewriter.test.js
Closes #8459
* windows: fix node:util.inspect
* windows: these pass now
* windows: pass test/js/node/stream/node-stream.test.js
* disable http sendfile on windows
* use url.origin here
* more sendfile removal
* windows: pass test/js/web/websocket/websocket.test.js
* test/js/deno/performance/performance.test.ts is flaky, come back to it
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-19 10:23:31 -08:00
Jarred Sumner
6e65da6cb8
Merge branch 'main' into jarred/process-change
2024-02-19 09:11:11 -08:00
Cameron Haley
8c7972fdc8
Don't rely on stored napiRef; Always create a new one in napi_create_reference ( #8995 )
2024-02-19 09:07:15 -08:00
Jarred Sumner
f2cba2eabd
Fix warning
2024-02-18 20:57:30 -08:00
Jarred Sumner
32de6c5da9
Update process.zig
2024-02-18 20:55:09 -08:00
Jarred Sumner
72cb45b934
Update process.zig
2024-02-18 20:37:52 -08:00
Jarred Sumner
a20a68c403
Update lifecycle_script_runner.zig
2024-02-18 17:20:48 -08:00
Jarred Sumner
b0f951f306
Fix macOS test failure
2024-02-18 14:40:44 -08:00
Jarred Sumner
80e4712662
Skip sqlite math fns test on macOS
2024-02-18 12:08:17 -08:00
Jarred Sumner
4090e199a1
Make the countdown subtract
2024-02-18 11:53:00 -08:00
Jarred Sumner
30205714cb
Update lifecycle_script_runner.zig
2024-02-18 10:07:04 -08:00
3λiȯ+
3221bfeeb7
docs: Fix unclosed code block in the example for WebSocketHandler ( #8971 )
2024-02-17 18:11:22 -08:00
Dale Seo
89641f2e4a
chore: add types for date mocking api of jest ( #8387 )
2024-02-17 08:05:16 -08:00
Risu
bc74154536
docs: use consistent tsconfig for both in docs and bun init ( #8953 )
2024-02-17 08:04:03 -08:00
Jarred Sumner
77afae7466
Merge branch 'main' into jarred/process-change
2024-02-17 06:49:20 -08:00
Jarred Sumner
a6acb257c1
Fixes #8940 ( #8957 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-17 05:48:36 -08:00
Jarred Sumner
e1ff42ac2e
build
2024-02-17 02:46:25 -08:00
Jarred Sumner
c8a5fc3dcf
Merge branch 'main' into jarred/process-change
2024-02-17 02:44:16 -08:00
Risu
c34bbb2e3f
fix: organize tsconfig ( #8654 )
...
* fix: organize tsconfig
* fix: remove unnecessary comments in tsconfig
* docs: revert changes on comments and md text
* docs: fix case
bun-v1.0.27
2024-02-16 22:19:31 -08:00
Jarred Sumner
f9b12300d4
Make shell errors slightly better ( #8945 )
...
* Make shell errors slightly better
* Update shell.ts
* Fix the failing tests
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-16 20:43:42 -08:00
Jarred Sumner
abf1239976
feat: Support async generator functions in Response and Request for bodies ( #8941 )
2024-02-16 20:02:22 -08:00
Georgijs Vilums
8d5e528aa8
Merge branch 'jarred/process-change' of https://github.com/oven-sh/bun into jarred/process-change
2024-02-16 19:08:06 -08:00
Georgijs Vilums
5b450452a9
partially fix PipeWriter on windows (WIP)
2024-02-16 19:08:03 -08:00
argosphil
e2c92c69b5
fix: make sure Bun.sleep(Date) doesn't resolve prematurely ( #8950 )
...
* fix: make sure Bun.sleep(Date) doesn't return prematurely
Fixes #8834 .
This makes Bun.sleep(new Date(x)) fulfill its promise only when
Date.now() >= x.
* resolve test now #8834 is fixed
11 ms is in fact the right limit.
---------
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
2024-02-16 18:32:37 -08:00
Tony Zhang
135de4dff7
fix(sqlite): enable math functions ( #8944 )
...
* fix(sqlite): enable math functions
* fix(sqlite): enable math function flag in CMakeLists
* test: add math function tests
---------
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
2024-02-16 18:24:55 -08:00