aboutsummaryrefslogtreecommitdiff
path: root/src/http.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-07-02Rename `defaultErrorHandler` to `runErrorHandler`Gravatar Jarred Sumner 1-2/+2
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-1/+1
2022-05-19[bun de] Fix crash when printing source mapsGravatar Jarred Sumner 1-11/+4
2022-05-19[wip] Solid.js support for Bun!Gravatar Jarred Sumner 1-0/+3
2022-04-18Fix wasm buildGravatar Jarred Sumner 1-3/+5
2022-04-11[bun.js] Add a `Server.stop` functionGravatar Jarred Sumner 1-2/+0
2022-04-11:scissors: dead codeGravatar Jarred Sumner 1-46/+12
2022-04-10make checking for bun modules a compile time stepGravatar Jarred Sumner 1-0/+2
2022-04-08Fix Next.js stylesheet bugGravatar Jarred Sumner 1-2/+10
2022-04-08remove some code bloatGravatar Jarred Sumner 1-19/+3
2022-04-05`[bun dev]` Fix segfaultsGravatar Jarred Sumner 1-30/+57
2022-03-31[bun dev] Re-create the shared buffer for each websocketGravatar Jarred Sumner 1-6/+5
2022-03-24Implement error page for HTTP serverGravatar Jarred Sumner 1-135/+32
2022-03-17Move `Bun` to JSC.APIGravatar Jarred Sumner 1-2/+2
2022-03-17query_string_map -> urlGravatar Jarred Sumner 1-1/+1
2022-03-14Fix a couple memory leaks in `bun dev`Gravatar Jarred Sumner 1-25/+88
2022-03-14[bun dev] Fix crash on macOSGravatar Jarred Sumner 1-0/+14
2022-03-11Source Maps for client-side errors & columnsGravatar Jarred Sumner 1-1/+12
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-26/+26
2022-03-07source maps optimizationsGravatar Jarred Sumner 1-10/+13
2022-03-061.7x faster sourcemap printingGravatar Jarred Sumner 1-24/+32
2022-03-06source maps work for app code in `bun dev`!Gravatar Jarred Sumner 1-50/+184
2022-03-04upgrade zigjarred/upgrade-zig-2Gravatar Jarred Sumner 1-4/+7
2022-03-02[bun dev] Improve HMR performance by pooling websocket threadsGravatar Jarred Sumner 1-37/+59
Previously, bun would create a new thread for each websocket connection. Now, it re-uses them Eventually, this should use evented i/o but other changes need to be made to support that
2022-03-02Send `Date` header in `bun dev`Gravatar Jarred Sumner 1-0/+9
2022-03-01cleanup code that checks if it should send an HTTP bodyGravatar Jarred Sumner 1-6/+6
2022-02-27WASMGravatar Jarred Sumner 1-6/+6
2022-02-24[bun dev] Fix bug with not transpiling files at the rootGravatar Jarred Sumner 1-12/+34
2022-02-20[bun dev] Implement `/bun:info` endpointGravatar Jarred Sumner 1-0/+51
This returns metadata for bun
2022-02-20[bun dev] Implement open in editor for transpiled filesGravatar Jarred Sumner 1-40/+115
2022-02-18[bun dev] Errors with file names can be opened in editor nowGravatar Jarred Sumner 1-2/+189
2022-02-18more mimallocGravatar Jarred Sumner 1-7/+8
2022-02-11`std.os.`exit -> `Global.exit` so stderr is always flushedGravatar Jarred Sumner 1-3/+3
2022-02-10[bun dev] Use a Mimalloc Arena to attempt to resolve a crash when `bun dev` ↵Gravatar Jarred Sumner 1-10/+13
has been running for awhile
2022-02-10[bun dev] Implement `hash:` namespace for `file` loader to improve browser ↵Gravatar Jarred Sumner 1-3/+20
cache invalidation This appends a hash to URLs and import paths In `bun dev`, this means: `/foo.woff2` => `/hash:/foo.woff2` `bun dev` simply ignores this.
2022-02-04reminderGravatar Jarred Sumner 1-3/+1
2022-02-04[bun dev] Fix bug with serving static files on next.js apps introduced in ↵Gravatar Jarred Sumner 1-5/+7
af69b47c228783825e1bae9873dda878cf5bdebf
2022-02-03Move detectFastRefresh to later so HTTP request handler starts fasterGravatar Jarred Sumner 1-2/+1
2022-02-01[http] Fix assertion in faviconGravatar Jarred Sumner 1-1/+2
2022-01-30[bun dev] Support HTML files in either project root or `public` folder ↵Gravatar Jarred Sumner 1-28/+61
(`static`)
2022-01-29Embed a favicon when none existsGravatar Jarred Sumner 1-0/+30
2022-01-29cleanupGravatar Jarred Sumner 1-5/+32
2022-01-29Enable Fast Refresh when not bundlingGravatar Jarred Sumner 1-9/+34
2022-01-28Implement TOML parserGravatar Jarred Sumner 1-2/+2
No Date/DateTime/Time/Local Time yet
2022-01-27[bunfig] Implement config file formatGravatar Jarred Sumner 1-10/+3
2022-01-22Update http.zigGravatar Jarred Sumner 1-1/+1
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-76/+126
* very very wip * almost ready to fix the errors * Update identity_context.zig * Update base.zig * [bun test] It runs successfully * Remove unnecessary call * [Bun.js] Improve JS <> Zig unicode string interop This fixes longstanding unicode bugs with `console.log` & `fetch`. I believe @evanwashere reported this first awhile ago * [Bun.js] Implement `Object.is()` binding and a way to set a timeout for script execution * Update PLCrashReport.zig * [Bun.js] Make `console.log` more closely match Node.js and Deno * [Bun.js] Implement formatting specifier for console.* * Implement `console.clear()` * bug fix * Support console.clear() * Buffer stderr * [bun test] Begin implementing Node.js `fs` * Update darwin_c.zig * Implement more of `fs` * `mkdir`, `mkdir` recursive, `mkdtemp` * `open`, `read` (and pread) * Move some things into more files * Implement readdir * `readFile`, `readLink`, and `realpath` * `writeFile`, `symlink`, `chown`, `rename`, `stat`, `unlink`, `truncate` * `lutimes` * Implement `SystemError` and begin wiring up the `fs` module * `"fs"` - Most of the arguments / validation * `fs` - Rest of the arguments / validations * Begin wiring up the `fs` module * Fix all the build errors * support printing typed arrays in console.log * It...works? * Support `require("fs")`, `import fs from 'fs';`, `import * as fs from 'fs'` * Fix a couple bugs * get rid of the crash reporter for now * Update fs.exports.js * [bun.js] slight improvement to startup time * [bun.js] Improve error message printing * [Bun.js] Add `Bun.gc()` to run the garbage collector manually and report heap size * [Bun.js] Add Bun.generateHeapSnapshot to return what JS types are using memory * [Bun.js] Add `Bun.shrink()` to tell JSC to shrink the VM size * Improve encoding reader * [bun.js] Improve callback & microtask performance * Update node_fs.zig * Implement `console.assert` * simple test * [Bun.js] Prepare for multiple globals/realms to support testing * Create callbacks-overhead.mjs * Update http.zig * [Bun.js] Implement `queueMicrotask` * Add test for queueMicrotask * :sleepy: * [Bun.js] Implement `process.versions`, `process.pid`, `process.ppid`, `process.nextTick`, `process.versions`, * Implement `process.env.toJSON()` * [Bun.js] Improve performance of `fs.existsSync` * :nail_care: * [Bun.js] Implement `process.chdir(str)` and `process.cwd()`, support up to 4 args in `process.nextTick` * Make creating Zig::Process lazy * Split processi nto separte file * [Bun.js] Node.js Streams - Part 1/? * [Bun.js] Node.js streams 2/? * WIP streams * fix crash * Reduce allocations in many places * swap * Make `bun` start 2ms faster * Always use an apiLock() * libBacktrace doesn't really work yet * Fix crash in the upgrade checker * Clean up code for importing the runtime when not bundling * :camera: * Update linker.zig * 68! * backtrace * no, really backtrace * Fix * Linux fixes * Fixes on Linux * Update mimalloc * [bun test] Automatically scan for {.test,_test,.spec,_spec}.{jsx,tsx,js,cts,mts,ts,cjs}
2022-01-05Update http.zigGravatar Jarred Sumner 1-1/+1
2022-01-04[bun dev] Print error in status line textGravatar Jarred Sumner 1-3/+13
2022-01-02[bun dev] Upgrade-Insecure-Requests does not work for detecting HTTPSGravatar Jarred Sumner 1-5/+9