aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/headers.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-02matchers for less than and greater than (#1573)Gravatar Dylan Conway 1-0/+1
* toBeGreaterThan with tests * toBeGreaterThanOrEqual and tests * toBeLessThan and toBeLessThanOrEqual with tests * expect types * switch expressions
2022-12-01bun test `toStrictEqual` (#1568)Gravatar Dylan Conway 1-0/+1
* toStrictEqual and bug fix in deepEqual * rebase Remove some dead bindings code * remove debugging test * canGetIndexQuickly for array holes * isStrict template Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-01Reduce memory usage in Bun.serve() by up to 3x (#1569)Gravatar Jarred Sumner 1-0/+2
* Update WebKit * Use 5x less memory in Bun.serve() * Update Dockerfile.devcontainer * Update async-overhead.mjs Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-11-29Remove some dead bindings codeGravatar Jarred Sumner 1-143/+3
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-1/+1
2022-11-28toHaveProperty and tests (#1558)Gravatar Dylan Conway 1-0/+1
* toHaveProperty and tests * emoji tests
2022-11-27[console.log] Fix printing latin1 supplement characters at runtimeGravatar Jarred Sumner 1-0/+1
Fixes https://github.com/oven-sh/bun/issues/1031#issuecomment-1236092120
2022-11-23Bun.deepEquals and expect().toEqual() (#1548)Gravatar Dylan Conway 1-0/+1
* all of deepEquals * remove comment, tests, move inline function
2022-11-20Fix spurious rejected promise handler callsGravatar Jarred Sumner 1-1/+1
2022-11-18bun test matchers and tests (#1526)Gravatar Dylan Conway 1-1/+2
* ignore webkit for cherry-pick * toContain and toBeTruthy * toBe null, undefined, falsy, toHaveProperty, .not * markBindings * remove toHaveProperty, undo ignore webkit, more tests * undo ignore webkit * remove bad tests * check if length property exists for toHaveLength() * fix call signature * handle argument that is not an integer * getLengthOfArray returns u64 * switch to truncate * toHaveLength() edge cases * add toBooleanSlow() * infinity, nan, negative
2022-11-06Add way to explicitly coercion object to int32Gravatar Jarred Sumner 1-0/+1
2022-10-20Fix Bun.serve error handler error param (#1359)Gravatar zhiyuan 1-0/+1
2022-10-17Implement `sendText`, `sendBinary`, `publishText`, `publishBinary`Gravatar Jarred Sumner 1-0/+1
2022-10-09Update WebKitGravatar Jarred Sumner 1-1/+1
2022-10-06Add simple Hot Module Reloading to bun's runtimeGravatar Jarred Sumner 1-0/+1
2022-10-05Add abstraction for ticking async event loopGravatar Jarred Sumner 1-0/+1
2022-10-01Increase test coverage for request body streamingGravatar Jarred Sumner 1-1/+1
There is still one memory issue to address
2022-09-28Fix several bugs with Request body streaming + store small response bodies ↵Gravatar Jarred Sumner 1-0/+2
without an extra memory allocation
2022-09-22Faster `Blob` + begin to implement `FileSink`Gravatar Jarred Sumner 1-0/+6
2022-09-14Make `crypto.getRandomValues()` faster + fix > 1 byte/element typed arraysGravatar Jarred Sumner 1-0/+2
Fix crypto.getRandomValues() with > 1 byte element typed arrays Fixes https://github.com/oven-sh/bun/issues/1237
2022-09-09[bun:ffi] Add `f32`, `f64`, `i64`, u64` to `read`Gravatar Jarred Sumner 1-0/+4
2022-09-08[bun:ffi] Implement `read.{u8,i8,i16,i32,u16,u32,ptr,intptr}`Gravatar Jarred Sumner 1-0/+8
`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-27Update WebKit (#1165)Gravatar Jarred Sumner 1-1/+1
* Update WebKit * Fix `DataView` and non-8 bit sized typed arrays with TextDecoder * New WebKit Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-08-21Add a binding for creating atomic stringsGravatar Jarred Sumner 1-0/+1
2022-08-20Export `createSyntheticModule`Gravatar Jarred Sumner 1-0/+1
2022-08-17New Zig <> C++ bindings generator. +20% faster HTTP serverGravatar Jarred Sumner 1-0/+4
2022-08-17[bun:ffi] Improve `ptr()` performance and implement code generation for DOMJITGravatar Jarred Sumner 1-0/+1
2022-08-10improve reliability of `WebSocket`Gravatar Jarred Sumner 1-1/+1
- Fix GC not keeping WebSocket alive - Fix ignoring messages sent immediately after upgrade Fixes https://github.com/oven-sh/bun/issues/521
2022-08-08Raise error on unhandled rejected promises (#1010)Gravatar Zilin Zhu 1-0/+1
* deal with unhandled rejected promise * use Vector<Strong<JSPromise>> to store rejected promises
2022-07-02[streams] Rename `drain()` -> `flush()`Gravatar Jarred Sumner 1-222/+160
2022-06-29[React SSR] Avoid `getById` slow pathGravatar Jarred Sumner 1-23/+24
thanks @Constellation
2022-06-26wip ReadableStream for HTTP(s) ServerGravatar Jarred Sumner 1-1/+16
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-0/+474