| Age | Commit message (Collapse) | Author |
|
Any gipfel-annotated photo works, plain or stitched; the user-facing
wording and comments should not imply panoramas specifically.
|
|
- markers positioned in percent of the slide (identify reads the
dimensions), so the panorama scales with the viewport; a CSS-only
'Full resolution' checkbox switches to natural size with horizontal
scrolling
- peaks and photos now share one page; chip-style checkboxes toggle
Peaks / Photos / Labels / Full resolution (pure CSS sibling
selectors, no JavaScript)
- interaction for all input types: hover (mouse), :focus-within
(keyboard, markers are anchors), :target (touch, tap to open a
popup); popups get below/left/right classes from the generator so
they never leave the image
- labels show distance (the data always had it): NAME · 2849 m ·
12.3 km
- new gallery index.html (thumbnail grid), dark/light via
prefers-color-scheme, system font stack, lazy thumbnails, aria
labels, viewport meta; stylesheet is a single external style.css
- backlink updated to flpsed.org/gipfel.html
- gipfel2html: LC_ALL=C (awk decimal separator), no pipe-subshell
marker loops (counter must survive), exact cross-reference matching
The old two-page (images/hills) split is gone; the hills view is the
Peaks toggle now.
|
|
Port of the pre-Rust static web gallery pipeline (recovered from
history): Makefile drives gipfel-cli export-position/export-hills
instead of the C binary, ImageMagick replaces netpbm + jhead
(convert preserves the gipfel comment and EXIF natively). Output
structure and the CSS-only hover interaction are unchanged for now;
modernization follows separately.
gipfel2html: cross-image references now match the name column exactly
(the old grep -l also matched substrings, e.g. test.jpg inside
contest.jpg).
Verified end to end with two annotated test panoramas: slides,
thumbs, positions, cross-links and hill markers all generate.
|
|
The longest-numeric-prefix fallback sliced s[..i] at every byte index,
which panics when i lands inside a multi-byte character (reachable via
lossy-decoded Latin-1 database fields, e.g. a trailing degree sign).
Skip non-boundary indices; behavior on ASCII numeric fields is
unchanged. Includes regression test atof("12.5 deg").
|
|
The 35mm film frame is 36 mm wide, so a lens with 35mm-equivalent
focal length f projects with focal length f*w/36 in pixels. The
original C++ code divided by 35, making the EXIF-derived initial
scale ~2.9% too large (and the fitted focal readout ~2.9% low).
- EXIF init and the focal slider/readout now use /36
- the gipfel JPEG comment KEEPS its historical scale*35/w encoding
(focal_from_comment flag), so annotated JPEGs written by any older
gipfel version still reproduce the identical view, and files saved
by this version remain readable by them
- new regression test focal_scale_exif_vs_comment; golden tests
untouched (they pin the comment path)
Verified against real photos: optical shots now agree with EXIF
within ~1% (was ~3.6%).
|
|
|
|
|
|
The .gitignore pattern 'harness/build' was anchored to the repo root and
did not match tests/harness/build, so the compiled C++ harness binaries
leaked into the tree and the source tarball. Fix the pattern and untrack
them (they are regenerated by tests/gen_golden.sh).
|
|
|
|
|
|
Version now lives only in [workspace.package] in the root Cargo.toml;
all three crates inherit it via version.workspace = true (this also fixes
gipfel-core, which had drifted to 0.1.0 while the others were 0.5.4).
edition/license are inherited the same way.
The About dialog now reads env!("CARGO_PKG_VERSION") instead of a
hardcoded string. A new test (changelog_top_matches_version) asserts the
top gipfel-X.Y.Z entry in ChangeLog equals the crate version, so the
manifest, the About dialog and the ChangeLog cannot drift apart.
AGENTS.md gains a "Releasing a new version" section documenting the flow
(bump workspace version, add ChangeLog entry, tag, git archive source
tarball).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Rust port (formerly gipfel-rs) is now the official successor to the
FLTK/GSL C++ code base. This squashes the port into a single commit and
removes the C++ sources (they remain in the git history below).
Layout:
crates/gipfel-core headless core: hills, panorama geometry, projections
(maxima-generated derivatives), pure-Rust LM fit,
gipfel: JPEG comment + EXIF I/O, profiles, stitching
crates/gipfel-cli command-line tools (export, info, stitch, profiles)
crates/gipfel-app Cosmic DE (libcosmic) GUI, binary name `gipfel`
codegen/ maxima scripts + regen.sh for the projection code
tests/ golden files + C++ reference harnesses (historical)
The original README is kept for now; it will be updated to describe the
Rust build. gipfel.dat, AUTHORS, ChangeLog and NEWS are unchanged.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|