aboutsummaryrefslogtreecommitdiff
path: root/src/string_immutable.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-01-19`fs.*Sync()`, `bun wiptest`, and More ™ (#106)Gravatar Jarred Sumner 1-0/+43
* 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-31little testbun-v0.0.64Gravatar Jarred Sumner 1-0/+8
2021-12-31Add unrolled case insensitive string comparisonGravatar Jarred Sumner 1-0/+21
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-13/+12
* 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 add` and `bun remove` sorta works now. but not fast enough!Gravatar Jarred Sumner 1-0/+1
2021-12-16[bun install] Lockfile saves. Starting to implement diffingGravatar Jarred Sumner 1-0/+51
2021-12-16Mimalloc cleanupGravatar Jarred Sumner 1-1/+9
2021-12-16[bun install] some things installGravatar Jarred Sumner 1-2/+2
2021-12-16Update string_immutable.zigGravatar Jarred Sumner 1-0/+4
2021-11-04Update string_immutable.zigGravatar Jarred Sumner 1-0/+7
2021-11-04[JS Parser] Decode JavaScript-like input as WTF-8 instead of UTF-8Gravatar Jarred Sumner 1-40/+78
2021-11-03[JSX] Fix regression with JSX entitiesGravatar Jarred Sumner 1-0/+2
2021-11-01[internal] Tiny changes that will eventually make it easier to update zigGravatar Jarred Sumner 1-1/+1
2021-10-28- Fix consistentcy issue with runtime hashGravatar Jarred Sumner 1-122/+65
- Fix edgecases in strings.eqlComptime by simplifying the implementation
2021-10-25Fix JSX unicode handling, slightly improve perfGravatar Jarred Sumner 1-2/+56
2021-10-25Fix all known string encoding bugsGravatar Jarred Sumner 1-25/+28
2021-10-24[internal] Handle allocation failureGravatar Jarred Sumner 1-1/+1
2021-10-23Rewrite the CodepointIterator to fix some bugsGravatar Jarred Sumner 1-81/+89
2021-10-20rewrote most of the routerGravatar Jarred Sumner 1-28/+11
2021-10-18Starting to rewrite the router to fix some bugs and support catch-all + ↵Gravatar Jarred Sumner 1-10/+47
optional routes
2021-10-16more stringsGravatar Jarred Sumner 1-2/+27
2021-10-14Support local templatesGravatar Jarred Sumner 1-0/+8
2021-09-27Fix bug in string eql check that was never used beforeGravatar Jarred Sumner 1-1/+1
2021-09-26Basic macro implGravatar Jarred Sumner 1-4/+4
2021-09-21Fix the compiler errorsGravatar Jarred Sumner 1-2/+2
2021-09-21Most of the ESM resolution algorithm (still untested)Gravatar Jarred Sumner 1-0/+17
2021-09-21`endsWithAny` -> `endsWithAnyComptime`Gravatar Jarred Sumner 1-1/+1
2021-09-21Parse "exports" field from package.json (WIP)Gravatar Jarred Sumner 1-0/+13
2021-09-20Fix parsing/printing unicode identifiers, switch to UTF-8 for prefilled ↵Gravatar Jarred Sumner 1-80/+86
strings, remove eagerly loading identifier_name
2021-09-20Fix how error lines with strings are highlightedGravatar Jarred Sumner 1-0/+21
2021-09-12Fix "browser" map resolution, _almost_ fix symbol collisions, cache absolute ↵Gravatar Jarred Sumner 1-0/+4
paths for file entries
2021-09-09currentjarred/fetch-experimentGravatar Jarred Sumner 1-0/+15
2021-09-09fetc h!!!Gravatar Jarred Sumner 1-2/+2
2021-09-07WIP error cssGravatar Jarred Sumner 1-0/+17
Former-commit-id: 36f03bf491cf274f68361e334a706538464ee271
2021-09-04Fixed memory leaks, but SSR is slower. Should move cleanup & restart steps ↵Gravatar Jarred Sumner 1-9/+31
to a real idle timeout Former-commit-id: 9499ee3109cb336deb9380f0190631a30c9da51c
2021-09-02endsWith("") should return trueGravatar Jarred Sumner 1-1/+1
Former-commit-id: fdbb66abc4e539ef960a72588495cd9964eff68b
2021-08-29latestGravatar Jarred Sumner 1-8/+8
Former-commit-id: 096ec1222ad723d006b0151f10cb0c1b95e2bfd3
2021-08-25latestGravatar Jarred Sumner 1-0/+10
Former-commit-id: f5600d123d3710e7ea80ff2b7c66d13382462420
2021-08-23Fix bug with copyLowercase and add a testGravatar Jarred Sumner 1-1/+17
Former-commit-id: 87946b9fecd8b3e75a5995f38311053ae54b0424
2021-08-21Fix watcher when you move files/dirs around. It'll bust the cache and ↵Gravatar Jarred Sumner 1-11/+15
recreate it (and leak memory) Former-commit-id: 8faf6127547411c1fdcee9e4e7440825f21ecd99
2021-08-21TinyString optimizationGravatar Jarred Sumner 1-0/+120
Former-commit-id: e23202f6228d292c4fac08c7667b5f2a0e5f1c32
2021-08-17fix endsWithGravatar Jarred Sumner 1-13/+2
Former-commit-id: 5d89343b0bd923fd7400770d25b12985eb937f70
2021-08-14lotsGravatar Jarred Sumner 1-1/+16
Former-commit-id: 0b8128cb3b4db02f9d33331b4c2c1b595156e6c8
2021-08-09Split up + generate client & server bundles, support framework +router in ↵Gravatar Jarred Sumner 1-11/+11
GenerateNodeModulesBundle , read framework from package.json + rename "publicURL" to "origin" + add import.meta.filepath Former-commit-id: 1e76ebb5375247231181ec19a6396c6acf4684fb
2021-08-06Query String parser with JS integrationGravatar Jarred Sumner 1-0/+12
Former-commit-id: 8542778c30e9757fa87514f46ff5086d7c8f6bfa
2021-07-28esmodules work?Gravatar Jarred Sumner 1-0/+24
Former-commit-id: 5cb5af4416c12518eb195d1b310990fc5c94d6c8
2021-07-01this kind of works, but there is a crash when bundling. I think its missing ↵Gravatar Jarred Sumner 1-0/+9
a Stmt.Data.Store.reset() Former-commit-id: 88aad6aeb19f3d1d73ced59a7a5aaddc2d7408ee
2021-06-26wipGravatar Jarred Sumner 1-4/+3
Former-commit-id: 506d9b81a7c9dac5dd870f6735c39df105e72fd4
2021-06-24I like this directionGravatar Jarred Sumner 1-3/+8
Former-commit-id: 3a95a74b7feadb59a215ff06446ccebff4a4008e
2021-06-14HMR crashily works, started working on CSS ScannerGravatar Jarred Sumner 1-0/+61
Former-commit-id: d0f91082fcc8da17d224acb5432339c5d817e1c2