aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-22Ensure we fully copy stringsGravatar Jarred Sumner 3-9/+23
2022-01-22Update http.zigGravatar Jarred Sumner 1-1/+1
2022-01-22Rename `bun:runtime` -> `bun:wrap` so it fits 8 charsGravatar Jarred Sumner 3-4/+7
2022-01-22Don't do isolated copy when we don't need toGravatar Jarred Sumner 1-6/+2
2022-01-22Instead of 4 loops, we can do one switch statementGravatar Jarred Sumner 1-12/+7
2022-01-22[Bun.js] Resolve dynamic imports lazilyGravatar Jarred Sumner 1-0/+5
2022-01-22No more leading `./` necessary to pass a script to bun to executeGravatar Jarred Sumner 1-1/+7
2022-01-22Make `Ref` more safeGravatar Jarred Sumner 4-8/+39
2022-01-22Ensure we allocate the correct number of argvGravatar Jarred Sumner 1-9/+18
2022-01-22[Resolver] Improve how we detect ESMGravatar Jarred Sumner 1-17/+37
2022-01-22Update report.zigGravatar Jarred Sumner 1-0/+8
2022-01-22[Resolver] Improve how we detect ESMGravatar Jarred Sumner 1-13/+16
2022-01-22Use newer hash tableGravatar Jarred Sumner 1-18/+22
2022-01-22Update js_parser.zigGravatar Jarred Sumner 1-1/+1
2022-01-22Sort importsGravatar Jarred Sumner 1-0/+38
2022-01-22Reset imported_module_idsGravatar Jarred Sumner 1-1/+9
2022-01-21FIx `macros` remap in `Transpiler`Gravatar Jarred Sumner 2-1/+8
2022-01-21[macros] Always remove imports to macrosGravatar Jarred Sumner 1-41/+54
2022-01-21Update exports.zigGravatar Jarred Sumner 1-2/+2
2022-01-21[Bun.js] Fix error printingGravatar Jarred Sumner 1-2/+2
2022-01-21memoryGravatar Jarred Sumner 2-18/+35
2022-01-21Tags on pointers need to be cleared on LinuxGravatar Jarred SUmner 3-18/+14
2022-01-21[Bun.js] `Bun.Transpiler.transform` & `Bun.Transpiler.transformSync` APIsGravatar Jarred Sumner 8-119/+464
2022-01-21[Bun.js] Add a threadpool for doing CPU-bound workGravatar Jarred Sumner 3-21/+148
2022-01-21Update js_printer.zigGravatar Jarred Sumner 1-5/+5
2022-01-21Update logger.zigGravatar Jarred Sumner 1-0/+4
2022-01-21Improve reliabiltiy of multithreaded code by using threadlocal mimalloc heapsGravatar Jarred Sumner 2-49/+125
2022-01-20[Bun.js] Fix TypedArray/ArrayBuffer <> Zig interopGravatar Jarred Sumner 11-105/+161
2022-01-20Fix segfaultGravatar Jarred Sumner 1-0/+3
2022-01-19Bun.Transpiler – API for scanning imports/exports of JSX/TSX/TS/JS filesGravatar Jarred Sumner 15-74/+934
2022-01-19Update libbacktraceGravatar Jarred Sumner 1-0/+0
2022-01-19small bugfixGravatar Jarred Sumner 1-6/+6
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 78-2338/+16128
* 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-05Fix bug preventing multiple framework overridesGravatar Jarred Sumner 1-2/+3
2022-01-05Reduce memory usageGravatar Jarred Sumner 1-2/+2
2022-01-05Fix crash that sometimes happens after 30 secondsGravatar Jarred Sumner 5-106/+185
2022-01-05[bun bun][bun dev] Fix crash affecting large projectsGravatar Jarred Sumner 1-26/+119
ArrayList cannot be used here
2022-01-05move some code aroundGravatar Jarred Sumner 2-281/+284
2022-01-05we want the opposite of thisGravatar Jarred Sumner 1-1/+0
2022-01-05[JS Parser] Reduce memory usage by ~8%Gravatar Jarred Sumner 6-7/+42
2022-01-05Update resolver.zigGravatar Jarred Sumner 1-3/+0
2022-01-05Update options.zigGravatar Jarred Sumner 1-2/+25
2022-01-05Update http.zigGravatar Jarred Sumner 1-1/+1
2022-01-05Add module condition to the node platform (#104)Gravatar Mateusz Burzyński 1-1/+4
2022-01-05Drop redundant comments (#103)Gravatar Mateusz Burzyński 1-23/+0
2022-01-05Tweak default main fields for the bun platform to match other popular ↵Gravatar Mateusz Burzyński 1-10/+7
bundlers (#102)
2022-01-04:skull: dead codeGravatar Jarred Sumner 1-13/+0
2022-01-04[bun dev] Print error in status line textGravatar Jarred Sumner 1-3/+13
2022-01-04noramlize some errorsGravatar Jarred Sumner 3-3/+4
2022-01-04[Bun.js][bun dev] Support macros inside of Bun.jsGravatar Jarred Sumner 5-51/+103
Closes #36