Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* wip
* wip
* Fix bug with stdin
* zig fmt
* seems to work!
* Update streams.test.js
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cache invalidation
This appends a hash to URLs and import paths
In `bun dev`, this means:
`/foo.woff2` => `/hash:/foo.woff2`
`bun dev` simply ignores this.
|
|
|
|
* 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}
|
|
|
|
fixes 'bun install --production'. Closes #97
|
|
|
|
* 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
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
I suspect the reason why is because we were already using tmpfs. So it was already writing to an in-memory file. O_TMPFILE doesn't seem to do anything for us either here.
|
|
|
|
|
|
|
|
resulting file via sendfile()
|
|
|
|
|
|
count (at time of writing, 16k)
|
|
paths for file entries
|
|
|
|
to a real idle timeout
Former-commit-id: 9499ee3109cb336deb9380f0190631a30c9da51c
|
|
Former-commit-id: 19275a07342879d9b02b9d9527b762c8bfadb9e6
|
|
Former-commit-id: 1086d4f894611c1171f57d9eaf82f9170e9de2d1
|
|
Former-commit-id: 3d831ad95904d2123964f2ebccff48f1e9f954e9
|
|
Former-commit-id: 096ec1222ad723d006b0151f10cb0c1b95e2bfd3
|
|
Former-commit-id: f221da115c1afcd136648c9683d8e9907005a128
|
|
Former-commit-id: 94750e5987ea8f6e4c946bfc06715e09a48c0eec
|
|
Former-commit-id: f5600d123d3710e7ea80ff2b7c66d13382462420
|
|
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
|
|
recreate it (and leak memory)
Former-commit-id: 8faf6127547411c1fdcee9e4e7440825f21ecd99
|
|
Former-commit-id: fcb04d39a1629047ab0a227c2992922725189ca7
|
|
Former-commit-id: 67546a63021c0b5b58841a03115fa699ae3e441f
|
|
Former-commit-id: 45ee7874f2c8566c3034743161031b0859423f41
|