Skip to content

Bump the vendored engine to 7a923f40, engine master - #273

Merged
xroche merged 2 commits into
masterfrom
engine-bump-7a923f40
Nov 8, 2026
Merged

xroche merged 2 commits into
masterfrom
engine-bump-7a923f40

Conversation

@xroche

@xroche xroche commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

The engine moved 102 commits, mostly a factorization meant to keep behavior the same. Two of its changes reach this build, so Android.mk gains both: the new library source src/htsbase.c, and -DHTS_INTERNAL_BYTECODE. Without the macro the internal prototypes stay hidden and every engine file fails to compile.

The bump also turns one front-end value fatal. The engine now refuses a -%c rate between zero and 0.000001. The rate field takes any decimal, so a user-typed 0.0000001 would abort the crawl before it starts. The mapper clamps such a rate to the bound it passed.

Both ABIs build and 678 unit tests pass.

xroche and others added 2 commits November 8, 2026 21:16
The engine factored library code out of its existing files, which adds two
things the Android build needs. src/htsbase.c joins the explicit source list,
and -DHTS_INTERNAL_BYTECODE shows libhttrack the engine-only half of the
headers. Without the macro every engine file fails to compile, because the
internal prototypes are now hidden behind it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
The engine now refuses a -%c rate between zero and 0.000001, and one above a
float, where it used to cast whatever it read (engine #2081). The rate field
takes any decimal and no layout bounds it, so a user-typed 0.0000001 would
abort the crawl before it starts. A magnitude clamps to the bound it passed,
per the rule a profile value follows everywhere else here.

The added test reads both bounds back out of the engine source, so a moved
floor fails here instead of shipping a rate the engine panics on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche enabled auto-merge (squash) November 8, 2026 20:28
@xroche
xroche merged commit 39f0f2d into master Nov 8, 2026
7 checks passed
@xroche
xroche deleted the engine-bump-7a923f40 branch November 8, 2026 20:32
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