Skip to content
vczh-librariesPublic

About

OSX native implementation for GacLib

Resources

Stars

123 stars

Watchers

10 watching

Forks

Latest commit

 

History

309 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iGac — macOS Port of GacUI

macOS implementation of GacUI using Cocoa and CoreGraphics/Quartz2D.

License

Read the LICENSE first.

Maintenance Prerequisite

This repo is stand alone, all dependencies are in the repo for building.

The platform build supplies RemotingTest_Core and RemotingTest_Rendering_macOS. The sibling GacUI repository supplies the standalone RVMT host.

For developers maintaining this repo, run ./syncOrg.sh, or clone the upstream repositories beside this repository. iGac reads framework imports, release sources, test resources, generated-code metadata, and the Knowledge Base directly from ../GacUI; import.sh to take latest code from GacUI/(Import|Release) to Import; syncProj.sh also builds Workflow's CppMerge from ../Workflow. The Release repository is not an iGac maintenance dependency. The importer normalizes each snapshot file to its existing line-ending convention so CodePack and Git checkout conversions do not cause unrelated changes.

Supported Platforms

Install Homebrew and Development Tools

Install Apple's Command Line Tools if they are not already installed:

xcode-select --install

Install Homebrew with the command from the official Homebrew installation page:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow the installer's Next steps to add Homebrew to your shell environment, then run this command from the repository root:

brew update
brew bundle

brew bundle installs the tools declared in Brewfile:

Brewfile entry Purpose
cmake Configures the native build. This project requires CMake 3.20 or newer.
coreutils Provides grealpath, used by the upstream helper build scripts invoked during synchronization.
node Installs Node.js and its bundled npm for JavaScript tooling. The native CMake build does not invoke them.
visual-studio-code Installs Visual Studio Code as an optional development editor; it is not required by the build or test scripts.

Apple's Command Line Tools provide clang++, lldb, make, git, and the macOS SDK and frameworks. No separate Homebrew LLVM or Git installation is needed. The helper scripts call Coreutils' grealpath name explicitly, so its gnubin directory does not need to be added to PATH. Synchronization also requires perl for imported-source line endings; install it with brew install perl if it is unavailable.

To update Homebrew and these tools later:

brew update
brew bundle

See Homebrew's package update instructions for upgrading all installed packages instead.

Project Structure

iGac/
├── Brewfile                   Homebrew formulae and development-tool casks
├── Mac/                        macOS platform implementation
│   ├── NativeWindow/OSX/       Cocoa windowing (controller, window, view, input)
│   │   ├── ServicesImpl/       Service implementations (screen, clipboard, dialog, ...)
│   │   └── CoreGraphics/       CoreGraphics app entry point
│   └── GraphicsElement/
│       └── CoreGraphics/       CoreGraphics rendering engine (renderers, layout, resource manager)
│
├── MacShared/                  Shared static libraries and test utilities
│   ├── CMakeLists.txt          Builds GacUI, GacOSX, GacOSXShared static libraries
│   ├── gac_include.h           Convenience header: includes GacUI, registers DarkSkin theme
│   ├── FullControlTestRawClockInterpretor* Portable Clock base and local Cocoa plugin
│   ├── FullControlTestRawElement* Manual Cocoa Touching painter and remote collection adapter
│   ├── osx_shared.h/mm         OS X helpers (string conversion, file utils, resource folder)
│   └── UnixFileSystemInfo.*    Cross-platform file system utilities
│
├── MacTest/                    Hello World, Raw element and hosted modal tests
│   ├── CMakeLists.txt
│   ├── HelloWorlds/Cpp/Main.cpp
│   ├── RawElement.cpp          Focused Cocoa raw-element and remote-lifecycle tests
│   ├── HostedModal.cpp         Nested modal timer/input regression
│   └── NativeModal.mm          AppKit modal timer/input regression
│
├── MacFullControlTest/         Full-featured test app using BlackSkin control template
│   ├── CMakeLists.txt
│   └── Main.mm
├── MacTuiControlTest/          Foreground terminal showcase using TuiSkin
├── MacCppTestRvm/              Hosted Remote View Model Test client
├── RemotingTest_Core/                Platform MiniHTTP Core with a local clipboard fallback
├── RemotingTest_Rendering_macOS/ Native `/MiniHttp` renderer for GacUI's RemotingTest_Core
│
├── Apps/                       Upstream test resources and merged x32/x64 C++
│   ├── FullControlTest/
│   │   ├── Resources/          Copied from ../GacUI/Test/Resources/App
│   │   └── Source/             Merged by GacBuild, including embedded resources
│   ├── RemoteProtocolTest/
│   │   ├── Resources/
│   │   └── Source/
│   ├── TuiControlTest/         Synchronized TUI resources and merged x32/x64 C++
│   └── RemoteViewModelTest/
│       ├── Resources/
│       └── Source/
│
├── Import/                     Amalgamated GacUI source files (Vlpp, GacUI, Workflow, ...)
├── Import-Test/                Test-only GacUI remoting helper amalgamations
├── Screenshots/                Native FCT and terminal showcase captures for every color theme
│
├── doc/                        Documentation
│   ├── OSProvider.md           macOS OS provider: controller, services, entry point
│   ├── OSProvider_Window.md    macOS OS provider: INativeWindow, CocoaWindow, popups
│   ├── OSProvider_Graphics.md  macOS OS provider: CoreGraphics rendering, elements, fonts
│   ├── OSProvider_HostedMode.md macOS hosted mode: virtual windows, render lifecycle
│   └── lldb.md                 Direct LLDB debugging and launch validation
│
├── CMakeLists.txt              Root CMake config (project GacOSX, C++23)
├── import.sh                   Refresh Import/ from the sibling GacUI repository
├── GacBuild.sh                 Run upstream generators with full metadata
├── syncOrg.sh                  Clone and synchronize sibling organization repositories
├── syncProj.sh                 Sync test resources and merge x32/x64 C++ sources
├── build.sh                    Build script (incremental by default, --rebuild for clean)
├── test.sh                     Run native test apps or the native remote renderer
└── test_core.sh                Launch the platform Core or local RVM requester and its host

The generated Import/, Import-Test/, and Apps/ snapshots are committed so a normal iGac build does not require code generation. Run the synchronization scripts when updating upstream dependencies or test resources.

Synchronizing Organization Repositories

./syncOrg.sh

This synchronizes the Vlpp, VlppOS, VlppRegex, VlppReflection, VlppParser2, Workflow, GacUI, GacJS, Release, Tools, wGac, and iGac repositories, including the repository containing the script itself. Missing repositories are cloned from the vczh-libraries GitHub organization. Existing repositories are updated only when they are on master with no uncommitted tracked files, untracked files, or unpushed commits. A repository that fails any check is reported in red and skipped while the script continues with the remaining repositories.

Refreshing GacUI Imports

./import.sh

This removes and recreates Import/ and Import-Test/, copies dependency amalgamations from ../GacUI/Import/, adds the ordinary GacUI amalgamations from ../GacUI/Release/, places the DarkSkin and TuiSkin release files under Import/Skins/DarkSkin/ and Import/Skins/TuiSkin/, and moves the neutral Test.RemotingHelpers pair into Import-Test/. The test-only stdio transport and its platform implementation come from the imported VlppOS release files. Both snapshots remain writable so Git and repeated imports can replace their contents without permission failures. Treat Import/ and Import-Test/ as generated snapshots: compatibility fixes belong in this repository's CMake or macOS integration code. These helpers are only for platform test targets and are not part of the ordinary framework snapshot. Review and commit the vendor update together with those integration changes.

Synchronizing Test Projects

./syncProj.sh

This incrementally builds <Workflow repo>/Tools/CppMerge, <GacUI repo>/Tools/GacGen and <GacUI repo>/Tools/GacBuild through their existing native build helpers. It copies the FullControlTest, RemoteProtocolTest, RemoteViewModelTest and TuiControlTest resource trees and their seed C++ files from <GacUI repo>/Test/Resources/App/, then invokes <iGac repo>/GacBuild.sh -mode:GacGen for each resource. GacGen stages /P32 and /P64; GacBuild validates both outputs and uses CppMerge to merge matching files into <iGac repo>/Apps/*/Source/, preserving upstream seed USER_CONTENT, embedded resources and RemoteViewModelTestRpc.h/.cpp.

GacBuild.sh locates all three executables in the sibling GacUI and Workflow repositories and supplies explicit absolute paths to GacGen and CppMerge. It passes a temporary GacGen symlink without resolving it, so the adjacent Metadata.txt selects full Reflection32.bin and Reflection64.bin from <GacUI repo>/Test/Resources/Metadata/. Full metadata includes generated dialog types absent from the development tool's usual core-only metadata. The wrapper removes its temporary entry point on success or failure and returns the native tool's exit status. Maintenance uses the sibling Workflow and GacUI repositories; it does not require a Release checkout.

Synchronization adds the imported skin headers to each showcase's generated C++ includes: TuiSkin for TuiControlTest and DarkSkin for FullControlTest. FullControlTest's vertical tab rail uses DarkSkin templates and palette values directly.

After syncProj.sh builds the tools, the wrapper can also be used directly:

./GacBuild.sh -FileName path/to/GacUI.xml -Dump
./GacBuild.sh -mode:GacGen -FileName Apps/TuiControlTest/Resources/Resource.xml

The default GacBuild mode takes a driver XML for incremental resource discovery; -Dump only reports the plan. Put -mode:GacGen first to rebuild one resource, optionally with -MappingFileName <mapping>. XML and mapping paths remain relative to the caller's working directory, even when invoking the wrapper from elsewhere.

Inspect <iGac repo>/Apps/*/Resources/GacBuild.log and <iGac repo>/Apps/*/Resources/Resource.xml.log/{x32,x64}/ for orchestration and compiler diagnostics, staged C++/RPC files, binary caches and Deploy.xml deployment lists. Staging artifacts are retained after success or failure and ignored by Git; the next synchronization replaces the copied resource trees. Generation, missing-artifact, merge and deployment failures stop synchronization with nonzero status.

The script also copies <GacUI repo>/Test/GacUISrc/Generated_FullControlTest/FullControlTestEventHandlers.h/.cpp. The local FullControlTest entry point uses it to populate SkinItems and attach each editor's document events. Selected item actions refresh existing controls in both standard and hosted modes. It also refreshes the shared native-renderer and RVM entry points, the RVM initializer, and <GacUI repo>/Test/GacUISrc/CppTest_Tui/Main.cpp as <iGac repo>/MacTuiControlTest/GuiMain.cpp. The RVM entry point's shared automation argument header is copied to the committed root <iGac repo>/SharedArguments.h, so a fresh clone can build without sibling sources or temporary files. Only the terminal platform entry point remains local. MiniHTTP automation is part of the imported GacUI snapshot, while reusable test remoting helpers come from <iGac repo>/Import-Test/; neither is maintained as a local <iGac repo>/MacShared/Mini*.cpp copy. Generated reflection files are retained in <iGac repo>/Apps/*/Source/, but test targets compile with VCZH_DEBUG_NO_REFLECTION and do not include them.

Synchronization copies both portable Clock files from <GacUI repo>/Test/GacUISrc/Generated_FullControlTest/FullControlTestRawClockInterpretor.h/.cpp into <iGac repo>/MacShared/, adapting the header's framework include. Windows concrete painters and registration remain guarded upstream. The local <iGac repo>/MacShared/FullControlTestRawClockInterpretorCocoa.cpp supplies the CoreGraphics primitives and controller-related plugin; synchronization preserves it. FCT, the native renderer and Test_RawElement each compile the portable base and Cocoa plugin directly once, outside the general GacOSX platform library.

The plugin registers FullControlTest::Clock through the active graphics resource manager before local window construction or remote message processing. Clock keeps Id="FullControlTest.Clock" and selects that factory with Interpretor. Its Workflow timer supplies the time; the Cocoa painter never reads a local clock.

<iGac repo>/MacShared/FullControlTestRawElement.h/.cpp now provides the manual Touching painter. The local entry point retains its attachment for GetTouchingElement(); the remote collection helper reconciles Id="FullControlTest.Touching", including late subscription and replacement. Touching keeps an empty Interpretor. Its center/axis/contact payload draws a transformed SkyBlue rectangle with a black border and orange (#FF8800) contact rings.

Use <Raw/> as the standard owner-drawing element for graphical applications. GuiRawElementBase supplies independent Id, Interpretor and Data properties. Cocoa uses the common named-factory registry and renderer lifetime, while manual GuiCocoaElement::Rendering subscriptions remain valid with no interpretor. The callback borrows its CGContextRef with logical bounds, clipping and backing scale already applied. Keep Core/renderer protocol snapshots synchronized. See the drawing contract for lifetime, received state and the TUI restriction.

Each generated application also has an embedded-resource .cpp file. Full Control Test links FullControlTestResource.cpp, whose plugin loads the resource from compiled data; no .bin file is bundled or located at runtime.

Building

./build.sh              # Incremental build
./build.sh --rebuild    # Clean build (git clean -Xdf + full rebuild)

Build output goes to build/. The build system requires CMake 3.20 or newer and uses C++23. The build script stops on the first failed command and returns a nonzero status; if CMake configuration fails, it does not run make against an older build tree.

The official build also produces Raw element, hosted modal, image service and paragraph regression tests. Run these after ./build.sh:

./build/MacTest/bin/Test_RawElement /C
./build/MacTest/bin/Test_RawElement /C --hosted
./build/MacTest/bin/Test_HostedModal /C
./build/MacTest/bin/Test_ImageService /C
./build/MacTest/bin/Test_Paragraph /C

The modal test opens hosted and AppKit dialogs from queued application work and requires continued timer delivery, queued dismissal and normal shutdown. The image test checks encoding, JPEG-to-PNG pixels and write failures. The paragraph test checks multiple inline images, reapplication, reset/reuse and ellipsized-label composition sizing.

For focused runtime verification, open Misc / Raw Clock and Misc / Touching in local FCT, repeat with --hosted, and repeat through test_core.sh --app:fct --protocol:minihttp plus test.sh --app:renderer. Verify ticking without input, resizing, tab return, palette refresh and renderer replacement/takeover. The clock paints received data; it has no renderer-local timer. Test_RawElement checks controlled local Touching payloads and fixed-data interpretor-only remote repaint. Send synthetic !PointDown/!PointUpdate/!PointUp to Core for remote Touching state/rendering checks; Cocoa point-command automation and physical touch remain unsupported. Results belong in <iGac repo>/TestMatrix_NativeRenderer.md.

iGac does not support native touch experience. The synchronized FullControlTest includes Touching and TouchingList, but native touch acquisition and gesture checks are excluded. Existing empty point-listener callbacks satisfy the native interface; Cocoa point automation reports that input is unsupported. Raw Clock and ordinary mouse, wheel and keyboard verification remain required. This exclusion does not apply to GacJS browser touch on macOS. See native touch applicability.

Static Libraries

  • GacUI — Core GacUI amalgamated sources (Vlpp, VlppOS, VlppRegex, VlppReflection, VlppGlrParser, VlppWorkflowLibrary, GacUI, DarkSkin)
  • GacOSX — All macOS platform code (Cocoa windowing, CoreGraphics rendering, services)
  • GacOSXTui — Terminal adapter in Mac/TUI, built by MacTuiControlTest/CMakeLists.txt; reuses Cocoa services and the portable TUI provider
  • GacOSXShared — Imported remoting test helpers plus shared macOS test utilities (osx_shared, UnixFileSystemInfo)

Code is compiled with VCZH_DEBUG_NO_REFLECTION. If reflection is needed, remove this define from MacShared/CMakeLists.txt and add all reflection .cpp files.

Running

./test.sh --app:simple                         # Run Hello World
./test.sh --app:simple --unblock               # Run Hello World in background
./test.sh --app:fct                            # Run Full Control Test
./test.sh --app:fct --hosted                   # Run Full Control Test in hosted mode
./test.sh --app:fct --hosted --unblock         # Combine hosted and background modes
./test.sh --app:tui                            # Run the terminal showcase in the foreground
./test.sh --app:rvmt                           # Run the hosted Remote View Model Test client
./test.sh --app:rvmt --unblock                 # Start the RVM client and print its PID
./test.sh --app:renderer                       # Connect to RemotingTest_Core with /MiniHttp
./test.sh --app:renderer --port:8890           # Start a takeover renderer on automation port 8890
./test.sh --app:renderer --unblock             # Start the renderer and print its PID
./test.sh --app:core /FCT --unblock
./test.sh --app:core /RPT --fakeClipboard --denyClipboard
./test_core.sh --app:cpptest_rvm --protocol:minihttp --unblock
./test_core.sh --app:fct --protocol:minihttp
./test_core.sh --app:rpt --protocol:minihttp
./test_core.sh --app:rvmt --protocol:minihttp [--cli]

--app:tui runs build/MacTuiControlTest/bin/Test_TuiControlTest with inherited terminal input/output. It rejects --unblock, --hosted, and --port. No .app bundle, Cocoa window, automation endpoint, Core or renderer is involved. The adapter uses TuiControllerBase, Cocoa pasteboard/image services and Carbon global shortcuts; its TUI timer pumps platform events on the application thread. See the terminal SOP and TestMatrix_Tui.md for supported input and verification results.

--unblock starts the selected executable in the background and prints its PID. --hosted is valid only with --app:fct. --port:<1-65535> is valid only with --app:renderer and selects that renderer's automation listener; it does not change the /MiniHttp Core connection on port 8888. The default renderer automation port is 8889.

After ./build.sh, ./test.sh --app:core starts the local CMake target over MiniHTTP and defaults to FCT. Pass /RPT or /RVMT to select another application. Both endpoints enable clipboard sharing by default. Either accepts --denyClipboard, and Core accepts --fakeClipboard to select its in-memory fallback. Use ?remoteClipboard=false to disable the browser offer. While sharing, Copy in the remote editor makes the selection available to other applications on the renderer machine. If either endpoint denies sharing, the headless Core uses its macOS pasteboard or the selected fake clipboard.

test_core.sh accepts --protocol:minihttp and uses the same platform Core for fct, rpt and rvmt. In manual RVMT and cpptest_rvm modes it launches the local requester or Core, then builds and starts the sibling RemotingTest_RvmHost. An unblocked run prints both PIDs. With --app:rvmt --cli it prebuilds that host and Core starts it over stdio. Use test.sh --app:core /RVMT when GacJS supplies a network host, or pass a complete /Cli:<command> as one argument.

test_core.sh --app:rvmt --protocol:minihttp --cli passes a quoted native-host command to Core. Core's /Cli:<command> option also accepts node "<absolute path to cli.js>" as one argument and appends /Cli. Use the built script at <GacJS repo>/Gaclib/website/rvmhost/lib/src/cli.js and node from PATH. Keep the shared CppTest_Rvm/GuiMain.cpp synchronized from GacUI; renderer implementations are independent of this host launch mode.

The native GUI test applications own a mode-specific Cocoa automation service and a MiniHTTP endpoint. Append /Controls for control-tree applications, /Dom for the native renderer, or /IO for input:

Test application Automation service Endpoint base
Simple CocoaAutomationService http://127.0.0.1:8888/Automation/Test_HellWorld_Cpp
Full Control Test CocoaAutomationService or CocoaAutomationServiceHosted http://127.0.0.1:8888/Automation/Test_FullControlTest
Remote View Model Test CocoaAutomationServiceHosted http://127.0.0.1:8888/Automation/CppTest_Rvm
Native remote renderer CocoaAutomationServiceRenderer http://127.0.0.1:<renderer-port>/Automation/RemotingTest_Rendering_Native

--app:rvmt waits for the matching Workflow RPC host. Start the client first, then run:

../GacUI/Test/Linux/RemotingTest_RvmHost/Bin/RemotingTest_RvmHost /MiniHttp

The RVM client exposes its control tree after the host connects.

For the native renderer, start ./test.sh --app:core /RPT --unblock (or use ./test_core.sh --app:rpt --protocol:minihttp) before ./test.sh --app:renderer. The renderer exposes its DOM and renderer-side IO on its selected automation port. A replacement can reuse 8889 after the old renderer stops; for live takeover, keep the old renderer on 8889 and start the new one with --port:8890.

Follow GacUI's native-renderer verification guide for the complete RPT/FCT, replacement, takeover, and cleanup workflow.

Documentation

Screenshots/ contains all six Full Control Test themes and all six TUI themes, captured with their native macOS window frames. Refresh them using the screenshot update job.

  • TestMatrix_Tui.md — macOS terminal showcase verification and host limitations.

  • TestMatrix_Injection_XPlat.md — Native and WebKit injection, document persistence and lifecycle verification.

  • doc/OSProvider.md — Controller, services, entry point, and overall architecture of the macOS platform layer.

  • doc/OSProvider_Window.md — INativeWindow implementation (CocoaWindow): window lifecycle, Show/Hide, popups, child windows, custom frame, key differences from Windows.

  • doc/OSProvider_Graphics.md — CoreGraphics rendering backend: render targets, element renderers, text layout, font management.

  • doc/OSProvider_HostedMode.md — Hosted mode: single-window rendering, hosted controller, virtual windows, render target lifecycle.

  • doc/lldb.md — Direct LLDB command-line debugging and launch-validation workflow.

TODO

  • IGuiGraphicsParagraph
    • Test CocoaClipboardService when image is tested.

Known Issues

  • TUI local shortcuts involving Alt/Command do not work correctly in the tested legacy Terminal.app profile; use Kitty for these shortcuts. Terminal.app 2.15 with the Basic profile drops Alt from Ctrl+Alt+Q and sends nothing for Ctrl+Alt+Command+Q. Kitty can preserve these modifiers through its extended keyboard protocol. OS-registered global shortcuts still work through Carbon because they bypass terminal input. Terminal or macOS shortcut bindings can still intercept a chord; other terminals with compatible keyboard-protocol support may also work.
  • VKEY mapping is quite big, should be shorter
  • Not Implemented:
    • AsyncService::Semaphore::WaitForTime
    • CocoaWindow::GetIcon and SetIcon

Planning

  • Replace CGLayer with Metal for rendering

Remote feature options and document files

The native renderer and portable core demo default to no feature injection. Pass /remoteDT, /remoteLocale and /remoteFS independently to both processes, for example ./test_core.sh --app:fct --protocol:minihttp --remoteDT --remoteLocale --remoteFS and ./test.sh --app:renderer --remoteDT --remoteLocale --remoteFS. The shell translates double-dash options to slash switches, which are forwarded in foreground and --unblock modes. Renderer capabilities are reevaluated after replacement. Missing DateTime/Locale capabilities use the core predecessor; an enabled filesystem without renderer support exposes an empty / root and never accesses core files.

Use an installed UTF-8 locale when launching native applications, for example LC_ALL=en_US.UTF-8 ./test.sh --app:renderer --remoteFS. The graphical entry points initialize character conversion from that environment. Both wrappers support macOS's system Bash 3.2, including runs with no injection switches.

The local entry point uses <iGac repo>/Apps/FullControlTest/Source/FullControlTestEventHandlers.h/.cpp to populate observable skin items and attaches all four persistence events to each editor's own document viewer. Private .bin files contain their image bytes; private save and RTF/HTML exports complete synchronously, including remote stream close. Synchronize the framework, resources and shared sources together after this protocol change.

Choosing the remote Core host

./test.sh --app:renderer --corehost:core.example.com selects the destination; omitting --corehost defaults to localhost. The option is renderer-only, case-sensitive, nonempty and allowed once. Both foreground and --unblock branches forward one quoted /corehost:<host> argument. The native entry point uses the canonical GacUI parser and accepts DNS hostnames, IPv4 and IPv6 addresses (optionally bracketed), without a URL, path or separate port. Invalid or duplicate native arguments are rejected before transports start.

./test.sh --app:renderer --corehost:core.example.com --port:8889
./test.sh --app:renderer --corehost:::1 --port:8890 --unblock

Native renderers here use /MiniHttp; /Pipe and /Http are Windows transports. Protocol TCP port is always 8888. --port changes only local renderer automation, default 8889, and can be combined with destination and injection options. The local Core/requester launchers need no destination option. A manually launched RemotingTest_RvmHost /MiniHttp /corehost:core.example.com connects to Core /RVMT or a requester server; its local /Cli mode rejects an explicit host.

Keep SharedArguments and renderer GuiMain synchronized from GacUI, and maintain the platform Main.cpp separately. Socket destinations are unbracketed IPv6; HTTP authorities add brackets. Native listeners use wildcard interfaces; network reachability still depends on the host environment. Same-machine hostname checks do not verify another computer.

Showcase skin items and TUI document files

The synchronization script copies <GacUI repo>/Test/GacUISrc/SharedDocumentEditor.h/.cpp into both showcase source folders and <GacUI repo>/Test/GacUISrc/Generated_TuiControlTest/TuiControlTestEventHandlers.h/.cpp into TuiControlTest. The TUI target explicitly compiles both helpers. FullControlTest compiles SharedDocumentEditor alongside its existing native helper through the generated-source inventory. Native composition populates the observable skin-item collections before showing each window. The repeated radios invoke item-owned actions and queue a single theme refresh, preserving selected identity.

TUI private load/save and RTF/HTML export use the common native formats. Image runs become embedded labels while displayed and return to image runs for serialization. File labels retain their path; binary/memory images display [Image, width x height]. Files embed image data and preserve unused style definitions. Regenerate both showcase resources when updating these helpers, then follow <GacUI repo>/.github/Jobs/DebugTuiControlTestSop.md for fresh-process round trips and normal shutdown.

About

OSX native implementation for GacLib

Resources

Stars

123 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages