Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-06-01 | Bundle and minify `.exports.js` files. (#3036) | 1 | -391/+0 | ||
* move all exports.js into src/js * finalize the sort of this * and it works * add test.ts to gitignore * okay * convert some to ts just to show * finish up * fixup makefile * minify syntax in dev * finish rebase * dont minify all modules * merge * finish rebase merge * flaky test that hangs | |||||
2023-01-31 | Re-run prettier after changes | 1 | -71/+20 | ||
2022-11-09 | Add bun-types, add typechecking, add `child_process` types (#1475) | 1 | -9/+9 | ||
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com> | |||||
2022-11-02 | Update ffi.exports.js | 1 | -2/+2 | ||
2022-11-02 | Add way to know if JSCallback is threadsafe | 1 | -3/+8 | ||
2022-11-02 | [bun:ffi] Add `threadsafe` option to callbacks | 1 | -1/+2 | ||
2022-11-02 | Flip the callback order | 1 | -1/+1 | ||
2022-11-02 | [bun:ffi] Implement `JSCallback` so C can call into JS | 1 | -8/+54 | ||
2022-10-27 | Add missing `break` | 1 | -0/+1 | ||
2022-09-08 | [bun:ffi] Implement `read.{u8,i8,i16,i32,u16,u32,ptr,intptr}` | 1 | -0/+2 | ||
`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-08-28 | support pass null as NULL ptr (#1160) | 1 | -1/+1 | ||
2022-08-28 | [bun:ffi] Fix int16 / uin16 max | 1 | -3/+6 | ||
2022-08-27 | Fix ffi uint64_t parameter (#1158) | 1 | -7/+5 | ||
2022-08-17 | [bun:ffi] Improve `ptr()` performance and implement code generation for DOMJIT | 1 | -8/+10 | ||
2022-08-09 | [bun:ffi] ~30% perf improvement for wrapped functions | 1 | -2/+59 | ||
2022-07-17 | Fixes https://github.com/oven-sh/bun/issues/769 | 1 | -1/+8 | ||
Not tested | |||||
2022-06-22 | change the directory structurejarred/rename | 1 | -0/+320 | ||