Repository navigation
Rebuild native renderer binaries - #990
Merged
Merged
Conversation
SimonCropp
added a commit
that referenced
this pull request
Oct 29, 2026
* Add the tray's macOS head src/DiffEngineTray.Mac is the tray on macOS: the core's tracker and inline queue, with a status bar item from a native library of its own, diffengine_tray (decision G), so a tray change never moves the viewer's ABI version. It is PlatformHeadsMac's StatusItem behind native/include/detray.h, a second product of native/swift, which build-native collects into the head's runtimes through PlatformHeads 0.8.0's mac-libraries. The menu crosses the ABI as one array, each item with its parent by index, and the Swift side makes it a tree again. The managed half, Detray and MacTray, is in the core, as ProcessEx's native calls are, so MacTrayTests hands the library a menu and reads back what it rebuilt on the macOS job. AppKit is driven from the main thread only, so the head runs TrayLoop.RunPumped on the thread Main starts on, with the library's pump as its wait. The app is an accessory with no Dock icon, App Nap is off, and a logout is TerminateGuard's, ending the loop as Exit does. The pictures and the login item move to the core for both heads off Windows. Every PlatformHeads pin moves to 0.8.0. * Rebuild native renderer binaries (#990) Co-authored-by: SimonCropp <122666+SimonCropp@users.noreply.github.com> * Test the tray's library from source and as committed The macOS jobs treat the tray's dylib as they treat the viewer's. The unix job copies the freshly built libdiffengine_tray.dylib into the head's runtimes before testing, so MacTrayTests hands its menu to the Swift as it is now, not as it was at the last build-native rebuild. The native job checks both committed dylibs for both slices, and on osx-arm64 runs DiffEngineTray.Core.Tests against the committed one. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: SimonCropp <122666+SimonCropp@users.noreply.github.com>
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.
Rebuilt
diffengine_viewerfromnativefor the runtime identifiers that load one.Windows is not among them: that head renders with WinForms.
Produced by the
build-nativeworkflow from d0ed68f.