Jarred Sumner
773484a628
Split uSockets/uWS <> Zig bindings into many different files ( #20138 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-02 02:10:57 -07:00
Meghan Denny
284de53f26
safety: audit and add missing exception checks to JSC::constructArray+constructEmptyArray ( #20119 )
2025-05-31 20:05:02 -07:00
Roman A
13ea970852
A couple grammar fixes ( #20096 )
2025-05-31 19:14:51 -07:00
Meghan Denny
ba78d5b2c3
ci: pass the src directory to 'zig fmt' ( #20114 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-05-31 18:52:18 -07:00
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
Jarred Sumner
69be630aea
WebKit Upgrade ( #19839 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
2025-05-22 21:12:43 -07:00
Jarred Sumner
9bee7a64a2
Support method-specific routes for html & static routes ( #19710 )
2025-05-17 00:28:01 -07:00
Meghan Denny
d774baa28a
tidyings from 18962 ( #19644 )
2025-05-14 18:47:51 -07:00
Jarred Sumner
14b439a115
Fix formatters not running in CI + delete unnecessary files ( #19433 )
2025-05-08 23:22:16 -07:00
pfg
00a3cbd977
more child-process ( #18688 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-05-06 22:12:24 -07:00
Jarred Sumner
d291b56f8b
Fixes #19475 ( #19495 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-05-06 20:17:23 -07:00
Jarred Sumner
5a58c02ed8
Normalize websocket URL in HMR to support older versions of Chrome ( #19469 )
2025-05-05 19:41:40 -07:00
Jarred Sumner
8e829e1cd9
Fix windows release build
2025-05-03 04:13:40 -07:00
Jarred Sumner
570e6b7e6a
Add WebKit Inspector support to Bun's HTTP Server ( #19340 )
2025-05-03 03:11:55 -07:00
Dylan Conway
a0819e9d02
fix more node:timers tests ( #19432 )
...
Co-authored-by: 190n <ben@bun.sh >
2025-05-02 20:50:02 -07:00
chloe caruso
67f0c3e016
dev server: reference counted source map partials ( #19447 )
2025-05-02 20:02:00 -07:00
Jarred Sumner
7521e45b17
--console & console: true ( #19427 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-05-02 12:55:57 -07:00
chloe caruso
32c1dcb70d
dev server: unref source maps ( #19371 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-02 04:13:54 -07:00
190n
7e63a7e228
restore "remove most static initializers" and investigate test ( #19374 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-30 15:05:38 -07:00
Jarred Sumner
44c97fa591
Add WebKit Inspector support for Bun's Dev Server ( #19320 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-04-29 18:34:26 -07:00
Jarred Sumner
3ea7953474
Revert "investigate static-initializers.test.ts ( #19352 )"
...
This reverts commit b97cc6cb6c .
2025-04-29 14:24:31 -07:00
190n
b97cc6cb6c
investigate static-initializers.test.ts ( #19352 )
2025-04-29 14:23:20 -07:00
chloe caruso
26e296a7e8
devserver: fix cases where source maps would not remap ( #19289 )
2025-04-28 17:56:35 -07:00
190n
7b134693d6
Revert "Remove most static initializers ( #19298 )" ( #19353 )
2025-04-28 15:54:31 -07:00
Jarred Sumner
9ca2e1445c
Remove most static initializers ( #19298 )
2025-04-26 04:03:59 -07:00
chloe caruso
be65720f71
introduce basic devserver stress testing, fix two crashes ( #19237 )
2025-04-23 22:24:39 -07:00
chloe caruso
80aff24951
fix: require.extensions uses Strong instead of being clever ( #19231 )
2025-04-23 17:52:41 -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
032713c58c
Fix several lints ( #19121 )
2025-04-19 05:41:34 -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
chloe caruso
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -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
chloe caruso
5f9f200e7e
require.resolve with paths option ( #18851 )
2025-04-08 14:07:03 -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
chloe caruso
b5cbf16cb8
module pr 2 ( #18266 )
2025-03-20 00:45:44 -07:00
Dylan Conway
c820b0c5e1
node:crypto: implement generatePrime(Sync) and checkPrime(Sync) (#18268 )
2025-03-18 11:48:24 -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
chloe caruso
d1c77f5061
fix dev server regressions from 1.2.5's hmr rewrite ( #18109 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
Co-authored-by: zackradisic <56137411+zackradisic@users.noreply.github.com >
2025-03-14 21:24:14 -07:00
Don Isaac
1ed87f4e83
fix: deadlock in Cow debug checks ( #18173 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-13 16:42:06 -07:00
Alistair Smith
01d214b276
Fix some higher priority @types/bun issues (devserver, serve) ( #18121 )
2025-03-12 18:38:31 +00:00
Kai Tamkun
4a0e982bb2
node:http improvements ( #17093 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Pham Minh Triet <92496972+Nanome203@users.noreply.github.com >
Co-authored-by: snwy <snwy@snwy.me >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Ben Grant <ben@bun.sh >
2025-03-10 20:19:29 -07:00
chloe caruso
589fa6274d
dev server: forgotten changes ( #17985 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-07 17:53:07 -08:00
chloe caruso
66cf62c3c4
dev server: rewrite HMRModule, support sync esm + hot.accept ( #17954 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-07 15:12:16 -08:00
Zack Radisic
e6cb0de539
CSS modules ( #17958 )
2025-03-06 23:35:06 -08:00
pfg
d502df353c
Support import with { type: "json" } and others ( #16624 )
2025-03-06 15:04:29 -08:00
chloe caruso
483302d09d
dev server: fix some small css bugs ( #17883 )
2025-03-03 20:37:39 -08:00