aboutsummaryrefslogtreecommitdiff
path: root/src/css_scanner.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-1/+1
* @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-29import everything from "bun" where possibleGravatar Jarred Sumner 1-2/+2
2022-11-06Automatically install npm packages when running a script in Bun's runtime ↵Gravatar Jarred Sumner 1-0/+1
(#1459) * Update bundler.zig * WIP * Update README.md * Update README.md * wip * Support running scripts without package.json * Add `--no-auto-install` and `--prefer-offline` flags * WIP * wip * Update headers-handwritten.h * WIP * Build fixes * Fix UAF * Update install.zig * Must call .allocate() * Micro-optimization: only call .timestamp() once per tick when installing packages * Support progress bar * Extend the timestamp for package staleness checks to 1 day * Add `--prefer-latest`, `-i` CLI Flags * Fix crash * Support line text manually being set on an Error instance * Add a few more fields for error messages * Fix bug when counting 8 character strings in string builder * Implement error handling for automatic package installs! * Fix crash * Make it say module when there's a slash * Update module_loader.zig * Ban dependency versions in import specifiers when a package.json is present * Remove unused field * Update README.md * Update README.md * Update README.md * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-04-14Update css_scanner.zigGravatar Jarred Sumner 1-0/+3
2022-04-13add some more assertionsGravatar Jarred Sumner 1-0/+9
2022-04-13[css] Fix crash on empty files in some casesGravatar Jarred Sumner 1-6/+8
2022-04-13[bun dev] Fix CSS HMR bugGravatar Jarred Sumner 1-22/+8
2022-03-17query_string_map -> urlGravatar Jarred Sumner 1-1/+1
2022-03-08rename _global -> bunGravatar Jarred Sumner 1-13/+13
2022-03-04upgrade zigjarred/upgrade-zig-2Gravatar Jarred Sumner 1-1/+1
2022-02-10[bun dev][css] Fix loading external assetsGravatar Jarred Sumner 1-2/+3
2022-01-02copy: replace Bun with bun (#99)Gravatar luke miles 1-1/+1
Most CLI tools have the style convention of referring to themselves in lowercase. It is, after all, the name that users type in when using the tool. This PR maintains that convention in bun. "Drop the uppercase B, it's cleaner"
2022-01-02[css] Only warn for tailwind onceGravatar Jarred Sumner 1-18/+8
2022-01-01[bun dev] Automatically set `origin` - improve support for proxying BunGravatar Jarred Sumner 1-2/+8
Previously, when running Bun behind a reverse proxy, you had to pass an explicit `--origin` arg and it could only run behind one proxy at a time. Now, Bun automatically determines the origin from the request if possible. It reads `Forwarded`, `X-Forwarded-Proto`, `X-Forwarded-Host`, `Origin`, and lastly `Host`. If none are available, it falls back to the `--origin` CLI arg. This change is important for usecases like Replit which shows multiple iframes in different origins.
2021-12-31Attempt to fix watcher issue with repl.itGravatar Jarred Sumner 1-3/+3
2021-12-30Upgrade to latest Zig, remove dependency on patched version of Zig (#96)Gravatar Jarred Sumner 1-17/+26
* 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-27Prepare to run unit tests & remove some dead code (#92)Gravatar Jarred Sumner 1-4/+3
* 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
2021-10-03Fix various macOS-specific compile errors and run `zig fmt`Gravatar Jarred Sumner 1-3/+2
2021-10-02Linux works now.Gravatar Jarred SUmner 1-0/+5
2021-09-30Support remapping macro pathsGravatar Jarred Sumner 1-1/+1
2021-09-05such entitleGravatar Jarred Sumner 1-33/+47
Former-commit-id: de26ae30116e3c13c48a710201a7da0817ffd9e5
2021-09-02Add warning when @tailwind, improve not found error for .css filesGravatar Jarred Sumner 1-9/+120
Former-commit-id: 0b776fb7f19dde86ea53968412c6eeaf9bae556f
2021-08-20Use the new Lock typeGravatar Jarred Sumner 1-1/+1
Former-commit-id: fcb04d39a1629047ab0a227c2992922725189ca7
2021-08-13lateGravatar Jarred Sumner 1-9/+14
Former-commit-id: 1d598bb05a3bac62d86063125e1fe2962f0b5cc6
2021-08-01hmGravatar Jarred Sumner 1-1/+7
Former-commit-id: 0dc1c1a74b845d037326f4f2facd786924ca722e
2021-06-19Show line counts for CSSGravatar Jarred Sumner 1-4/+15
Former-commit-id: 3d9028f0eed792f088fc04a878e436a36699fb82
2021-06-18CSS HMR!Gravatar Jarred Sumner 1-5/+19
Former-commit-id: 3f10c8790629ab157d9377759cc50a4b962cc6f4
2021-06-18100x!!Gravatar Jarred Sumner 1-28/+237
Former-commit-id: e0fa2e78da8083dc590c4b1f3d016ba545261b84
2021-06-17CSS scanner worksGravatar Jarred Sumner 1-428/+558
Former-commit-id: 4ca1e17778dc4a331da5a9a21f56e0e590c799ce
2021-06-16Skeleton!Gravatar Jarred Sumner 1-28/+689
Former-commit-id: 6e2c6cd6ea1fbda73977f563fc7fbdede1438527
2021-06-14HMR crashily works, started working on CSS ScannerGravatar Jarred Sumner 1-0/+119
Former-commit-id: d0f91082fcc8da17d224acb5432339c5d817e1c2