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
83a825edff
More efficient protect/unprotect ( #19621 )
2025-05-14 18:49:35 -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
7d7512076b
remove more usingnamespace ( #19042 )
2025-04-17 19:04:05 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -07:00
Don Isaac
44f252539a
fix: mark JSPromise.rejectedPromiseValue as deprecated ( #18549 )
...
### What does this PR do?
`JSPromise.rejectedPromiseValue` does not notify the VM about the promise it creates, meaning unhandled rejections created this way do not trigger `unhandledRejection`. This is leading to accidental error suppression in (likely) a lot of places. Additionally it returns a `JSValue` when really it should be returning a `*JSPromise`, making Zig bindings more type-safe.
This PR renames `rejectedPromiseValue` to `dangerouslyCreateRejectedPromiseValueWithoutNotifyingVM` and marks it as deprecated. It does _not_ modify code calling this function, meaning no behavior changes should occur. We should slowly start replacing its usages with `rejectedPromise`
## Changelog
- Rename `rejectedPromiseValue` to `dangerouslyCreateRejectedPromiseValueWithoutNotifyingVM`
- Mark `JSPromise.asValue` as deprecated. It takes a `*JSGlobalObject` but never uses it. New code should use `toJS()`
- Refactors `blob` to make null checks over `destination_blob.source` a release assertion
- `ErrorBuilder.reject` uses `rejectedPromiseValue` when 1.3 feature flag is enabled
2025-04-09 13:27:51 -07:00
Inqnuam
946f41c01a
feat(s3Client): add support for ListObjectsV2 action ( #16948 )
2025-04-02 09:35:08 -07:00
Jarred Sumner
4806e84cc1
Revert "remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )"
...
This reverts commit a199b85f2b . It does not compile on Windows.
2025-04-01 08:35:51 -07:00
chloe caruso
a199b85f2b
remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )
2025-03-31 17:17:38 -07:00
Dylan Conway
a3585ff961
node:crypto: implement hkdf and hkdfSync (#18312 )
2025-03-21 01:03:01 -07:00
Jarred Sumner
e39305dd91
Remove deprecated shim wrapper for zig <> c++ fns ( #18269 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-03-19 15:40:08 -07:00
Niklas Mollenhauer
b089558674
fix: removal of trailing slash in s3 presign ( #18158 )
2025-03-13 13:19:04 -07:00
chloe caruso
1a6a34700f
chore: less usingnamespace, deprecate bun.C in favor of automatic translate-c ( #17830 )
2025-03-03 15:04:21 -08:00
chloe caruso
4f58ff7933
changes to JSC.Strong, fix memory leaks in dev server ( #17738 )
2025-02-27 15:09:35 -08:00
Jarred Sumner
0237baee92
Zero out sensitive memory before freeing ( #17750 )
2025-02-26 23:34:50 -08:00
Ciro Spaciari
79afefa488
fix(s3) Support Virtual Hosted-Style endpoints ( #17292 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-13 19:47:53 -08:00
chloe caruso
2b97d61deb
chore: remove some trivial usage of usingnamespace ( #17268 )
2025-02-11 19:38:52 -08:00
Meghan Denny
26d3688e53
zig: update to 0.14.0-dev ( #16862 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-02-01 01:11:02 -08:00
Ciro Spaciari
25f6cbd471
fix(s3) fix queue and multipart flow ( #16890 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-31 05:19:23 -08:00
Jarred Sumner
06a7499853
Add a couple more assertions ( #16791 )
2025-01-27 02:48:37 -08:00
Inqnuam
98c7b8452d
feat(s3Client): add support for AWS S3 Object Storage Class ( #16617 )
2025-01-23 05:11:41 -08:00
Ciro Spaciari
e0e4a270a8
fix(S3) if the part is too small and is not ended wait for more data before sending ( #16453 )
2025-01-18 10:47:53 -08:00
Ciro Spaciari
8c04818a80
fix(s3) fix slice with offset 0 ( #16400 )
2025-01-14 22:38:15 -08:00
Brian Kemper
0b9db36494
Add missing x-amz-acl header ( #16260 )
2025-01-10 01:23:17 +00:00
Jarred Sumner
2465ccae53
Re-sync our Mutex implementation with zig stdlib ( #16271 )
2025-01-08 21:09:27 -08:00
Ciro Spaciari
81fce29fd9
S3: refactor + S3Client static method ( #16198 )
2025-01-06 23:52:19 -08:00
Ciro Spaciari
034f776047
WIP: S3 improvements ( #16167 )
2025-01-04 19:57:35 -08:00