Meghan Denny
8afcb39055
windows: more tests are passing ( #8873 )
2024-02-12 17:52:14 -08:00
Meghan Denny
b2a697f264
scripts/codegen.ps1: update wsl call ( #8871 )
2024-02-12 16:46:26 -08:00
Zack Radisic
aca936515a
Make glob work for windows ( #8382 )
...
* Fix some related to paths and string encoding
* Fix relative paths with glob
* Fix scan tests
* Fix glob scan test
* [autofix.ci] apply automated fixes
* Fix leak test
* clean up post merge
* [autofix.ci] apply automated fixes
* clean up glob getcwd
* remove old struct
* fix open on posix
* feat: Add win32 path.toNamespacedPath and align rest of node:path with Node (#8469 )
* restore zls file change
* [autofix.ci] apply automated fixes
* switch to using fs.top_level_dir in glob
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
2024-02-12 16:30:58 -08:00
Zack Radisic
6ba146c3e0
Run zig fmt
2024-02-12 17:40:36 -06:00
Georgijs
a80b3569b4
disable quiet logs when BUN_DEBUG_LOG is set to 0 ( #8866 )
2024-02-12 15:20:38 -08:00
argosphil
8b5cac1ea1
chore: use shell-independent globbing in bun run fmt:zig ( #8861 )
...
* fix: use shell-independent globbing in bun run fmt:zig
* Erase experimental creature escaped from @paperdave's lab.
See https://github.com/oven-sh/bun/pull/8861#discussion_r1485747297
2024-02-12 14:51:39 -08:00
John-David Dalton
96e7227087
feat: Add win32 path.toNamespacedPath and align rest of node:path with Node ( #8469 )
2024-02-12 14:27:26 -08:00
Dale Seo
f88855da4f
docs: non-null assertion is needed on document.getElementById ( #8540 )
2024-02-11 20:10:17 -08:00
Ujjwal gupta
19cb3ab6ff
fix: ws.publish() not working ( #8855 )
...
* fix: ws.publish() not working
* fixes
2024-02-11 13:56:06 -08:00
argosphil
862d35d832
fix: bun test -t ( #8845 )
2024-02-11 08:39:27 -08:00
argosphil
a0bcd0f946
Fix expect().toBeGreaterThan() not throwing when ANSI is disabled ( #8838 )
2024-02-10 14:00:16 -08:00
guest271314
2264bb3d04
Substitute js/ for test/js/ (404) ( #8808 )
2024-02-10 10:44:22 -08:00
Ciro Spaciari
3e1231deb4
fix(crypto) fix KeyObjectkey handling ( #8824 )
...
* ref/deref buffer
* Clean up this code
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-09 21:14:35 -08:00
dave caruso
dfcac563bc
fix error message in bun.serve ( #8828 )
...
* fix error message in bun.serve
* ok
2024-02-09 17:24:46 -08:00
Ciro Spaciari
90fd322b5c
fix timer tests ( #8804 )
2024-02-09 14:00:47 -08:00
Zack Radisic
f77b217abf
Correct shell docs for $.escape()
2024-02-09 11:41:59 -06:00
Risu
7c2be6a877
Fix bun-types/index.d.ts ( #8802 )
2024-02-09 08:46:42 -08:00
Dylan Conway
a3c3dad351
wrap ( #8812 )
2024-02-09 03:42:03 -08:00
Travis Cooper
98b438d0a4
Update bunfig.md ( #8807 )
2024-02-09 01:54:00 -08:00
cirospaciari
58d22b063c
Unmark tests that are now passing on Windows
2024-02-08 23:02:32 -03:00
Ciro Spaciari
8cd1db9cda
[windows] fix crypto ( #8797 )
...
* fix password
* refactor
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-08 18:00:22 -08:00
dave caruso
2d7df726fd
fix: get bun build working on window ( #8712 )
...
* work on bundler
* a
* YAAAAYYAYAYAYYAYA
* get some more bundler tests working
* Update src/bundler/bundle_v2.zig
* rev
* ok
* i converted the cmakelists into LF
* personal review
* we didnt win
* okey they pass
* revert :(
* a
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-08 17:56:26 -08:00
Ashcon Partovi
1ccf0c2e9c
Fix some errors not showing up in GitHub annotations ( #8799 )
...
* Remove dead code now that `expect()` can be used outside of tests
* Fix some errors not being rendered to GitHub annotations
* [autofix.ci] apply automated fixes
* Update jest.zig
Try `execCallback`
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-08 17:52:58 -08:00
cirospaciari
db85e04ade
Unmark tests that are now passing on Windows
2024-02-08 22:19:31 -03:00
Ciro Spaciari
c2936b205d
[windows] fix(fetch) file:///, keepalive and tests on Windows ( #8784 )
...
* fix file:/// on windows
* skip fifo test
* fix keepalive
* fixes
* avoid std.os.getcwd on POSIX
2024-02-08 17:11:06 -08:00
dave caruso
8680641c23
make process.test.js pass ( #8798 )
2024-02-08 16:54:09 -08:00
Ciro Spaciari
e77db8ebac
[windows] fix which ( #8791 )
...
* fix which
* [autofix.ci] apply automated fixes
* refactor
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-08 15:44:56 -08:00
Steven Roussey
dfbedd6a10
fix: flaky test ( #8796 )
...
This often fails in CI (and on my machine) non-deterministically.
The 1ms + the 5000 is likely setting up a race condition in tasks/microtasks. Just changing it to to +10ms instead of +1ms is enough.
2024-02-08 15:17:14 -08:00
Ashcon Partovi
8624a86eba
Unmark tests that are now passing on Windows
2024-02-08 13:42:13 -08:00
Georgijs
bfc6091faf
correctly unblock all signals ( #8792 )
2024-02-08 12:09:33 -08:00
Joe
9d0a88ab82
docs: quick note on dependencies for C++ ( #8772 )
...
* quick note on dependencies for C++
* note Ubuntu C++ standard lib issue and anchor link to troubleshooting
* clarify ubuntu distros
2024-02-08 11:18:37 -08:00
Jarred Sumner
2f8f77eeb7
Ignore panic in reload ( #8778 )
...
* Ignore panic in reload
* Use
* Update c-bindings.cpp
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-08 00:29:08 -08:00
Steven Roussey
7b6e0f7164
fix: Increase max depth of expect diffs ( #8771 )
...
Fix Issue #6519
2024-02-07 16:07:20 -08:00
Ciro Spaciari
5df59cb02b
[windows] fix(fs.watch) ( #8746 )
...
* clean fixes
* [autofix.ci] apply automated fixes
* more tests passing
* EPERM instead of AccessDenied
* [autofix.ci] apply automated fixes
* fix test on windows
* cleanup
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-07 15:44:07 -08:00
Jarred Sumner
b61282e290
Fix async module mocking ( #8769 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-07 15:40:10 -08:00
Dylan Conway
dd3227c436
fix: crash in release builds ( #8773 )
...
* zig
* unreachable
* more comment
2024-02-07 15:38:14 -08:00
Georgijs
a9a4bbcd24
remap 0.0.0.0 to localhost on windows ( #8770 )
2024-02-07 15:17:24 -08:00
Georgijs
55aa35ee35
Fix watch attempting to reuse ports that are not yet released by the old process ( #8764 )
...
* windows watcher start new process only after previous terminated
* simplify env setup in spawnWatcherChild
2024-02-07 15:11:28 -08:00
dave caruso
a99459ffdc
fix: symlinked files as entry points do not show Bun.main ( #8762 )
2024-02-07 13:06:11 -08:00
Jake Gordon
08f957d33b
fix glob example to be recursive as stated ( #8755 )
2024-02-07 12:53:28 -08:00
Georgijs
2bd4fe578e
Make HTTP shutdowns more robust, speed up connection to localhost ( #8730 )
...
* http use arraylist to handle shutdowns
* on windows use wsaconnectbyname to speed up localhost connections
* use arbitrary port
* close socket on setsockopt error
* use null timeout in wsaconnectbyname
* Update src/http.zig
* fix zig compile
* update hostname on linux
* [autofix.ci] apply automated fixes
* fix getpeername failing after connecting with socket
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-07 12:19:41 -08:00
Georgijs
d672309547
c-ares dns on windows ( #8737 )
...
* c_ares dns on windows works
* handle errors
* fix invalid hostnames test
2024-02-07 16:26:53 -03:00
argosphil
e171f04ce6
Fix ref-counting of Bun.file(0) etc. ( #8687 ) ( #8741 )
...
* Test for #8687
* Fix reference counting of Bun.file(0) etc. (#8687 )
Fixes #8687 .
2024-02-06 18:11:25 -08:00
Ciro Spaciari
651d5699a0
[windows] fix(fs.watchFile) ( #8735 )
...
* fix fs.watchFile
* oopsie
* fix bigint and persistent
* use repeat to make watchFile tests more reliable
* [autofix.ci] apply automated fixes
* follow the pattern
* add increment
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-06 18:10:28 -08:00
Meghan Denny
d0d4d8bf85
windows: enable more passing tests ( #8711 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-06 16:08:49 -08:00
Ciro Spaciari
53814dda00
[windows] fix(http2) ( #8734 )
...
* fix win http2
* add includes
* cleanup
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-06 15:37:39 -08:00
Meghan Denny
d3d5c7a1d6
tidy: access env map through getter rather than direct field ( #8716 )
2024-02-06 11:25:45 -08:00
Jarred Sumner
972a7b7080
skip some tests
2024-02-05 19:51:08 -08:00
Jarred Sumner
e3759bbbfe
Update bun-windows.yml
2024-02-05 18:46:18 -08:00
Jarred Sumner
f722236978
[windows] Make child_process.spawn not say "TODO: IPC" when IPC isn't used
2024-02-05 17:39:47 -08:00