Jarred Sumner
56d936b36f
Merge branch 'main' into jarred/process-change
2024-02-26 18:56:37 -08:00
Jarred Sumner
f1b8df29e8
Replace std.unicode.fmtUtf16le with bun.fmt.utf16 ( #9127 )
...
* Replace `std.unicode.fmtUtf16le` with `bun.fmt.utf16`
* Update fmt.zig
* Remove bun.fmt.fmtUTF16
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-02-26 18:35:18 -08:00
Jarred Sumner
2d71bce242
Merge branch 'main' into jarred/process-change
2024-02-21 21:02:49 -08:00
Dylan Conway
9ee39cac8b
fix(install): semver prerelease bugfix ( #9026 )
...
* make sure prereleases match correctly
* add the file
* few more tests
* make sure pre is in query, not group
2024-02-21 14:47:43 -08:00
Eemeli Palotie
48e7c0fb8e
fix: install vendored node_modules when using hardlinks ( #9007 )
...
* fix: install vendored node_modules when using hardlinks
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-19 22:50:24 -08:00
Georgijs Vilums
091cdcf1fd
implement "source" in PipeReader
2024-02-19 21:25:38 -08:00
Jarred Sumner
27bdf3a11d
Merge branch 'main' into jarred/process-change
2024-02-19 16:32:25 -08:00
Meghan Denny
5712ba8b3b
debug: introduce bun.callmod_inline ( #9001 )
2024-02-19 14:43:42 -08:00
Jarred Sumner
a20a68c403
Update lifecycle_script_runner.zig
2024-02-18 17:20:48 -08:00
Jarred Sumner
4090e199a1
Make the countdown subtract
2024-02-18 11:53:00 -08:00
Jarred Sumner
30205714cb
Update lifecycle_script_runner.zig
2024-02-18 10:07:04 -08:00
cirospaciari
038c986232
Windows stdout pipe works
2024-02-14 00:48:31 -03:00
Jarred Sumner
6d104c28cb
Closer
2024-02-09 23:27:07 -08:00
Jarred Sumner
f4ebb33040
This method has no generic usages, it does not need to be generic
...
cc @paperdave
2024-02-09 02:54:45 -08:00
Jarred Sumner
2391faa724
Merge branch 'main' into jarred/process-change
2024-02-09 01:17:21 -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
Jarred Sumner
9e657a9587
Merge branch 'main' into jarred/process-change
2024-02-07 22:32:13 -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
96454078bf
Merge branch 'main' into jarred/process-change
2024-02-05 10:38:49 -08:00
Dylan Conway
e0c0fe235a
fix(windows): fix macros ( #8653 )
...
* fix macro tests
* path format options
* remove failing comment
* fix buffer toString memcpy length
2024-02-03 00:35:25 -08:00
Jarred Sumner
dc668331d8
more wip
2024-02-02 06:24:57 -08:00
Jarred Sumner
4caf58f27d
Merge branch 'main' into jarred/process-change
2024-02-01 21:39:53 -08:00
Meghan Denny
4959c7d363
remove ZigString.Slice.from .init is the exact same thing ( #8632 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-01 20:35:47 -08:00
Jarred Sumner
eeabb2637b
wip
2024-02-01 17:24:46 -08:00
Dylan Conway
4f98336f86
fix(windows): fix installing non-ascii paths and make normalizeBuf generic ( #8608 )
...
* comptime type normalizeStringBuf
* delete
* revert
* revert revert
* revert
* remove unused
* remove unnecessary assert
* add comment
* remove normalize, need ../
* use Output.err
* update error message
* generic T suffix
* fix windows build
* more fix build
* more fix build
* mkdiratZ
* update test
* [autofix.ci] apply automated fixes
* update snapshot again
* fix merge
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-31 22:44:23 -08:00
dave caruso
91cfd614ca
fix(window): some more bin things ( #8612 )
...
* allow linking bins that do not exist.
* fix some things
2024-01-31 22:37:03 -08:00
dave caruso
af1a124831
allow linking bins that do not exist. ( #8605 )
2024-01-31 19:08:50 -08:00
dave caruso
2d9db9b28f
fix napi-rs libraries on windows ( #8583 )
...
* yay
* a
* ok
* typo
* un-CRLFify these files
2024-01-30 20:21:52 -08:00
Jarred Sumner
cb63d2bf69
wip
2024-01-30 10:04:03 -08:00
dave caruso
cf1c849e4a
fix(windows): more reliable extracting ( #8567 )
...
* finally
* a
* Update src/install/extract_tarball.zig
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* fix compilation
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-29 20:03:02 -08:00
Jarred Sumner
2eede4f435
Fixes #8555 ( #8566 )
...
* Fixes #8555
* Make this closer to what npm does
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-29 17:52:08 -08:00
Dylan Conway
c538bf87d1
fix(windows): transpiler cache and other test fixes ( #8471 )
...
* umask
* process args
* update reportError.test.ts
* file exists
* transpiler cache
* back to const
* remove failing comments
* [autofix.ci] apply automated fixes
* update comment
* debug assert and remmove branch
* oops
* escape
* path sep
* seekTo
* disable
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-29 15:17:23 -08:00
Jarred Sumner
58132dc9da
Merge branch 'jarred/process-change' of https://github.com/oven-sh/bun into jarred/process-change
2024-01-29 12:49:27 -08:00
Jarred Sumner
30efac5438
Life
2024-01-29 12:49:22 -08:00
dave caruso
fefca2f900
implement cmd wrapper for node gyp
2024-01-29 12:17:33 -08:00
Jarred Sumner
5e1aa4b15d
WIP
2024-01-29 11:34:19 -08:00
dave caruso
bc7e7027e4
windows: some random things ( #8521 )
...
* swaggin
* fix(bun_shim_impl): support exe names that are shorter than four characters
* hi
* a
2024-01-29 10:50:24 -08:00
Jarred Sumner
cc8c371e01
Merge branch 'main' into jarred/process-change
2024-01-29 07:12:22 -08:00
Jarred Sumner
686df60385
prepare for changes
2024-01-28 06:55:12 -08:00
Dylan Conway
568f87eb8f
fix(windows): bun link, unlink, and fix tests in test/cli/install ( #8517 )
...
* link and unlink
* valid git dependency cache path
* windows global link
* not git
* update some tests
* update more tests
* update
* update log
* fix snapshots
* more tests
* fix bun pm ls
* make it possible to delete cache dir
* normalize
* fix bun-create tests
* update bun-remove tests
* silent
* bun-run update
* update more tests
* update more
* update
* [autofix.ci] apply automated fixes
* update simdutf for getFdPath
* update test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-01-27 04:22:04 -08:00
Jarred Sumner
233061c7ba
wip
2024-01-27 03:10:15 -08:00
Jarred Sumner
33bcf2b7c1
Update install.zig
2024-01-26 00:57:33 -08:00
Jarred Sumner
157a22c0eb
Fix some things
2024-01-26 00:47:51 -08:00
Jarred Sumner
2eac723832
posix
2024-01-26 00:21:26 -08:00
Jarred Sumner
de87a3fbea
Merge branch 'main' into jarred/process-change
2024-01-25 20:52:42 -08:00
Jarred Sumner
681baedab2
Track hasInstallScript and libc in NPM registry api ( #8495 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-01-25 20:38:20 -08:00
dave caruso
c9a7d24538
windows(install): add bun_shim (support bin linking, bin shebangs, etc) ( #8265 )
...
* shim v1 TODO
* fix BunXShimData
* wip
* put a little bit of the sa u c e on it
* wow
* wat
* a
* swag
* swag
* allllllllllllright
* Update src/install/bin.zig
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
* [autofix.ci] apply automated fixes
* swag
* swag
* finis
* fix submodules
* ok
* omg it works again
* silly
* ok
* OK
* update laucnh jsn
* swaaaaaaaaaaaaag
* remove debug
---------
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-01-25 07:38:55 -08:00
Jarred Sumner
22eea0dc8d
Update lifecycle_script_runner.zig
2024-01-24 20:56:15 -08:00
Jarred Sumner
3507070f94
wip
2024-01-24 09:32:25 -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