aboutsummaryrefslogtreecommitdiff
path: root/src/allocators.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-2/+2
2022-03-04reduce number of global symbolsGravatar Jarred Sumner 1-64/+64
2022-02-27WASMGravatar Jarred Sumner 1-2/+2
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-32/+36
* 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-05[bun bun][bun dev] Fix crash affecting large projectsGravatar Jarred Sumner 1-26/+119
ArrayList cannot be used here
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-108/+14
* 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-27Prepare to run unit tests & remove some dead code (#92)Gravatar Jarred Sumner 1-2/+2
* Remove some dead code * :skull: code * Fix the zig tests * [JS Printer] Print integers faster & less scientific notation on decimals * :skull: dead code * skip * Run all the unit tests
2021-12-21Slightly saferGravatar Jarred SUmner 1-1/+1
2021-12-16[bun install] Support printing yarn.lockGravatar Jarred Sumner 1-1/+5
2021-12-16[bun install] Generate a lockfileGravatar Jarred Sumner 1-1/+19
2021-10-15PolishGravatar Jarred Sumner 1-3/+8
2021-09-20Fix handling when file metadata store stored exceeds statically allocated ↵Gravatar Jarred Sumner 1-108/+41
count (at time of writing, 16k)
2021-09-05more mutexesGravatar Jarred Sumner 1-245/+46
Former-commit-id: 52966012b4b74d24ab28a0c75740aef35fb75327
2021-09-04Fixed memory leaks, but SSR is slower. Should move cleanup & restart steps ↵Gravatar Jarred Sumner 1-1/+5
to a real idle timeout Former-commit-id: 9499ee3109cb336deb9380f0190631a30c9da51c
2021-09-03Fix logging in bun bun + bumpGravatar Jarred Sumner 1-9/+16
Former-commit-id: 19275a07342879d9b02b9d9527b762c8bfadb9e6
2021-09-02Fix UMD, fix PNPM, importing require'd modules in app codeGravatar Jarred Sumner 1-1/+12
Former-commit-id: 3d831ad95904d2123964f2ebccff48f1e9f954e9
2021-08-23Fix resolve bug with mixed-case node_modulesGravatar Jarred Sumner 1-5/+30
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
2021-08-21Fix watcher when you move files/dirs around. It'll bust the cache and ↵Gravatar Jarred Sumner 1-41/+40
recreate it (and leak memory) Former-commit-id: 8faf6127547411c1fdcee9e4e7440825f21ecd99
2021-08-17alright thats the renameGravatar Jarred Sumner 1-1/+1
Former-commit-id: 0faf61249e76382dfb1aa8721249474eae920753
2021-08-10This is alotGravatar Jarred Sumner 1-15/+284
Former-commit-id: 4b2a396611ec03270dc768b70e488b0f5eee2a37
2021-07-13alrightGravatar Jarred Sumner 1-31/+74
Former-commit-id: ab73c7b323c222e5d1172c07036653ca98aa8e6b
2021-06-06Upgrade hash tableGravatar Jarred Sumner 1-12/+12
Former-commit-id: 5d208f9ea0be4e5f2a682f25b0a20a623ce61091
2021-06-06WIP node module bundlesGravatar Jarred Sumner 1-121/+4
Former-commit-id: 797b2ff557542e9d318c953b840b102695711888
2021-05-29Revert "WIP"Gravatar Jarred Sumner 1-178/+203
This reverts commit b5612b303b934b668c35c1a70d64f498b7c62856 [formerly 55dcde581df46b425733508c3923e073ccdf880f]. Former-commit-id: 6c2d19c1b0d4c3e805f90cfeb8282e2c8712578a
2021-05-29WIPGravatar Jarred Sumner 1-203/+178
Former-commit-id: 55dcde581df46b425733508c3923e073ccdf880f
2021-05-28launch.jsonGravatar Jarred Sumner 1-0/+119
Former-commit-id: d44fa1ca928ff69d7073607d6ea0d8dd31511341
2021-05-27faster writes performanceGravatar Jarred Sumner 1-2/+2
Former-commit-id: 2c212929f8d94e08dfe8794154dc45cc97924458
2021-05-18Resolver is fast now!Gravatar Jarred Sumner 1-58/+348
Former-commit-id: 2ef6397ab9af3832fe749ce9c86c7a60a1599174
2021-05-16lotsGravatar Jarred Sumner 1-0/+304
Former-commit-id: 9ccb4dd082afbc4f94982bf092360487232d8b60