aboutsummaryrefslogtreecommitdiff
path: root/src/ast (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-22Make `Ref` more safeGravatar Jarred Sumner 1-5/+29
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-15/+19
* 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}
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-10/+2
* 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-10-23[internal] :scissors: dead codeGravatar Jarred Sumner 1-153/+0
2021-09-25WIPGravatar Jarred Sumner 2-106/+153
2021-09-24macroGravatar Jarred Sumner 1-0/+106
2021-06-06Upgrade hash tableGravatar Jarred Sumner 1-8/+19
Former-commit-id: 5d208f9ea0be4e5f2a682f25b0a20a623ce61091
2021-05-30Fix Define, JSX, use more pointers for property access to minimize calls to ↵Gravatar Jarred Sumner 1-2/+2
memmove Former-commit-id: 09ceececba22d159805662d69b8e3aad83d20590
2021-05-29micropGravatar Jarred Sumner 1-1/+1
Former-commit-id: b876a8d4800779c6728a61ec51cd168d7307bc9d
2021-05-29Move wyhasxhGravatar Jarred Sumner 1-332/+0
Former-commit-id: cd91772f2f12af6d0939868ce4139f1d61b823d1
2021-05-28allGravatar Jarred Sumner 2-3/+339
Former-commit-id: 664dbf569c423280c4fb40d3114e81e0d7b9ddc3
2021-05-19Starting to work on rutnimeGravatar Jarred Sumner 1-0/+4
Former-commit-id: 23220fd348f86bda50fb4e4a64cce9c4b167499f
2021-05-18Fix duplicate exports errorGravatar Jarred Sumner 1-1/+1
Former-commit-id: 957e871f4a464eec39d849bad1873ed5518cf540
2021-05-16lotsGravatar Jarred Sumner 1-1/+1
Former-commit-id: 9ccb4dd082afbc4f94982bf092360487232d8b60
2021-05-13bug fixes galoreGravatar Jarred Sumner 1-1/+4
Former-commit-id: 72439452918caa05a32d4e3607910901fa2f4f85
2021-05-07coolGravatar Jarred Sumner 1-2/+2
Former-commit-id: 96ff169e46fcb43d5afbc9a6e2fde039e27e9d5f
2021-05-05damn thoGravatar Jarred Sumner 1-1/+4
Former-commit-id: e1df98878d2dea8530d50d49e8e5b9369931eb43
2021-05-04sliceGravatar Jarred Sumner 1-0/+1
Former-commit-id: 0bfd74af5534635c907be1ecbf2c421970d4a005
2021-05-01Assorted bugfixes but the next step really is porting tests and fixingGravatar Jarred Sumner 1-0/+4
Former-commit-id: f59ec8d6c0c95217c1dc24e2ed2dc49aed122a68
2021-04-28wipGravatar Jarred Sumner 1-1/+9
Former-commit-id: b37acf309c8f42d49dc47eea446f89a3dbe9f6e2
2021-04-26lotsGravatar Jarred Sumner 1-1/+49
2021-04-22aGravatar Jarred Sumner 1-0/+5
2021-04-20WIPGravatar Jarred Sumner 1-4/+0
2021-04-20at least it buildsGravatar Jarred Sumner 1-0/+8