Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-09-11 | New HTTP client (#1231) | 14 | -742/+1556 | ||
* 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 | Handle `default` better with ESM node | 1 | -12/+41 | ||
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 | ||
2022-09-07 | Fix issue with loading bundled entry pointsbun-v0.1.11 | 1 | -3/+5 | ||
2022-09-06 | workaround test failure | 8 | -72/+103 | ||
2022-09-06 | Move some things to the stack | 1 | -9/+10 | ||
2022-09-06 | Add a helper for static strings | 3 | -85/+94 | ||
2022-09-06 | [Bun.plugin] Fix validating `loader` | 1 | -3/+4 | ||
2022-09-06 | [Bun.plugin] Throw an error when the loader is invalid | 1 | -0/+2 | ||
2022-09-06 | Fix potential crash when resolving package.json "exports" | 1 | -1/+1 | ||
Have not seen a crash happen here yet | |||||
2022-09-06 | Fix bug with macros | 1 | -10/+8 | ||
2022-09-06 | [Bun.plugin] Allow slashes in namespaces | 1 | -1/+1 | ||
2022-09-06 | Rename LinkerMap to Aliases to be less confusing | 1 | -1/+1 | ||
2022-09-06 | Return a `Buffer` object for fs.readFile | 4 | -3/+56 | ||
2022-09-06 | Fix issue with `process` esm node export | 1 | -31/+68 | ||
2022-09-06 | Set a default Loader based on filename | 1 | -5/+7 | ||
2022-09-06 | Add `node:assert` to list of hardcoded modules to fix ESM compat issue | 2 | -13/+3241 | ||
2022-09-06 | preserve statements when generating a separate module for bun plugin | 1 | -2/+29 | ||
2022-09-06 | Loosen-up the streams polyfill | 1 | -21/+10 | ||
2022-09-06 | Add `@` to acceptable namespace characters | 1 | -1/+1 | ||
2022-09-06 | Make the plugins a little more resilient | 5 | -53/+81 | ||
2022-09-06 | Add missing `Blob` | 1 | -2/+2 | ||
2022-09-06 | Make fs extensible | 1 | -108/+113 | ||
2022-09-06 | Fix crash in Buffer module | 1 | -8/+11 | ||
2022-09-06 | Add native ReadableState (#1210) | 12 | -123/+526 | ||
* use functionSpace for JSStringDecoderConstructor and fix console.log on prototype * Add native ReadableState * move kPaused to class property | |||||
2022-09-05 | [Bun.plugin] Clean up exception handling | 3 | -10/+11 | ||
2022-09-05 | Support async `onLoad` callbacks in `Bun.plugin` | 19 | -684/+1504 | ||
2022-09-05 | Move `generateObjectModuleSourceCode` to separate file to fix build error | 2 | -24/+31 | ||
2022-09-05 | `inline` | 1 | -1/+1 | ||
2022-09-05 | Missing #pragma once | 1 | -0/+2 | ||
2022-09-04 | Rename `is_macro_mode` -> `use_alternate_source_cache` | 2 | -4/+4 | ||
2022-09-04 | `[node:module]` Implement `_resolveFileName`, stub `_nodeModulePaths` & `_cache` | 7 | -86/+150 | ||
Closes https://github.com/oven-sh/bun/issues/1111 | |||||
2022-09-04 | @globalPrivate -> @linkTimeConstant | 6 | -111/+110 | ||
See https://github.com/WebKit/WebKit/pull/2553 I'm not 100% sure @linkTimeConstant is correct. Specifically, I don't know if it's a link time constant or just a global private thing. | |||||
2022-09-03 | [Node API] Fix `napi_module_register` | 6 | -20/+59 | ||
2022-09-03 | Fix `createRequire()` in `node:module` | 8 | -156/+263 | ||
Fixes https://github.com/oven-sh/bun/issues/831 Fixes https://github.com/oven-sh/bun/issues/453 |