summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-10-27web: visible guide dots with hover peak identificationJohannes Hofmann
- guide dots: dark outline ring + bright core, readable on any photo - hover over a dot shows 'NAME · height m' in the sidebar (same info the desktop hover status line gives) - pointermove doubles as hover report when not dragging
2026-10-27web: W2 — hill DB, metadata-driven viewpoint, markers and auto-fitJohannes Hofmann
- fetch gipfel.dat.gz at startup, gunzip (flate2, pure Rust) and load into a Panorama held in app state - image loads now also parse the gipfel JPEG comment / EXIF and set the viewpoint via apply_image_metadata (same path as desktop) - markers: click a visible-peak guide dot to mark it, drag to adjust, right-click to remove; refit (comp_params_with, distortion locked by default) after every change once >= 4 markers - sidebar: fit-distortion toggle, marker/zoom readout, fitted az/pitch/roll/scale line - canvas: guide dots for visible peaks, red crosses + shadowed labels - serve-here.sh: dev helper (cargo build --target wasm32 + wasm-bindgen + gzip the DB into the static dist dir) Verified: cargo check clean for wasm32; runtime to be confirmed in browser against a gipfel-saved photo (W2 acceptance: fit must match the desktop result on the same image).
2026-10-27web: canonical trunk layout (index.html at crate root)Johannes Hofmann
trunk resolves the crate manifest next to the entry HTML; with the entry in www/ it looked for www/Cargo.toml and failed. Move the entry to the crate root (standard trunk layout), keep style.css in www/.
2026-10-27web: W1 scaffold — Yew app with image display, pan and zoomJohannes Hofmann
First milestone of wasm-plan.md: - new crate gipfel-web: Yew 0.21 (csr), canvas 2D viewport - file input + drag-and-drop; browser-native decode via createImageBitmap (faster than image-crate decode in wasm, GPU-backed blitting) - pan (pointer drag with capture, touch-ready) and cursor-anchored wheel zoom, DPR-aware canvas sizing, fit-to-window - dark sidebar shell: open/fit buttons, status line - Trunk.toml + www/ (index.html, style.css); README with dev setup Verified: cargo check clean (native and wasm32-unknown-unknown), release wasm builds (5.3 MB pre-wasm-opt), all 38 native tests pass. Runtime behavior to be confirmed with trunk serve on a desktop browser.
2026-10-27wasm: add plan for a real browser versionJohannes Hofmann
Scope (feature-parity map with binding v1 non-goals), architecture decisions (Yew, canvas 2D hybrid rendering, localStorage/PWA storage, byte-oriented core APIs), port map from the desktop app modules, milestones W1-W6 (~3 weeks), risks, and open questions to settle before W1.
2026-10-27wasm: record verified spike result (sub-pixel refit in-browser, 50 ms)Johannes Hofmann
2026-10-27wasm: experimental browser spikeJohannes Hofmann
Proves the gipfel core can run in the browser via WASM. Enabled by the earlier GSL removal: the core is now pure Rust. gipfel-core gains byte-oriented entry points (no filesystem) alongside the existing path-based ones: - hill::load_from_bytes, Panorama::load_data_from_bytes - metadata: load_image_from_bytes, read_jpeg_comment_from_bytes, write_jpeg_comment_to_bytes, save_image_to_bytes (EXIF via Cursor) New crate gipfel-wasm (experimental, not shipped with the app): - wasm-bindgen surface: version() + fit_demo(db_bytes, jpg_bytes) which runs the whole pipeline in memory: parse hill DB, read gipfel JPEG comment / EXIF, synthesize 5 observations from visible hills, perturb, refit (pure-Rust LM), report JSON with reprojection error - demo/index.html: file pickers + result pane (wasm-pack --target web) - build.sh: adds the wasm target, builds with wasm-pack, prints serve cmd - native test runs the same pipeline against gipfel.dat + test.jpg and asserts sub-pixel reprojection error (passes here) To try on a machine with rustup: cd crates/gipfel-wasm && ./build.sh
2026-10-27README.md: display screenshot at 720px widthv0.5.5Johannes Hofmann
2026-10-27README.md: fix markdown syntax (image link, video link, <Enter> literal)Johannes Hofmann
2026-10-27untrack tests/harness/build (compiled golden harness artifacts)Johannes Hofmann
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).
2026-10-27AGENTS.md: ChangeLog and README.md are human-authored (don't edit unless asked)Johannes Hofmann
2026-10-27release: 0.5.5Johannes Hofmann
2026-10-27build: single source of truth for the versionJohannes Hofmann
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).
2026-10-26prepare 0.5.4Johannes Hofmann
2026-10-26prepare 0.5.3Johannes Hofmann
2026-10-26prepare 0.5.2Johannes Hofmann
2026-10-26prepare 0.5.2Johannes Hofmann
2026-10-26prepare 0.5.1Johannes Hofmann
2026-10-26remove old README and add screenshotJohannes Hofmann
2026-10-26Update Changelog and prepare 0.5.0Johannes Hofmann
2026-10-26Update README.mdJohannes Hofmann
2026-10-26Replace the C++ implementation with the Rust portJohannes Hofmann
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.
2023-09-18prepare 0.4.1Johannes Hofmann
2023-09-18fix compilation on NetBSD - by Thomas KlausnerJohannes Hofmann
2020-09-14fix some warningsJohannes Hofmann
2014-03-09don't crash if screen dump failsJohannes Hofmann
2014-01-16Added tag rel_0_4_0 for changeset b41825bdcb96Johannes Hofmann
2014-01-16prepare 0.4.0Johannes Hofmann
2014-01-16update READMEJohannes Hofmann
2014-01-16update ChangeLogJohannes Hofmann
2014-01-16update spec fileJohannes Hofmann
2014-01-16add required NEWS fileJohannes Hofmann
2014-01-16add null checkJohannes Hofmann
2014-01-16update copyrightJohannes Hofmann
2013-11-20fix up/down keys in viewpoint chooserJohannes Hofmann
2013-11-01compute parameters in find_peak_cb()Johannes Hofmann
2013-10-19compute view and nick if only one peak is knownJohannes Hofmann
2013-10-16mergeJohannes Hofmann
2013-10-16whitespace fixJohannes Hofmann
2013-10-13fix focal length for images in portrait formatJohannes Hofmann
2013-10-11fix indentationJohannes Hofmann
2013-10-11remove compute buttonJohannes Hofmann
2013-10-11call comp_params() automatically on release when more than 1 hill is markedJohannes Hofmann
2013-10-11don't update coordinates of marked hillsJohannes Hofmann
2013-10-10use proper distance for distortion correctionJohannes Hofmann
2012-11-18fix urlsJohannes Hofmann
2012-11-17update READMEJohannes Hofmann
2012-11-17fix warningJohannes Hofmann
2012-11-17fix warningJohannes Hofmann
2012-10-07fix compilation with fltk-1.3.xJohannes Hofmann