Commit Graph
1309 Commits
Author SHA1 Message Date
Dylan M. Taylor 8e7df1c3b9 deps: drop duplicate workspace pins left by the main merge 2026-11-17 16:33:25 -05:00
Dylan M. Taylor 08a4162cdb deps: refresh the Java class pin after the PCAP cutover landed 2026-11-17 16:22:11 -05:00
Dylan M. Taylor dcd5187cd5 Use shared PCAP and per-frame protocol inspection (#2031)
* Use shared packet capture and per-frame protocol inspection

* Pin PCAP inspection to merged shared library

* Test shared PCAP truncation and public adapter parity
2026-11-17 16:21:57 -05:00
Dylan M. Taylor 13845b54c1 Use shared lenient ZIP inspection and bounded seekable reads (#2020)
* Route ZIP inspection and seekable reads through shared lenient parser

* deps: pin craft-libs to the merged shared revision
2026-11-17 16:18:53 -05:00
Dylan M. Taylor 19479179ef deps: take the shared Java class reader on merged craft-libs main 2026-11-17 16:14:17 -05:00
Dylan M. Taylor 4e99363dc5 Use shared WebAssembly inspection and validation reports (#2029)
* Use shared WebAssembly inspection with app error compatibility

* Cover WASM resource indexes and component partial reports against oracle

* deps: pin craft-libs to the merged shared revision
2026-11-17 15:45:37 -05:00
Dylan M. Taylor 154e803b81 Merge current main and normalize java consumer lockfile 2026-11-17 13:57:47 -05:00
Dylan M. Taylor 4874699fec Merge pull request #2028 from storytold/refactor/shared-har
Use shared HAR capture reader preserving app policy
2026-11-17 13:52:48 -05:00
BFlat e3af36f2f3 Merge pull request #2040 from AlexJoaquimPereira/bugfix/r3.13-remaining-page-dialogs
Finishes #2037 for the last four page tools: bundle analysis, page watch, WebMCP tool discovery and the screenshot. They now answer a page's own dialogs the same way and list them in their results and summaries. The answering connect enables the Page domain itself, so each caller no longer has to.
2026-11-18 01:14:24 +07:00
Dylan M. Taylor f0ee15205f Merge current main and extend HAR consumer parity coverage 2026-11-17 12:59:15 -05:00
BFlat 5420a81632 Merge pull request #2039 from AlexJoaquimPereira/bugfix/r3.9-game-files-stale-results
A look at one game's folder or archive could finish after the person had picked another, and its list, profile or error then showed under the new pick. A finished look now carries the path it was asked for, and the Game files screen ignores a result for a folder or archive it no longer shows, leaving the new look running.
2026-11-18 00:46:16 +07:00
AlexJoaquimPereira 2928307c8a Answer a page's dialogs in the remaining inspection tools (R3.13)
The four page tools that still attached without answering a page dialog (web_page_js_analyze, web_page_watch, web_mcp_tools_list and web_page_screenshot_take) could wait to their deadline when a page opened an alert or confirm. The shared answering connect now enables Page, which is what delivers Page.javascriptDialogOpening, and all four use it; their results and summaries list the dialogs. The bundle-analysis and screenshot results now carry the dialogs capture_page already collects, and WebMCP discovery drains its events after the probe.

Regressions: a fake CDP server opens a confirm on Page.enable and records Page.handleJavaScriptDialog; all four tools answer and report it. The existing seven dialog tests and the full browser module pass.
2026-11-17 23:03:54 +05:30
AlexJoaquimPereira 4093fc457a Claim R3.13: answer the remaining page tools' dialogs
web_page_js_analyze, web_page_watch, web_mcp_tools_list and web_page_screenshot_take still attach without answering a page-opened dialog. Record the pending change before fixing it.
2026-11-17 22:56:45 +05:30
AlexJoaquimPereira 746ee700bf Keep a game-files look with the folder or archive it was for (R3.9)
A look at one game's folder or archive could land after the person picked another one, so the old profile, archive list or file rows were shown under the new pick, and a save could name an item from the old game. The button job now carries its request, and game_files::tool_done ignores an Ok or Err result whose path no longer matches the shown folder (game_archives_list/core_target_triage) or archive (game_pak_list/game_unity_list/game_iostore_list/game_unity_bundle_list). Export toasts still say a file was saved.

Regressions: an old game folder's archive list/profile and an old archive's rows are ignored and leave the new look running; an old folder's error isn't shown, while the shown folder's error is. All three failed before the guard.
2026-11-17 22:35:51 +05:30
AlexJoaquimPereira 850a5bf459 Claim R3.9: keep a game-files look with the pick it was for
A look at one game's folder or archive can land after another is picked. Record the pending change before fixing it.
2026-11-17 22:35:51 +05:30
Dylan M. Taylor d719f94ab1 Merge remote-tracking branch 'origin/main' into refactor/shared-java-class
# Conflicts:
#	Cargo.lock
#	crates/formats/Cargo.toml
2026-11-17 11:54:03 -05:00
BFlat a31e995858 Merge pull request #2037 from AlexJoaquimPereira/bugfix/r3.13-page-tools-dialogs
Follow-up to #2011, which answered a page's own dialogs only for the website session. The tools that connect to a page on their own (page show, walkthrough, coverage, listeners, module trace and the Electron page tools) now answer them the same way, so a page's alert no longer holds a call until its deadline: an alert or leave-page question is accepted and a confirm or prompt dismissed. Each result lists the dialogs and how they were answered, with declared secrets redacted, and the reporting code is shared in one place.
2026-11-17 23:51:58 +07:00
Dylan M. Taylor be8efd27fd Use shared span-preserving JSONC editor (#2026)
* Use shared span-preserving JSONC editor

* Pin JSONC editor to merged shared revision
2026-11-17 17:41:11 +01:00
Dylan M. Taylor 700dd24dc0 Pin HAR reader to merged shared prerequisite 2026-11-17 11:30:33 -05:00
Dylan M. Taylor 07559c5741 Merge remote-tracking branch 'origin/main' into refactor/shared-har 2026-11-17 11:30:17 -05:00
Dylan M. Taylor e0229453ca Use shared TAR and CPIO walkers while retaining app extraction policy (#2017) 2026-11-17 11:25:33 -05:00
AlexJoaquimPereira 68a990fee6 Answer a page's dialogs in the inspection and walkthrough tools (R3.13)
The tools that attach to a page themselves (web_page_show, web_walkthrough_record, the web-runtime coverage/listener/module tools, and the Electron page and walkthrough tools) connected without answering a page-opened alert or confirm, so the page's scripts stopped and the call waited to its deadline. They now answer dialogs as web_site_open does (alerts and leave-page questions accepted, confirm and prompt dismissed), enable the Page domain that delivers the event, and report each dialog's kind, first line and answer in the result and summary. Declared secrets in a dialog message are redacted. The shared dialog extraction moved to web_common so the website open and these tools use one reporter.

Regressions: a fake CDP server opens a confirm only after Page.enable and records Page.handleJavaScriptDialog; web_page_show, web_walkthrough_record, web_coverage_measure, web_listeners_list and web_modules_trace answer and report it. A unit test covers extraction, summary, empty/null and redaction.
2026-11-17 21:51:45 +05:30
AlexJoaquimPereira 2022ba91be Claim R3.13: answer a page's dialogs in the inspection and walkthrough tools
The tools that attach to a page on their own still let a page-opened dialog stall them. Record the pending change before fixing it.
2026-11-17 21:51:45 +05:30
BFlat 5af9ec5aec Merge pull request #2036 from AlexJoaquimPereira/bugfix/r2.9-build-file-edit-cap
Follow-up to #1965. build_file_edit read the whole file into memory before editing, so an oversized generated file could freeze or kill the app. It now uses the same 16 MiB capped read as build_file_read: a larger file is refused with a plain error and left unchanged, and text that is not valid UTF-8 is still refused.
2026-11-17 23:03:51 +07:00
BFlat 5e818e169e Merge pull request #2034 from GeraldBro/chore/i18n-fr-catalog
The French catalog was missing 27 strings from recent work (the update checker, updates managed by a launcher or package manager, agent management and website sign-in), so the French UI fell back to English on them. Placeholders are unchanged.
2026-11-17 22:46:24 +07:00
AlexJoaquimPereira 55ff4a1ee6 Refuse a project file over 16 MB in the builder's edit tool (R2.9)
A builder's edit read the whole project file into memory before replacing text, so a large generated file under app/ could freeze or kill the app. It now uses the same 16 MiB cap as a read, refusing a larger file before it is loaded and leaving it unchanged. A file at the cap still edits when the result fits the 8 MB write cap.

Regressions: an edit over the cap returns OverLimit and leaves the file unchanged; it failed before the fix with the write cap's BadInput after the whole file was read. A file exactly at the cap still edits down to the write cap.
2026-11-17 21:12:23 +05:30
AlexJoaquimPereira 71b60cf036 Claim R2.9: cap a builder's project file edit
build_file_edit reads the whole project file into memory before replacing text. Record the pending change before fixing it.
2026-11-17 20:56:00 +05:30
GeraldBro 82dec59ab2 Complete the French UI catalog (27 strings) 2026-11-17 16:18:40 +01:00
Dylan M. Taylor a966560681 Use shared Java class reader and JVM decoder with legacy parity coverage 2026-11-17 09:05:51 -05:00
Dylan M. Taylor c0d91cc967 Use shared HAR capture reader preserving app policy 2026-11-17 08:35:37 -05:00
Dylan M. Taylor 5979f9b13f Use shared Source Map v3 parser and lookup core (#2027) 2026-11-17 08:13:48 -05:00
Dylan M. Taylor 0b8238ff92 Merge pull request #2025 from storytold/refactor/shared-pe-headers
Use shared PE headers and bounded Rich header reader
2026-11-17 07:42:08 -05:00
Dylan M. Taylor a0b7304b40 Merge main retaining Mach-O and PE shared readers 2026-11-17 06:13:20 -05:00
Dylan M. Taylor e5c9c94106 Merge pull request #2024 from storytold/refactor/shared-macho-primitives
Use shared Mach-O universal and thread-state primitives
2026-11-17 06:12:16 -05:00
Dylan M. Taylor 162b51b203 Use shared PE headers and bounded Rich header reader 2026-11-17 05:44:57 -05:00
Dylan M. Taylor f7e42ec1e2 Merge main preserving shared ELF and Mach-O integrations 2026-11-17 05:43:25 -05:00
Dylan M. Taylor 64bc414b36 Use shared Mach-O universal and thread-state primitives 2026-11-17 05:09:12 -05:00
Dylan M. Taylor 7d3dad1ed9 Merge pull request #2022 from storytold/refactor/shared-elf-headers
Use shared ELF program headers and bounded dynamic entries
2026-11-17 05:07:22 -05:00
Justin John db8b9777e2 Run Vineflower and JADX on the Java folder set for Ghidra (R5.7) (#2023)
A Java folder set for Ghidra in Settings → Engines was used only to run Ghidra, so with no system Java, Vineflower said Java wasn't installed and JADX could not start. The Java runtime lookup now returns that folder's bin/java when no path is set for Java itself, so Vineflower, JADX, the engine list and doctor all find it. A path set for Java itself still wins, and a folder with no bin/java is ignored.
2026-11-17 17:05:37 +07:00
Dylan M. Taylor c129ce6210 test: reuse unchanged ELF byte reader in compatibility oracle 2026-11-17 04:35:31 -05:00
Dylan M. Taylor 860918848e test: borrow ELF header in parity assertion 2026-11-17 04:33:55 -05:00
Dylan M. Taylor 2c2a84f16b Use shared ELF program headers and dynamic entries 2026-11-17 03:22:28 -05:00
Justin John acacd13b4a Say what's wrong with an engine path set for adb, Frida, GDB, Rizin, lldb, JADX, Apktool or tshark (#2021)
When a folder set in Settings → Engines didn't hold the program, these tools said the program wasn't installed. They now use the shared lookup and wording that the Java and disassembler tools already use: the folder set for it has no such program, or the path set for it isn't there, with how to correct it. Optional engines keep their "not installed, that's fine" note when no path is set.
2026-11-17 13:49:15 +07:00
BFlat ba46f341ab Merge pull request #2012 from storytold/bugfix/freebsd-console-capture
Process capture was refused on FreeBSD, where a terminal loses a short program's output when it exits, so two console tests have failed in the nightly FreeBSD job. FreeBSD now uses the pipe capture Windows already uses, with the program's process group ended with it; scripted input, resizes, signals and watched files are still refused there. Linux, macOS and Windows are unchanged.
2026-11-17 12:31:01 +07:00
FredApps 4aeaa0ec11 Expect the no-desktop sign-in refusal on FreeBSD too
no_display_error refuses a sign-in window without DISPLAY or
WAYLAND_DISPLAY on every Unix but macOS, but its test expected that only
on Linux, so it failed on FreeBSD once the console capture tests stopped
ending the run first.
2026-11-17 06:10:32 +01:00
BFlat 4402d170f9 Merge pull request #2015 from Plastic-time/bugfix/r3.12-html-legacy-script-language
A script tag with language="VBScript" and no type was listed as JavaScript. When type is absent a browser uses the legacy language value to pick the script's type, so a language that is not a JavaScript one is no longer listed. An explicit type still decides, even an empty one.
2026-11-17 12:05:54 +07:00
BFlat 1b0f5025fb Merge pull request #2011 from htcom-code/bugfix/r3.13-js-dialog-blocks-open
A page that opens an alert while loading waits for someone to close it, and nothing did, so opening the site always ran into its deadline and a rebuild could not study it (#2010). The session's page client now answers dialogs as they open: an alert or a leave-page question is accepted so the page can go on, and a confirm or prompt is dismissed so nothing is agreed to for the person. The result lists the dialogs the page opened and how each was answered.
2026-11-17 12:05:33 +07:00
BFlat 854f50e129 Merge pull request #2014 from Plastic-time/bugfix/r3.12-sqlite-parenthesized-primary-key
SQLite accepts a primary key written as PRIMARY KEY((a), b) in a WITHOUT ROWID table. The reader stopped at the first closing parenthesis and could not work out the stored row layout. It now reads to the matching end of the key list, finds the column inside redundant parentheses and uses its outermost collation.
2026-11-17 12:02:46 +07:00
BFlat ecaa1027e6 Merge pull request #2005 from Plastic-time/bugfix/r3.12-dos-extended-pe-signature
The DOS header report took any "PE" prefix at the extended-header offset for a Windows extension, including a cut-off signature or "PENA" in unrelated bytes. The full four-byte signature is now required. A complete signature that overlaps the DOS header, as hand-packed small executables have, is still reported.
2026-11-17 12:02:08 +07:00
BFlat cf749a926d Merge pull request #2009 from Plastic-time/bugfix/r3.12-java-truncated-attributes
A Java class file that ended partway through a class-level attribute was read with no warning, so source or signature details after the cut were silently missing. The reader now keeps the attributes it could read and warns when the table ends early.
2026-11-17 11:48:08 +07:00