Commit Graph
58 Commits
Author SHA1 Message Date
James MaesandCodex 0eb3a0efbd feat(reader): complete configuration and Windows integration
Add cancel-safe native Settings pages, configurable typography/CSS/themes,
file registration and activation, theme-aware source and proportional layout,
toolbar/footer/editor guidance and open-source credits. Preserve attributed
Darin Kelkhoff document styles and literal passive rendering. Retain verbatim
vendor notices with scoped newline/whitespace preservation; secret, security
and other hooks remain enabled.

Validation: zero-warning Release build, 582 core tests with 100% measured line
coverage, 25 Windows adapter tests, formatting and self-contained publish pass.
Current native/distributed acceptance and source-hover diagnosis remain pending;
no production release-readiness claim.

Refs #1, #6, #11, #14, #16, #17, #18, #19, #20, #21, #23, #24, #25, #26, #27, #28

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 13:40:39 -05:00
James MaesandCodex 841798c750 test(documents): drive owned native controls after navigation
Reacquire browser glyphs, click unsupported menu providers physically and retain exact picker diagnostics. Keep individual waits unchanged; allow the measured expanded full suite to emit its TRX within a bounded 600-second process budget.

Refs #1, #14

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 13:20:03 -05:00
James MaesandCodex 1cfc07f900 docs: record full print evidence and window milestone
Refs #1, #12, #14

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 04:46:02 -05:00
James MaesandCodex e48a08cd56 feat(documents): add native windows and private recent files
Refs #1, #14

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 04:36:28 -05:00
James MaesandCodex bf4fcdc26a test(print): measure precise font scale in actual PDFs
Refs #12, #13

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 04:25:11 -05:00
James MaesandCodex 6e17674494 test(reader): retain actual zoom failure geometry
Refs #12, #13

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 04:15:28 -05:00
James MaesandCodex d0a225d420 test(print): verify actual font and layout options
Compare real PDF glyph scaling and padding, user-theme content width, optional border rows and full-page output through native controls. Verify actual paired find/source selection and screen paint after successful exports. Preserve original print cases and retain generated PDF/PNG evidence.

Refs #12

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 04:01:02 -05:00
James MaesandCodex 300e14526c chore(print): retain verified acceptance and remove probes
Original hosted print cases pass: both cancels, actual default/themed PDF pixels and unchanged rendered/source/collapse state. Remove the temporary workflow and numeric probes; retain original regressions and require full clean native/published/stable/dev gates. Record measured standards readiness and remaining inventory/review/signing work.

Refs #12, #1

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 03:47:33 -05:00
James MaesandCodex ec5f98fbf4 test(print): await the complete native PDF filename
The hosted native edit reports a typed prefix while queued input is still processing. Wait for exact full readback before Save rather than asserting an incomplete snapshot; keep PDF output and reading-state assertions unchanged.

Refs #12

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 03:42:17 -05:00
James MaesandCodex 6bfcf0c52e fix(print): restore reading position after native PDF output
Hosted evidence confirms PDF generation moves the same screen glyph by 41 pixels. Restore validated vertical geometry after the awaited PDF operation only on the same ready navigation; assert actual glyph/view rectangles instead of a stale 200-percent UIA range.

Refs #12

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 03:38:04 -05:00
James MaesandCodex 39f4ea3983 test(print): compare actual glyphs with scroll-provider state
The first viewport trace reports an impossible 200 percent before printing. Pair each print stage with actual heading and browser rectangles before choosing a restoration change.

Refs #12

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 03:29:43 -05:00
James MaesandCodex eba7a752fd test(print): measure settled viewport around PDF output
Record fixture-only viewport stages and await stable native layout before taking the unchanged-state baseline. Preserve the original PDF pixel and after-print state assertions.

Refs #12

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 03:25:15 -05:00
James MaesandCodex 41a687d17c test(print): drive committed native PDF destinations
Use the established find control identities. Exercise real filename typing with exact readback to diagnose a saved PDF missing from its expected fixture path.

Refs #12

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 03:19:42 -05:00
James MaesandCodex 28c295f3fe feat(print): add native printing and independent print styles
Keep reading and print styles in separate media sheets; preserve viewport, source, collapse, find and window font zoom. Add saved reference print choices, Windows print UI and explicit PDF save through the installed App SDK picker. Core363/100% lines, build/format/docs and55 script tests pass. Three hosted native/output cases are pending; they cancel physical print UI and rasterize owned PDFs using Windows, without a new renderer dependency.

Refs #12, #1. ADR-0003 proposed for maintainer review.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 03:12:17 -05:00
James MaesandCodex 2639e2d8d2 test(source): retire diagnostics after the original regression passes
Original source viewport test passed on 690be07 in run 38121389088. Remove temporary workflow, clicked-content/focus probes and geometry traces; keep the actual browser/source/physical-wheel regression and full required suites. Preserve historical session notes and keep startup state concise.

Refs #10, #11, #13.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 02:32:08 -05:00
James MaesandCodex 690be072d9 fix(navigation): resolve the heading from clicked native content
WinUI ItemClick supplies the TextBlock content rather than the ListViewItem. Attach the numeric heading identity to both native elements and accept the tagged clicked content. The original physical repeat-navigation regression reproduces the mismatch; no source scroll mapping or assertion changes.

Refs #10, #11.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 02:26:35 -05:00
James MaesandCodex dcddefb9c7 test(navigation): trace the native repeated activation boundary
Refs #10, #11. Physical repetition also fails; trace the opted-in numeric ItemClick boundary and assert actual browser alignment before source alignment.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 02:18:33 -05:00
James MaesandCodex 016c7453a4 test(navigation): activate the selected heading with physical input
Refs #10, #11. Preserve the original glyph and wheel assertions; distinguish native ItemClick from the UIA selection path.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 02:13:28 -05:00
James MaesandCodex 2bf1d14570 fix(navigation): reactivate an already selected outline heading
The original source regression now passes actual native and browser middle-heading alignment after bounded physical wheel input. It then reproduces a same-heading click that never jumps back because selection is unchanged. Handle native ItemClick as well as SelectionChanged; preserve keyboard selection jumps and bounded numeric renderer commands.

Zero-warning build, format, docs and normal hooks pass. The existing regression is retained unchanged; hosted full/native/installed proof remains required.

Refs #9, #10, #13

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 02:04:26 -05:00
James MaesandCodex 22a33937b6 test(source): bound physical wheel input per native event
Measured input moves source and reader correctly, but a 31.8-detent event moves only one 580px viewport. Send at most four detents per event, read settled native movement after each, and retain exact glyph adjustment and all original bidirectional/wheel assertions. No application change.

Zero-warning build, format, docs and normal hooks pass. Existing 330 core tests/100% measured coverage and 55 script tests remain; hosted proof pending.

Refs #10, #13

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 01:54:55 -05:00
James MaesandCodex 05c4bc91b9 test(source): drive measured physical wheel scrolling
The UIA range accepted min0/max7370 and value2455.883 but did not reveal the middle glyph or produce a new source geometry frame. Exercise the user gesture instead: measure one settled physical wheel detent, approach the text region, then align from actual native glyphs. Retain all source/reader alignment and wheel assertions; no application change.

330 core tests/100% measured lines retained; zero-warning build, format, documentation and hooks pass. Hosted proof remains pending.

Refs #10, #13

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 01:44:12 -05:00
James MaesandCodex 06a1213eff test(source): retain native scrollbar range diagnostics
The expanded native suite passes 48/49 including actual zoom glyph/key/toolbar/reload acceptance. Preserve the original source failure and record native scrollbar min/max/read-only/value plus owned geometry before another driver change. No app change or relaxed assertions.

Refs #10, #13

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 01:35:08 -05:00
James MaesandCodex 0f13849017 feat(reader): add window-local font zoom and native controls
Adapt pinned reference font-size scaling, 1.1 steps and 30–500% bounds without changing line height or persisted theme JSON. Ctrl+plus/equal/minus/0 retain owned reading focus; native menu and accessible percentage toolbar share the command. Navigation retains viewport/collapse and existing find replay.

Source focus alignment passes on 1c4d1ad. Drive the actual native scrollbar after the observed no-op text-range request, retaining exact source/reader glyph and physical-wheel assertions. Separate optional diagnostics from required CI.

330 core tests/100% measured lines, zero-warning build, format, docs, all 55 script tests and normal hooks pass. Hosted 49 native/published and 48 installed tests remain pending; no local GUI input.

Refs #10, #11, #13

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 01:28:00 -05:00
James MaesandCodex 1c4d1adaca fix(source): align the visible caret before native focus
Hosted diagnostics show GettingFocus captures the correct 5311 offset but later pointer/caret processing resets it to zero. Position only an unselected read-only caret in the visible text before focus; retain active find and viewport guards. Exact full UI acceptance remains required.

Allow the enlarged full published/installed suites a bounded five minutes and retain process output before reporting timeout failure. An owned headless timeout probe and both script-analyzer passes passed.

Refs #10, #11

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 01:12:44 -05:00
James MaesandCodex 82898bd278 test(source): isolate viewport diagnostics without masking timeouts
Keep full required UI suites intact. Run the exact failing source case on a read-only hosted Windows job and print owned focus logs before diagnostic range reads.

Refs #10, #11

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 01:06:42 -05:00
James MaesandCodex f650e36642 feat(reader): manage editor lists and preserve source focus
Add stable named editor choices, bounded legacy migration, copied add/remove/reorder drafts and native file/folder launch menus. Preserve one literal process argument and add actual hosted selection/persistence/probe tests. Restore the synchronized source viewport after native focus/caret revelation, with actual glyph assertions retained.

Refs #10, #11

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 00:53:21 -05:00
James MaesandCodex 2dc509dcfa test(source): verify native movement before reader alignment
Physically focus the owned native source before its text-range scroll request and require actual source glyph alignment before reverse synchronization. Retain original heading bounds and physical-wheel assertions; trace actual source offset changes numerically.

Refs #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 00:36:26 -05:00
James MaesandCodex 90b5406fe4 fix(source): map original offsets to native CR text
Hosted source selections exposed a two-character drift after two newlines. Preserve canonical offsets and normalize only the native projection to one CR per break; retain exact viewport, fold and find assertions.

Refs #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 00:28:30 -05:00
James MaesandCodex ddb98ac286 feat(source): mirror folds and synchronize reading positions
Preserve canonical source/find snapshots while projecting literal nested folds and pairing native/browser heading geometry. Add bounded numeric frame validation and actual hosted viewport/fold/find/reload acceptance.

Refs #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-11 00:20:40 -05:00
James MaesandCodex b0f3b8638f perf(source): index original line boundaries once
Avoid scanning the remaining original text for every heading on a long raw HTML line; verify 300 distinct same-line anchors. Record full native/published/installed vim acceptance while retaining full source synchronization scope.

Refs #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 23:53:48 -05:00
James MaesandCodex a0d8fe73aa feat(source): map sanitized headings to original syntax
Carry parser-derived UTF-16 provenance through sanitation using fresh private markers that are stripped before presentation. Cover Setext, fences, raw HTML, nesting, duplicates, Unicode, frontmatter and forged attributes. Source scroll and collapse UI remains pending.

Refs #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 23:49:19 -05:00
James MaesandCodex 6bf125d7fd test(navigation): focus the reader with physical input
The first vim producer retained all 41 existing successes but UIA focus left native logical focus empty or on the outline button. Use the proven real MOVE/Down/Up path inside exact owned browser bounds, keeping real viewport, heading and query-typing assertions unchanged.

Refs #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 23:39:46 -05:00
James MaesandCodex dfc41a78bd feat(navigation): add native vim reading commands
Route bounded reading commands through the owned UI thread with text-focus, modifier, layout and timed-prefix guards. Add physical viewport, heading and query-typing acceptance and preserve reference attribution.

Refs #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 23:31:02 -05:00
James MaesandCodex 5a9af6328f fix(navigation): reveal same-document fragment targets
Route same-document SourceChanged events through an exact-document and bounded-heading policy. Rearm repeated links after recollapse; retain physical click and actual reveal outcomes. Core 206 tests/100% lines and build/format/docs pass.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 23:07:20 -05:00
James MaesandCodex 9edd982e41 fix(tests): account for the composed browser hit provider
Require the physical pointer inside the exact hyperlink bounds and its owned browser provider. Retain the real click and collapsed heading/body reveal outcomes; record the proven native Ctrl+F acceptance.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 22:57:21 -05:00
James MaesandCodex 574b57432a feat(editor): configure literal external document launch
Persist a validated editor executable, expose native configuration and launch commands, and preserve the viewer on missing files or launch errors. Add bounded argument tests and hosted actual-process fixtures; editor-list and folder parity remain tracked in issue #11.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 22:55:12 -05:00
James MaesandCodex 2292603569 fix(input): route owned browser shortcut messages
Limit the Ctrl+F adapter to this foreground window and UI thread. Keep physical keyboard/link assertions and retain exact focus, pointer and fixture screenshot evidence.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 22:51:10 -05:00
James MaesandCodex 7d7c712c63 fix(find): register the window shortcut before menus open
Keep the physical browser-focus shortcut test and identify collapsed browser headings separately from outline labels. Correct ADR spacing and record the terminal acceptance evidence.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 22:41:19 -05:00
James MaesandCodex 4f4280921c feat(find): pair native document and source search
Add one Ctrl+F toolbar with literal source positions, native browser highlights, shared counts and wrapping navigation. Serialize query/reload updates, restore section choices and keep scripts/messages/host objects disabled. Add real keyboard, selection, viewport, hostile-query/reload and fragment-link acceptance.

Refs: #1, #9, #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 22:30:13 -05:00
James MaesandCodex 4bf0b81b85 fix(ui): expose source and inject native pointer movement
Declare the native source surface before the embedded browser without changing its visual column. Replace cursor-only warping with checked SendInput movement after hosted traces showed drag start/completion without deltas; retain physical mode and resize assertions and add source-divider acceptance.

Refs: #8, #9, #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 22:00:22 -05:00
James MaesandCodex 9ff820f477 feat(source): show literal snapshots beside the reader
Persist source visibility and width, refresh the committed snapshot on reload, and keep the reader usable with both panes open. Add hosted literal/read-only/reload acceptance and opt-in native event traces for the two outstanding pointer failures.

Refs: #8, #9, #10

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 21:50:34 -05:00
James MaesandCodex d59dba2c96 fix(tests): process pointer states before releasing native input
Refs #8, #9. Keep mode/table/resize assertions and timeouts; settle actual mouse down/move/up and retain resize diagnostics.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 21:31:19 -05:00
James MaesandCodex 443b4928ee fix(ui): target submenu input and expose the resize surface
Refs #8, #9. Keep settings/table/physical-resize assertions; verify pointer identity and dismiss the depth popup before dragging.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 21:23:09 -05:00
James MaesandCodex ce9afc6237 fix(ci): isolate casing analysis from competing rule lookups
Refs #5. Preserve every configured rule and fail closed; verify both partitions with negative fixtures. All 13 files and a bounded 20-case race probe pass locally.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 21:18:55 -05:00
James MaesandCodex 5c3988e012 feat(navigation): add native outline and section controls
Refs #9, #8. Preserve exact frontmatter assertions with fixture diagnostics; 161 core tests and 100% line coverage pass.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 21:15:47 -05:00
James MaesandCodex 3b6ebf83d0 feat(frontmatter): add persisted metadata display modes
Refs #8, #7. Also verify the native code-font size control.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 20:58:14 -05:00
James MaesandCodex 30ca0943c0 feat(themes): edit and restore persistent document themes
Refs #7

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 20:44:51 -05:00
James MaesandCodex 77dd04da96 fix(accessibility): declare native status before the browser peer
Refs #6, #7

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 20:33:36 -05:00
James MaesandCodex fa0df784b3 fix(window): keep document status inside the working display
Refs #6

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 20:27:28 -05:00
James MaesandCodex 0507ca5ac4 feat(themes): port the original document palettes
Refs #7

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <jmaes@dmdbrands.com>
2026-10-10 20:22:31 -05:00