aboutsummaryrefslogtreecommitdiff
path: root/src/javascript/jsc/bindings/exports.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-05-30Implement `Bun.file(pathOrFd).stream()`Gravatar Jarred Sumner 1-2/+4
2022-05-30Implement `Blob.stream()`Gravatar Jarred Sumner 1-1/+4
2022-04-04fix bug with io sometimes sleeping permanetlyGravatar Jarred SUmner 1-0/+10
2022-04-01[bun.js] Use `Headers` from WebKit instead of customGravatar Jarred Sumner 1-5/+0
2022-03-27Begin adding WebCore classes to bunGravatar Jarred Sumner 1-1/+1
2022-03-22Handle integer sizes greater than i32Gravatar Jarred SUmner 1-2/+2
2022-03-18[bun.js] Fix missing `.prototype` on builtinsGravatar Jarred Sumner 1-11/+24
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-4/+2
2022-03-14Handle segfault when console.log'ing stuff that should never make it to ↵Gravatar Jarred Sumner 1-0/+9
console.log in the first place
2022-03-14[bun.js] Implement `console.trace()`Gravatar Jarred Sumner 1-16/+57
2022-03-12[Bun.js] Implement `HTMLRewriter`Gravatar Jarred Sumner 1-1/+1
https://developers.cloudflare.com/workers/runtime-apis/html-rewriter
2022-03-11Source Maps for client-side errors & columnsGravatar Jarred Sumner 1-43/+79
2022-03-10twiddle with formattingGravatar Jarred Sumner 1-12/+46
2022-03-10console.log(<JSX>) supportGravatar Jarred Sumner 1-56/+322
2022-03-08Fix quoting console.logGravatar Jarred Sumner 1-16/+164
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-5/+5
2022-03-08[bun.js] Support logging `Headers`, `Response`, and `Request`Gravatar Jarred Sumner 1-62/+96
2022-03-04upgrade zigjarred/upgrade-zig-2Gravatar Jarred Sumner 1-15/+39
2022-03-02[bun.js] Add `Bun.inspect` – like util.inspect()Gravatar Jarred Sumner 1-10/+30
2022-02-27WASMGravatar Jarred Sumner 1-1/+1
2022-02-24[bun.js] Implement `process.exit` (no callbacks yet)Gravatar Jarred Sumner 1-0/+5
2022-02-24Add WASM modules but disable it for nowGravatar Jarred Sumner 1-2/+6
2022-02-24[bun.js] Add `ShadowRealm`Gravatar Jarred Sumner 1-0/+7
2022-02-24[Web Platform] Implement TextEncoder & TextDecoderGravatar Jarred Sumner 1-0/+7
2022-02-18[Bun.js] Add a stub for `setTimeout`, `setInterval`, `clearTImeout`, ↵Gravatar Jarred Sumner 1-0/+4
`clearInterval`
2022-02-14[bun.js] formatterGravatar Jarred Sumner 1-1/+24
2022-02-02"path" module from Node.js implementationGravatar Jarred Sumner 1-0/+3
2022-02-01Limit the number of pooled objectsGravatar Jarred Sumner 1-0/+1
2022-01-21Update exports.zigGravatar Jarred Sumner 1-2/+2
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-104/+809
* 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-03dead codeGravatar Jarred Sumner 1-35/+0
2022-01-02copy: replace Bun with bun (#99)Gravatar luke miles 1-2/+2
Most CLI tools have the style convention of referring to themselves in lowercase. It is, after all, the name that users type in when using the tool. This PR maintains that convention in bun. "Drop the uppercase B, it's cleaner"
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-42/+163
* 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-17👶event loopGravatar Jarred Sumner 1-0/+9
2021-10-29[internal] Fix missing symbol errors when building JavaScriptCore bindings ↵Gravatar Jarred Sumner 1-0/+8
without already having the object files
2021-09-21[Bun.js] Add support for `console.time`, `console.timeEnd`Gravatar Jarred Sumner 1-2/+37
2021-09-17Get bun ready for linux buildsGravatar Dov Alperin 1-1/+1
Adds: conditional builds in makefile Fixes: incorrect imports of 'JavaScriptCore.zig' (note the caps 's') replaces with correct import of 'JavascriptCore.zig'
2021-09-08Fixes for AARCH64:Gravatar Jarred Sumner 1-3/+3
2021-09-04Fixed memory leaks, but SSR is slower. Should move cleanup & restart steps ↵Gravatar Jarred Sumner 1-0/+9
to a real idle timeout Former-commit-id: 9499ee3109cb336deb9380f0190631a30c9da51c
2021-08-31Add display name field to frameworks, improve logging, add counters, addGravatar Jarred Sumner 1-4/+13
Former-commit-id: b2cf011b6c6405a786fe22367e1cd4e6c2c4c90f
2021-08-31Fallback, fragments, printer compat, better errorsGravatar Jarred Sumner 1-44/+141
Former-commit-id: 486e8c9d460eeebea024e96dbabcb7f2bfaffafb
2021-08-29latestGravatar Jarred Sumner 1-2/+10
Former-commit-id: 096ec1222ad723d006b0151f10cb0c1b95e2bfd3
2021-08-17log error on respondWith rejection,Gravatar Jarred Sumner 1-1/+14
Former-commit-id: 8f6312a17dc9811d54e4dc31d9ada68e98bae891
2021-08-05router almost worksGravatar Jarred Sumner 1-10/+12
Former-commit-id: a8b9d27bd0946f9c48bd8e4b5b5c2031aa434f28
2021-08-05alright server-side reloading code worksGravatar Jarred Sumner 1-1/+9
Former-commit-id: a49ef52eec1037014e3c9cda1a09f387a01116b8
2021-08-03okGravatar Jarred Sumner 1-1/+3
Former-commit-id: e7d0ff27193defd870ae29bd9b4d4c2044488eac
2021-08-02okGravatar Jarred Sumner 1-2/+2
Former-commit-id: ceef4402d40f701b0527eee038f9f4e5abe3fb70
2021-08-02fix errorssome namesGravatar Jarred Sumner 1-9/+31
Former-commit-id: a0ceae3471aa3b16356588645eeca1f2159de356