Jarred Sumner
3ea6133c46
CI: Remove unused top-level decls in formatter in zig ( #19879 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-23 22:49:48 -07:00
Dylan Conway
8e80afbce1
Replace string runtime flags with enum ( #19827 )
2025-05-22 22:36:46 -07:00
chloe caruso
3349c995b5
no usingnamespace, organize jsc namespace, enable -fincremental ( #19122 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-04-22 16:34:15 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
chloe caruso
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -07:00
Jarred Sumner
93855bd88c
Fix setImmediate slowness ( #18889 )
2025-04-09 20:03:26 -07:00
Don Isaac
1d6bdf745b
fix(cli/test): improve filtering DX ( #18847 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-04-09 16:41:32 -07:00
Don Isaac
dff1f555b4
test: get zig build test working ( #18207 )
...
### What does this PR do?
Lets us write and run unit tests directly in Zig.
Running Zig unit tests in CI is blocked by https://github.com/ziglang/zig/issues/23281 . We can un-comment relevant code once this is fixed.
#### Workflow
> I'll finish writing this up later, but some initial points are below.
> Tl;Dr: `bun build:test`
Test binaries can be made for any kind of build. They are called `<bun>-test` and live next to their corresponding `bun` bin. For example, debug tests compile to `build/debug/bun-debug-test`.
Test binaries re-use most cmake/zig build steps from normal bun binaries, so building one after a normal bun build is pretty fast.
### How did you verify your code works?
I tested that my tests run tests.
2025-04-08 15:31:53 -07:00
190n
eee5d4fb4a
node:worker_threads low-hanging fruit ( #18758 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-04-08 05:29:53 -07:00
Jarred Sumner
a1e1f720ed
Bump WebKit ( #18784 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-04-04 21:14:36 -07:00
Jarred Sumner
4806e84cc1
Revert "remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )"
...
This reverts commit a199b85f2b . It does not compile on Windows.
2025-04-01 08:35:51 -07:00
chloe caruso
a199b85f2b
remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )
2025-03-31 17:17:38 -07:00
Jarred Sumner
f3da1b80bc
Use macOS signpost api for tracing ( #14871 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Don Isaac <donald.isaac@gmail.com >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-03-31 04:13:11 -07:00
Dylan Conway
ddfc8555f7
crypto: fix test-crypto-random.js ( #18044 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-03-11 18:21:20 -07:00
Don Isaac
6e140b4b13
feat(test): add test.failing ( #17864 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-03 14:45:34 -08:00
chloe caruso
2b97d61deb
chore: remove some trivial usage of usingnamespace ( #17268 )
2025-02-11 19:38:52 -08:00
Meghan Denny
26d3688e53
zig: update to 0.14.0-dev ( #16862 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-02-01 01:11:02 -08:00
Meghan Denny
676e8d1632
zig: delete is_bindgen ( #16858 )
2025-01-28 23:51:24 -08:00
chloe caruso
834ad11d48
get node:fs tests passing part 1 ( #16270 )
2025-01-14 20:53:02 -08:00
Jarred Sumner
d6b9c444c1
Rename src/bundler.zig to src/transpiler.zig ( #15921 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-12-21 00:59:37 -08:00
Jarred Sumner
20f9cf0047
Fix flaky signal handlers on posix ( #15751 )
2024-12-13 20:13:56 -08:00
pfg
bcf023c829
Implement expect().toMatchInlineSnapshot() ( #15570 )
2024-12-05 13:07:10 -08:00
Alistair Smith
4117af6e46
feat(vscode-extension) error reporting, qol ( #15261 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: Electroid <Electroid@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-11-22 02:55:21 -08:00
Jarred Sumner
d01bfb5aa2
Ensure test with errors before JS execution exit with code 1 ( #15321 )
2024-11-22 01:33:58 -08:00
Jarred Sumner
3ef35d746a
Implement junit test reporter ( #15205 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-11-18 20:50:42 -08:00
Dylan Conway
62881ee36b
Redact secrets in bunfig.toml and npmrc logs ( #14919 )
2024-10-31 18:44:24 -07:00
Dylan Conway
5fd0a61ae2
CA support for bun install ( #14416 )
2024-10-11 13:16:26 -07:00
Jarred Sumner
b88ed18245
On test timeout, kill any spawned processes ( #14310 )
2024-10-02 20:55:59 -07:00
Meghan Denny
25083a4252
pm: print command name to stdout ( #14266 )
2024-10-02 02:24:37 -07:00
dave caruso
c2c2048072
framework api: init / work in progress ( #13215 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-12 16:44:03 -07:00
Jarred Sumner
781998cf00
You shouldn't need --only to only run test.only tests ( #13465 )
2024-08-23 00:06:57 -07:00
Meghan Denny
fd75ca7585
implement node:cluster ( #11492 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: cirospaciari <ciro.spaciari@gmail.com >
2024-08-18 00:12:42 -07:00
Jarred Sumner
b5c91a4b7e
Upgrade WebKit ( #12873 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-08-02 04:58:31 -07:00
Jarred Sumner
59c5c0fe48
Fix memory leak when requiring or importing modules that get GC'd later ( #12997 )
2024-08-01 12:05:37 -07:00
Dylan Conway
d7187592c0
fix(brotli): protect and unprotect buffer values ( #12829 )
2024-07-25 18:24:01 -07:00
Dariush Alipour
732ed2b7df
Fix: test coverage node_modules exclusion in Windows ( #12691 )
2024-07-22 13:25:42 -07:00
Jarred Sumner
226f42e04a
Rewrite js_ast.NewBaseStore ( #12388 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-07-10 21:57:40 -07:00
Dylan Conway
25f7ef7338
Revert "Nest test results under describe scopes ( #12189 )"
...
This reverts commit 6a43f7f52d .
2024-07-10 21:05:47 -07:00
Jake Boone
6a43f7f52d
Nest test results under describe scopes ( #12189 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-07-03 20:46:55 -07:00
Jarred Sumner
b0018465cc
WebKit upgrade ( #12246 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-01 23:27:59 -07:00
Dylan Conway
c1a5b4acc5
fix napi.test.ts ( #12241 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-28 18:38:37 -07:00
Jarred Sumner
1a8ec98fd0
Rename code coverage reporter for console -> text ( #12054 )
2024-06-22 14:46:40 -07:00
TATSUNO “Taz” Yasuhiro
4830e2d817
Implement initial LCOV reporter (no function names support) ( #11883 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-22 02:03:19 -07:00
dave caruso
b76376f8a6
chore: upgrade zig to 0.13.0 ( #9965 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Grigory <grigory.orlov.set@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-06-20 13:48:39 -07:00
Jarred Sumner
e1eb4a4753
Improve unhandled error reporting in bun:test ( #11386 )
2024-05-27 01:55:33 -07:00
Dylan Conway
d3fdb17321
add jest.setTimeout to bun test ( #10687 )
...
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-05-23 20:24:54 -07:00
Meghan Denny
ecb6c810c8
replace [bun.MAX_PATH_BYTES]u8 with bun.PathBuffer ( #11162 )
2024-05-21 15:55:49 -07:00
Georgijs
c378febf5b
Implement process.on("uncaughtException", ...) ( #10902 )
...
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-08 17:38:31 -07:00
Jarred Sumner
3970339483
Use error handling callback in more places, emit 1015 when WSS TLS handshaking fails, micro-optimize ServerWebSocket, fix bug in util.inspect exceptions ( #10633 )
2024-04-29 13:57:23 -07:00