Commit Graph
57 Commits
Author SHA1 Message Date
ldm0 0cf6619ce0 perf(style): share inline source text backing
Retain inline stylesheet text through shared DOM text backing instead of copying it into the source cache. Fold in the necessary SmolStr Text storage and shared_text_content interface so this branch is one self-contained commit on main.

Derived from 6b163b921 and the DOM text prerequisites of 3d324c596. Excludes parser script internal-slot changes, lazy cascade data, import metadata reuse, and diagnostics.
2026-09-05 20:40:48 +08:00
ldm0 9464837d57 chore(release): bump version to 1.1.3 2026-09-05 19:17:56 +08:00
ldm0 2c7a46352d perf(dom): compact named index strings 2026-09-05 00:51:49 +08:00
ldm0 8c34e035d3 Preserve raw bodies in fetch JSON output 2026-09-04 15:54:47 +08:00
ldm0 0da0f1cc47 fix(cssom): decode escaped property rule names 2026-09-04 04:21:19 +08:00
ldm0 1908b8b4ea perf(response): defer redundant body text copies 2026-09-04 02:08:02 +08:00
ldm0 1f41f19455 chore(release): bump version to 1.1.2 2026-09-04 01:15:56 +08:00
ldm0 62d2289b8c fix(v8): avoid embedding duplicate ICU data 2026-09-03 15:17:48 +08:00
ldm0 017c53de8c build(v8): migrate Moli to V8 15.2 2026-09-03 15:17:48 +08:00
ldm0 f59af15895 chore(release): bump version to 1.1.1 2026-09-01 17:58:43 +08:00
ldm0 b79476012f chore(release): bump version to 1.1.0 2026-09-01 04:58:38 +08:00
ldm0 c1204434f7 fix(layout): implement automatic table column sizing 2026-08-31 11:59:59 +08:00
ldm0 5547cb593d perf(site): compile public suffix rules into static trie 2026-08-31 03:59:56 +08:00
ldm0 b09fee1df2 feat(layout): expose resolved Grid tracks 2026-08-30 05:41:30 +08:00
ldm0 ba24bc7abe fix(layout): preserve calc lengths in intrinsic margins 2026-08-29 19:11:35 +08:00
ldm0 9720a46768 perf(style): narrow conservative invalidation fallback 2026-08-28 15:18:42 +08:00
ldm0 e5f4ef1f5f Resolve used aspect ratios at layout boundaries 2026-08-28 04:41:52 +08:00
ldm0 9cef93dc59 fix(css): honor document color schemes 2026-08-27 19:57:05 +08:00
ldm0 5e173f3a5a refactor(encoding): extract legacy charset detector 2026-08-27 17:53:51 +08:00
ldm0 23acc9d739 feat(encoding): detect unlabeled legacy HTML like Blink 2026-08-27 17:53:51 +08:00
ldm0 155d6321e5 fix(tls): use curl AWS-LC root probe 2026-08-27 02:04:51 +08:00
ldm0 1f97225733 build(crypto): replace vendored OpenSSL with AWS-LC 2026-08-27 02:04:51 +08:00
ldm0 a815619f32 refactor(webcrypto): move curve448 primitives to RustCrypto 2026-08-27 02:04:51 +08:00
ldm0 d7ce6655ff refactor(content-type): centralize parsing semantics 2026-08-26 20:28:00 +08:00
ldm0 63cf8b53d5 chore(release): bump version to 1.0.6 2026-08-26 20:11:52 +08:00
ldm0 30ae322561 chore(release): bump version to 1.0.5 2026-08-26 04:56:48 +08:00
Athul Nambiar eeb2ae6179 fix(headers): respect quoted strings when splitting header parameters 2026-08-26 03:47:19 +08:00
ldm0 9c49d2140b deps(websocket): unify webpki-roots on 1.x
Stripped moli: 123,520,056 -> 123,515,960 bytes (-4,096 bytes, -0.0033%).
2026-08-26 03:29:25 +08:00
ldm0 fce58f7468 deps(layout): upgrade parley to 0.11.1
Stripped moli: 124,163,128 -> 123,520,056 bytes (-643,072 bytes, -0.52%).
2026-08-26 03:29:25 +08:00
ldm0 36a19dea95 dep: remove unused dependencies 2026-08-26 03:29:25 +08:00
ldm0 aa8cd2ecb3 refactor(svg): replace sampled geometry with kurbo 2026-08-26 03:10:57 +08:00
ldm0 0a1dee9c01 chore(release): update version to 1.0.4 2026-08-24 18:02:31 +08:00
ldm0 ddab89586a fix(layout): keep scrollbar gutters out of overflow 2026-08-23 03:49:48 +08:00
ldm0 897e8e88a2 feat(layout): model physical scrollbar insets 2026-08-23 03:49:48 +08:00
ldm0 6f5aa320b2 Bump version to 1.0.3 2026-08-22 20:00:01 +08:00
BibekPathak cf78d14909 fix(cli): error on invalid --wait-response-body regex 2026-08-21 19:38:13 +08:00
Athul Nambiar 777ae9af36 fix(cli): enforce --obey-robots against robots.txt
`--obey-robots` parsed into `FetchConfig` and stopped there. Its only
consumer was the network trace, which reported the flag's own value back
out; no robots.txt was ever fetched or honored. The webfetch skill
meanwhile told agents to enable it for crawl workloads, so a crawl could
report that it obeyed robots.txt while ignoring it.

Add `moli-robots`, a dependency-light RFC 9309 parser and matcher:

- group parsing, including merged repeat groups and `User-agent` runs;
- user-agent selection by specificity with `*` as the fallback group;
- `Allow`/`Disallow` with `*` and `$`, longest match winning and `Allow`
  taking ties;
- percent-encoding normalization so a pattern and a request target
  compare in one space;
- the RFC 9309 section 2.3.1 response rules, where 4xx publishes no rules
  and 5xx or a transport failure disallows the origin.

Wire it into `moli fetch`. The check runs before the browser starts, so a
refused URL costs one robots.txt request and the target is never
contacted.

Scope is the top-level navigation. Subresource and protocol-server
navigations run through NavigationEngine, whose redirect, service-worker,
and CDP paths need a design decision of their own; `moli serve
--obey-robots` now warns that it is not enforced instead of appearing to
work.

Fixes #79
2026-08-21 02:34:26 +08:00
ldm0 cf33d7dca5 Bump version to 1.0.2 2026-08-20 22:19:44 +08:00
ldm0 c020b81cec Bump version to 1.0.1 2026-08-18 17:56:26 +08:00
ldm0 e47e2181b8 feat(renderer): batch wheel actions 2026-08-18 01:04:04 +08:00
ldm0 4694c71a84 feat: add browser action batching model 2026-08-18 01:04:04 +08:00
ldm0 86c648fa5a Bump version to 1.0.0 2026-08-17 01:33:18 +08:00
ldm0 0d1b885eb0 build(deps): align html parser stack on 0.39 2026-08-17 01:26:26 +08:00
ldm0 1682b7ea9e build(deps): update toml to 1.1 2026-08-17 01:26:26 +08:00
ldm0 ade8ace79e build(deps): update png to 0.18 2026-08-17 01:26:26 +08:00
ldm0 ce7fa9cd17 feat: implement Web Bot Auth signing 2026-08-16 15:19:40 +08:00
ldm0 edcdae335f Bump version to 0.1.3 2026-08-15 01:46:59 +08:00
ldm0 e8446e8839 Bump version to 0.1.2 2026-08-14 10:25:24 +08:00
ldm0 145f9c68f5 Remove MCP server 2026-08-14 01:38:49 +08:00
ldm0 d1f20f66f8 Use a global CSS layout-unit grid 2026-08-13 19:22:29 +08:00