Ai Hoshino
c53372c9f3
feat(node:dns): implement dns.reverse. ( #4332 )
...
* feat(node:dns): implement `dns.reverse`.
Close : #4299
* fix dns reverse for ipv6
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-08-28 20:10:33 -07:00
Dylan Conway
d1c2d6b25c
use options.fd if provided for fs.Read/WriteStream ( #4378 )
...
* use `options.fd` over path
* tests
* fix `@clack/prompts`
* == null
2023-08-28 20:08:08 -07:00
Colin McDonnell
a2aad40171
docs: use table tag
2023-08-28 13:05:23 -07:00
Colin McDonnell
177e02b304
docs: hot reloading with Bun.serve
2023-08-28 12:55:22 -07:00
Colin McDonnell
726f8aa3ef
Update nuxi output
2023-08-28 12:24:51 -07:00
Prabhat Sachdeva
d3626287bd
remove uws from .gitmodules ( #4374 )
2023-08-28 10:39:45 -07:00
Jarred Sumner
a2ddfe6913
Bring uSockets & uWebSockets forks into Bun's repository ( #4372 )
...
* Move uWebSockets and uSockets forks into Bun's repository
* Update Makefile
* Update settings.json
* Update libuwsockets.cpp
* Remove backends we won't be using
* Update bindings.cpp
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-28 08:38:30 -07:00
Ciro Spaciari
6e4a1f2918
make pending_response and metdata life cycle more clear and make fetch more reliable ( #4331 )
...
* make pending_response and metdata life cycle more clear
* typo
* WIP: memory investigation
* check zlib and fix zlib
* use state allocator for metadata
* remove postBodyProcess
* undo some test things
* fix race condition
* fix removing compressed header
* some extra checks
* remove arenas on zlib and comment repoter.assert because of toOwnedSliceZ
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2023-08-28 07:21:46 -07:00
Jarred Sumner
ebfaa682f7
More renaming
2023-08-28 04:53:51 -07:00
Jarred Sumner
277e5c0b77
mv src/bun.js/node/syscall.zig -> src/sys.zig
2023-08-28 04:53:18 -07:00
Jarred Sumner
e2a17344dc
just kernel32 things ( #4354 )
...
* just kernel32 things
* more
* Update linux_c.zig
* Update windows_c.zig
* Add workaround
Workaround https://github.com/ziglang/zig/issues/16980
* Rename http.zig to bun_dev_http_server.zig
* Rename usages
* more
* more
* more
* thanks tigerbeetle
* Rename `JSC.Node.Syscall` -> `bun.sys`
* more
* woops
* more!
* hmm
* it says there are only 37 errors, but that's not true
* populate argv
* it says 32 errors!
* 24 errors
* fix regular build
* 12 left!
* Still 12 left!
* more
* 2 errors left...
* 1 more error
* Add link to Tigerbeetle
* Fix the remainign error
* Fix test timeout
* Update syscall.zig
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-28 04:39:16 -07:00
Ai Hoshino
efe987e8d1
Fix some edge cases in the env param of spawn. ( #4364 )
...
Close : #4362
2023-08-27 23:58:31 -07:00
Jarred Sumner
ed5dc5bbf9
@electroid's dap changes ( #4367 )
...
* Rework terminal, launch is still WIP
* Use the proper Terminal profile API
* More changes
* progress
---------
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2023-08-27 09:03:15 -07:00
Jarred Sumner
36f9d2291c
Workaround zig wasm bug
2023-08-26 21:09:08 -07:00
Jarred Sumner
9e653e610c
Update WebKit
2023-08-26 03:10:16 -07:00
Jarred Sumner
f16d729c76
Set the timezone in spawn ( #4337 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-26 02:35:10 -07:00
Ashcon Partovi
2a9e967fd1
More improvements to debugger support ( #4345 )
...
* More fixes for dap
* More changes
* More changes 2
* More fixes
* Fix debugger.ts
* Bun Terminal
2023-08-26 02:34:25 -07:00
Ai Hoshino
910daeff27
Fix the crash when importing a module that does not exist. ( #4348 )
...
Close : #4240
2023-08-26 01:14:40 -07:00
Jarred Sumner
e1dacf88d0
don't get too excited but there are at least hundreds of compiler errors when you run this command
2023-08-25 22:05:02 -07:00
Jarred Sumner
d72763dc29
bump!
2023-08-25 21:54:16 -07:00
Jarred Sumner
d98a93c318
Automatically hot reload Bun.serve() ( #4344 )
...
* Automatically hot reload Bun.serve()
* Update doc
* Update example
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-25 21:08:41 -07:00
Colin McDonnell
f70bb2497b
Fix link
2023-08-25 12:50:13 -07:00
Colin McDonnell
d62b0c3652
Readability tweaks
2023-08-25 12:47:47 -07:00
Jarred Sumner
21b2d5c3a5
Update executables.md
2023-08-25 04:45:41 -07:00
Jarred Sumner
10815a7d43
Update executables.md
2023-08-25 04:33:54 -07:00
Jarred Sumner
f839640c17
Update executables.md
2023-08-25 04:32:20 -07:00
Jarred Sumner
557e912d9a
Fix assertion failure with sourcemaps in multi-threaded transpiler ( #4321 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-25 04:00:54 -07:00
Jarred Sumner
1e75a978e5
Skip disabled test
2023-08-25 04:00:23 -07:00
Jarred Sumner
95e8c24db1
Update WebKit
2023-08-25 03:56:44 -07:00
Jarred Sumner
755f41fe2a
[Inspector] Get firefox to work
2023-08-25 03:56:39 -07:00
Jarred Sumner
9aabe4eea1
Upgrade peechy
2023-08-25 01:43:25 -07:00
Jarred Sumner
90f3bf2796
Update http.md
bun-v0.8.1
2023-08-24 23:05:27 -07:00
Jarred Sumner
16b4bf341a
Disable minifying "str".length until https://github.com/oven-sh/bun/issues/4217 is fixed
2023-08-24 23:00:53 -07:00
Ashcon Partovi
1480889205
Improved support for debug-adapter-protocol ( #4186 )
...
* Improve support for \`debug-adapter-protocol\`
* More improvements, fix formatting in debug console
* Fix attaching
* Prepare for source maps
* Start of source map support, breakpoints work
* Source map support
* add some package.jsons
* wip
* Update package.json
* More fixes
* Make source maps safer if exception occurs
* Check bun version if it fails
* Fix console.log formatting
* Fix source maps partly
* More source map fixes
* Prepare for extension
* watch mode with dap
* Improve preview code
* Prepare for extension 2
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-24 22:53:34 -07:00
Jarred Sumner
f269432d90
Listen on a unix domain socket with Bun.serve() ( #4311 )
...
* Update response.zig
* Comment this out for now
* Support unix domain socket in Bun.serve()
* Add test
* add types
* Update JSFetchHeaders.cpp
* comment this test out
* tls unix web socket serve options
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
2023-08-24 22:49:58 -07:00
Colin McDonnell
73b3fb7b0f
Add guides for test runner ( #4308 )
2023-08-24 22:28:07 -07:00
Ashcon Partovi
2bcbafe7d3
Fix debugger not updating after reload with --hot
2023-08-24 20:09:32 -07:00
Colin McDonnell
f7f734788c
Update tsconfig.base.json
2023-08-24 19:54:03 -07:00
Colin McDonnell
2cd1d59387
Update toml import type test
2023-08-24 19:52:53 -07:00
Colin McDonnell
b70210a005
Use noEmit
2023-08-24 19:51:14 -07:00
Code Hz
b9c2309c8a
Remove conflict option in tsconfig-for-init.json ( #4284 )
...
fix https://github.com/oven-sh/bun/issues/4283
2023-08-24 19:41:23 -07:00
Jarred Sumner
43c4da8c9a
Update build-id
2023-08-24 19:39:54 -07:00
Jarred Sumner
8a48e8bb0b
Report extra memory more ( #4289 )
...
* Report memory allocated in fetch
* Memory size reporting to `Headers`
* Fixup memory reporting allocator
* Make these tests do more
* cleanup some of this
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-24 19:39:00 -07:00
Dylan Conway
097ae4e982
fix build
2023-08-24 19:05:40 -07:00
Alex Lam S.L
213f5bef9d
[install] fix stale life-cycle scripts from lockfile ( #4307 )
...
fixes #4269
2023-08-24 17:18:51 -07:00
Alex Lam S.L
e115638cba
[install] fix crash when installing package that uses loose semver pre-release ( #4302 )
...
- also fix parsing of `1.2.3pre+build`
fixes #4266
2023-08-24 17:17:48 -07:00
Ai Hoshino
6e57556fad
Fix(node:http): fix URL formatting when using a proxy. ( #4297 )
...
Close : #4295
2023-08-24 17:17:18 -07:00
Ai Hoshino
339d2c7f19
Make the server not crash if an error occurs in dev build. ( #4300 )
...
Close : #4298
2023-08-24 17:16:51 -07:00
Jarred Sumner
d2bef4fbea
Don't inline require/import errors at runtime ( #4306 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-24 17:03:05 -07:00
Jason
19aa9d93de
update zig to 0.11.0 ( #4233 )
...
* WIP
* backup
* more change
* json related error sovled
* number related issue solved
* revert WriterType changed before
* destroy -> free
* jsonStringify related issues solved
* fix mem.free expected []T or *[_]T, passed [*]const u8
* fix expected []T or *[_]T, passed [*:0]const u8
* fix build script
* fix build script, for real
* replace 0.11.0-dev.4006+bf827d0b5 to 0.12.0-dev.161+6a5463951
* fix build on macOS, COPYFILE.DATA -> COPYFILE_DATA
* fix the last destroy on [*]ptr issue
---------
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2023-08-24 16:13:14 -07:00