Feature/pasteboard#1729
Merged
Merged
Conversation
Adds a CoreDevice pasteboard client and wires it into serve-web so the viewer can push/pull text to/from the device clipboard. * pasteboard_service.py: PasteboardService over com.apple.coredevice. pasteboardservice, RE'd from CoreDeviceUtilities symbols. PULL/SET only (promise resolution, monitoring scaffolded but unexposed). Note: Int64 fields must use XpcInt64Type, and the Swift property `immediateData` is keyed as `data` on the wire. * core-device CLI: `copy <text>` / `paste [--raw]`. * serve-web: GET/POST /clipboard endpoint; right-tray Clipboard section with textarea, Send/Get buttons, and a header on/off toggle.
* viewer.js: tiered auto-recovery in the offline-overlay watchdog. After 3 s without frames the overlay shows; from 8 s it issues /pli every 6 s; from 25 s it issues /restart (repeating every 30 s if still offline). No location.reload() -- the server preserves the live /stream.bin subscriber across /restart and the in-page type=2 decoder-reset path handles the new IDR. Reloading would suspend the AudioContext (no user gesture post-navigation), which surfaced as "sound disabled after reconnect". * viewer.css: white-space:nowrap on the offline-overlay label so it doesn't wrap into squashed lines on the narrow portrait canvas footprint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.