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
moznion
c577c64aa7
docs: add description how to parse the CLI ARGV by the built-in parseArg ( #8345 )
...
Signed-off-by: moznion <moznion@mail.moznion.net >
2024-01-21 19:54:49 -08:00
Jarred Sumner
1560a866fe
Skip stringWidth tests for now
2024-01-21 19:25:57 -08:00
Dale Seo
5b9e1e5708
docs: fix a typo ( #8338 )
2024-01-21 17:17:55 -08:00
Jarred Sumner
353f724a9c
Update bun.d.ts
bun-v1.0.25
2024-01-21 06:11:49 -08:00
Jarred Sumner
a8ff7be642
Disable Bun.stringWidth until failing test case passes
2024-01-21 06:10:07 -08:00
Jarred Sumner
af67ee77a0
Bump
2024-01-21 04:48:55 -08:00
Jarred Sumner
b82656d9fc
Introduce Bun.stringWidth ( #8327 )
...
* Introduce `Bun.stringWidth`
* [autofix.ci] apply automated fixes
* Update utils.md
---------
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 04:47:36 -08:00
Jarred Sumner
7b9201a0fc
Fixup
2024-01-21 04:23:18 -08:00
Jarred Sumner
627d60c6c7
Fix crash in fs.readFile
...
We were default-initializing the vm pointer to undefined
2024-01-21 04:19:33 -08:00
Jarred Sumner
c00f0787f0
[types][bun:sqlite] Make SQLiteError a class instead of an interface
2024-01-21 03:57:38 -08:00
Jarred Sumner
3ca0fcb67a
[node:vm] Add missing createScript function
2024-01-21 03:57:17 -08:00
Jarred Sumner
43107f48fa
Add onLongTimeout callback for WebSocket ( #8323 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-21 03:49:28 -08:00
Dylan Conway
b1273e53d8
windows(install): fix linking workspaces and file: dependencies ( #8289 )
...
* install workspaces with junctions
* fix #8272
* symlink auto type
* fix file: dependencies
* a better fix
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-20 23:00:29 -08:00
Jarred Sumner
10e57fdc1e
windows pipes ( #8230 )
...
* spawn sync investigation, pipe closed before uv_read_start is called
* oopsie
* win rusage
* oopsie
* Fix some things
* readable stream now works without FIFO like solution
* blob, ArrayBuffer, Buffer stdin now works
* remove unused
* add UVStreamSink
* update headers.j
* more bindings
* now works yay
* fix rusage on windows
* oops
* fix rare data
* win getUserName
* [autofix.ci] apply automated fixes
* fix build
* oopsie
* fix linux/macos
* exit code fix
* fix kill for win
* disable Bun__crashReportDumpStackTrace on Windows
* remove windows stack dump in report.zig and increase windows test timeout
* condition instead of assertion
* remove IPC again
* fix blob writer when not using TTY
* bump windows tests time again
* bump time again so we see how much we need (this is probably too much)
---------
Co-authored-by: cirospaciari <ciro.spaciai@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: cirospaciari <ciro.spaciari@gmail.com >
2024-01-20 22:58:01 -08:00