aboutsummaryrefslogtreecommitdiff
path: root/src/logger.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-22Handle integer overflow in logs betterGravatar Jarred Sumner 1-4/+2
2022-06-22[JS Parser] Improve memory safety of error messages & logsGravatar Jarred Sumner 1-54/+131
2022-06-10Update logger.zigGravatar Jarred Sumner 1-0/+4
2022-03-24Implement error page for HTTP serverGravatar Jarred Sumner 1-0/+6
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-11/+11
2022-03-07Optimize sourcemapsGravatar Jarred Sumner 1-1/+1
2022-02-27WASMGravatar Jarred Sumner 1-2/+2
2022-02-11`std.os.`exit -> `Global.exit` so stderr is always flushedGravatar Jarred Sumner 1-0/+6
2022-01-27[bunfig] Implement config file formatGravatar Jarred Sumner 1-0/+19
2022-01-21Update logger.zigGravatar Jarred Sumner 1-0/+4
2022-01-19Bun.Transpiler – API for scanning imports/exports of JSX/TSX/TS/JS filesGravatar Jarred Sumner 1-1/+28
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-4/+34
* 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-30/+35
* 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-16Print errors below warningsGravatar Jarred Sumner 1-4/+31
2021-11-02[parser] Fix undefined behavior when invalid an unicode codepoint is part of ↵Gravatar Jarred Sumner 1-11/+13
an error message
2021-10-24[internal] :snowflake::snowman:Gravatar Jarred Sumner 1-1/+19
2021-10-18Starting to rewrite the router to fix some bugs and support catch-all + ↵Gravatar Jarred Sumner 1-2/+7
optional routes
2021-09-21Fix the compiler errorsGravatar Jarred Sumner 1-1/+1
2021-09-21Parse "exports" field from package.json (WIP)Gravatar Jarred Sumner 1-0/+24
2021-09-20Fix parsing/printing unicode identifiers, switch to UTF-8 for prefilled ↵Gravatar Jarred Sumner 1-10/+1
strings, remove eagerly loading identifier_name
2021-09-20Fix how error lines with strings are highlightedGravatar Jarred Sumner 1-15/+30
2021-09-16Always bold ^Gravatar Jarred Sumner 1-0/+2
2021-09-16Print absolute paths in log errors so that ctrl+click to open file in editor ↵Gravatar Jarred Sumner 1-1/+1
works (depending on terminal)
2021-09-16Colorize build/resolve errors and add a ^Gravatar Jarred Sumner 1-82/+123
2021-09-12Reduce number of allocations for serializing error messagesGravatar Jarred Sumner 1-15/+93
2021-09-03Fix logging in bun bun + bumpGravatar Jarred Sumner 1-15/+46
Former-commit-id: 19275a07342879d9b02b9d9527b762c8bfadb9e6
2021-08-31Fallback, fragments, printer compat, better errorsGravatar Jarred Sumner 1-14/+53
Former-commit-id: 486e8c9d460eeebea024e96dbabcb7f2bfaffafb
2021-08-19Log level + onimportcssGravatar Jarred Sumner 1-16/+46
Former-commit-id: 12ba9b9bc288573e3a5099adfa14c486c4cc980c
2021-08-17IgnoreGravatar Jarred Sumner 1-0/+36
Former-commit-id: b2c4fce705222612b0457481657db3f42db41d1c
2021-08-15Support multiple route dirs, fix bundling JSX, fix cjs bug, remove warning ↵Gravatar Jarred Sumner 1-0/+2
about unbundled modules in speedy env, Former-commit-id: ae718dbd05397bed9bc49a77fae20de70b635e82
2021-08-14lotsGravatar Jarred Sumner 1-1/+1
Former-commit-id: 0b8128cb3b4db02f9d33331b4c2c1b595156e6c8
2021-08-10This is alotGravatar Jarred Sumner 1-3/+15
Former-commit-id: 4b2a396611ec03270dc768b70e488b0f5eee2a37
2021-08-02fix errorsGravatar Jarred Sumner 1-2/+26
Former-commit-id: ac66d6af52f6a2340c57a957bed078f94a8cf8ed
2021-08-01hmGravatar Jarred Sumner 1-1/+69
Former-commit-id: 0dc1c1a74b845d037326f4f2facd786924ca722e
2021-06-14extremely close!!!!!Gravatar Jarred Sumner 1-0/+45
Former-commit-id: 44fce3c5e800f3fb3fbc139a38f14eae9e0c0225
2021-06-06WIP node module bundlesGravatar Jarred Sumner 1-17/+33
Former-commit-id: 797b2ff557542e9d318c953b840b102695711888
2021-05-28keep lexer/locGravatar Jarred Sumner 1-2/+2
Former-commit-id: 2172f3c5e367e604349ad17866f7408ac259ca73
2021-05-27Fix parsing await inside scopes that contain functions, return the ↵Gravatar Jarred Sumner 1-0/+4
backtracking error in TypeScript Former-commit-id: 84ea80b813c8b3dffe7ccc112b10fb034f21ea30
2021-05-18hmGravatar Jarred Sumner 1-1/+5
Former-commit-id: 4d6a8f598afe29459f1b7b243daddaa4b395036f
2021-05-15lotsGravatar Jarred Sumner 1-1/+1
Former-commit-id: d8b1d296562a01800248bd1148bc4778225b436e
2021-05-13keepGravatar Jarred Sumner 1-5/+1
Former-commit-id: 778c24f176bade5658bcf1de1fb130d236a76890
2021-05-13various bug fixesGravatar Jarred Sumner 1-9/+16
Former-commit-id: 87771ba895a2eb11b042a252fd1dff2a4dd54512
2021-05-12That's all the errors??Gravatar Jarred Sumner 1-20/+20
Former-commit-id: f9a74df73d2831bfdd8e6f1c0e5c999ea300fc0d
2021-05-12okayGravatar Jarred Sumner 1-1/+3
Former-commit-id: 2c20d88e8d0cf66b32daceb942ba9bf8514f5705
2021-05-11coolGravatar Jarred Sumner 1-3/+19
Former-commit-id: cf4d0fe3b6bb8943cf7185a3f404df11d8f39b23
2021-05-10asdasdasdasdGravatar Jarred Sumner 1-3/+63
Former-commit-id: 2b3c0584c623486d8ab5dc838bb7ba861b4395d7
2021-05-08Fix for loop initializerGravatar Jarred Sumner 1-2/+2
Former-commit-id: 6b863d5d51f7f1bc293e56ed395fe4ad49174f63
2021-05-07coolGravatar Jarred Sumner 1-6/+2
Former-commit-id: 96ff169e46fcb43d5afbc9a6e2fde039e27e9d5f
2021-05-05I think that fixes the scopes bugGravatar Jarred Sumner 1-11/+46
Former-commit-id: 2cbd4c9d809cff90dc4a2305c0acbaf46c3a1578
2021-05-04*Gravatar Jarred Sumner 1-16/+16
Former-commit-id: 4c60accdc11bedacef2cbe8c65e35ab5e965408d