Pad/internal/browser
Greg Pomerantz 58725a5e6c Make state single-owner and stabilize race detector
Frame now carries view state (scale/focus/query) to the main goroutine,
which reads only the frame-receiver-stored snapshot. Renderer owns Gio
widget editors (registered by ID) and the draw scale. Autosave timer
sends a token to the logic goroutine instead of touching state;
Shutdown waits for the owner to exit before FlushAll.

Tests access state only through owner-side Inspect/WithState helpers
(harness + in-package). Fixed double-Harness.Run race in two e2e tests,
made TestWorkerPool_PriorityPreemption deterministic, and raised the
lazy-loading test timeout that was too short under -race.

go test -race ./... is now green.
2026-08-16 01:32:27 -04:00
..
browser_test.go Change default browser sort order to date: newest to oldest 2026-06-05 11:51:16 -04:00
browser.go Fix bugs in e2e tests and remove list item selection highlight 2026-06-02 13:30:09 -04:00
handlers.go Fix directory navigation and path initialization 2026-06-05 13:43:27 -04:00
index_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
index.go Fix browser page scrolling by initializing EntryHeight and correcting scroll handler type assertion 2026-06-01 10:57:34 -04:00
layout_test.go Change default browser sort order to date: newest to oldest 2026-06-05 11:51:16 -04:00
layout.go Make state single-owner and stabilize race detector 2026-08-16 01:32:27 -04:00
lazy_loading_test.go Make state single-owner and stabilize race detector 2026-08-16 01:32:27 -04:00
manager_test.go Integrate real filesystem with interface abstraction 2026-06-04 16:19:38 -04:00
manager.go Fix: restore previous directory on navigation failure 2026-06-05 13:58:20 -04:00
navigation_test.go Integrate real filesystem with interface abstraction 2026-06-04 16:19:38 -04:00
pixel_scroll_test.go Change default browser sort order to date: newest to oldest 2026-06-05 11:51:16 -04:00
scroll_test.go Change default browser sort order to date: newest to oldest 2026-06-05 11:51:16 -04:00
search_test.go fix(browser): fix search scrolling, clamping and zero-result search behavior 2026-06-01 21:22:11 -04:00
search.go Fix bugs in e2e tests and remove list item selection highlight 2026-06-02 13:30:09 -04:00
sort_test.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
sort.go Add e2e test harness for testing editor logic without Gio display 2026-05-31 08:56:30 -04:00
types_test.go Fix browser page scrolling by initializing EntryHeight and correcting scroll handler type assertion 2026-06-01 10:57:34 -04:00
types.go Make state single-owner and stabilize race detector 2026-08-16 01:32:27 -04:00