Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-09-22 | Add epoll to list of syscalls that can fail | 1 | -0/+1 | ||
2022-09-22 | Remove a mutex when enqueuing concurrent tasks | 1 | -3/+3 | ||
2022-09-22 | 1 event loop per thread. Instead of 3. | 3 | -134/+129 | ||
uWebSockets and uSockets will need to be upgraded to match the changes. Previously: - Bun had a separate kqueue/eventfd just for async wakeups. - Bun had a separate kqueue/epoll just for reading files non-blocking in the same thread This commit unifies it into one event loop per thread | |||||
2022-09-22 | [breaking] Bun.serve().hostname should return the hostname instead of the ↵ | 1 | -1/+1 | ||
baseURI Previously Bun.serve().hostname was returning the baseURI, effectively the `origin` That was incorrect. Instead, it should be returning the hostname | |||||
2022-09-21 | Fix crash when creating an empty array | 1 | -1/+1 | ||
2022-09-20 | Update types.zig | 1 | -1/+3 | ||
2022-09-20 | fixup | 1 | -3/+4 | ||
2022-09-20 | Update WebKit | 1 | -0/+0 | ||
2022-09-20 | Be more careful with process.argv | 1 | -8/+12 | ||
2022-09-20 | meant to include this in the previous commit | 1 | -0/+4 | ||
2022-09-20 | Add `navigator.userAgent` , `navigator.hardwareConcurrency` | 2 | -0/+50 | ||
2022-09-20 | Fix incorrect `hostname` logic | 2 | -13/+28 | ||
Fixes https://github.com/oven-sh/bun/issues/1261 | |||||
2022-09-19 | Update `process.argv` to more closely match node | 1 | -17/+12 | ||
2022-09-19 | Fix broken destructors | 1 | -5/+2 | ||
2022-09-18 | Improve the perf of reading HTTP request body | 1 | -28/+15 | ||
2022-09-18 | Fix occasional crash with .json() | 1 | -1/+7 | ||
2022-09-18 | Add a way to disable timeout and keepalive | 1 | -30/+52 | ||
2022-09-17 | Fix napi module registration | 3 | -6/+17 | ||
Fixes https://github.com/oven-sh/bun/issues/1240 | |||||
2022-09-17 | Update WebKit | 1 | -0/+0 | ||
2022-09-17 | Explicitly enable ShadowRealm | 1 | -0/+1 | ||
2022-09-17 | Prevent returning resolved promises | 1 | -1/+3 | ||
2022-09-17 | Fix default hostname | 1 | -1/+1 | ||
2022-09-17 | Partially implement `server.fetch()` on Bun.serve | 2 | -5/+127 | ||
2022-09-17 | Fix missing `reason` and `code` in `CloseEvent` | 4 | -41/+42 | ||
cc @paperdave hardcoded right now but at least tells you why it closed | |||||
2022-09-16 | Make `fetch` throw a `SystemError` on reject | 1 | -9/+7 | ||
2022-09-16 | Fix issue with server not starting before exiting | 3 | -2/+10 | ||
2022-09-16 | Fix `origin` missing `protocol` in `URL` | 1 | -1/+15 | ||
Fixes https://github.com/oven-sh/bun/issues/1244 | |||||
2022-09-16 | Fix process not exiting | 2 | -11/+7 | ||
2022-09-16 | Make new HTTP client more stable | 9 | -367/+470 | ||
2022-09-14 | Use entropy cache for websocket mask | 1 | -10/+9 | ||
2022-09-14 | 5x faster crypto.randomValues() | 3 | -22/+114 | ||
2022-09-14 | Make `crypto.getRandomValues()` faster + fix > 1 byte/element typed arrays | 9 | -51/+188 | ||
Fix crypto.getRandomValues() with > 1 byte element typed arrays Fixes https://github.com/oven-sh/bun/issues/1237 | |||||
2022-09-11 | Fix bug with `Buffer.from([123], "utf8")` | 2 | -3/+9 | ||
cc @worm-emoji | |||||
2022-09-11 | New HTTP client (#1231) | 2 | -12/+20 | ||
* wip * It mostly works! * Support `bun install` * Support `bun create` * Support chunked transfer encoding * Handle Keep Alive when redirecting to a different domain Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> | |||||
2022-09-09 | Fix segfault due to GC and some more helper functions (#1221) | 8 | -193/+292 | ||
* Fix segfault due to GC and some more helper functions * fix upon reviews * add visitChildren | |||||
2022-09-09 | [node:fs] Fix readFileSync on non-regular files | 1 | -0/+42 | ||
Fixes https://github.com/oven-sh/bun/issues/1220 | |||||
2022-09-09 | Fix potential crash when returning an empty string | 2 | -0/+22 | ||
2022-09-09 | [bun:ffi] Add `f32`, `f64`, `i64`, u64` to `read` | 7 | -10/+311 | ||
2022-09-09 | Fix failing tests after ptr change | 2 | -3/+11 | ||
2022-09-09 | [breaking][bun:ffi] Change the pointer representation to be a 52-bit integer | 5 | -33/+46 | ||
Storing the pointer this way enables DOMJIT to be used with a new API in `bun:ffi` that lets you efficiently read values from a pointer without creating a new `DataView` ```js import {read} from 'bun:ffi'; const myPtr = myFunctionThatReturnsAPtr(); // new: const value = read.u32(myPtr, 0); // old: const view = new DataView(toArrayBuffer(myPtr)); const otherValue = view.getUint32(0, true); ``` cc @bwasti this might be a breaking change for that call to `napi_add_finalizer` | |||||
2022-09-08 | Last commit was missing some code | 1 | -13/+211 | ||
2022-09-08 | [bun:ffi] Implement `read.{u8,i8,i16,i32,u16,u32,ptr,intptr}` | 9 | -18/+449 | ||
`read` in `bun:ffi` lets you read data from a pointer without creating a new DataView/ArrayBufferView ``` import {read} from 'bun:ffi'; expect(read.i8(ptr_, i)).toBe(view.getInt8(i, true)); expect(read.i16(ptr_, i)).toBe(view.getInt16(i, true)); expect(read.i32(ptr_, i)).toBe(view.getInt32(i, true)); expect(read.u8(ptr_, i)).toBe(view.getUint8(i, true)); expect(read.u16(ptr_, i)).toBe(view.getUint16(i, true)); expect(read.u32(ptr_, i)).toBe(view.getUint32(i, true)); } ``` | |||||
2022-09-08 | Add native helper functions for Readable and convert ReadableState ↵ | 6 | -138/+405 | ||
properties to getter/setter (#1218) | |||||
2022-09-08 | Make some more globals modifiable | 2 | -89/+65 | ||
2022-09-07 | Fix crash with file descriptor | 1 | -10/+6 | ||
2022-09-07 | Helper for seeing if a File Blob is seekable | 1 | -0/+12 | ||
2022-09-07 | [Bun.write] clean up some error handling | 1 | -14/+32 | ||
2022-09-07 | Bun.write - only truncate if its a path string | 1 | -2/+2 | ||
2022-09-07 | Fast path for `Bun.write` with short-ish strings & typed arrays | 1 | -11/+225 | ||
Helps with https://github.com/oven-sh/bun/issues/646 but does not fully fix | |||||
2022-09-07 | Mild perf improvement for bindings | 1 | -0/+1 | ||