Skip to content

Android writes a pause key the other front ends do not read - #134

Merged
xroche merged 3 commits into
masterfrom
fix/pause-files-key
Aug 17, 2026
Merged

Android writes a pause key the other front ends do not read#134
xroche merged 3 commits into
masterfrom
fix/pause-files-key

Conversation

@xroche

@xroche xroche commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Android wrote Pause for the random inter-file pause (-%G), where WinHTTrack and WebHTTrack both write PauseFiles. A profile written by one side reached the other two with that setting missing. This takes the majority spelling and reads the old one back through the rename shim that already carries ProxyType, KeepWww and KeepSlashes, so existing profiles and saved defaults keep their value.

This was the fourth and last divergence the three-way key census turned up; the other three landed in #124.

xroche and others added 3 commits August 17, 2026 21:59
Android wrote Pause for the -%G random inter-file pause; WinHTTrack and
WebHTTrack both write PauseFiles, so a profile carrying one was silently
missing the setting for the other two. Take the majority spelling and read
the old one through the existing rename shim.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
The key tables are parallel: a stored field and the option mapper that
turns it into an engine argument. Renaming one side only leaves the
mapper matching no stored key, and the option stops emitting with
nothing louder than a log line.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
Both key lists were checked against a hardcoded 94, which only catches an
entry the regex already matches: add one it misses and the count stays 94
while the new key goes untested. Count the declarations instead, and compare
the two tables as sets, so a stored key with no mapper fails as loudly as a
mapper under no stored key.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche merged commit 05cc5ff into master Aug 17, 2026
6 checks passed
@xroche
xroche deleted the fix/pause-files-key branch August 17, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant