Meghan Denny
9e201eff9e
node:net: implement BlockList ( #19277 )
2025-05-01 16:09:44 -07:00
Ciro Spaciari
59b2a60790
compat(node:http) more passing ( #19236 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: 190n <ben@bun.sh >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-24 19:26:55 -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
Jarred Sumner
0471254e4e
Use Highway SIMD ( #19134 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-04-21 23:28:03 -07:00
Jarred Sumner
b117d14650
Avoid u3 ( #19140 )
2025-04-21 22:46:32 -07:00
chloe caruso
7d7512076b
remove more usingnamespace ( #19042 )
2025-04-17 19:04:05 -07:00
chloe caruso
a3809676e9
remove all usingnamespace in css ( #19067 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-17 14:17:08 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
be77711a4e
delete usingnamespace in bindings generator ( #19020 )
2025-04-15 12:14:47 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
190n
e9c3f9186e
chore: remove unneeded undefined default ( #18926 )
2025-04-10 15:47:46 -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
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
Jarred Sumner
ec87a27d87
Introduce Bun.redis - a builtin Redis client for Bun ( #18812 )
2025-04-08 03:34:00 -07:00
Jarred Sumner
e75d226943
Make shell more reliable ( #18794 )
2025-04-05 02:45:25 -07:00
chloe caruso
c29933f823
implement require.extensions attempt 2 ( #18686 )
2025-04-01 14:31:16 -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
Jarred Sumner
c3be6732d1
Fixes #18572 ( #18578 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-03-31 02:15:27 -07:00
Jarred Sumner
c3e2bf0fc4
Update ban-words.test.ts
2025-03-31 02:14:36 -07:00
Jarred Sumner
78a9396038
Update ban-words.test.ts
2025-03-31 02:14:36 -07:00
Jarred Sumner
f38d35f7c9
Revert #18562 #18478 ( #18610 )
2025-03-28 20:23:49 -07:00
chloe caruso
70ddfb55e6
implement require.extensions ( #18478 )
2025-03-27 14:58:24 -07:00
pfg
f4ab2e4986
Remove two usingnamespace & ptrCast on function pointer ( #18486 )
2025-03-26 14:41:14 -07:00
Jarred Sumner
8735a3f4d6
-200 KB binary size ( #18415 )
2025-03-24 23:28:21 -07:00
Jarred Sumner
84a21234d4
Split bun crypto APIs into more files ( #18431 )
2025-03-24 17:22:05 -07:00
chloe caruso
ddd87fef12
module.children and Module.runMain ( #18343 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: 190n <ben@bun.sh >
2025-03-21 16:57:10 -07:00
chloe caruso
b5cbf16cb8
module pr 2 ( #18266 )
2025-03-20 00:45:44 -07:00
Jarred Sumner
e39305dd91
Remove deprecated shim wrapper for zig <> c++ fns ( #18269 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-19 15:40:08 -07:00
Don Isaac
c47e402025
fix: crash in Bun.inspect.table ( #18256 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-18 18:56:56 -07:00
190n
53d631f1bd
chore: address review feedback from #17820 ( #18261 )
2025-03-17 16:38:34 -07:00
190n
de4182f305
chore: upgrade zig to 0.14.0 ( #17820 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-14 22:13:31 -07:00
pfg
7ad46cb118
Add back banned words ( #17057 )
...
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-02-27 15:19:15 -08:00
Don Isaac
9757ee4cd4
test(js/internal): add unit tests for Dequeue ( #16189 )
2025-01-08 22:23:30 +00:00
dave caruso
b39632c921
feat: new binding generator ( #15638 )
2024-12-10 12:43:17 -08:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
dave caruso
e585f900c9
escape windows in bun upgrade ( #12985 )
2024-08-01 01:04:20 -07:00
Jarred Sumner
e848c3f226
Get Bun.write tests to pass on Windows and bun:sqlite tests to pass ( #8393 )
...
* Move ReadFile and WriteFile to separate file
* Use libuv for Bun.write()
* Update windows_event_loop.zig
* build
* Get bun-write tests to pass. Implement Bun.write with two files.
* UPdate
* Update
* Update failing test list
* update
* More
* More
* More
* More
* Mark the rest
* ok
* oops
* Update bun-write.test.js
* Update blob.zig
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dave Caruso <me@paperdave.net >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
2024-01-23 20:03:56 -08:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
Jarred Sumner
8001038376
Use exact versions in tests
2023-07-01 22:43:59 -07:00