A simple, high performance text editor.
Go to file
Greg Pomerantz 3afeb0f8d4 Bound the startup browser-dir probe and log startup phases
The relaunch restore probes the saved browser dir with os.ReadDir on
the UI thread before the first frame. A FUSE stall on external storage
there would hang the app on the splash screen (reported on device,
intermittent; the 17:15 occurrence rotated out of logcat before it
could be pulled and left no pad.pad ANR). Two changes:

- dirReadable: run the probe in a helper goroutine with a 2 s deadline;
  a stalled read now costs at most 2 s and falls back to the startup
  directory instead of hanging the splash.
- Phase logs (session load duration, restore, entering frame loop,
  first frame rendered) so the next hang bisects itself: the missing
  line names the blocked phase.

Verified on device: full chain logs within 40 ms of process start.
2026-10-08 22:09:08 -04:00
.qwen Add ShapeText/DrawShapedText: single shaper call, zero-call drawing 2026-05-12 12:06:28 -04:00
cmd/pad Bound the startup browser-dir probe and log startup phases 2026-10-08 22:09:08 -04:00
doc IME: accept the one stale-caret commit after a key-event edit; fix the IME hold 2026-09-19 21:52:35 -04:00
internal editor: don't clamp the restored scroll offset against an unmeasured MaxScroll 2026-09-20 10:48:52 -04:00
scripts IME: map commits against the whole buffer; drop the renderer-side model 2026-09-13 11:57:38 -04:00
tools/touchinject Pinch-to-font-size (continuous, content-point pinned) + IME-open scroll fix 2026-08-23 09:00:51 -04:00
.DS_Store Add drawPng function to Renderer for PNG icon rendering 2026-05-10 06:26:29 -04:00
.gitignore Pinch-to-font-size (continuous, content-point pinned) + IME-open scroll fix 2026-08-23 09:00:51 -04:00
go.mod IME: guard distant commits; arm the resync on the first anomaly 2026-09-13 22:31:28 -04:00
go.sum IME: guard distant commits; arm the resync on the first anomaly 2026-09-13 22:31:28 -04:00