Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-10-03 | compat: Buffer: allow optional positional arguments to be undefined (#4911) | 1 | -14/+51 | ||
* fix `Buffer` compat with Node.js: compare * fix `Buffer` compat with Node.js: copy | |||||
2023-09-18 | fix(runtime/node): Allow `new Buffer.alloc()` + Upgrade WebKit (#5699) | 1 | -20/+18 | ||
* make bufferconstructor a static hash table * chore: Upgrade WebKit to 4d995edbc44062b251be638818edcd88d7d14dd7 * make it constructable now * fix comment * yippee * update CI workflows | |||||
2023-09-11 | Fix `Buffer.from` to handle double-byte hex encoding strings (#4933) | 1 | -0/+1 | ||
Close: #4919 | |||||
2023-09-07 | Progress for Next.js (#4468) | 1 | -50/+17 | ||
* L * ipc * asdfghjkl * dfghjk * it works! * types * patches for next.js * sdfghj * wsdfgn,./ * this * yolo * okay loser * asdfghjk * add some more APIs * MESS * sdfghjkl * remove native events from streams * stuff * remove lazy(primordials) test * debugging * okay * less fake extensions object * fix `Buffer.toString()` args logic * fix deserialize * make tests work * add test for `Buffer.toString` args * Update server.zig * remove test * update test * Update spawn-streaming-stdin.test.ts * fix linux build * Update fs.test.ts * cli message improvements * dfshaj * Fix fs.watch bug maybe? * remove --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com> | |||||
2023-08-19 | Fix crash impacting sharp & resvg (#4221) | 1 | -1/+1 | ||
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> | |||||
2023-08-15 | disable domjit for `Buffer.alloc` | 1 | -5/+5 | ||
2023-08-04 | Buffer.copy should ignore out-of-range sourceEnd (#3971) | 1 | -1/+2 | ||
2023-07-05 | Fixes #3515 (#3523) | 1 | -32/+1 | ||
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> | |||||
2023-07-04 | Add alias for readBigUInt64BE ... (#3514) | 1 | -4/+13 | ||
* Add alias for `readBigUInt64BE` ... Close: https://github.com/oven-sh/bun/issues/3338 * add some tests for `readBigUint64BE` alias * format code | |||||
2023-07-01 | Slight fixup | 1 | -2/+8 | ||
2023-07-01 | small cleanup | 1 | -12/+21 | ||
2023-07-01 | [WIP]Fix calling `Buffer.toString` with `(offset, length, encoding)` (#3467) | 1 | -27/+40 | ||
* Allow `toString` to be called with `(offset, length, encoding)`. Close: #3085 * handle undefined value * add tests for buffer.xxxSlice * fix parameters * fix offset and length | |||||
2023-05-22 | Write out builtins with TypeScript + Minify them (#2999) | 1 | -3/+1 | ||
* start work drafting how builtins will work * work on ts builtin * builtins stuff so far * builtins * done for today * continue work * working on it * bindings so far * well, it builds. doesnt run * IT RUNS * still lots of ts errors but it is functional * sloppy mode | |||||
2023-05-22 | [node:buffer] Add missing `inspect` functionbun-v0.6.3 | 1 | -0/+1 | ||
cc @paperdave | |||||
2023-04-13 | Upgrade WebKit (#2643) | 1 | -1/+4 | ||
* Missing export * Regenerate builtins * Fix crash in require() * Various breaking JSC changes * hopefully speed up C++ compilation a little * Skip failing test fo rnow * Update WebKit * Add a comment * Fix error in postinstall * Update WebKit --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> | |||||
2023-03-07 | improve `Buffer` compatibility with Node.js (#2341) | 1 | -286/+288 | ||
* improve `Buffer` compatibility with Node.js * use `memmove()` allow `encoding` to be `undefined` | |||||
2023-02-05 | speed it up a little more | 1 | -50/+91 | ||
2023-02-05 | `substringSharingImpl` allocates, do not use | 1 | -1/+4 | ||
2023-02-03 | allow other ArrayBufferView in Buffer functions | 1 | -6/+6 | ||
2023-01-30 | fix utf16le fill and utf8 partial write of utf16 (#1943) | 1 | -1/+1 | ||
2023-01-29 | [buffer] More passing Node.js tests | 1 | -103/+145 | ||
2023-01-29 | cleanup | 1 | -6/+6 | ||
2023-01-29 | [buffer] Buffer.byteLength passes Node.js tests | 1 | -36/+82 | ||
2023-01-28 | [buffer] Use jsDynamicCast | 1 | -1/+1 | ||
2023-01-28 | [buffer] Use `length` instead of `byteLength` for non-uint8array and ↵ | 1 | -4/+30 | ||
non-arraybuffer | |||||
2023-01-28 | [buffer] Add missing `offset` property | 1 | -0/+1 | ||
2023-01-26 | copy paste is harder to mess up than C macros | 1 | -34/+81 | ||
2023-01-25 | Fixes #1902 | 1 | -79/+39 | ||
2023-01-24 | Fix canary bug | 1 | -2/+5 | ||
2023-01-23 | 3x faster `Buffer.isBuffer` | 1 | -20/+47 | ||
2023-01-23 | Make `Object.prototype.toString.call(new Buffer(0))` consistent with Node.js | 1 | -14/+17 | ||
2023-01-23 | fix(Buffer) Fix arguments in buffer.write, fix size returned from ↵ | 1 | -17/+85 | ||
buffer.write for utf16, fix size calc for base64, fix calc for hex byte size (#1881) * fix buffer write when more than 2 args are passed * fix encoding parameter * better buffer write tests * fix ucs2/utf8 len return * fix base64 size in Buffer write * fix hex encoding size * actual fix base64 * actual fix base64 * fix segfault * add fill parameter in Buffer.alloc * use createUnitialized when alloc have fill parameter, use RETURN_IF_EXCEPTION when static casting * fix utf16le, ucs2 copying in Buffer write | |||||
2023-01-21 | Refactor `new Buffer` to pass Node.js tests | 1 | -12/+105 | ||
2023-01-21 | [Buffer] Add deprecated `parent` property | 1 | -0/+1 | ||
2023-01-21 | Handle string subclasses and new String() in new Buffer | 1 | -2/+11 | ||
2023-01-21 | Make Buffer.alloc* 3ns faster | 1 | -11/+17 | ||
2023-01-16 | [napi] Fix potential crash in `napi_create_buffer_copy`, `napi_create_buffer` | 1 | -1/+1 | ||
2023-01-10 | make it size_t | 1 | -9/+9 | ||
2023-01-10 | Make `Buffer` mockable | 1 | -83/+83 | ||
2023-01-10 | Implement Buffer swap16, swap32, swap64 (#1659) | 1 | -3/+85 | ||
* Implement Buffer swap16, swap32, swap64 * Initial incorporation of feedback - Use constexpr - Clean up the indexing - Check for detached - Use suggested text for exception text | |||||
2023-01-10 | buffer.toString(undefined) should be UTF-8 | 1 | -0/+5 | ||
2023-01-04 | 10x faster `new Buffer` (#1717) | 1 | -210/+244 | ||
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> | |||||
2022-12-05 | Fix regression | 1 | -6/+11 | ||
2022-11-27 | Fix Buffer.toString("latin1") and make Buffer.toString("utf16le") faster | 1 | -3/+17 | ||
Fixes #455 Fixes #1016 | |||||
2022-11-27 | Fix failing buffer tests | 1 | -6/+12 | ||
2022-11-25 | Upgrade WebKit | 1 | -11/+10 | ||
2022-10-06 | Fix Buffer.toJSON() | 1 | -15/+16 | ||
2022-09-16 | Make new HTTP client more stable | 1 | -4/+3 | ||
2022-08-29 | Fixed JSBuffer write issues (#1175) | 1 | -15/+12 | ||
2022-08-29 | chore: Clean buffer C API (#1174) | 1 | -177/+47 | ||