Jarred Sumner
3ea6133c46
CI: Remove unused top-level decls in formatter in zig ( #19879 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-23 22:49:48 -07:00
Jarred Sumner
d8a69d6823
Enable ASAN with linux-x64-asan in CI
2025-05-02 10:44:09 -07:00
Jarred Sumner
d60fcefc0c
Do not set stack limit at runtime ( #19405 )
2025-04-30 16:12:12 -07:00
chloe caruso
3349c995b5
no usingnamespace, organize jsc namespace, enable -fincremental ( #19122 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-04-22 16:34:15 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
Don Isaac
1d6bdf745b
fix(cli/test): improve filtering DX ( #18847 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-04-09 16:41:32 -07:00
Meghan Denny
11f9538b9e
fix debug build compile error from consecutive merges
2025-04-03 20:17:00 -07:00
chloe caruso
8414ef1562
preserve symlinks ( #18550 )
2025-04-03 19:14:02 -07:00
Don Isaac
75144ab881
fix: reflect-metadata import order ( #18086 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-26 16:19:45 -07:00
nmarks
27cf0d5eaf
Remove references to developers former name ( #18319 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-03-20 00:53:46 -07:00
190n
0c5ee31707
Correctly handle unknown type in FileSystem.DirEntry.addEntry ( #18172 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
2025-03-18 11:50:15 -07:00
pfg
d502df353c
Support import with { type: "json" } and others ( #16624 )
2025-03-06 15:04:29 -08:00
Jarred Sumner
363bdf5c6c
Add small file read optimization ( #17533 )
2025-02-22 00:23:32 -08:00
chloe caruso
10663d7912
devserver: use file urls for sourcemap ( #17319 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-14 01:30:03 -08:00
chloe caruso
2b97d61deb
chore: remove some trivial usage of usingnamespace ( #17268 )
2025-02-11 19:38:52 -08:00
chloe caruso
f912e0abc4
hot module reloading for HTML import development mode ( #16955 )
2025-02-08 00:31:30 -08:00
Michael H
70362c316e
allow importing bun.lock (+ types for it) ( #16244 )
...
Co-authored-by: RiskyMH <RiskyMH@users.noreply.github.com >
2025-01-12 20:08:56 -08:00
Jarred Sumner
2465ccae53
Re-sync our Mutex implementation with zig stdlib ( #16271 )
2025-01-08 21:09:27 -08:00
Meghan Denny
e1cfea4925
node: fix the rest of test-process ( #16026 )
2025-01-06 14:30:36 -08:00
Jarred Sumner
903d8bfa4a
Be more careful about setting the rlimit max
2024-12-17 01:15:24 -08:00
dave caruso
8aa451c2dc
bake(dev): plugins in dev server, with other fixes ( #15467 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-29 19:07:56 -08:00
Meghan Denny
b6a231add3
musl: fix test/js/bun/http/serve.test.ts ( #15271 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-26 18:18:29 -08:00
Jarred Sumner
357581c61a
Shrink Bun's binary by 3.5 MB ( #15121 )
2024-11-14 06:02:15 -08:00
Ciro Spaciari
f8d5b2e6e2
Fix module resolution cache keys ( #14901 )
...
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-10-30 22:06:21 -07:00
dave caruso
e93c5ad993
feat(bake): css, production build, dev separateSSRGraph=false ( #14622 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-10-27 01:57:36 -07:00
dave caruso
dd6554294e
bake: release to canary only ( #14258 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-10-03 00:52:14 -07:00
dave caruso
514d37b3d2
kit: implement server components dev server ( #14025 )
2024-09-27 20:53:39 -07:00
Dylan Conway
5af782344f
fix(watch): use case insensitive path comparison ( #13909 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-14 01:41:33 -04:00
dave caruso
c2c2048072
framework api: init / work in progress ( #13215 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-12 16:44:03 -07:00
Meghan Denny
ff0f9d5f4d
node:worker_threads: fix assertion when require is used with 'eval:true' ( #13108 )
2024-08-07 02:30:40 -07:00
dave caruso
2680deb5d3
feat: bun build --compile --sourcemap ( #13047 )
2024-08-06 13:51:11 -07:00
dave caruso
b76376f8a6
chore: upgrade zig to 0.13.0 ( #9965 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Grigory <grigory.orlov.set@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-06-20 13:48:39 -07:00
Dylan Conway
9ad75c6b3a
fix(install): possible sentinel mismatch when reading workspaces ( #11856 )
2024-06-13 16:54:04 -07:00
dave caruso
7be0669840
fix(bundler): more windows backslash stuff ( #11333 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-25 21:52:59 -07:00
Meghan Denny
ecb6c810c8
replace [bun.MAX_PATH_BYTES]u8 with bun.PathBuffer ( #11162 )
2024-05-21 15:55:49 -07:00
dave caruso
0457d6a748
fix(win): bugs with files in roots / bugs with resolver and unc shares ( #11155 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-21 13:51:47 -07:00
Meghan Denny
16e0f6e671
make WindowsFileAttributes a packed struct and add a windows junction test ( #11161 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-05-19 14:28:43 -07:00
dave caruso
d0cacfc2ac
fix junction/pnpm on window ( #11157 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-17 19:32:44 -07:00
Meghan Denny
e45cd749e5
chore(zig): add a new lint for using bun.FD.cwd() ( #10683 )
2024-05-01 16:12:09 -07:00
Jarred Sumner
189aa22845
Support comments & trailing commas in require/import package.json ( #10531 )
2024-04-25 20:48:42 -07:00
Jarred Sumner
1191bf0c15
Delete dead test code ( #10405 )
...
* Delete dead test code
* Apply formatting changes
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-20 21:25:10 -07:00
Dylan Conway
ad44949621
fix upgrade crash ( #10387 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-20 16:14:09 -07:00
Jarred Sumner
688844b472
refactor: ban std.debug.assert ( #10168 )
...
* Ban `std.debug.assert`
* Create .clangd
* Update lint.yml
* Update linter.ts
* update
* lint
* Update linter.ts
* Update linter.ts
* update
* Update linter.ts
* update
* Update linter.ts
* more
* Update install.zig
* words
* Remove UB
2024-04-11 17:52:29 -07:00
Jarred Sumner
8326235ecc
Ask for fewer permissions when opening directories ( #9928 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-04-04 04:18:15 -07:00
Jarred Sumner
00f27fbeec
Get bunx tests to pass on Windows ( #9729 )
...
* Get bunx tests to pass on Windows
* wip
* WIP
* wip
* wip
* ads
* asdf
* makeOpenPath
* almost revert
* fix build
* enoent
* fix bun install git repos
* cleanup
* use custom zig stdlib from submodule
* update dockerfile to copy zig stdlib sources
* fix dockerfile, update gitmodules
* fix dockerfile
* fix build
* fix build
* fix symlinkat
* fix build
* fix build
* Remove usages of unreachable
* Fixup
* Fixup
* wip
* fixup
* Fix one of the bugs
* asd
* Normalize BUN_INSTALL_CACHE_DIR var
* Set iterable to false when we're about to delete
* Update bun.zig
* I still can't repro this outside CI
* i think that fixes it?
* fix posix compile
* factor out directory creation
* update all install methods to use InstallDirState
* move walker creation to init function
* fix error cleanup
* fix posix compile
* all install tests pass locally
* cleanup
* [autofix.ci] apply automated fixes
* Fix posix regressions
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
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-04-03 20:53:28 -07:00
dave caruso
73a55cf075
windows: make more windows tests pass ( #9370 )
...
* run-eval.test.ts
* transpiler-cache.test.ts
* node net
* some open things
* a
* a
* yikes
* incredible
* run it back
* a
* this code is what i like to call, incorrect
* ok its all worng
* remove an assertion that is wrong again
* update test things and rebase
* performance test
* mark filesink with mkfifo as todo. see #8166
* hehe
* not done
* awa
* fs test pass
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-22 23:40:45 -07:00
dave caruso
3b13f7f998
fix: large bunx changes, mostly for better windows support ( #9143 )
...
* make bun-debug properly override `bun` in path
* windows path
* fix more issues with bunx
* sync
* stuff
* stuff
* f
* stuff
* further work
* a
* [autofix.ci] apply automated fixes
* okay
* fix building on posix systems
* ok
* make it so bun create cant crash + review
* docuemnt why return false is ok
* .
* cache bust
* merge
* yeah
* yea
* Update src/install/install.zig
* review results
* this will probably fix hardlink issue on windwo
* okay
* how did that work before
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-07 14:20:39 -08:00
dave caruso
360bbb4dea
fix(windows): fix directory cache regression "expected to end with a trailing slash" ( #9144 )
...
* okaaaaaaaay
* Revert "resolver: fix debug mode crash in test/bundler/bun-build-api.test.ts (#9140 )"
This reverts commit 331d079dad .
* correctly fix the cache bust bug
this was introduced a couple of commits ago in my random fixes,
where i put the wrong fix to another directory caching bug.
i still stand by the assertion in place despite it causing many people
issues. it's precense will prevent subtle module resolutions failures.
* add an extra comment
* fix building a release build locally
* add a better test case for 3216
* staging
* fix mac issues
* ok
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-28 14:51:14 -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