Jarred Sumner
6bc075e377
Revert "Update clap ( #2238 )"
...
This reverts commit 7b9a17f9d7 .
2023-03-01 16:17:47 -08:00
Justin Whear
7b9a17f9d7
Update clap ( #2238 )
...
* remove vendored clap
* Update to latest zig-clap
Major changes:
* Instead of vendoring zig-clap and adding changes, this uses Hejsil/zig-clap directly as a submodule
* `cli.zig` and related files have been updated to use new API (no more `flag()` or `option()`)
* A workaround for the Run and Auto commands has been implemented that allows us to use the official upstream
Minor change:
* `-i` now has the long option `--install-fallback`; I didn't spend much time thinking about this name, so suggestions weclome.
* deinit jsBundleArgs
2023-02-28 13:49:05 -08:00
Dylan Conway
3f04f8d0a6
Upgrade Zig ( #2151 )
...
* fixup
* Upgrade Zig
* Remove bad assertion
* strings
* bump
* mode -> optimize
* optimize
* Linux build
* Update bindgen.zig
2023-02-23 23:57:19 -08:00
Jarred Sumner
b631ea7d72
import everything from "bun" where possible
2022-11-29 02:42:56 -08:00
Jarred Sumner
0ce709d96a
Make new HTTP client more stable
2022-09-16 00:53:03 -07:00
Jarred Sumner
9a5aa059f9
New HTTP client ( #1231 )
...
* wip
* It mostly works!
* Support `bun install`
* Support `bun create`
* Support chunked transfer encoding
* Handle Keep Alive when redirecting to a different domain
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-09-11 13:37:17 -07:00
Jarred SUmner
0815c83974
Improve event loop reliability on Linux
2022-08-13 06:07:18 -07:00
r00ster91
16452c16da
Remove unnecessary Output.flushs before Global.exit and Global.crash ( #535 )
...
* fix: add missing newline
* refactor: std.process.exit -> Global.exit
* fix: std.os.abort -> Global.exit
I'm not sure about this one. Please verify.
* cleanup: remove unnecessary `Output.flush`s
2022-07-10 06:44:57 -07:00
Jarred Sumner
74f4c8bcab
query_string_map -> url
2022-03-17 01:27:35 -07:00
Jarred Sumner
701d6ec45d
rename _global -> bun
2022-03-08 18:54:54 -08:00
Jarred Sumner
dbc28a24ac
more
2022-03-04 00:20:39 -08:00
Jarred Sumner
50560e169c
WASM
2022-02-27 23:20:10 -08:00
Jarred Sumner
3d057950b9
std.os.exit -> Global.exit so stderr is always flushed
2022-02-11 14:56:28 -08:00
Jarred Sumner
1a4ccd3f5c
[http] Fixes to chunked transfer encoding reader
2022-02-02 18:07:05 -08:00
Jarred Sumner
b1c3fce49b
[internal] Move network_thread into http package
2021-12-30 21:27:27 -08:00
Jarred Sumner
e75c711c68
Upgrade to latest Zig, remove dependency on patched version of Zig ( #96 )
...
* Prepare to upgrade zig
* zig fmt
* AllocGate
* Update data_url.zig
* wip
* few files
* just headers now?
* I think everything works?
* Update mimalloc
* Update hash_map.zig
* Perf improvements to compensate for Allocgate
* Bump
* 📷
* Update bun.lockb
* Less branching
* [js parser] Slightly reduce memory usage
* Update js_parser.zig
* WIP remove unused
* [JS parser] WIP support for `with` keyword
* Remove more dead code
* Fix all the build errors!
* cleanup
* Move `network_thread` up
* Bump peechy
* Update README.md
2021-12-30 21:12:32 -08:00
Jarred Sumner
0e39174c48
Update the misctools bins
2021-12-17 16:59:49 -08:00
Jarred Sumner
809c1e46d8
[npm install] starting to look good!
2021-12-16 19:18:51 -08:00
Jarred Sumner
c6317888da
Fix redirects
2021-12-16 19:18:51 -08:00
Jarred Sumner
9f1946ce70
[npm install] Use BoringSSL for https:// requests
2021-12-16 19:18:51 -08:00
Jarred Sumner
b1660fa468
[bun install] async http request works I think?
2021-12-16 19:18:51 -08:00
Jarred Sumner
10696680ff
Polish
2021-10-15 19:44:53 -07:00
Jarred Sumner
8f7f4ae72f
--turbo mode for fetch cli, which disables sending TLS shutdown
2021-10-13 14:17:23 -07:00
Jarred Sumner
c85b5f6a87
[fetch] Support Transfer-Encoding: chunked
2021-10-13 14:06:51 -07:00
Jarred Sumner
88a5e2d34d
Add TLS 1.3 support, improve fetch() HTTPS performance
2021-10-13 00:27:35 -07:00
Jarred Sumner
756bfc9077
Add fetch CLI test app
2021-10-12 16:26:57 -07:00