Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* make our debug assertions work
* install bun-webkit-debug
* more progress
* ok
* progress...
* more debug build stuff
* ok
* a
* asdfghjkl
* fix(runtime): fix bad assertion failure in JSBufferList
* ok
* stuff
* upgrade webkit
* Update src/bun.js/bindings/JSDOMWrapperCache.h
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* fix message for colin's changes
* okay
* fix cjs prototype
* implement mainModule
* i think this fixes it all
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
* dfghj
* Handle messages that did not finish
* tidy
* ok
* a
* Merge remote-tracking branch 'origin/main' into dave/ipc-fixes
* test failures
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
|
|
worker_threads instance (#6521)
* fix: ensure threadId property is exposed on worker_threads instance
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* fix: rename lazy worker_threads module properties
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* fix: add getter for threadId
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: improve worker_threads UTs
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: fix lazy loading
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: fix worker_threads test
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
* fix: return the worker threadId
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
* test: refine worker_threads expectation on threadId
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
---------
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
|
|
|
|
|
|
* feat(test): implement `toEqualIgnoringWhitespace`
* equality check in matcher & incorrect arg error
|
|
|
|
|
|
|
|
* doc/ipc.md
* update/spawn.md
* improved-documentation-and-added-send-type
* Updates
* Updates
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
|
|
fetch errors (#6390)
* fix abort signal and fetch error
* fix fetch error and lock behavior
|
|
|
|
Returning undefined simply falls through to the next plugin, or to the default loader.
This is defined by esbuild, and supported by Bun, but the types don't reflect it properly.
|
|
|
|
|
|
|
|
|
|
|
|
* Loop through the return values of getaddrinfo
* Remove incorrect assertion
* Remove extra check
* Remove extra check
* Update bsd.c
* More consistent
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
* Add support for `build.module` in `Bun.plugin`
* Another test
* Update docs
* Update isBuiltinModule.cpp
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
|
|
* fix(runtime): followup for `server.requestIP`
* oops
* yeah
* sure
* Update src/deps/libuwsockets.cpp
* Update Dockerfile
* lol
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
(#6165)
* [server] requestIp and AnyRequestContext
Changed Request.uws_request to the new AnyRequestContext. This
allows grabbing the IP from a Request. Unfinished.
* [server] basic `requestIp` implementation
Currently using uws's requestIpAsText, which always returns a ipv6
string. We should return a `SocketAddress` object to the user instead,
which will contain the formatted address string and what type it is.
We'll have to use requestIpAsBinary and parse that ourselves.
* TypeScript docs, use `bun.String`, return `undefined` instead of `null`
if we can't get the ip.
* binary address formatting
* uws getRemoteAddress binding
* remove dead code
* working
* final touches:sparkles:
* I will abide by the results of this poll.
---------
Co-authored-by: Parzival-3141 <29632054+Parzival-3141@users.noreply.github.com>
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* hell
* make it so bun-debug-src
* teag
* wild
* yippee
* fas
* fix async hooks assertions
* yap
* yeah that's wild
* aa
* a
* increase time allowed
* so trivial
|
|
* add Bun.Transpiler DCE option
* mark DCE toggle experimental + tests
* full (hopefully) DCE toggle
* update DCE toggle tests
* add DCE option to types
* run fmt
* Removed uws submodule
|
|
chunked encoding, fix case when stream do not return a promise on pull (#6086)
|
|
|
|
|
|
* Implement `process.constrainedMemory()`
* Add a comment
* Handle max
* Missing header
* We can use WTF::ramSize now
* Update WebKit
* Update ZigGlobalObject.cpp
* WebKit
* :scissors:
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* test
* gadsgsagdsa
* add better err msg
* r
* oops
* ok
|
|
* Improve types for each
* more
* remove
|
|
|
|
|
|
* Fix bugs
* Fix bugs
* Revert "Fix bugs"
This reverts commit 608639eb2214fdf4310477051ce47d20702b5dd0.
|
|
|
|
* WIP
* WIP
|
|
|
|
|
|
|
|
* prototype
* asdfg
* It works!
* okay its done now fr
* self review
* ok
* fix
* fix test
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
|
* Fix VSCode extension configuration documentation
* Fix config descriptions
* Fix typo
* Implement bun.lockb highlighter
* Update style
* Improve styling
* Revert bunlock change
* Implement bun tasks
* Revert change
* Package json codelens
* Fixes
* Refactor
|
|
|
|
|
|
* fix size limit
* uncork if needed instead of terminating
* undo unrelated changes
|
|
* Fix VSCode extension configuration documentation
* Fix config descriptions
* Fix typo
* Implement bun.lockb highlighter
* Update style
* Improve styling
* Revert bunlock change
|
|
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
* async all node:fs functions
* draw the rest of the owl
* LLVM & Clang 16
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|