aboutsummaryrefslogtreecommitdiff
path: root/src/javascript/jsc/api/router.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-22change the directory structurejarred/renameGravatar Jarred Sumner 1-541/+0
2022-03-18[bun.js] Fix missing `.prototype` on builtinsGravatar Jarred Sumner 1-11/+11
2022-03-17Move `Bun` to JSC.APIGravatar Jarred Sumner 1-2/+2
2022-03-17query_string_map -> urlGravatar Jarred Sumner 1-3/+3
2022-03-14Fix a couple memory leaks in `bun dev`Gravatar Jarred Sumner 1-22/+24
2022-03-13[bun.js] Implement `Blob`Gravatar Jarred Sumner 1-13/+84
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-3/+3
2022-03-02[bun.js] fix unicode handling in RouterGravatar Jarred Sumner 1-3/+9
2022-03-02[bun.js] Fix crash due to incorrectly creating stringGravatar Jarred Sumner 1-3/+1
2022-02-27WASMGravatar Jarred Sumner 1-2/+2
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-32/+18
* 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-01[bun dev] Automatically set `origin` - improve support for proxying BunGravatar Jarred Sumner 1-1/+2
Previously, when running Bun behind a reverse proxy, you had to pass an explicit `--origin` arg and it could only run behind one proxy at a time. Now, Bun automatically determines the origin from the request if possible. It reads `Forwarded`, `X-Forwarded-Proto`, `X-Forwarded-Host`, `Origin`, and lastly `Host`. If none are available, it falls back to the `--origin` CLI arg. This change is important for usecases like Replit which shows multiple iframes in different origins.
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-48/+63
* Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md
2021-12-23Workaround miscompilation so JavaScriptCore runs on Linux AARCH64Gravatar Jarred Sumner 1-1/+1
2021-12-17👶event loopGravatar Jarred Sumner 1-1/+3
2021-09-08Fixes for AARCH64:Gravatar Jarred Sumner 1-5/+5
2021-08-15rename to bunGravatar Jarred Sumner 1-2/+2
Former-commit-id: f982fc85fac3f0120e1851ad4027dd8413216439
2021-08-14lotsGravatar Jarred Sumner 1-16/+24
Former-commit-id: 0b8128cb3b4db02f9d33331b4c2c1b595156e6c8
2021-08-13lateGravatar Jarred Sumner 1-0/+46
Former-commit-id: 1d598bb05a3bac62d86063125e1fe2962f0b5cc6
2021-08-11goGravatar Jarred Sumner 1-5/+3
Former-commit-id: d90f4747fe450c6f5d11d550df5117a9dca9962e
2021-08-11client-side entry point works and also generates a correct url on the serverGravatar Jarred Sumner 1-4/+23
Former-commit-id: 272e52f55e44e998b9238e4173de37bfc6a05a94
2021-08-07getImportedStyles hookGravatar Jarred Sumner 1-2/+37
Former-commit-id: 730eb465fb23bcfa23842f293712cfc2cf51d363
2021-08-07SSR!Gravatar Jarred Sumner 1-3/+16
Former-commit-id: bbc23b382c2eec15436fad632f5efe06e8e8360d
2021-08-06Query String parser with JS integrationGravatar Jarred Sumner 1-4/+51
Former-commit-id: 8542778c30e9757fa87514f46ff5086d7c8f6bfa
2021-08-05router almost worksGravatar Jarred Sumner 1-47/+33
Former-commit-id: a8b9d27bd0946f9c48bd8e4b5b5c2031aa434f28
2021-07-30little bit of errors, little bit of bytecode caching. neither finishedGravatar Jarred Sumner 1-1/+1
Former-commit-id: c774c395136d58330aa7cad7e9fa434bcef7d5c6
2021-07-28esmodules work?Gravatar Jarred Sumner 1-1/+1
Former-commit-id: 5cb5af4416c12518eb195d1b310990fc5c94d6c8
2021-07-18WIP bindingsGravatar Jarred Sumner 1-34/+71
Former-commit-id: 74e75d692550c3bd0071f5f9215b0dfe5454d28e
2021-07-14wipGravatar Jarred Sumner 1-13/+126
Former-commit-id: 3f2a2e25ce7e495731c9490d130916683eb21e57
2021-07-14tsGravatar Jarred Sumner 1-110/+134
Former-commit-id: f4381bb2979e7409e4809c490a5a080a2b3753c3
2021-07-13alrightGravatar Jarred Sumner 1-0/+134
Former-commit-id: ab73c7b323c222e5d1172c07036653ca98aa8e6b