dave caruso
358be9e727
docs: update the windows build documentation and list it on the docs site
2024-01-25 04:15:41 -08:00
Jarred Sumner
2a6388d50b
Silence log when ENOTCONN
...
When using sendfile() to stream, if the user aborted the request it may appear as `ENOTCONN`, which we were logging to the terminal. We really shouldn't be logging anything here, but it's a little unclear what kind of error to emit. It's not a fatal error.
2024-01-25 01:03:29 -08:00
Jarred Sumner
aa901a22c2
Update types.zig
2024-01-24 23:11:58 -08:00
Jarred Sumner
562495b878
[windows] Mark as known failing
2024-01-24 23:11:55 -08:00
Jarred Sumner
875728da83
[windows] Make more things panic
2024-01-24 22:47:40 -08:00
Jarred Sumner
47e7e004b1
Remove @known-failing-on-windows for tests which are no longer failing on windows
2024-01-24 21:03:32 -08:00
Georgijs
80bd3254cc
fix argv parsing on windows ( #8458 )
...
* fix argv parsing on windows
* directly use zig stdlib
* remove debug comments, fix double deinit
* change bun.argv() to return slices, not null-terminated pointers
* fix test on windows to escape file paths correctly
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-24 20:54:01 -08:00
Jonathan Deiss
0bf8a25d50
Clarifies bun shebang in bunx documentation ( #8437 )
...
* Update bunx.md
* better phrasing of shebang
2024-01-24 19:59:56 -08:00
Meghan Denny
effb8f189b
windows: fix some websocket tests ( #8433 )
...
* windows: fix some websocket tests
* this file should work now, report any errors
* make this change later
* add back running this with node
* add as const to these
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-24 19:40:59 -08:00
Johann
7eeefc1497
chore(password): fix sha256 typo ( #8461 )
2024-01-24 19:27:29 -08:00
Georgijs
025a5ba140
fix sys.dup on windows and make console-iterator work ( #8463 )
...
* fix sys.dup on windows and make console-iterator work
* fix(windows): fix console async iterator to not include the \r
* fix kill on windows again. and report the right errno
---------
Co-authored-by: dave caruso <me@paperdave.net >
2024-01-24 19:25:45 -08:00
Ashcon Partovi
885d705d55
Fix bun-types version being incorrect
2024-01-24 15:21:10 -07:00
dave caruso
3447bc2ed3
fixy
2024-01-24 03:16:23 -08:00
Jarred Sumner
f1f861fd74
[windows] Fix panic in server
2024-01-24 02:20:29 -08:00
dave caruso
58ba802ca6
ci(windows): install the profile build
2024-01-24 02:12:16 -08:00
Zachary Huang
73f3b92dc9
fix(ci): fix MacOS build when OpenSSL is also installed ( #7759 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-01-24 01:44:04 -08:00
dave caruso
eeb10f3f7d
fix(windows): fix node:url pathFromFileURL and fileURLFromPath and file url tests ( #8442 )
...
* yay for file urls
* swag
* oops
* merge conf
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-24 01:19:47 -08:00
dave caruso
8544f8ae68
ci(windows): debug info in the binaries + ship a version on github ( #8443 )
...
* debug info yaaaaaaaaaaaaaaaaaay
* fix the build
2024-01-24 01:16:17 -08:00
Jarred Sumner
9f5ce53544
Normalize another newline
2024-01-23 23:44:38 -08:00
Jarred Sumner
82b6a42a3c
Normalize more paths
2024-01-23 20:48:48 -08:00
Jarred Sumner
0974479655
Normalize slashes
2024-01-23 20:47:37 -08:00
Jarred Sumner
918e1878a5
Normalize newlines
2024-01-23 20:45:37 -08:00
Jarred Sumner
17deafd05f
Add TypeScript issue template
2024-01-23 20:39:08 -08:00
Dylan Conway
b7ae984ca1
fix(windows): update some bundler tests ( #8440 )
...
* replace invalid path character
* windows paths
2024-01-23 20:23:01 -08: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
Dylan Conway
cd3de9c788
fix(windows): fix text-decoder.test.js ( #8436 )
...
* use with_errors
* remove comment
* use correct index
2024-01-23 19:28:54 -08:00
dave caruso
945ad77bce
window: fix runtime.js build process ( #8438 )
...
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
2024-01-23 19:27:57 -08:00
Chen Yufei
04a99deb0e
copy_file: ioctl_ficlone EACCES, EPERM as not supported. ( #8425 )
...
ioctl_ficlone may return EPERM (in LXC container), EACCESS (in Android).
Those error should be taken as ficlone being not supported instead of
error.
Refer to this coreutils bug report https://bugs.gnu.org/62404
2024-01-23 18:24:54 -08:00
Ciro Spaciari
cff5dc0ee8
fix close on spawn and watch ( #8426 )
...
* fix close on spawn and watch
* add check closed, and fixes
* fix subprocess close
2024-01-23 18:09:13 -08:00
Dylan Conway
77ccf77e35
Revert "Revert "fix(windows): a bunch of install test fixes"" ( #8431 )
...
* keep cache dir path, use correct buffer
* make it work more better
* more working
* more fix
* more update
* more fix
* fix test
* update
* fix
* update pointers
---------
Co-authored-by: dave caruso <me@paperdave.net >
2024-01-23 18:00:18 -08:00
DidaS
864a726249
Improve bun-types ( #8195 )
2024-01-23 13:51:45 -07:00
Jarred Sumner
1407683f95
Revert "fix(windows): a bunch of install test fixes" ( #8408 )
2024-01-23 06:38:13 -08:00
dave caruso
1f928e9b6e
goddamn ( #8405 )
2024-01-23 06:37:14 -08:00
Dylan Conway
e0cf77c660
fix(windows): a bunch of install test fixes ( #8402 )
...
* keep cache dir path, use correct buffer
* make it work more better
* more working
* more fix
* more update
* more fix
* fix test
* update tests
* comment and fix test
* one more fix
* fix build
---------
Co-authored-by: dave caruso <me@paperdave.net >
2024-01-23 06:36:53 -08:00
dave caruso
07a685bd3d
feat(windows): implement the rest of node:os ( #8399 )
...
* feat(windows): implement os.networkInterfaces
* we are cooking (os tests almost pass)
* os
* fix version struct
* oops
* [autofix.ci] apply automated fixes
* fix the submodules
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-23 05:06:51 -08:00
dave caruso
80ad8d57f2
windows: fix a path resolution case ( #8392 )
...
* fix resolving certain filepaths
* extra
* swag
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-22 21:53:34 -08:00
Jarred Sumner
41b45599c6
Delete some dead code ( #8391 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-22 21:06:13 -08:00
Ciro Spaciari
416e896c63
[windows] Implement fs.watch on Windows ( #8379 )
...
* implement fs watch
* fix unref
* fixes
* actually use bun.New
* fix destroy, use another buffer for joinPath, remove Win prefix
* oopsie
2024-01-22 20:29:46 -08:00
Dylan Conway
2d1e0dc240
trim correctly ( #8388 )
...
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-22 19:57:20 -08:00
Meghan Denny
c52e7c57d2
add another launch config for windows bun test ( #8389 )
2024-01-22 19:45:39 -08:00
Georgijs
c4a60f9059
fix to enqueue bundler tasks in correct event loop ( #8386 )
...
* fix to enqueue bundler tasks in correct event loop
* fix posix build
---------
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
2024-01-22 19:45:24 -08:00
Dale Seo
15fe30ac41
docs: remove unncessary use of async in bun test examples ( #8341 )
2024-01-22 17:57:02 -08:00
Dale Seo
a014f1c566
docs: correct imports ( #8380 )
2024-01-22 17:14:55 -08:00
Jarred Sumner
73b0b35a42
Make the dev-server test more reliable
2024-01-22 17:09:47 -08:00
Georgijs
75524d0ae3
Fix eqlComptimeCheckLenWithKnownType ( #8377 )
...
* fix some env tests
* fix and simplify comptime string equality
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-22 16:41:30 -08:00
John-David Dalton
c21dc25a65
Change type for expect().toThrow(unknown) ( #8373 )
2024-01-22 13:27:25 -07:00
Georgijs Vilums
3bc0f90a7c
skip invalid stringWidth test
2024-01-22 12:25:49 -08:00
Jarred Sumner
eaa1cd5553
Add shell-spawn microbenchmark
2024-01-22 03:23:47 -08:00
Jarred Sumner
6019665d4b
Fixes #8276 ( #8346 )
...
* Fixes #8276
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-21 20:25:00 -08:00
Jarred Sumner
b7b0e28b10
Rename bun.zig to BunObject.zig ( #8344 )
...
* Rename `bun.zig` to `BunObject.zig`
* Rename `bun.classes.ts` to `BunObject.classes.ts`
* Update references to `bun.zig`
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-21 19:55:24 -08:00