aboutsummaryrefslogtreecommitdiff
path: root/src/string_mutable.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-09-17Avoid undefined memoryGravatar Jarred Sumner 1-1/+1
2022-05-20Update string_mutable.zigGravatar Jarred Sumner 1-0/+10
2022-05-19[wip] Solid.js support for Bun!Gravatar Jarred Sumner 1-0/+90
2022-03-06source maps work for app code in `bun dev`!Gravatar Jarred Sumner 1-8/+27
2022-03-04upgrade zigjarred/upgrade-zig-2Gravatar Jarred Sumner 1-4/+66
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-2/+4
* 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-9/+10
* 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-16[bun install] WIPGravatar Jarred Sumner 1-0/+4
2021-12-15[JS transpiler] Ensure reserved words don't end up in nonUniqueIdentifier()Gravatar Jarred Sumner 1-0/+6
2021-10-23Fix bug with MutableString.ensureValidIdentifierGravatar Jarred Sumner 1-11/+15
2021-08-23Fix resolve bug with mixed-case node_modulesGravatar Jarred Sumner 1-0/+1
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
2021-06-29alright now it crashesGravatar Jarred Sumner 1-0/+4
Former-commit-id: 26745bb5f300481fc242c8e81de6f252f698c863
2021-06-27starting to workGravatar Jarred Sumner 1-1/+12
Former-commit-id: ae113559c6dd1e1e77b69ee5edee93fe59b4be2e
2021-06-14HMR crashily works, started working on CSS ScannerGravatar Jarred Sumner 1-1/+2
Former-commit-id: d0f91082fcc8da17d224acb5432339c5d817e1c2
2021-06-14extremely close!!!!!Gravatar Jarred Sumner 1-0/+5
Former-commit-id: 44fce3c5e800f3fb3fbc139a38f14eae9e0c0225
2021-06-04Fix extra space in printerGravatar Jarred Sumner 1-0/+7
Former-commit-id: c17c200cfd55baa3c6c53bfe162e494c8a03dc72
2021-06-04Fix extra underscore in ensureValidIdentifierGravatar Jarred Sumner 1-13/+20
Former-commit-id: 1cc15b6c20f88721f55748036404e7f2e62ec71e
2021-06-04fix the leaksGravatar Jarred Sumner 1-6/+12
Former-commit-id: 58d77ab82795266ecee5f437f324db81f5706682
2021-05-12okayGravatar Jarred Sumner 1-1/+1
Former-commit-id: 2c20d88e8d0cf66b32daceb942ba9bf8514f5705
2021-05-11updateGravatar Jarred Sumner 1-1/+1
Former-commit-id: a5f1670e92fbe9080a0c1c7c744483933b117fe1
2021-05-10asdasdasdasdGravatar Jarred Sumner 1-3/+0
Former-commit-id: 2b3c0584c623486d8ab5dc838bb7ba861b4395d7
2021-05-091dayGravatar Jarred Sumner 1-0/+4
Former-commit-id: b7d8fe2f3501caa236aba343aefa1741613ca005
2021-05-07wipGravatar Jarred Sumner 1-21/+36
Former-commit-id: 79223472f7bb22c4de1f872a542f185aa7189aaa
2021-05-07coolGravatar Jarred Sumner 1-1/+1
Former-commit-id: 96ff169e46fcb43d5afbc9a6e2fde039e27e9d5f
2021-05-05damn thoGravatar Jarred Sumner 1-0/+4
Former-commit-id: e1df98878d2dea8530d50d49e8e5b9369931eb43
2021-05-04keeperGravatar Jarred Sumner 1-5/+2
Former-commit-id: 83ff3453dcac00e847a4d23419c6eba1026bd3fb
2021-04-26wapGravatar Jarred Sumner 1-4/+17
2021-04-25it prints true and falseGravatar Jarred Sumner 1-9/+25
2021-04-22aGravatar Jarred Sumner 1-2/+11
2021-04-19lotsGravatar Jarred Sumner 1-0/+126