<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gipfel/dist, branch master</title>
<subtitle>gipfel - photogrammetry for mountain images
</subtitle>
<id>https://git.flpsed.org/gipfel/atom?h=master</id>
<link rel='self' href='https://git.flpsed.org/gipfel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/'/>
<updated>2026-11-12T22:12:46Z</updated>
<entry>
<title>stop checking dist/ — it is a build artifact</title>
<updated>2026-11-12T22:12:46Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-12T22:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=9ff39f27fa6694e94534b0032cce5a35fc2093ac'/>
<id>urn:sha1:9ff39f27fa6694e94534b0032cce5a35fc2093ac</id>
<content type='text'>
dist/gipfel/ was committed with the web promotion purely for
pull-and-serve convenience, but nothing depends on it: the droid and
desktop builds both invoke the wasm build themselves, and the README
already documents build-then-serve. Deployment now means running
crates/gipfel/build-release.sh on the host (or serving a CI artifact).

The blobs stay in history; a filter-repo pass could reclaim them but
is not worth the coordination cost for ~3 MB.
</content>
</entry>
<entry>
<title>core: consolidate the three ad-hoc azimuth wraps into wrap_angle</title>
<updated>2026-11-12T22:06:42Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-12T22:06:42Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=ffe2b67f5962a1bdafbdaa9862d7623c16558cfd'/>
<id>urn:sha1:ffe2b67f5962a1bdafbdaa9862d7623c16558cfd</id>
<content type='text'>
ProjArgs::from_params now normalizes the mountain azimuth centrally,
so the two remaining hand-rolled wraps are redundant:

* get_coordinates dropped its single-step +/-2pi normalization (a
  leftover of the C++ original that could not even handle azimuths
  more than one full turn off); from_params covers it strictly more
  generally.
* is_visible's abs-mod-fold became one wrap_angle call. The explicit
  is_finite guard stays (wrap_angle's NaN would silently pass the
  &gt;= view_angle test when max_view_angle is 0).

No behavior change: 35 core + 13 golden tests, including the Finding 1
regression test and all north/wide-panorama tests, pass unmodified.
</content>
</entry>
<entry>
<title>grey out distortion controls in panorama mode; make core skip the fit</title>
<updated>2026-11-12T21:57:55Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-12T21:57:55Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=9f1f7bb5c4c32072db0bf38b192a8e892405b869'/>
<id>urn:sha1:9f1f7bb5c4c32072db0bf38b192a8e892405b869</id>
<content type='text'>
Confirmed: the cylindrical projection formulas contain no k0/k1/x0 and
its distortion derivative trait defaults are NaN, so a level-2
(distortion) fit cannot move anything there. Worse, comp_params zeroed
the distortion parameters before the (doomed) calibration - so enabling
'Fit distortion' in panorama mode silently destroyed distortion a
rectilinear fit had established.

* core: comp_params probes whether the projection actually provides
  distortion derivatives (NaN trait default = no) and skips both the
  calibration reset and the level-2 lsq if not. Regression test asserts
  k0/k1/x0 survive a fit_distortion=true fit in cylindrical mode.
* web: the fit-distortion checkbox AND the whole distortion-profiles
  group now sit in a &lt;fieldset disabled&gt; in cylindrical mode (opacity
  0.45), so the dead controls are visibly inert.
* dist: rebuilt.
</content>
</entry>
<entry>
<title>dist: rebuild web bundle with wide-panorama fit fix</title>
<updated>2026-11-12T21:51:55Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-12T21:51:55Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=92d7a57d21405d9253aed332e7686f0edd109718'/>
<id>urn:sha1:92d7a57d21405d9253aed332e7686f0edd109718</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dist: rebuild web bundle with the north-crossing fit fix</title>
<updated>2026-11-12T21:33:18Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-12T21:33:18Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=d34f271864c98c67b0bd403f7e1b7e01b55bf8ef'/>
<id>urn:sha1:d34f271864c98c67b0bd403f7e1b7e01b55bf8ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>release: 0.5.6 — web front end promotion</title>
<updated>2026-11-10T08:26:09Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-10T08:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=2cae90d7f8482535f7e4d8a1b44ca2ec5970dc49'/>
<id>urn:sha1:2cae90d7f8482535f7e4d8a1b44ca2ec5970dc49</id>
<content type='text'>
Bump workspace version, add ChangeLog entry (drift guard test passes),
rebuild the release web bundle into dist/gipfel (wasm rebuilt against
the merged core including the is_visible fix).
</content>
</entry>
<entry>
<title>web: projection switch, external image URLs, zoom buttons</title>
<updated>2026-11-09T09:21:03Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-09T09:21:03Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=31a47fc4393856a0a0380b2fdcf79f9dac72ad56'/>
<id>urn:sha1:31a47fc4393856a0a0380b2fdcf79f9dac72ad56</id>
<content type='text'>
- ?file= now also accepts absolute http(s) image URLs (CORS applies);
  README documents all URL parameters
- Projection dropdown (rectilinear / cylindrical-panoramic), synced
  from the gipfel comment on load; cylindrical lifts the lens-FOV
  visibility limit (unlimited view angle) so 360 deg panoramas show
  peaks in every direction
- force visibility rebuild on every image load (the change detection
  alone could keep a stale list when the limit value was unchanged)
- Google-Maps-style +/- zoom buttons at the lower right of the canvas
- save/load roundtrip test for the projection type in the gipfel
  comment; build stamp in the sidebar footer and ?debug=1 console
  diagnostics to spot stale cached bundles and inspect the effective
  visibility state
</content>
</entry>
<entry>
<title>wasm front end becomes the main gipfel; add desktop installers</title>
<updated>2026-11-06T08:52:26Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-11-06T08:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=d5967c1b91b14b3b4e5b0d9663e8a4d2a5e80533'/>
<id>urn:sha1:d5967c1b91b14b3b4e5b0d9663e8a4d2a5e80533</id>
<content type='text'>
- rename crates/wipfel -&gt; crates/gipfel (crate, wasm artifact, dist,
  scripts, page titles); slogan back to "Photogrammetry for Mountain
  Images"; crates/wipfel-tauri -&gt; crates/gipfel-desktop
- new features in the wasm app: Save image (gipfel JPEG comment, same
  format as before, via browser download) and lens distortion profiles
  stored in localStorage in FLTK prefs format with camera auto-match
  on image load; profile name field, save/load and dropdown
- gipfel-core: read GPSImgDirection from EXIF (magnetic -&gt; true) as
  azimuth fallback; expose parse_prefs/serialize_prefs for the wasm
  build; ?file=/?az=/?pitch=/?roll=/?focal=/?vis= URL parameters
- Tauri v2 wrapper crate building .deb, AppImage and (cross-compiled)
  Windows NSIS installers; safe stage-and-swap build-release.sh
- README: web-centric Installation, concise Build section for the
  official targets (Web, Windows, Linux); drop native/Android mentions
- release site moved dist/wipfel -&gt; dist/gipfel
</content>
</entry>
<entry>
<title>web: ship a Content-Security-Policy as meta tag</title>
<updated>2026-10-30T07:42:39Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-10-30T07:42:39Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=dbc0fd52a8497c5002e8311eb1728050a4e97c7a'/>
<id>urn:sha1:dbc0fd52a8497c5002e8311eb1728050a4e97c7a</id>
<content type='text'>
Self-contained hardening, no server config required:
  default-src 'self'; script-src 'self' 'wasm-unsafe-eval';
  img-src 'self' blob: data:; connect-src 'self' blob: data:;
  style-src 'self' 'unsafe-inline'

- script-src needs 'wasm-unsafe-eval' for WebAssembly compilation
  (the scoped exception; plain 'unsafe-eval' stays forbidden) and no
  inline script is allowed, so the module loader moved from an inline
  &lt;script&gt; to loader.js
- style-src keeps 'unsafe-inline' because the Yew views position the
  find-peak popup and size the compass strip via style attributes
- blob: in img-src/connect-src for createImageBitmap and blob reads;
  data: for inline assets

Size budget note: unchanged (~550 KB gzipped total, well under the
1.5 MB plan budget).
</content>
</entry>
<entry>
<title>web: fix redraw tick stalling in persistent resize closures</title>
<updated>2026-10-28T19:18:01Z</updated>
<author>
<name>Johannes Hofmann</name>
<email>Johannes.Hofmann@gmx.de</email>
</author>
<published>2026-10-28T19:18:01Z</published>
<link rel='alternate' type='text/html' href='https://git.flpsed.org/gipfel/commit/?id=34377db6b5c8e563dca18f72cc8174a5df2dd92e'/>
<id>urn:sha1:34377db6b5c8e563dca18f72cc8174a5df2dd92e</id>
<content type='text'>
A UseStateHandle cloned into a long-lived closure derefs to its
render-time snapshot (same root cause as the pinch bug), so
tick.set(*tick + 1) wrote the same value on every resize after the
first: no state change, no redraw, stale stretched canvas backing
store — the distortion thought fixed by d465654 returned on the second
resize (the window-resize listener, created once at startup, never
worked at all). Yew 0.21 has no functional-update setter, so the tick
now has a use_mut_ref mirror as the live counter.
</content>
</entry>
</feed>
