aboutsummaryrefslogtreecommitdiff
path: root/src/api (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 2-5/+5
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 19-225/+529
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-05-19[wip] Solid.js support for Bun!Gravatar Jarred Sumner 4-0/+11
2022-05-05it can call functionsGravatar Jarred Sumner 4-0/+11
2022-04-18fix wasm build take 2 (one more thing is broken)Gravatar Jarred Sumner 4-191/+205
2022-04-16[JS Parser] Support explicit removingGravatar Jarred Sumner 1-0/+75
2022-03-16bun.lockbGravatar Jarred Sumner 1-0/+0
2022-03-11Source Maps for client-side errors & columnsGravatar Jarred Sumner 4-1/+16
2022-03-07source maps optimizationsGravatar Jarred Sumner 4-0/+71
2022-03-02reduce number of global variablesGravatar Jarred Sumner 1-0/+0
2022-02-27WASMGravatar Jarred Sumner 15-301/+8020
2022-02-24Add WASM modules but disable it for nowGravatar Jarred Sumner 4-0/+11
2022-02-12[bun install] Make global bin dir configurableGravatar Jarred Sumner 4-0/+22
2022-02-11[bun install] Implement global installsGravatar Jarred Sumner 4-0/+22
2022-02-11[bun install] Implement bunfig.toml configGravatar Jarred Sumner 4-1/+586
2022-01-28Implement TOML parserGravatar Jarred Sumner 4-0/+11
No Date/DateTime/Time/Local Time yet
2022-01-27[bunfig] Implement config file formatGravatar Jarred Sumner 4-5/+44
2022-01-19Bun.Transpiler – API for scanning imports/exports of JSX/TSX/TS/JS filesGravatar Jarred Sumner 4-0/+11
2022-01-03:nail_care:Gravatar Jarred Sumner 2-1652/+1826
2022-01-03dead codeGravatar Jarred Sumner 2-1826/+1652
2022-01-01[bun dev] Improve filesystem watcher & HMR reliability (Linux + a little macOS)Gravatar Jarred SUmner 4-376/+69
Text editors like Replit save through atomic file updates. In an inotify filesystem watcher (Linux), that appears to be a delete followed by moving the file to the directory. Now when known files are moved into a directory, the watcher sends the file change notification to the browser(s). From there, the browser looks at it's files to determine whether or not Additionally, if an existing HMR connection does not know about a file ID passed to it, it asks the browser to reply with the file path and then starts watching that file. This improves HMR reliabiality if Bun had been restarted but the page hadn't been restarted.
2021-12-30[internal] Move network_thread into http packageGravatar Jarred Sumner 1-1/+1
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-3/+3
* 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-18cleanupGravatar Jarred Sumner 4-908/+0
2021-12-16[bun install] some things installGravatar Jarred Sumner 1-1/+1
2021-12-16[bun install] WIPGravatar Jarred Sumner 1-4/+3
2021-12-16[bun install] Begin to port my golang node-semver to ZigGravatar Jarred Sumner 4-0/+907
2021-10-24Upgrade to latest peechyGravatar Jarred Sumner 3-3943/+3867
2021-10-20rewrote most of the routerGravatar Jarred Sumner 4-14/+7
2021-10-07SchemaGravatar Jarred Sumner 4-0/+23
2021-10-05Add `BUN_DISABLE_ANALYTICS` flag to disable analytics and automatically ↵Gravatar Jarred Sumner 1-1893/+2027
disable analytics when running inside `hyperfine`
2021-10-03Fix various macOS-specific compile errors and run `zig fmt`Gravatar Jarred Sumner 1-2027/+1893
2021-10-031% perf improvements on Linuxjarred/linuxGravatar Jarred SUmner 1-0/+1
2021-09-16Add flag to dev server to disable HMRGravatar Jarred Sumner 4-1884/+2041
2021-09-11bun:error.js into separate module, ensure we don't include fast refresh in ↵Gravatar Jarred Sumner 1-2018/+1884
Bun.js, log build errors to browser console, don't warn for node_modules,
2021-09-09currentjarred/fetch-experimentGravatar Jarred Sumner 4-0/+38
2021-09-07WIP error cssGravatar Jarred Sumner 4-0/+15
Former-commit-id: 36f03bf491cf274f68361e334a706538464ee271
2021-09-06expose top level dirGravatar Jarred Sumner 4-0/+22
Former-commit-id: 00c222c35a4460b21e095acc35a470fbb4778b19
2021-09-02latestGravatar Jarred Sumner 1-1858/+1992
Former-commit-id: 1086d4f894611c1171f57d9eaf82f9170e9de2d1
2021-08-31Add display name field to frameworks, improve logging, add counters, addGravatar Jarred Sumner 4-1977/+1880
Former-commit-id: b2cf011b6c6405a786fe22367e1cd4e6c2c4c90f
2021-08-31Fallback, fragments, printer compat, better errorsGravatar Jarred Sumner 4-1475/+3084
Former-commit-id: 486e8c9d460eeebea024e96dbabcb7f2bfaffafb
2021-08-29latestGravatar Jarred Sumner 2-1519/+1407
Former-commit-id: 096ec1222ad723d006b0151f10cb0c1b95e2bfd3
2021-08-26Fix unbundled importsGravatar Jarred Sumner 4-25/+26
Former-commit-id: f221da115c1afcd136648c9683d8e9907005a128
2021-08-26Fix file loader, automatically support CSS imports when a framework isn't setGravatar Jarred Sumner 4-4/+15
Former-commit-id: 94750e5987ea8f6e4c946bfc06715e09a48c0eec
2021-08-25latestGravatar Jarred Sumner 1-1/+1
Former-commit-id: f5600d123d3710e7ea80ff2b7c66d13382462420
2021-08-23Fix resolve bug with mixed-case node_modulesGravatar Jarred Sumner 5-1398/+1531
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
2021-08-19Log level + onimportcssGravatar Jarred Sumner 4-2872/+2698
Former-commit-id: 12ba9b9bc288573e3a5099adfa14c486c4cc980c
2021-08-17alright thats the renameGravatar Jarred Sumner 4-1288/+1416
Former-commit-id: 0faf61249e76382dfb1aa8721249474eae920753
2021-08-15rename to bunGravatar Jarred Sumner 4-9/+9
Former-commit-id: f982fc85fac3f0120e1851ad4027dd8413216439
2021-08-15Support multiple route dirs, fix bundling JSX, fix cjs bug, remove warning ↵Gravatar Jarred Sumner 4-7/+14
about unbundled modules in speedy env, Former-commit-id: ae718dbd05397bed9bc49a77fae20de70b635e82