diff --git a/.github/actions/build-installer/action.yml b/.github/actions/build-installer/action.yml index df13f65d..b51a61b4 100644 --- a/.github/actions/build-installer/action.yml +++ b/.github/actions/build-installer/action.yml @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # The installer build shared by release.yml and alpha.yml, so a build step is changed in one place. # # Runs after actions/checkout. It reads the version from src/version.h, runs every test gate and @@ -25,6 +27,11 @@ runs: . ./tools/version.ps1 # Get-WindVersion: the one src/version.h reader "version=$(Get-WindVersion (Get-Location).Path)" >> $env:GITHUB_OUTPUT + # Cheap provenance gate first: every first-party source file carries the copyright header. + - name: Copyright headers + shell: pwsh + run: pwsh -File tools/check_copyright.ps1 + - name: Install NSIS shell: pwsh run: choco install nsis --no-progress -y diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index 5d346678..423fd12d 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Alpha / nightly channel: build an installer from ANY branch, on demand, without touching the # stable download. # diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a7bcd66..7fa878c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary name: build on: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22e9397a..d8fc4478 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Keep the published release in step with main. # # The problem this exists for: v0.1.0 shipped, a fix landed on main, and the release kept @@ -109,6 +111,43 @@ jobs: if ($LASTEXITCODE -ne 0) { throw 'gh release create failed' } } + # Provenance: a record of this commit, its tree and the SHA-256 of its source + # archive and installer, stamped with OpenTimestamps (Bitcoin-anchored, cannot be backdated). + # The proof starts pending; docs/provenance/README.md says how to upgrade and verify it. A + # calendar outage must never block a release, hence continue-on-error. + - name: Timestamp provenance + continue-on-error: true + shell: pwsh + env: + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} + run: | + $ErrorActionPreference = 'Continue' + $PSNativeCommandUseErrorActionPreference = $false + $v = '${{ steps.ver.outputs.version }}' + $sha = '${{ github.sha }}' + git archive --format=tar -o src.tar $sha + $rec = "provenance-$v.txt" + @( + 'Wind release provenance record' + 'Owner: Max Aubert' + "Repository: https://github.com/${{ github.repository }}" + "Version: $v" + "Commit: $sha" + "Tree: $(git rev-parse "$sha^{tree}")" + "Source archive (git archive --format=tar $sha) SHA-256: $((Get-FileHash src.tar -Algorithm SHA256).Hash.ToLower())" + "Installer Wind-Setup-x64-$v.exe SHA-256: $('${{ steps.notes.outputs.sha }}'.ToLower())" + ) | Set-Content $rec -Encoding utf8NoBOM + python -m pip install --quiet opentimestamps-client + # python-bitcoinlib cannot find OpenSSL on Windows by name (the plain `ots` command dies + # at import), so point it at Python's own libcrypto and call the client's main directly. + $dll = Get-ChildItem (Join-Path (python -c "import sys;print(sys.base_prefix)") 'DLLs') -Filter 'libcrypto*.dll' | Select-Object -First 1 + $shim = "import sys,ctypes.util as u;o=u.find_library;u.find_library=lambda n: r'$($dll.FullName)' if n in ('ssl','libeay32','crypto') else o(n);from otsclient.ots import main;sys.argv[0]='ots';main()" + python -c $shim stamp $rec + if (-not (Test-Path "$rec.ots")) { throw 'ots stamp failed' } + gh release upload "v$v" $rec "$rec.ots" --clobber + if ($LASTEXITCODE -ne 0) { throw 'provenance upload failed' } + - name: Summary shell: pwsh run: | diff --git a/CLAUDE.md b/CLAUDE.md index 3f504ea8..303682d3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -18,6 +18,7 @@ are frozen history cited from code, not kept in step with it. - `build.bat installer`: NSIS setup (needs `winget install NSIS.NSIS`), then `tools\installer_check.ps1`. - `pwsh -File tools\release.ps1`: release installer into `dist\` (what CI runs). - UI tests: `npx playwright test` in `ui/` (run when anything under `ui/` changes). +- `pwsh -File tools\check_copyright.ps1`: CI gate; every new source file needs the copyright/SPDX header. See 11. ## Stack and map - Three binaries: `Wind.exe` (core, UIAccess when installed), `WindConfig.exe` (WebView2 settings), diff --git a/build.bat b/build.bat index 12fb43d9..5f2a2da9 100644 --- a/build.bat +++ b/build.bat @@ -1,4 +1,6 @@ @echo off +rem Copyright (c) 2026 Max Aubert. All rights reserved. +rem Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary setlocal enabledelayedexpansion set "ROOT=%~dp0" cd /d "%ROOT%" diff --git a/docs/architecture/11-build-test-release.md b/docs/architecture/11-build-test-release.md index c9b2bddb..429b572a 100644 --- a/docs/architecture/11-build-test-release.md +++ b/docs/architecture/11-build-test-release.md @@ -94,6 +94,18 @@ keys), the Playwright UI suite and `tools/release.ps1`, so an NSIS compile error `installer_check.ps1` breaks the PR, not main. Nothing is published from it. Run the Playwright suite locally too when anything under `ui/` changes. +**Copyright headers.** Every tracked first-party source file opens with a two-line notice, +`Copyright (c) 2026 Max Aubert. All rights reserved.` and `Proprietary +source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary`, in +the file's own comment syntax (`//`, `#`, `;`, `rem` after `@echo off`, `/* */`, `` after +``). `tools/check_copyright.ps1` fails when a covered file lacks the SPDX line in its +first 5 lines; it is the first gate in `build-installer`, and `-List` prints the files it covers. +It skips third-party code (`third_party/`, `upscale_nis.h`, `upscale_shaders.h`, which keep their +upstream notices), generated files (`flyout_palettes.h`, `themes.css`, `themes.js`, `over.nsh`), +`docs/` and `tests/fixtures/`. A new source file needs the header; a new generated or vendored +file goes in the script's exclusion lists. The binaries carry the same notice as `LegalCopyright` +(`src/wind.rc`, `src/tray_app/wind_tray.rc`, `installer/wind.nsi`). + ## Local UIAccess deploy UIAccess is needed for the input-transform publish (transform on the desktop), binds over diff --git a/installer/app.nsh b/installer/app.nsh index a4ebc1cf..ea6f7d74 100644 --- a/installer/app.nsh +++ b/installer/app.nsh @@ -1,3 +1,5 @@ +; Copyright (c) 2026 Max Aubert. All rights reserved. +; Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary ; ; Wind setup, the parts that are about Wind rather than about installing. ; diff --git a/installer/kit.nsh b/installer/kit.nsh index a1779ee6..5b1f8cf3 100644 --- a/installer/kit.nsh +++ b/installer/kit.nsh @@ -1,3 +1,5 @@ +; Copyright (c) 2026 Max Aubert. All rights reserved. +; Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary ; ; Wind setup, part one: the window. ; diff --git a/installer/local-sign.ps1 b/installer/local-sign.ps1 index a6415da5..62e08106 100644 --- a/installer/local-sign.ps1 +++ b/installer/local-sign.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary <# Signs the installed Wind on THIS PC so Windows grants it UIAccess. diff --git a/installer/make-loop.mjs b/installer/make-loop.mjs index bb63a054..7ed01157 100644 --- a/installer/make-loop.mjs +++ b/installer/make-loop.mjs @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary /** * Builds the video loop setup plays, from a source clip. * diff --git a/installer/make-over.mjs b/installer/make-over.mjs index b17e2041..34c336e4 100644 --- a/installer/make-over.mjs +++ b/installer/make-over.mjs @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary /** * Renders installer/over.html into the alpha overlays the installer composites over its * video loop, plus the rectangles NSIS needs to know about. diff --git a/installer/over.html b/installer/over.html index 4333a2b8..bc9ff59e 100644 --- a/installer/over.html +++ b/installer/over.html @@ -1,4 +1,6 @@ + diff --git a/installer/plain.nsh b/installer/plain.nsh index 4be85d66..5487fdac 100644 --- a/installer/plain.nsh +++ b/installer/plain.nsh @@ -1,3 +1,5 @@ +; Copyright (c) 2026 Max Aubert. All rights reserved. +; Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary ; ; Wind setup, the accessible plain pages (issue #513). ; diff --git a/installer/screens.nsh b/installer/screens.nsh index 8763647e..940c1e7a 100644 --- a/installer/screens.nsh +++ b/installer/screens.nsh @@ -1,3 +1,5 @@ +; Copyright (c) 2026 Max Aubert. All rights reserved. +; Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary ; ; Wind setup, the five screens. ; diff --git a/installer/user-localappdata.ps1 b/installer/user-localappdata.ps1 index b299dea1..2c134eac 100644 --- a/installer/user-localappdata.ps1 +++ b/installer/user-localappdata.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary <# Prints the %LOCALAPPDATA% folder of the user who owns the desktop in this session (issue #274). diff --git a/installer/video.nsh b/installer/video.nsh index c7fa43ac..426879a6 100644 --- a/installer/video.nsh +++ b/installer/video.nsh @@ -1,3 +1,5 @@ +; Copyright (c) 2026 Max Aubert. All rights reserved. +; Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary ; ; Wind setup, the picture: a video loop with the UI composited over it. ; diff --git a/installer/wind.nsi b/installer/wind.nsi index ee03ee48..1869252c 100644 --- a/installer/wind.nsi +++ b/installer/wind.nsi @@ -1,3 +1,5 @@ +; Copyright (c) 2026 Max Aubert. All rights reserved. +; Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary ; ; Wind setup. ; @@ -43,7 +45,7 @@ VIAddVersionKey "FileDescription" "Wind setup" VIAddVersionKey "FileVersion" "${WIND_VERSION}" VIAddVersionKey "ProductVersion" "${WIND_VERSION}" VIAddVersionKey "CompanyName" "${PUBLISHER}" -VIAddVersionKey "LegalCopyright" "Copyright (c) 2026 ${PUBLISHER}" +VIAddVersionKey "LegalCopyright" "Copyright (c) 2026 ${PUBLISHER}. All rights reserved." !include "MUI2.nsh" !include "LogicLib.nsh" diff --git a/src/color/color_filter.cpp b/src/color/color_filter.cpp index f523c447..fe0d82ff 100644 --- a/src/color/color_filter.cpp +++ b/src/color/color_filter.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "color_filter.h" #include "mag_host.h" #include "logging.h" diff --git a/src/color/color_filter.h b/src/color/color_filter.h index 4c8dbfaa..914de1d0 100644 --- a/src/color/color_filter.h +++ b/src/color/color_filter.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Colour filter controller (issue #288). Applies the DWM colour effect (MagSetFullscreenColorEffect) // on the tick thread, deduped so an unchanged filter costs one compare diff --git a/src/color/color_matrix.h b/src/color/color_matrix.h index 27e32283..bddd0e39 100644 --- a/src/color/color_matrix.h +++ b/src/color/color_matrix.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Colour filter matrices (issue #288). Pure; tests/test_color_matrix.cpp. // diff --git a/src/color/cursor_tint.cpp b/src/color/cursor_tint.cpp index 957d5b4c..fa843cdc 100644 --- a/src/color/cursor_tint.cpp +++ b/src/color/cursor_tint.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "cursor_tint.h" #include "cursor_tint_pixels.h" #include "logging.h" diff --git a/src/color/cursor_tint.h b/src/color/cursor_tint.h index aa1e9e21..f4d1bcf4 100644 --- a/src/color/cursor_tint.h +++ b/src/color/cursor_tint.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Tinted system pointers at 1x (spec 2026-09-30-cursor-tint-design.md). Windows draws the pointer on // a hardware plane the DWM colour effect never reaches, so while Warmth/Brightness are on Wind swaps diff --git a/src/color/cursor_tint_pixels.h b/src/color/cursor_tint_pixels.h index 437d3f15..5974bf46 100644 --- a/src/color/cursor_tint_pixels.h +++ b/src/color/cursor_tint_pixels.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pixel work for the tinted 1x pointer (spec 2026-09-30-cursor-tint-design.md). Pure; tests in // tests/test_cursor_tint.cpp. Pixels are 32bpp BI_RGB DIB values: 0xAARRGGBB, straight (not diff --git a/src/config/config.cpp b/src/config/config.cpp index 0120fa39..7f3ad007 100644 --- a/src/config/config.cpp +++ b/src/config/config.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "config.h" #include "keybind_rules.h" // one safety rule set for every bind (#285) #include "ini_edit.h" // wheel migration (#318): pure text edits diff --git a/src/config/config.h b/src/config/config.h index 2002ded6..92aecd8c 100644 --- a/src/config/config.h +++ b/src/config/config.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include namespace wind { diff --git a/src/config/config_path.h b/src/config/config_path.h index 8cc4a3aa..a72ff06d 100644 --- a/src/config/config_path.h +++ b/src/config/config_path.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Shared helper to resolve magnifier.ini's runtime path. MUST be included AFTER . // // Returns the exe's directory if it is writable (dev workflow, repo dir), else diff --git a/src/config/ini_edit.cpp b/src/config/ini_edit.cpp index 3de67820..d574580d 100644 --- a/src/config/ini_edit.cpp +++ b/src/config/ini_edit.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "ini_edit.h" #include namespace wind { diff --git a/src/config/ini_edit.h b/src/config/ini_edit.h index fa946f01..426451bf 100644 --- a/src/config/ini_edit.h +++ b/src/config/ini_edit.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/config/profile_switch.h b/src/config/profile_switch.h index bf299f24..4ceca626 100644 --- a/src/config/profile_switch.h +++ b/src/config/profile_switch.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Profile switching and "relaunch Wind, put the model back if that fails", shared by the tray // (WindTray.exe) and the settings host (WindConfig.exe). Win32: MUST be included AFTER . // Each surface keeps only its own messages and logging; the steps and their order live here once. diff --git a/src/config/profiles.cpp b/src/config/profiles.cpp index b4b7b5af..cabb746a 100644 --- a/src/config/profiles.cpp +++ b/src/config/profiles.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "profiles.h" #include "ini_edit.h" #include "config.h" // DefaultIniText: the built-in default of every templated key diff --git a/src/config/profiles.h b/src/config/profiles.h index f13402cc..2caa16f5 100644 --- a/src/config/profiles.h +++ b/src/config/profiles.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Pure profile logic (no ): what belongs in a profile file vs the live magnifier.ini, // profile-name validation, and the text transforms used on every switch/mirror. I/O lives in // src/config/profiles_io.h (Win32) and the callers. See docs/specs/2026-08-12-profiles-design.md. diff --git a/src/config/profiles_io.h b/src/config/profiles_io.h index a73a2f30..f2e8a150 100644 --- a/src/config/profiles_io.h +++ b/src/config/profiles_io.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Win32 I/O for profiles (thin; paths, UTF-8, atomic read/write and listing: tests/test_profiles_io.cpp). // MUST be included AFTER . Shared by Wind.exe (tray + migration) and WindConfig.exe // (bridge handlers) so both always resolve the same profiles directory next to the resolved ini. diff --git a/src/config_ui/bridge_json.h b/src/config_ui/bridge_json.h index 1025ca50..498be716 100644 --- a/src/config_ui/bridge_json.h +++ b/src/config_ui/bridge_json.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The settings host's JSON, both directions of the WebView2 bridge. Pure (no ), so it // compiles into the WIND_TESTS build; tests/test_bridge_json.cpp. // diff --git a/src/config_ui/main.cpp b/src/config_ui/main.cpp index 3016d18f..36157f8e 100644 --- a/src/config_ui/main.cpp +++ b/src/config_ui/main.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "webview_recover.h" #include #include diff --git a/src/config_ui/webview_recover.h b/src/config_ui/webview_recover.h index 7f26a1bb..94b370d0 100644 --- a/src/config_ui/webview_recover.h +++ b/src/config_ui/webview_recover.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // What Settings does when a WebView2 process dies (field 2026-09-29: RTSS's global hook crashes the // WebView2 browser process at start-up, a use-after-unload of dxgi.dll inside RTSSHooks64, and the diff --git a/src/config_ui/wind_watchdog.h b/src/config_ui/wind_watchdog.h index ce7cd1d4..db504ce8 100644 --- a/src/config_ui/wind_watchdog.h +++ b/src/config_ui/wind_watchdog.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Pure decision logic for "the magnifier is gone, so close the config window". // Deliberately free of so it compiles into the WIND_TESTS build. #pragma once diff --git a/src/core/com_util.h b/src/core/com_util.h index 578998ed..b0ba75de 100644 --- a/src/core/com_util.h +++ b/src/core/com_util.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { // Release a COM interface pointer and null it. Safe on null. Shared by the renderer and the diff --git a/src/core/hitch_record.cpp b/src/core/hitch_record.cpp index ca2fd3a7..8af5c2c7 100644 --- a/src/core/hitch_record.cpp +++ b/src/core/hitch_record.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/core/hitch_record.cpp - see hitch_record.h. Pure: compiled into the WIND_TESTS build. #include "hitch_record.h" #include diff --git a/src/core/hitch_record.h b/src/core/hitch_record.h index 096f8bad..7a6167ed 100644 --- a/src/core/hitch_record.h +++ b/src/core/hitch_record.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/core/hitch_record.h // Per-tick flight recorder and hitch classifier (#361). Pure (no ): the tick loop fills // TickRec with QPC spans and thread CPU time; this file decides what a long frame was and renders diff --git a/src/core/idle_policy.h b/src/core/idle_policy.h index 8b8cd5c5..246e2b3f 100644 --- a/src/core/idle_policy.h +++ b/src/core/idle_policy.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Event-driven idle (issue #71): may the main loop sleep until an input event or the ~100 ms // housekeeping timeout, instead of ticking at the monitor refresh? Pure; tests/test_idle_policy.cpp. diff --git a/src/core/log_queue.h b/src/core/log_queue.h index 22496d4a..655f88cc 100644 --- a/src/core/log_queue.h +++ b/src/core/log_queue.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/core/log_queue.h // Bounded multi-producer / single-consumer queue for log lines (#361). Pure (no ). // diff --git a/src/core/logging.cpp b/src/core/logging.cpp index 41977582..6645dedb 100644 --- a/src/core/logging.cpp +++ b/src/core/logging.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/core/logging.cpp #include "logging.h" #include diff --git a/src/core/logging.h b/src/core/logging.h index 97fca238..c0595820 100644 --- a/src/core/logging.h +++ b/src/core/logging.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/core/logging.h #pragma once #include diff --git a/src/core/main.cpp b/src/core/main.cpp index 19fa8d4e..6ff343eb 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include #include #include diff --git a/src/core/reload_gate.h b/src/core/reload_gate.h index 6973b455..ca0c5ec3 100644 --- a/src/core/reload_gate.h +++ b/src/core/reload_gate.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Config hot-reload gate (pure, no ; tests/test_reload_gate.cpp). RunTick reads the ini // and asks this what to do, so the retry/skip/reload rules are testable without a tick loop. diff --git a/src/core/sched_priority.h b/src/core/sched_priority.h index 0faaa181..366cf199 100644 --- a/src/core/sched_priority.h +++ b/src/core/sched_priority.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/core/sched_priority.h - keep the tick loop on time when the rest of the PC is busy (issue #334). // // The tick thread ran at normal priority, so under heavy background CPU load (renders, builds) it diff --git a/src/core/test_telemetry.h b/src/core/test_telemetry.h index bfd0b0b3..981c1505 100644 --- a/src/core/test_telemetry.h +++ b/src/core/test_telemetry.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Per-tick test telemetry (issue #225): the proving-ground harness (tools/testenv) sets // WIND_TESTLOG= and Wind appends one CSV line per tick - ground truth for centering, diff --git a/src/core/tick_span.h b/src/core/tick_span.h index ec13a838..6abc9406 100644 --- a/src/core/tick_span.h +++ b/src/core/tick_span.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/core/tick_span.h // Time a part of the tick into the current TickRec (#361). The tick loop points tl_tickSpans at // the record it is filling; anywhere on the tick thread can then wrap a call in diff --git a/src/core/tick_stats.h b/src/core/tick_stats.h index d725f41c..578f564f 100644 --- a/src/core/tick_stats.h +++ b/src/core/tick_stats.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Recent tick intervals, for the tray's frame-pacing readout. PURE (no ) so the // statistics are unit-testable without a desktop. diff --git a/src/core/uiaccess_gate.h b/src/core/uiaccess_gate.h index d66b491d..21278737 100644 --- a/src/core/uiaccess_gate.h +++ b/src/core/uiaccess_gate.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Wind needs UIAccess (issue #460). Without it the transform engine has hover dead zones, and // neither engine can magnify over the shell or elevated windows, so a Wind without it refuses to diff --git a/src/core/uiaccess_token.h b/src/core/uiaccess_token.h index 09048701..7012f1ab 100644 --- a/src/core/uiaccess_token.h +++ b/src/core/uiaccess_token.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The process token's UIAccess bit (Win32). MUST be included AFTER . The pure start-up // rule that uses it is uiaccess_gate.h; this is the one place Wind reads the bit (issues #185, #460). // diff --git a/src/cursor/crosshair.cpp b/src/cursor/crosshair.cpp index e5221629..1d46e8ba 100644 --- a/src/cursor/crosshair.cpp +++ b/src/cursor/crosshair.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "crosshair.h" #include namespace wind { diff --git a/src/cursor/crosshair.h b/src/cursor/crosshair.h index 55eb98ca..e7d12337 100644 --- a/src/cursor/crosshair.h +++ b/src/cursor/crosshair.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/cursor/cursor_blanker.cpp b/src/cursor/cursor_blanker.cpp index 59458646..d7b5d276 100644 --- a/src/cursor/cursor_blanker.cpp +++ b/src/cursor/cursor_blanker.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "cursor_blanker.h" #include "tick_span.h" // #361: per-tick spans #include diff --git a/src/cursor/cursor_blanker.h b/src/cursor/cursor_blanker.h index 01485b6c..536652c1 100644 --- a/src/cursor/cursor_blanker.h +++ b/src/cursor/cursor_blanker.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/cursor/cursor_decode.cpp b/src/cursor/cursor_decode.cpp index 3b96cfb9..3aebd3f1 100644 --- a/src/cursor/cursor_decode.cpp +++ b/src/cursor/cursor_decode.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "cursor_decode.h" #include "cursor_tint_pixels.h" namespace wind { diff --git a/src/cursor/cursor_decode.h b/src/cursor/cursor_decode.h index 060fd39b..0bb11855 100644 --- a/src/cursor/cursor_decode.h +++ b/src/cursor/cursor_decode.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/cursor/cursor_lock.cpp b/src/cursor/cursor_lock.cpp index 747f8675..2e751acb 100644 --- a/src/cursor/cursor_lock.cpp +++ b/src/cursor/cursor_lock.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "cursor_lock.h" namespace wind { void CursorLockController::toggle() { locked_ = !locked_; } diff --git a/src/cursor/cursor_lock.h b/src/cursor/cursor_lock.h index 35e08eb7..b18ca594 100644 --- a/src/cursor/cursor_lock.h +++ b/src/cursor/cursor_lock.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { // Pure on/off toggle for "Inspect mode". No (compiles into the desktop-free WIND_TESTS diff --git a/src/cursor/cursor_mapper.cpp b/src/cursor/cursor_mapper.cpp index 95380335..af942211 100644 --- a/src/cursor/cursor_mapper.cpp +++ b/src/cursor/cursor_mapper.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "cursor_mapper.h" #include "transform.h" #include diff --git a/src/cursor/cursor_mapper.h b/src/cursor/cursor_mapper.h index 99ef7848..8b027a1c 100644 --- a/src/cursor/cursor_mapper.h +++ b/src/cursor/cursor_mapper.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { // One frame's mapping result for the own renderer (centered cursor mode). diff --git a/src/cursor/cursor_sprite.cpp b/src/cursor/cursor_sprite.cpp index d40ba818..39de835b 100644 --- a/src/cursor/cursor_sprite.cpp +++ b/src/cursor/cursor_sprite.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "cursor_sprite.h" #include "tick_span.h" // #361: per-tick spans #include "crosshair.h" diff --git a/src/cursor/cursor_sprite.h b/src/cursor/cursor_sprite.h index bdfeb9c8..f3bc788a 100644 --- a/src/cursor/cursor_sprite.h +++ b/src/cursor/cursor_sprite.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/cursor/drag_follow.h b/src/cursor/drag_follow.h index 8fdd5174..438e21c7 100644 --- a/src/cursor/drag_follow.h +++ b/src/cursor/drag_follow.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pure decision: should the active model stop welding the OS cursor and FOLLOW it instead, // because the user is mid-drag? (issue #169) diff --git a/src/cursor/gain_learner.h b/src/cursor/gain_learner.h index 80803b6c..63466a00 100644 --- a/src/cursor/gain_learner.h +++ b/src/cursor/gain_learner.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Learned pointer-ballistics gain - PURE (no ), unit-tested. // diff --git a/src/cursor/game_cursor.h b/src/cursor/game_cursor.h index 9c0adf24..212c9bb2 100644 --- a/src/cursor/game_cursor.h +++ b/src/cursor/game_cursor.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Game-drawn cursor (issue #443) - PURE, no , tests/test_game_cursor.cpp. // diff --git a/src/cursor/inspect_focus.h b/src/cursor/inspect_focus.h index 4a986181..0e87bcae 100644 --- a/src/cursor/inspect_focus.h +++ b/src/cursor/inspect_focus.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { // Pure decision (no ): should this Inspect entry engage GAME-INSPECT, i.e. treat the diff --git a/src/cursor/lock_detector.cpp b/src/cursor/lock_detector.cpp index c61f1edc..21e3eca1 100644 --- a/src/cursor/lock_detector.cpp +++ b/src/cursor/lock_detector.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "lock_detector.h" #include namespace wind { diff --git a/src/cursor/lock_detector.h b/src/cursor/lock_detector.h index 23f9272c..e4b9f04f 100644 --- a/src/cursor/lock_detector.h +++ b/src/cursor/lock_detector.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { // Is a ClipCursor rect a GAME lock signal, or merely desktop-like? (issue #169) diff --git a/src/cursor/pan_glide.h b/src/cursor/pan_glide.h index 499f2b79..6af460f7 100644 --- a/src/cursor/pan_glide.h +++ b/src/cursor/pan_glide.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pan glide (issue #430) - PURE, no , tests/test_pan_glide.cpp. // diff --git a/src/cursor/sprite_layer.h b/src/cursor/sprite_layer.h index b42eea86..8c88ece9 100644 --- a/src/cursor/sprite_layer.h +++ b/src/cursor/sprite_layer.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Which z-band the transform model's cursor sprite should be in right now (issue #269). Pure: // no , unit-tested in tests/test_sprite_layer.cpp. diff --git a/src/engine/engine_pick.h b/src/engine/engine_pick.h index 91314da3..470a040d 100644 --- a/src/engine/engine_pick.h +++ b/src/engine/engine_pick.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pure hybrid engine-pick decision (no ), extracted so the most regression-prone // predicate in the app is unit-tested (issues #148 exclusion, #172 shell desktop) instead of diff --git a/src/engine/launch_quiesce.h b/src/engine/launch_quiesce.h index f8a4a05c..cbdf4b70 100644 --- a/src/engine/launch_quiesce.h +++ b/src/engine/launch_quiesce.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pure predicate (no ): may a fullscreen-borderless cover arm the LAUNCH QUIESCE? // diff --git a/src/engine/magnifier_model.h b/src/engine/magnifier_model.h index ff851170..22839814 100644 --- a/src/engine/magnifier_model.h +++ b/src/engine/magnifier_model.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include "render_engine.h" // MonitorTarget #include "cursor_mapper.h" // MapResult diff --git a/src/engine/shell_desktop.h b/src/engine/shell_desktop.h index 9f6b4095..554b59b7 100644 --- a/src/engine/shell_desktop.h +++ b/src/engine/shell_desktop.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include // Pure decision: is a window class name the shell desktop? (issue #172) diff --git a/src/input/event_order.h b/src/input/event_order.h index 57dde652..7c4c5def 100644 --- a/src/input/event_order.h +++ b/src/input/event_order.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Event ordering for the Raw Input safety nets (input_router.cpp rawKeyUp / rawButtonUp). Pure: no // , tests/test_event_order.cpp. diff --git a/src/input/input_router.cpp b/src/input/input_router.cpp index 27698e11..50d5c783 100644 --- a/src/input/input_router.cpp +++ b/src/input/input_router.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "input_router.h" #include "config.h" // IsForbiddenBindVk (keyboard-bind safety blocklist) #include "pointer_binds.h" // button/wheel bind matching, the mask keystroke (#285) diff --git a/src/input/input_router.h b/src/input/input_router.h index 09c7ed46..c50c8dd5 100644 --- a/src/input/input_router.h +++ b/src/input/input_router.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/input/keybind_rules.h b/src/input/keybind_rules.h index 87d0ada6..68e4d72c 100644 --- a/src/input/keybind_rules.h +++ b/src/input/keybind_rules.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // One safety rule set for every keybind (issue #285; spec 2026-09-30-wheel-zoom-and-safe-keybinds). // Pure; tests/test_keybind_rules.cpp checks it against tests/fixtures/keybind_cases.txt, and the diff --git a/src/input/keyboard_pan.h b/src/input/keyboard_pan.h index eeb9ac75..7dc141e9 100644 --- a/src/input/keyboard_pan.h +++ b/src/input/keyboard_pan.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Keyboard panning (issue #287). A press starts panning at once (short ease-in, no jump). A press // released within 250 ms is a TAP: that axis stops and is topped up to exactly one nudge (1/8 of diff --git a/src/input/pointer_binds.h b/src/input/pointer_binds.h index 057ac7d6..c5084d88 100644 --- a/src/input/pointer_binds.h +++ b/src/input/pointer_binds.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Mouse-button and wheel zoom binds (issue #285). Pure; tests/test_pointer_binds.cpp. The WH_MOUSE_LL // hook calls these with the held-modifier mask read at the event (bit 1 Ctrl, 2 Alt, 4 Shift, 8 Win), diff --git a/src/input/swallow_ledger.h b/src/input/swallow_ledger.h index f0ccc778..e8a52a34 100644 --- a/src/input/swallow_ledger.h +++ b/src/input/swallow_ledger.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Swallow ledger (pure, no ; tests/test_swallow_ledger.cpp). The LL hooks swallow a // button/key DOWN only when a bind matches, and must then swallow exactly its matching UP so the diff --git a/src/input/typing_key.h b/src/input/typing_key.h index d6ed8b0e..d57d94e2 100644 --- a/src/input/typing_key.h +++ b/src/input/typing_key.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/input/typing_key.h - which keystrokes count as typing for the click quiet period (#328, review #349). // // #328 ends the 1 s click quiet period early when a key goes down after the click (clicking into Notepad diff --git a/src/platform/installer_state.h b/src/platform/installer_state.h index 6bf6fe33..48ea8c1d 100644 --- a/src/platform/installer_state.h +++ b/src/platform/installer_state.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Version parsing used by the WebView2 runtime probe. // NO : this header is compiled into the desktop-free test binary. diff --git a/src/platform/webview2_probe.h b/src/platform/webview2_probe.h index 7e9b5417..9549a784 100644 --- a/src/platform/webview2_probe.h +++ b/src/platform/webview2_probe.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Is the WebView2 Evergreen runtime installed? The answer is a registry string, and the // only subtlety is that Microsoft's uninstaller leaves the value behind set to "0.0.0.0" diff --git a/src/render/band_window.h b/src/render/band_window.h index c3e11020..df32f941 100644 --- a/src/render/band_window.h +++ b/src/render/band_window.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include diff --git a/src/render/capture_policy.h b/src/render/capture_policy.h index 9c1ea593..93c91d72 100644 --- a/src/render/capture_policy.h +++ b/src/render/capture_policy.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pure Desktop Duplication capture policies (no ), used by RenderEngine::State::capture. // Tests: tests/test_capture_policy.cpp. diff --git a/src/render/hdr_info.cpp b/src/render/hdr_info.cpp index 456a20c3..20d7806c 100644 --- a/src/render/hdr_info.cpp +++ b/src/render/hdr_info.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "hdr_info.h" #include #include diff --git a/src/render/hdr_info.h b/src/render/hdr_info.h index f4c78ac8..89793166 100644 --- a/src/render/hdr_info.h +++ b/src/render/hdr_info.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { // Whether Windows HDR ("Use HDR") is actually ON right now (DisplayConfig diff --git a/src/render/hdr_scale.h b/src/render/hdr_scale.h index 0ec33260..610c33be 100644 --- a/src/render/hdr_scale.h +++ b/src/render/hdr_scale.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { // Pure logic (no ) for the HDR->SDR tonemap scale. See render_shaders.h for the shader diff --git a/src/render/hlsl_compile.h b/src/render/hlsl_compile.h index 6ce4e1b5..65acbc17 100644 --- a/src/render/hlsl_compile.h +++ b/src/render/hlsl_compile.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The one D3DCompile wrapper of the render path (render_engine.cpp, upscale_pass.cpp). Win32/D3D: // include after . A failed compile logs the compiler's error text under `logCat`. #pragma once diff --git a/src/render/png_dump.cpp b/src/render/png_dump.cpp index 817034a2..81223062 100644 --- a/src/render/png_dump.cpp +++ b/src/render/png_dump.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "png_dump.h" #include "com_util.h" #include diff --git a/src/render/png_dump.h b/src/render/png_dump.h index a9675b24..ae9f070c 100644 --- a/src/render/png_dump.h +++ b/src/render/png_dump.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once struct ID3D11Device; struct ID3D11DeviceContext; diff --git a/src/render/render_engine.cpp b/src/render/render_engine.cpp index e176b44e..da4733f3 100644 --- a/src/render/render_engine.cpp +++ b/src/render/render_engine.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "render_engine.h" #include "com_util.h" #include "render_shaders.h" diff --git a/src/render/render_engine.h b/src/render/render_engine.h index 2da78b78..dd578939 100644 --- a/src/render/render_engine.h +++ b/src/render/render_engine.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include "color_matrix.h" // RenderFrameParams::color (issue #288) namespace wind { diff --git a/src/render/render_model.cpp b/src/render/render_model.cpp index 9106305e..969f28ae 100644 --- a/src/render/render_model.cpp +++ b/src/render/render_model.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "render_model.h" namespace wind { diff --git a/src/render/render_model.h b/src/render/render_model.h index 17902acd..b28969b4 100644 --- a/src/render/render_model.h +++ b/src/render/render_model.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include "magnifier_model.h" diff --git a/src/render/render_params.cpp b/src/render/render_params.cpp index 578263d8..8ea87906 100644 --- a/src/render/render_params.cpp +++ b/src/render/render_params.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Pure render-parameter fill (no engine, no Win32): split out of render_model.cpp so the test build // can compile it (tests/test_render_params.cpp). #include "render_model.h" diff --git a/src/render/render_shaders.h b/src/render/render_shaders.h index 908695fb..27d5ce25 100644 --- a/src/render/render_shaders.h +++ b/src/render/render_shaders.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { diff --git a/src/render/upscale_pass.cpp b/src/render/upscale_pass.cpp index 7d2836b8..27cfbd7d 100644 --- a/src/render/upscale_pass.cpp +++ b/src/render/upscale_pass.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Render scaling filters (issue #456). See upscale_pass.h. #include "upscale_pass.h" #include "upscale_shaders.h" diff --git a/src/render/upscale_pass.h b/src/render/upscale_pass.h index dcaf31b4..a9f31789 100644 --- a/src/render/upscale_pass.h +++ b/src/render/upscale_pass.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // The render engine's scaling filters (issue #456): xBR and NVIDIA Image Scaling, one full-screen // pass straight into the back buffer. Nearest stays in the engine's own pass. draw() returning false diff --git a/src/resource.h b/src/resource.h index d2eaff01..654629b3 100644 --- a/src/resource.h +++ b/src/resource.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Resource IDs for Wind.exe (see src/wind.rc). IDI_WIND is the app/tray icon; as the // only/lowest icon resource it is also what Explorer, alt-tab, and the taskbar display. diff --git a/src/track/caret_rect.h b/src/track/caret_rect.h index 72f36617..7934696e 100644 --- a/src/track/caret_rect.h +++ b/src/track/caret_rect.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/track/caret_rect.h - trim a caret rect that spans more than the caret's own line (issue #337). // // Chromium web editors (Outlook on the web) report the caret as one line right after Enter diff --git a/src/track/detached_view.h b/src/track/detached_view.h index 89211fa6..11902b4b 100644 --- a/src/track/detached_view.h +++ b/src/track/detached_view.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // A frame whose view is NOT centred on the pointer (issue #276): caret/focus tracking and, later, // mouse edge mode. The view comes from (viewCx, viewCy); the cursor fields report the REAL pointer, diff --git a/src/track/edge_pan.h b/src/track/edge_pan.h index 28a97932..3ea77ab3 100644 --- a/src/track/edge_pan.h +++ b/src/track/edge_pan.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Mouse edge mode (issue #276, phase 2): the view moves only when the pointer leaves the comfortable // band (the view minus a margin on each side), and then just far enough. Pure; tests/test_edge_pan.cpp. diff --git a/src/track/focus_identity.h b/src/track/focus_identity.h index 23723b95..246eb44e 100644 --- a/src/track/focus_identity.h +++ b/src/track/focus_identity.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/track/focus_identity.h // Which focus a caret baseline belongs to. Pure (no ): handles travel as void*. // diff --git a/src/track/focus_track.cpp b/src/track/focus_track.cpp index 0f8f93d0..87104a82 100644 --- a/src/track/focus_track.cpp +++ b/src/track/focus_track.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "focus_track.h" #include "focus_identity.h" // repeat focus events keep the caret followed #include "logging.h" diff --git a/src/track/focus_track.h b/src/track/focus_track.h index 74ce2c92..64214895 100644 --- a/src/track/focus_track.h +++ b/src/track/focus_track.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Caret and keyboard-focus watcher (issue #276). One thread owns every accessibility call: // WinEvents (out of context), GetGUIThreadInfo, and UI Automation on a COM MTA. The tick thread only diff --git a/src/track/java_bridge.cpp b/src/track/java_bridge.cpp index a17a8311..34d16822 100644 --- a/src/track/java_bridge.cpp +++ b/src/track/java_bridge.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "java_bridge.h" #include "java_bridge_util.h" #include "pe_imports.h" // PeImportNames: the bridge DLL's folder-supplied dependencies diff --git a/src/track/java_bridge.h b/src/track/java_bridge.h index 0786c299..11be9313 100644 --- a/src/track/java_bridge.h +++ b/src/track/java_bridge.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Java Access Bridge caret source (issue #281). Java apps (IntelliJ, PyCharm, ...) report their caret // only through the bridge, not the Win32 caret or UI Automation. Every call here runs on the diff --git a/src/track/java_bridge_util.h b/src/track/java_bridge_util.h index fdc268a4..7cd37f05 100644 --- a/src/track/java_bridge_util.h +++ b/src/track/java_bridge_util.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pure helpers for the Java Access Bridge caret source (issue #281). Tests: tests/test_java_bridge_util.cpp. #include diff --git a/src/track/pe_imports.h b/src/track/pe_imports.h index 6af2674b..19c87aa0 100644 --- a/src/track/pe_imports.h +++ b/src/track/pe_imports.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pure PE import-table reader (no ) for the Java bridge DLL check (review 2026-10-16 #15): // LoadVerified loads a signed bridge DLL with its folder on the search path, so every DLL it imports diff --git a/src/track/track_filter.h b/src/track/track_filter.h index 3fea2eef..d1f5c159 100644 --- a/src/track/track_filter.h +++ b/src/track/track_filter.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Sanity filters for what the focus/caret watcher reports (issue #278). Pure; tests/test_track_filter.cpp. namespace wind { diff --git a/src/track/view_glide.h b/src/track/view_glide.h index a91d61ca..9ec371c2 100644 --- a/src/track/view_glide.h +++ b/src/track/view_glide.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Glide and target geometry for tracking (issue #276). Pure; tests/test_view_glide.cpp. #include diff --git a/src/track/view_target.h b/src/track/view_target.h index 2534a51a..5efa894f 100644 --- a/src/track/view_target.h +++ b/src/track/view_target.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Who owns the zoomed view (issue #276). Pure: no , tests/test_view_target.cpp. // diff --git a/src/transform/comp_pin.cpp b/src/transform/comp_pin.cpp index 45cf1fbc..bc997334 100644 --- a/src/transform/comp_pin.cpp +++ b/src/transform/comp_pin.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "comp_pin.h" #include "mpo_guard.h" namespace wind { diff --git a/src/transform/comp_pin.h b/src/transform/comp_pin.h index 3e54fe7b..ce454f0f 100644 --- a/src/transform/comp_pin.h +++ b/src/transform/comp_pin.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include namespace wind { diff --git a/src/transform/dwm_watch.cpp b/src/transform/dwm_watch.cpp index 1aae1900..c9f0835d 100644 --- a/src/transform/dwm_watch.cpp +++ b/src/transform/dwm_watch.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "dwm_watch.h" #include #include diff --git a/src/transform/dwm_watch.h b/src/transform/dwm_watch.h index a9e84ec1..129a3772 100644 --- a/src/transform/dwm_watch.h +++ b/src/transform/dwm_watch.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // DWM restart watch (issue #396). // diff --git a/src/transform/mag_host.cpp b/src/transform/mag_host.cpp index 9d2fb5b0..5472d4b2 100644 --- a/src/transform/mag_host.cpp +++ b/src/transform/mag_host.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "mag_host.h" #include "tick_span.h" // #361: per-tick spans #include "logging.h" diff --git a/src/transform/mag_host.h b/src/transform/mag_host.h index bc70633e..34d261d4 100644 --- a/src/transform/mag_host.h +++ b/src/transform/mag_host.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include namespace wind { diff --git a/src/transform/mpo.h b/src/transform/mpo.h index 7a835591..df8a3c8c 100644 --- a/src/transform/mpo.h +++ b/src/transform/mpo.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/transform/mpo_boot.h b/src/transform/mpo_boot.h index 364f6592..478c2e39 100644 --- a/src/transform/mpo_boot.h +++ b/src/transform/mpo_boot.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include #include diff --git a/src/transform/mpo_boot_logic.h b/src/transform/mpo_boot_logic.h index ba56ef36..092de4c2 100644 --- a/src/transform/mpo_boot_logic.h +++ b/src/transform/mpo_boot_logic.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Pure half of the MPO boot record (no ): the record format and the "is this record // still about the compositor that is running now" decision, so both are unit-tested diff --git a/src/transform/mpo_guard.h b/src/transform/mpo_guard.h index 27f9bc50..0afbd63a 100644 --- a/src/transform/mpo_guard.h +++ b/src/transform/mpo_guard.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // MPO nearest guard (issue #369) - PURE, no , tests/test_mpo_guard.cpp. // diff --git a/src/transform/native_cursor.h b/src/transform/native_cursor.h index f01f0e07..cf42ec31 100644 --- a/src/transform/native_cursor.h +++ b/src/transform/native_cursor.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Native cursor (issue #369) - PURE, no , so it is unit-testable. // diff --git a/src/transform/transform.cpp b/src/transform/transform.cpp index 6187134a..c80a7947 100644 --- a/src/transform/transform.cpp +++ b/src/transform/transform.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "transform.h" namespace wind { OffsetF ComputeOffsetF(double centerX, double centerY, double level, int screenW, int screenH) { diff --git a/src/transform/transform.h b/src/transform/transform.h index 8c8eac95..0867a973 100644 --- a/src/transform/transform.h +++ b/src/transform/transform.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { struct OffsetF { double x; double y; }; diff --git a/src/transform/transform_model.cpp b/src/transform/transform_model.cpp index 3beb0276..94931efe 100644 --- a/src/transform/transform_model.cpp +++ b/src/transform/transform_model.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "transform_model.h" #include "transform.h" // ComputeMagTransform #include "tx_warm.h" // WarmAction (pure, tested): the pan-start hitch fix diff --git a/src/transform/transform_model.h b/src/transform/transform_model.h index 3d4f8ca1..c05f207f 100644 --- a/src/transform/transform_model.h +++ b/src/transform/transform_model.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once #include "magnifier_model.h" #include "mag_host.h" diff --git a/src/transform/tx_warm.h b/src/transform/tx_warm.h index 5845cf8f..17ff0200 100644 --- a/src/transform/tx_warm.h +++ b/src/transform/tx_warm.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Transform WARM-KEEPING - PURE, no , so it is unit-testable. // diff --git a/src/transform/zoom_ladder.h b/src/transform/zoom_ladder.h index 761b8871..da5d0ad3 100644 --- a/src/transform/zoom_ladder.h +++ b/src/transform/zoom_ladder.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Smooth-zoom ladder (issue #369) - PURE, no , tests/test_zoom_ladder.cpp. // diff --git a/src/tray/tray_host.cpp b/src/tray/tray_host.cpp index bb148670..a438349a 100644 --- a/src/tray/tray_host.cpp +++ b/src/tray/tray_host.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "tray_host.h" #include "tray_ipc.h" #include "logging.h" diff --git a/src/tray/tray_host.h b/src/tray/tray_host.h index 1058b34c..49796cc7 100644 --- a/src/tray/tray_host.h +++ b/src/tray/tray_host.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Wind.exe's side of the tray split (issue #291). Wind no longer owns a tray icon: it creates the // shared status block (tray_ipc.h) and keeps WindTray.exe running next to it. See diff --git a/src/tray/tray_ipc.h b/src/tray/tray_ipc.h index 3ecadfa5..22744991 100644 --- a/src/tray/tray_ipc.h +++ b/src/tray/tray_ipc.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // The status block Wind.exe shares with WindTray.exe (issue #291). PURE (no ): the // layout and the validity check are unit-tested; the named file mapping itself is opened by each diff --git a/src/tray/tray_items.cpp b/src/tray/tray_items.cpp index fed27dcb..f627ca62 100644 --- a/src/tray/tray_items.cpp +++ b/src/tray/tray_items.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "tray_items.h" #include "ini_edit.h" // TrimWs #include diff --git a/src/tray/tray_items.h b/src/tray/tray_items.h index a3dc5377..03eeae47 100644 --- a/src/tray/tray_items.h +++ b/src/tray/tray_items.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Pure tray quick-control list model (no ): which sliders and toggles the tray flyout // shows and in what order, parsed from / written to the global (non-profile) ini keys // trayPerf, traySliders, traySliderOrder, trayToggles, trayToggleOrder. Shared by WindTray and the diff --git a/src/tray/tray_status.h b/src/tray/tray_status.h index 80dea480..200b6ff9 100644 --- a/src/tray/tray_status.h +++ b/src/tray/tray_status.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // What the tray shows about the running magnifier. PURE (no ): the label decisions are // where the bugs live, so they are unit-tested rather than eyeballed in a menu. diff --git a/src/tray_app/engine_dropdown.cpp b/src/tray_app/engine_dropdown.cpp index f4f0b97d..2926557b 100644 --- a/src/tray_app/engine_dropdown.cpp +++ b/src/tray_app/engine_dropdown.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The tray flyout's main-engine dropdown, the Win32 half (WindTray.exe, issue #315). The options, // labels and the "does this pick change anything" rule are pure and unit-tested (flyout_tools.h). // diff --git a/src/tray_app/flyout_draw.cpp b/src/tray_app/flyout_draw.cpp index 59e62fce..8909b927 100644 --- a/src/tray_app/flyout_draw.cpp +++ b/src/tray_app/flyout_draw.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The tray flyout's painter (see flyout_draw.h). Everything is laid out in DIPs from flyout_model.h; // colours and metrics are the j01-calm-tint tokens. #include "flyout_draw.h" diff --git a/src/tray_app/flyout_draw.h b/src/tray_app/flyout_draw.h index 95435542..41a40cc1 100644 --- a/src/tray_app/flyout_draw.h +++ b/src/tray_app/flyout_draw.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // The tray flyout's drawing half (Direct2D + DirectWrite + WIC). It paints a View (flyout_model.h) // onto ANY ID2D1RenderTarget in DIPs, so the live window (a DC target pushed through diff --git a/src/tray_app/flyout_icons.h b/src/tray_app/flyout_icons.h index ce649a3e..210e1ef4 100644 --- a/src/tray_app/flyout_icons.h +++ b/src/tray_app/flyout_icons.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // The flyout's line icons as SVG path data on a 16x16 grid (stroke only, no background box). // Drawn from the terminal line-icon set in docs/design/tray-2026-10/k01-sliders-toggles.html (TIC) diff --git a/src/tray_app/flyout_model.h b/src/tray_app/flyout_model.h index 0fcc588d..f429c0c7 100644 --- a/src/tray_app/flyout_model.h +++ b/src/tray_app/flyout_model.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // The tray flyout's PURE model (no , so it is unit-tested): where the window opens // (at the click point, any monitor, any DPI), the layout of its rows in DIPs, hit-testing, the diff --git a/src/tray_app/flyout_test.cpp b/src/tray_app/flyout_test.cpp index 1afb4568..947bc01e 100644 --- a/src/tray_app/flyout_test.cpp +++ b/src/tray_app/flyout_test.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // `WindTray.exe --render-test out.png [--palette ID] [--dpi N] [--hover kind[:i]]` (issue #313): renders // the flyout with fake status to a PNG and exits, so the drawing can be compared with the j01 // references in docs/design/tray-2026-10 without a desktop session or a running Wind. diff --git a/src/tray_app/flyout_tools.h b/src/tray_app/flyout_tools.h index e7a51e30..d8e00ef4 100644 --- a/src/tray_app/flyout_tools.h +++ b/src/tray_app/flyout_tools.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // The tray tools' PURE logic (issue #315, no , unit-tested): the main-engine dropdown's // values, labels and restart rule, and the stretched segmented toggle group's layout. diff --git a/src/tray_app/flyout_window.cpp b/src/tray_app/flyout_window.cpp index 6bc5a593..d455801f 100644 --- a/src/tray_app/flyout_window.cpp +++ b/src/tray_app/flyout_window.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The tray flyout window (WindTray.exe, issue #313): a layered popup (true per-pixel alpha, exact // rounded corners) painted by flyout_draw.cpp, placed by flyout_model.h next to the tray icon. // It lives on the main thread: there is no modal loop any more, so Wind's tick, the tray icon and diff --git a/src/tray_app/main.cpp b/src/tray_app/main.cpp index bb388110..e198ac8a 100644 --- a/src/tray_app/main.cpp +++ b/src/tray_app/main.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // WindTray.exe (issue #291): owns Wind's notification-area icon and quick-controls flyout (#313), // WITHOUT UIAccess. // diff --git a/src/tray_app/svg_path.h b/src/tray_app/svg_path.h index fdae814d..a7432e54 100644 --- a/src/tray_app/svg_path.h +++ b/src/tray_app/svg_path.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // Minimal SVG path parser for the flyout's line icons (16x16 viewBox). PURE (no ) so it // is unit-tested. Supports M m L l H h V v C c A a Z z; every segment comes back ABSOLUTE with diff --git a/src/tray_app/tray_app.h b/src/tray_app/tray_app.h index 6f31dd5a..9e0e1fd0 100644 --- a/src/tray_app/tray_app.h +++ b/src/tray_app/tray_app.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // WindTray.exe (issue #291): the tray icon and its flyout (#313), in a process WITHOUT UIAccess so // the flyout stacks like any app's window (below the magnified cursor and the Snipping Tool overlay). Wind.exe diff --git a/src/tray_app/tray_icon.cpp b/src/tray_app/tray_icon.cpp index daf20fbd..f07910d2 100644 --- a/src/tray_app/tray_icon.cpp +++ b/src/tray_app/tray_icon.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "tray_app.h" #include "resource.h" #include diff --git a/src/tray_app/tray_menu.cpp b/src/tray_app/tray_menu.cpp index ba94fdc0..9cae655e 100644 --- a/src/tray_app/tray_menu.cpp +++ b/src/tray_app/tray_menu.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // What the tray flyout's buttons do (WindTray.exe, issue #291 / #313): the theme choice, the Quit // guard, the profile switch and opening Settings. No UI of its own; the flyout (flyout_window.cpp) // owns the window. The old owner-drawn HMENU that lived here is gone (menus cannot host sliders). diff --git a/src/tray_app/tray_pin.cpp b/src/tray_app/tray_pin.cpp index a7f4cc86..cc2b1ec8 100644 --- a/src/tray_app/tray_pin.cpp +++ b/src/tray_app/tray_pin.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "tray_pin.h" #include "logging.h" #include diff --git a/src/tray_app/tray_pin.h b/src/tray_app/tray_pin.h index 9f3de36d..01b156fd 100644 --- a/src/tray_app/tray_pin.h +++ b/src/tray_app/tray_pin.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once // "Pin to taskbar" (#436): keeps WindTray's notification-area icon on the taskbar next to the clock // instead of in the hidden-icons overflow. Windows stores the choice per icon under diff --git a/src/tray_app/tray_pin_logic.cpp b/src/tray_app/tray_pin_logic.cpp index 15345316..f639b21a 100644 --- a/src/tray_app/tray_pin_logic.cpp +++ b/src/tray_app/tray_pin_logic.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "tray_pin.h" #include diff --git a/src/tray_app/wind_tray.rc b/src/tray_app/wind_tray.rc index 5dc189b6..3207d70d 100644 --- a/src/tray_app/wind_tray.rc +++ b/src/tray_app/wind_tray.rc @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "../resource.h" #include "../version.h" #include @@ -16,7 +18,8 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN - VALUE "CompanyName", "Wind" + VALUE "CompanyName", "Max Aubert" + VALUE "LegalCopyright", "Copyright (c) 2026 Max Aubert. All rights reserved." VALUE "FileDescription", "Wind tray icon" VALUE "FileVersion", WIND_VERSION_STR VALUE "ProductName", "Wind" diff --git a/src/version.h b/src/version.h index 546bfc29..7cd75d38 100644 --- a/src/version.h +++ b/src/version.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // src/version.h - single source of truth for the Wind version. // Used by the system snapshot, every log line's session header, and src/wind.rc (VERSIONINFO). #pragma once diff --git a/src/wind.rc b/src/wind.rc index c226daea..a4877f85 100644 --- a/src/wind.rc +++ b/src/wind.rc @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "resource.h" #include "version.h" #include @@ -16,7 +18,8 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN - VALUE "CompanyName", "Wind" + VALUE "CompanyName", "Max Aubert" + VALUE "LegalCopyright", "Copyright (c) 2026 Max Aubert. All rights reserved." VALUE "FileDescription", "Wind fullscreen magnifier" VALUE "FileVersion", WIND_VERSION_STR VALUE "ProductName", "Wind" diff --git a/src/zoom/zoom_controller.cpp b/src/zoom/zoom_controller.cpp index aff6519f..17800c0a 100644 --- a/src/zoom/zoom_controller.cpp +++ b/src/zoom/zoom_controller.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "zoom_controller.h" #include #include diff --git a/src/zoom/zoom_controller.h b/src/zoom/zoom_controller.h index d8f398d5..ca552061 100644 --- a/src/zoom/zoom_controller.h +++ b/src/zoom/zoom_controller.h @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #pragma once namespace wind { enum class ZoomDir { None, In, Out }; diff --git a/tests/test_bridge_json.cpp b/tests/test_bridge_json.cpp index 2d2bcbd1..ab03b3e2 100644 --- a/tests/test_bridge_json.cpp +++ b/tests/test_bridge_json.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "bridge_json.h" using namespace wind; diff --git a/tests/test_capture_policy.cpp b/tests/test_capture_policy.cpp index 603dc5af..a3bf16e7 100644 --- a/tests/test_capture_policy.cpp +++ b/tests/test_capture_policy.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "capture_policy.h" using namespace wind; diff --git a/tests/test_caret_rect.cpp b/tests/test_caret_rect.cpp index 9856c243..b62e7ab4 100644 --- a/tests/test_caret_rect.cpp +++ b/tests/test_caret_rect.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "caret_rect.h" using namespace wind; diff --git a/tests/test_color_matrix.cpp b/tests/test_color_matrix.cpp index 30fa02b6..cdf6ae1a 100644 --- a/tests/test_color_matrix.cpp +++ b/tests/test_color_matrix.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "color_matrix.h" using namespace wind; diff --git a/tests/test_config.cpp b/tests/test_config.cpp index 523ca623..fb6d53fc 100644 --- a/tests/test_config.cpp +++ b/tests/test_config.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "config.h" #include "ini_edit.h" diff --git a/tests/test_config_defaults.cpp b/tests/test_config_defaults.cpp index a7c2b9ef..dd31190c 100644 --- a/tests/test_config_defaults.cpp +++ b/tests/test_config_defaults.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Config defaults, checked from two sides (review 2026-10-13): // - the first-run ini template (DefaultIniText) against Config{}, key by key, for EVERY template key; // - Config{} and the parser's clamp ranges against tests/fixtures/config_defaults.txt, which the diff --git a/tests/test_config_model.cpp b/tests/test_config_model.cpp index f67f9b13..15feade5 100644 --- a/tests/test_config_model.cpp +++ b/tests/test_config_model.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "config.h" diff --git a/tests/test_crosshair.cpp b/tests/test_crosshair.cpp index b2e74946..02dcc70b 100644 --- a/tests/test_crosshair.cpp +++ b/tests/test_crosshair.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "crosshair.h" using namespace wind; diff --git a/tests/test_cursor_lock.cpp b/tests/test_cursor_lock.cpp index 064b83db..3eb04ae1 100644 --- a/tests/test_cursor_lock.cpp +++ b/tests/test_cursor_lock.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "cursor_lock.h" diff --git a/tests/test_cursor_mapper.cpp b/tests/test_cursor_mapper.cpp index 25912f6b..20c063b3 100644 --- a/tests/test_cursor_mapper.cpp +++ b/tests/test_cursor_mapper.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "cursor_mapper.h" diff --git a/tests/test_cursor_tint.cpp b/tests/test_cursor_tint.cpp index dca62e98..75a13304 100644 --- a/tests/test_cursor_tint.cpp +++ b/tests/test_cursor_tint.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "cursor_tint_pixels.h" #include diff --git a/tests/test_detached_view.cpp b/tests/test_detached_view.cpp index 92afbab7..6fd20309 100644 --- a/tests/test_detached_view.cpp +++ b/tests/test_detached_view.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "detached_view.h" using namespace wind; diff --git a/tests/test_drag_follow.cpp b/tests/test_drag_follow.cpp index 2ce20b1a..f43b6c22 100644 --- a/tests/test_drag_follow.cpp +++ b/tests/test_drag_follow.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "drag_follow.h" diff --git a/tests/test_dwm_watch.cpp b/tests/test_dwm_watch.cpp index 0dfa9129..bf204839 100644 --- a/tests/test_dwm_watch.cpp +++ b/tests/test_dwm_watch.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "dwm_watch.h" diff --git a/tests/test_edge_pan.cpp b/tests/test_edge_pan.cpp index b3a459fd..e95c8bad 100644 --- a/tests/test_edge_pan.cpp +++ b/tests/test_edge_pan.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "edge_pan.h" using namespace wind; diff --git a/tests/test_engine_pick.cpp b/tests/test_engine_pick.cpp index 2cbae457..f8ea82f7 100644 --- a/tests/test_engine_pick.cpp +++ b/tests/test_engine_pick.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "engine_pick.h" diff --git a/tests/test_event_order.cpp b/tests/test_event_order.cpp index daa7e4c1..07e520e9 100644 --- a/tests/test_event_order.cpp +++ b/tests/test_event_order.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "event_order.h" using namespace wind; diff --git a/tests/test_flyout.cpp b/tests/test_flyout.cpp index c6007240..9101591e 100644 --- a/tests/test_flyout.cpp +++ b/tests/test_flyout.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "../third_party/doctest.h" #include "flyout_model.h" #include "flyout_icons.h" diff --git a/tests/test_flyout_interact.cpp b/tests/test_flyout_interact.cpp index abf76678..f5520c45 100644 --- a/tests/test_flyout_interact.cpp +++ b/tests/test_flyout_interact.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The tray flyout's interaction logic (issue #313, plan task 4): the write throttle, slider value // maths and ini formatting, the toggle writes (incl. "Keep within the edges" = two keys), keyboard // focus order and the profile list popup. All pure; flyout_window.cpp wires them to messages. diff --git a/tests/test_flyout_palettes.cpp b/tests/test_flyout_palettes.cpp index 873aed1a..e5052608 100644 --- a/tests/test_flyout_palettes.cpp +++ b/tests/test_flyout_palettes.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The tray flyout's theme table (#318): lookup by uiPalette id, the Wind grey fallback, one row per Settings // palette in the same order, and the invariants the painter relies on. Pure; flyout_palettes.h is generated by // ui/tools/gen-flyout-palettes.cjs from the same mockup palettes as the Settings themes. diff --git a/tests/test_flyout_tools.cpp b/tests/test_flyout_tools.cpp index 7fca0a00..340e2dcc 100644 --- a/tests/test_flyout_tools.cpp +++ b/tests/test_flyout_tools.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // The tray tools (issue #315): the main-engine dropdown (values, labels, restart rule, view), the // segmented toggle group and engine dropdown (stretched geometry, hit testing, list alignment, arrow-key // navigation). All pure; engine_dropdown.cpp / flyout_window.cpp wire them to Win32. diff --git a/tests/test_focus_identity.cpp b/tests/test_focus_identity.cpp index 37a4d91c..3802630a 100644 --- a/tests/test_focus_identity.cpp +++ b/tests/test_focus_identity.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_focus_identity.cpp - repeat focus events for the same control keep caret following. #include "doctest.h" #include "focus_identity.h" diff --git a/tests/test_free_cursor.cpp b/tests/test_free_cursor.cpp index 13fa35b8..26876b60 100644 --- a/tests/test_free_cursor.cpp +++ b/tests/test_free_cursor.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "cursor_mapper.h" #include diff --git a/tests/test_gain_learner.cpp b/tests/test_gain_learner.cpp index e4948efb..d0700ba7 100644 --- a/tests/test_gain_learner.cpp +++ b/tests/test_gain_learner.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "../third_party/doctest.h" #include "gain_learner.h" #include diff --git a/tests/test_game_cursor.cpp b/tests/test_game_cursor.cpp index 8b681eb7..834b8d4a 100644 --- a/tests/test_game_cursor.cpp +++ b/tests/test_game_cursor.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "game_cursor.h" diff --git a/tests/test_hdr_scale.cpp b/tests/test_hdr_scale.cpp index c144c362..573a0709 100644 --- a/tests/test_hdr_scale.cpp +++ b/tests/test_hdr_scale.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "hdr_scale.h" diff --git a/tests/test_hitch_record.cpp b/tests/test_hitch_record.cpp index 5045db4a..c9e637aa 100644 --- a/tests/test_hitch_record.cpp +++ b/tests/test_hitch_record.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_hitch_record.cpp - hitch classification and the hitch line (#361). #include "doctest.h" #include "hitch_record.h" diff --git a/tests/test_idle_policy.cpp b/tests/test_idle_policy.cpp index c858c84d..ccf5cfbd 100644 --- a/tests/test_idle_policy.cpp +++ b/tests/test_idle_policy.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "idle_policy.h" using namespace wind; diff --git a/tests/test_ini_edit.cpp b/tests/test_ini_edit.cpp index d63b212d..3661d5e1 100644 --- a/tests/test_ini_edit.cpp +++ b/tests/test_ini_edit.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "ini_edit.h" using namespace wind; diff --git a/tests/test_inspect_focus.cpp b/tests/test_inspect_focus.cpp index 4c88b298..3421b62f 100644 --- a/tests/test_inspect_focus.cpp +++ b/tests/test_inspect_focus.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "inspect_focus.h" diff --git a/tests/test_installer_state.cpp b/tests/test_installer_state.cpp index 1d8608c6..1b00f534 100644 --- a/tests/test_installer_state.cpp +++ b/tests/test_installer_state.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "installer_state.h" diff --git a/tests/test_java_bridge_util.cpp b/tests/test_java_bridge_util.cpp index c50a2322..1f5e1a54 100644 --- a/tests/test_java_bridge_util.cpp +++ b/tests/test_java_bridge_util.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "java_bridge_util.h" using namespace wind; diff --git a/tests/test_keybind_rules.cpp b/tests/test_keybind_rules.cpp index 5b15e3d3..0bd63a9a 100644 --- a/tests/test_keybind_rules.cpp +++ b/tests/test_keybind_rules.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "keybind_rules.h" #include diff --git a/tests/test_keyboard_pan.cpp b/tests/test_keyboard_pan.cpp index 5c3e330e..9a0b5db9 100644 --- a/tests/test_keyboard_pan.cpp +++ b/tests/test_keyboard_pan.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include #include "doctest.h" #include "keyboard_pan.h" diff --git a/tests/test_launch_quiesce.cpp b/tests/test_launch_quiesce.cpp index e20542a8..bb38688b 100644 --- a/tests/test_launch_quiesce.cpp +++ b/tests/test_launch_quiesce.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "launch_quiesce.h" diff --git a/tests/test_lock_detector.cpp b/tests/test_lock_detector.cpp index c0bd117e..ffa87d97 100644 --- a/tests/test_lock_detector.cpp +++ b/tests/test_lock_detector.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "lock_detector.h" diff --git a/tests/test_log_queue.cpp b/tests/test_log_queue.cpp index fb8f1d00..fa72b726 100644 --- a/tests/test_log_queue.cpp +++ b/tests/test_log_queue.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_log_queue.cpp - the non-blocking log queue (#361). #include "doctest.h" #include "log_queue.h" diff --git a/tests/test_logging.cpp b/tests/test_logging.cpp index 4eaf3773..99fbbd19 100644 --- a/tests/test_logging.cpp +++ b/tests/test_logging.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_logging.cpp #include "doctest.h" #include "logging.h" diff --git a/tests/test_mag_transform.cpp b/tests/test_mag_transform.cpp index 9e1e42af..2ea678da 100644 --- a/tests/test_mag_transform.cpp +++ b/tests/test_mag_transform.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "transform.h" #include "cursor_mapper.h" diff --git a/tests/test_main.cpp b/tests/test_main.cpp index a3f832e4..6ea2bacc 100644 --- a/tests/test_main.cpp +++ b/tests/test_main.cpp @@ -1,2 +1,4 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest.h" diff --git a/tests/test_mpo_boot.cpp b/tests/test_mpo_boot.cpp index 36204984..2dab8de1 100644 --- a/tests/test_mpo_boot.cpp +++ b/tests/test_mpo_boot.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "mpo_boot_logic.h" diff --git a/tests/test_mpo_guard.cpp b/tests/test_mpo_guard.cpp index 932096fd..117e8ac7 100644 --- a/tests/test_mpo_guard.cpp +++ b/tests/test_mpo_guard.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "mpo_guard.h" diff --git a/tests/test_native_cursor.cpp b/tests/test_native_cursor.cpp index 2429f1af..cefc4e20 100644 --- a/tests/test_native_cursor.cpp +++ b/tests/test_native_cursor.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "native_cursor.h" diff --git a/tests/test_pan_glide.cpp b/tests/test_pan_glide.cpp index ebea9c7e..18f578e1 100644 --- a/tests/test_pan_glide.cpp +++ b/tests/test_pan_glide.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "pan_glide.h" #include diff --git a/tests/test_pe_imports.cpp b/tests/test_pe_imports.cpp index b4109f05..1d15f036 100644 --- a/tests/test_pe_imports.cpp +++ b/tests/test_pe_imports.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "pe_imports.h" #include diff --git a/tests/test_pointer_binds.cpp b/tests/test_pointer_binds.cpp index 853299b7..0c634a04 100644 --- a/tests/test_pointer_binds.cpp +++ b/tests/test_pointer_binds.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include #include "doctest.h" #include "pointer_binds.h" diff --git a/tests/test_profiles.cpp b/tests/test_profiles.cpp index 9289bbdc..67ebc445 100644 --- a/tests/test_profiles.cpp +++ b/tests/test_profiles.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "profiles.h" #include "ini_edit.h" diff --git a/tests/test_profiles_io.cpp b/tests/test_profiles_io.cpp index 847d20d3..8194e604 100644 --- a/tests/test_profiles_io.cpp +++ b/tests/test_profiles_io.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_profiles_io.cpp - the Win32 file layer behind profiles (profiles_io.h): paths, UTF-8, // atomic write/read, the missing-vs-unreadable contract and profile listing. #include "doctest.h" diff --git a/tests/test_quick_zoom.cpp b/tests/test_quick_zoom.cpp index 6ff1e5e6..68fd3264 100644 --- a/tests/test_quick_zoom.cpp +++ b/tests/test_quick_zoom.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "zoom_controller.h" using namespace wind; diff --git a/tests/test_reload_gate.cpp b/tests/test_reload_gate.cpp index fe6a63a5..86ebcbb9 100644 --- a/tests/test_reload_gate.cpp +++ b/tests/test_reload_gate.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_reload_gate.cpp - config hot-reload decisions (reload_gate.h). #include "doctest.h" #include "reload_gate.h" diff --git a/tests/test_render_params.cpp b/tests/test_render_params.cpp index d7667345..ca358ced 100644 --- a/tests/test_render_params.cpp +++ b/tests/test_render_params.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_render_params.cpp - FillRenderParams / CursorModeFromCfg (render_params.cpp) and the // pure MPO ghost settle decision (mpo_guard.h). #include "doctest.h" diff --git a/tests/test_shell_desktop.cpp b/tests/test_shell_desktop.cpp index b6936acc..23512083 100644 --- a/tests/test_shell_desktop.cpp +++ b/tests/test_shell_desktop.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "shell_desktop.h" diff --git a/tests/test_sprite_layer.cpp b/tests/test_sprite_layer.cpp index 3f573091..4ce507c8 100644 --- a/tests/test_sprite_layer.cpp +++ b/tests/test_sprite_layer.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "sprite_layer.h" diff --git a/tests/test_swallow_ledger.cpp b/tests/test_swallow_ledger.cpp index d474d54d..29f3b977 100644 --- a/tests/test_swallow_ledger.cpp +++ b/tests/test_swallow_ledger.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_swallow_ledger.cpp - the hook swallow records (swallow_ledger.h). #include "doctest.h" #include "swallow_ledger.h" diff --git a/tests/test_telemetry.cpp b/tests/test_telemetry.cpp index 16467052..7010b511 100644 --- a/tests/test_telemetry.cpp +++ b/tests/test_telemetry.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "test_telemetry.h" #include diff --git a/tests/test_track_filter.cpp b/tests/test_track_filter.cpp index ad9d1172..664fde90 100644 --- a/tests/test_track_filter.cpp +++ b/tests/test_track_filter.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "track_filter.h" using namespace wind; diff --git a/tests/test_transform.cpp b/tests/test_transform.cpp index dddf68d2..00eea4bf 100644 --- a/tests/test_transform.cpp +++ b/tests/test_transform.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "transform.h" diff --git a/tests/test_tray_ipc.cpp b/tests/test_tray_ipc.cpp index 2eb306da..4e0e1057 100644 --- a/tests/test_tray_ipc.cpp +++ b/tests/test_tray_ipc.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "../third_party/doctest.h" #include "tray_ipc.h" #include diff --git a/tests/test_tray_items.cpp b/tests/test_tray_items.cpp index e03bc995..9aea635e 100644 --- a/tests/test_tray_items.cpp +++ b/tests/test_tray_items.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "tray_items.h" #include "profiles.h" diff --git a/tests/test_tray_pin.cpp b/tests/test_tray_pin.cpp index d444ea13..1e49a6c1 100644 --- a/tests/test_tray_pin.cpp +++ b/tests/test_tray_pin.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "tray_pin.h" using namespace wind::TrayPin; diff --git a/tests/test_tray_status.cpp b/tests/test_tray_status.cpp index 0273d94b..d76eeb1c 100644 --- a/tests/test_tray_status.cpp +++ b/tests/test_tray_status.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "../third_party/doctest.h" #include "tray_status.h" #include "tick_stats.h" diff --git a/tests/test_tx_warm.cpp b/tests/test_tx_warm.cpp index 1882e12f..64513ed7 100644 --- a/tests/test_tx_warm.cpp +++ b/tests/test_tx_warm.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "../third_party/doctest.h" #include "tx_warm.h" diff --git a/tests/test_typing_key.cpp b/tests/test_typing_key.cpp index 403b6ca8..da49c3f1 100644 --- a/tests/test_typing_key.cpp +++ b/tests/test_typing_key.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "typing_key.h" #include "view_target.h" diff --git a/tests/test_uiaccess_gate.cpp b/tests/test_uiaccess_gate.cpp index 1c0dffc9..d5d4f8b5 100644 --- a/tests/test_uiaccess_gate.cpp +++ b/tests/test_uiaccess_gate.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "uiaccess_gate.h" #include diff --git a/tests/test_version.cpp b/tests/test_version.cpp index 0d001790..abcb0496 100644 --- a/tests/test_version.cpp +++ b/tests/test_version.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // tests/test_version.cpp - src/version.h: WIND_VERSION_STR is written out by hand (the .rc files // consume it as one literal, so it is not stringized from the numbers); this keeps it in step. #include "doctest.h" diff --git a/tests/test_view_glide.cpp b/tests/test_view_glide.cpp index 7e838cc7..3af7cfc1 100644 --- a/tests/test_view_glide.cpp +++ b/tests/test_view_glide.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "view_glide.h" using namespace wind; diff --git a/tests/test_view_target.cpp b/tests/test_view_target.cpp index d6a01103..6a1cb606 100644 --- a/tests/test_view_target.cpp +++ b/tests/test_view_target.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "view_target.h" using namespace wind; diff --git a/tests/test_webview2_probe.cpp b/tests/test_webview2_probe.cpp index a0ff1207..4cccee5f 100644 --- a/tests/test_webview2_probe.cpp +++ b/tests/test_webview2_probe.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "webview2_probe.h" diff --git a/tests/test_webview_recover.cpp b/tests/test_webview_recover.cpp index d5812edc..674c0ae9 100644 --- a/tests/test_webview_recover.cpp +++ b/tests/test_webview_recover.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "webview_recover.h" #include diff --git a/tests/test_wind_watchdog.cpp b/tests/test_wind_watchdog.cpp index 5c2d5e47..480b07fc 100644 --- a/tests/test_wind_watchdog.cpp +++ b/tests/test_wind_watchdog.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "wind_watchdog.h" diff --git a/tests/test_zoom_controller.cpp b/tests/test_zoom_controller.cpp index 0fe0a277..71860c45 100644 --- a/tests/test_zoom_controller.cpp +++ b/tests/test_zoom_controller.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "zoom_controller.h" #include diff --git a/tests/test_zoom_ladder.cpp b/tests/test_zoom_ladder.cpp index 1aedcab7..ab3aaba3 100644 --- a/tests/test_zoom_ladder.cpp +++ b/tests/test_zoom_ladder.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary #include "doctest.h" #include "zoom_ladder.h" #include diff --git a/tools/check_copyright.ps1 b/tools/check_copyright.ps1 new file mode 100644 index 00000000..8f6aba8e --- /dev/null +++ b/tools/check_copyright.ps1 @@ -0,0 +1,65 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary +<# + Copyright-notice gate: every tracked first-party source file must carry the Wind copyright + header, i.e. the line 'SPDX-License-Identifier: LicenseRef-Wind-Proprietary' within its + first 5 lines. Exits 1 and lists the files that lack it; exits 0 when all have it. + + pwsh -File tools\check_copyright.ps1 check (CI runs this) + pwsh -File tools\check_copyright.ps1 -List print the files the rule covers + + Covered: *.cpp *.h *.rc *.svelte *.js *.mjs *.cjs *.ts *.css *.ps1 *.py *.nsi *.nsh *.bat, + *.yml / *.yaml under .github/, and *.html under ui/ and installer/. + Not covered: third-party code (third_party/, and the files in $ThirdParty below, which carry + their own upstream copyright), generated files ($Generated: their generator owns the text), + docs/ (frozen history), tests/fixtures/ data, build output, and every other file type + (Markdown, JSON, text, manifests, images, binaries). + + Header placement per language (see docs/architecture/11-build-test-release.md): line 1, + except after '@echo off' in .bat and after '' in .html. +#> +param([switch]$List) + +$ErrorActionPreference = 'Stop' +$Root = Split-Path -Parent $PSScriptRoot +$Marker = 'SPDX-License-Identifier: LicenseRef-Wind-Proprietary' + +$Extensions = '.cpp', '.h', '.rc', '.svelte', '.js', '.mjs', '.cjs', '.ts', '.css', '.ps1', '.py', + '.nsi', '.nsh', '.bat' +$ExcludedPrefixes = 'third_party/', 'docs/', 'tests/fixtures/', 'build/', 'dist/', 'ui/dist/', + 'node_modules/', 'ui/node_modules/' +# Ports of third-party code that keep the upstream copyright (THIRD-PARTY-NOTICES.md). +$ThirdParty = 'src/render/upscale_nis.h', 'src/render/upscale_shaders.h' +# Written by a generator; the header would be lost on the next regeneration. +$Generated = 'src/tray_app/flyout_palettes.h', 'ui/src/design/themes.css', + 'ui/src/design/themes.js', 'installer/over.nsh' + +function Test-Covered([string]$path) { + foreach ($p in $ExcludedPrefixes) { if ($path.StartsWith($p)) { return $false } } + if ($ThirdParty -contains $path -or $Generated -contains $path) { return $false } + $ext = [IO.Path]::GetExtension($path).ToLowerInvariant() + if ($Extensions -contains $ext) { return $true } + if (($ext -eq '.yml' -or $ext -eq '.yaml') -and $path.StartsWith('.github/')) { return $true } + if ($ext -eq '.html' -and ($path.StartsWith('ui/') -or $path.StartsWith('installer/'))) { return $true } + return $false +} + +$files = @(git -C $Root ls-files) | Where-Object { Test-Covered $_ } +if ($LASTEXITCODE -ne 0) { Write-Error 'git ls-files failed'; exit 2 } +if ($List) { $files; exit 0 } + +$missing = foreach ($f in $files) { + $full = Join-Path $Root $f + if (-not (Test-Path -LiteralPath $full)) { continue } # deleted in the working tree + $head = @(Get-Content -LiteralPath $full -TotalCount 5 -Encoding utf8) + if (-not ($head | Where-Object { $_.Contains($Marker) })) { $f } +} + +if ($missing) { + Write-Host "Copyright header missing ($Marker in the first 5 lines):" + $missing | ForEach-Object { Write-Host " $_" } + Write-Host "$(@($missing).Count) of $($files.Count) file(s) fail. See docs/architecture/11-build-test-release.md." + exit 1 +} +Write-Host "Copyright headers: all $($files.Count) covered files OK." +exit 0 diff --git a/tools/dwm_memprobe.ps1 b/tools/dwm_memprobe.ps1 index 32cf4a45..b20d8adc 100644 --- a/tools/dwm_memprobe.ps1 +++ b/tools/dwm_memprobe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # DWM memory probe - diagnostic for the dwmcore STATUS_FATAL_MEMORY_EXHAUSTION crash. # # Two dwm.exe crashes on 2026-08-17 faulted at dwmcore.dll+0x1a0bd8 with exception 0xc00001ad diff --git a/tools/flipwatch.ps1 b/tools/flipwatch.ps1 index b52654c0..c5282dc3 100644 --- a/tools/flipwatch.ps1 +++ b/tools/flipwatch.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # flipwatch.ps1 - presentation-mode recorder for the transform-model stickiness bug. # # Why this exists: the transform model (and hybrid/"Auto", which picks it) puts DWM into diff --git a/tools/gpu_ab.ps1 b/tools/gpu_ab.ps1 index fa82697d..9b80ce15 100644 --- a/tools/gpu_ab.ps1 +++ b/tools/gpu_ab.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # GPU cost A/B: Wind vs native Magnifier, per scenario, per process (dwm.exe / Wind.exe), on the # controlled solid target (tools/test_target_window.ps1). # diff --git a/tools/gpu_sampler.ps1 b/tools/gpu_sampler.ps1 index 9f660e68..8fbebdfe 100644 --- a/tools/gpu_sampler.ps1 +++ b/tools/gpu_sampler.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # GPU 3D-engine utilization sampler (child of mag_perf_run.ps1): appends "pid,value" lines per # counter sample so the parent can aggregate per process after the pan. param([int]$Samples = 6, [string]$OutFile) diff --git a/tools/installer_check.ps1 b/tools/installer_check.ps1 index 4c2e2e34..8b90ba38 100644 --- a/tools/installer_check.ps1 +++ b/tools/installer_check.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary <# Build gate for the installer. Three checks: diff --git a/tools/mag_ab_controlled.ps1 b/tools/mag_ab_controlled.ps1 index 6189c1bc..30fa4a6d 100644 --- a/tools/mag_ab_controlled.ps1 +++ b/tools/mag_ab_controlled.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Wind vs native Magnifier, measured against an IDENTICAL controlled target (issue #206). # # Prior comparisons were taken against whatever was on screen at the time - Zen with a live acrylic diff --git a/tools/mag_formula_probe.ps1 b/tools/mag_formula_probe.ps1 index ec5e8713..471d4532 100644 --- a/tools/mag_formula_probe.ps1 +++ b/tools/mag_formula_probe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Derive native Magnifier's fullscreen-transform geometry EMPIRICALLY (issue #205). # # We are about to copy native's cursor model, and the whole design rests on one formula: given the diff --git a/tools/mag_latency_probe.ps1 b/tools/mag_latency_probe.ps1 index 7d52b147..0c9f141f 100644 --- a/tools/mag_latency_probe.ps1 +++ b/tools/mag_latency_probe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Cursor-move -> view-update LATENCY, for Wind and for native Magnifier (issue #206). # # Every "feels laggy / feels smooth" judgement so far has been an impression, and the two numbers we diff --git a/tools/mag_perf_run.ps1 b/tools/mag_perf_run.ps1 index 8d6432d0..81774e8c 100644 --- a/tools/mag_perf_run.ps1 +++ b/tools/mag_perf_run.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # One controlled perf run for issue #219: zoom to a target level over the FOCUSED foreground # window (the acrylic Prism repro), pan with RELATIVE mickeys (real ballistics), and measure: # - DWM composition pacing (DwmGetCompositionTimingInfo screen-wide: displayed fps, late, diff --git a/tools/mag_trackmode_probe.ps1 b/tools/mag_trackmode_probe.ps1 index 35e17f04..b2cbb919 100644 --- a/tools/mag_trackmode_probe.ps1 +++ b/tools/mag_trackmode_probe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Distinguish native Magnifier's two FullScreenTrackingMode designs (issue #205). # # The grid probe fitted `offset = clamp(cursor - screen/level/2)` at 92/99 in BOTH modes - but it diff --git a/tools/mag_wobble_monitor.ps1 b/tools/mag_wobble_monitor.ps1 index 27bd3fa4..835ac403 100644 --- a/tools/mag_wobble_monitor.ps1 +++ b/tools/mag_wobble_monitor.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # PASSIVE wobble monitor. Injects NOTHING, shows NOTHING - the user drives Wind/wm/apps with the # real mouse; this only samples and logs, one CSV line per second, so the second the cursor # degenerates is visible in the series and can be correlated with what the user was doing. diff --git a/tools/mag_wobble_probe.ps1 b/tools/mag_wobble_probe.ps1 index 5b0e3311..8b3e2fb7 100644 --- a/tools/mag_wobble_probe.ps1 +++ b/tools/mag_wobble_probe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # MEASURE THE WOBBLE (issue #206). # # Latency and write rate are not the wobble. Three builds proved that by measuring well and feeling diff --git a/tools/mag_wobble_repro.ps1 b/tools/mag_wobble_repro.ps1 index 9ee8fe78..aeec3633 100644 --- a/tools/mag_wobble_repro.ps1 +++ b/tools/mag_wobble_repro.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Automated wobble repro (stale-input-transform hypothesis). # # Control run: .\mag_wobble_repro.ps1 -> zoom Wind + pan, no wm involved diff --git a/tools/magtrace.ps1 b/tools/magtrace.ps1 index f79b6617..c400b47b 100644 --- a/tools/magtrace.ps1 +++ b/tools/magtrace.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Magnification transform tracer. # # There is exactly ONE desktop fullscreen-magnification state, and MagGetFullscreenTransform reads diff --git a/tools/make_icon.mjs b/tools/make_icon.mjs index 7990dd54..5a66fdbe 100644 --- a/tools/make_icon.mjs +++ b/tools/make_icon.mjs @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Generate assets/wind.ico from assets/wind-badge-taskbar.svg. // // Renders the SVG at each icon size with Playwright's bundled Chromium (faithful diff --git a/tools/pan_wake_probe.ps1 b/tools/pan_wake_probe.ps1 index d47bd2db..7cfb9e7c 100644 --- a/tools/pan_wake_probe.ps1 +++ b/tools/pan_wake_probe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Pan-wake probe: does a hitch land on the FIRST movement after the hand pauses? # # Field report (2026-08-26): zoomed and holding still is smooth; the first movement after any diff --git a/tools/plane_race_probe.ps1 b/tools/plane_race_probe.ps1 index 1764e96e..39985ecf 100644 --- a/tools/plane_race_probe.ps1 +++ b/tools/plane_race_probe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Does the magnifier RELIABLY pull a fullscreen game off its hardware overlay plane? # # The pan-start stutter tracks one variable above all others: whether the game is riding a hardware diff --git a/tools/release.ps1 b/tools/release.ps1 index e8fe73e2..0bc25838 100644 --- a/tools/release.ps1 +++ b/tools/release.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary <# Builds the release artifact: dist\Wind-Setup-x64-.exe diff --git a/tools/test_target_window.ps1 b/tools/test_target_window.ps1 index 4b235457..bb484257 100644 --- a/tools/test_target_window.ps1 +++ b/tools/test_target_window.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # A deliberately boring fullscreen target window, so magnifier measurements are comparable. # # Every A/B so far was taken against whatever happened to be on screen - Zen with a live acrylic diff --git a/tools/testenv/ab_acryl.ps1 b/tools/testenv/ab_acryl.ps1 index b1b84326..0f05e713 100644 --- a/tools/testenv/ab_acryl.ps1 +++ b/tools/testenv/ab_acryl.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Multi-config screen for the acrylic-hitching defect (issue #229). Runs N configurations through # the short acrylic suite, ROUND-ROBIN rather than one config at a time, so a slow drift on the # machine spreads across all of them instead of favouring whichever ran first. Reports the hitch diff --git a/tools/testenv/backdrop.ps1 b/tools/testenv/backdrop.ps1 index a2afa335..3055491f 100644 --- a/tools/testenv/backdrop.ps1 +++ b/tools/testenv/backdrop.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # One proving-ground backdrop window (issue #225). Launched as a child process by run.ps1 - # each backdrop owns its own message pump and dies on process exit, so the runner never has to # manage WinForms lifetimes across runspaces. diff --git a/tools/testenv/bench.ps1 b/tools/testenv/bench.ps1 index c5ecf763..8d3aabaa 100644 --- a/tools/testenv/bench.ps1 +++ b/tools/testenv/bench.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Magnifier benchmark v2 (issue #225): drive DIFFERENT magnifiers through the SAME harsh # scenarios and produce a game-benchmark scoreboard, catalogued per run. # diff --git a/tools/testenv/cursor_area_probe.py b/tools/testenv/cursor_area_probe.py index c5a78d35..f839bfcb 100644 --- a/tools/testenv/cursor_area_probe.py +++ b/tools/testenv/cursor_area_probe.py @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # CURSOR OPTICAL PROBE (issue #229, from the owner's black-backdrop idea). # # Over a solid BLACK backdrop the only bright thing on screen is the cursor, so a brightness diff --git a/tools/testenv/cursor_flicker.py b/tools/testenv/cursor_flicker.py index f071d271..1b117de1 100644 --- a/tools/testenv/cursor_flicker.py +++ b/tools/testenv/cursor_flicker.py @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Analyzer for the cursor optical probe (issue #229): does the cursor OSCILLATE while panning? # # The field report's description of the artifact: the cursor lags the hand, the lag grows with speed (inertia), diff --git a/tools/testenv/gamesim.cpp b/tools/testenv/gamesim.cpp index 1248720a..f9919f7a 100644 --- a/tools/testenv/gamesim.cpp +++ b/tools/testenv/gamesim.cpp @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary // Game-sim window for the proving ground (issue #225): a borderless fullscreen D3D11 app that // renders fast-moving content through a real flip-model swapchain - the present pressure and // engine-pick shape of an actual game, which no GDI-timer backdrop reproduces. Content is a diff --git a/tools/testenv/lib.ps1 b/tools/testenv/lib.ps1 index 8c0f4adf..8e2eac0d 100644 --- a/tools/testenv/lib.ps1 +++ b/tools/testenv/lib.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Proving-ground shared library (issue #225). Dot-sourced by run.ps1. # Interop + protocol primitives + telemetry analysis. PS 5.1 compatible. # diff --git a/tools/testenv/probe_animated.ps1 b/tools/testenv/probe_animated.ps1 index dc7faed6..fe8980c1 100644 --- a/tools/testenv/probe_animated.ps1 +++ b/tools/testenv/probe_animated.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # One-off probe: why does the animated backdrop block zoom-in? (testenv shakedown) param([string]$Kind = 'animated', [int]$SettleS = 3, [double]$HoldS = 0.6) . (Join-Path $PSScriptRoot 'lib.ps1') diff --git a/tools/testenv/register_nightly.ps1 b/tools/testenv/register_nightly.ps1 index 5e05dbbf..0a8b7ddb 100644 --- a/tools/testenv/register_nightly.ps1 +++ b/tools/testenv/register_nightly.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Registers (or removes) the nightly full-suite proving-ground run as a scheduled task. # The task runs at 04:00 when the machine is on and idle, against whatever build is deployed # in C:\Program Files\Wind - i.e. latest deployed main. Results land in tools\testenv\results. diff --git a/tools/testenv/run.ps1 b/tools/testenv/run.ps1 index a3bb1845..39172c0f 100644 --- a/tools/testenv/run.ps1 +++ b/tools/testenv/run.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Wind proving ground (issue #225): consistent, reusable, fully automated test scenarios. # # powershell -File tools\testenv\run.ps1 -Suite rapid # ~1 min smoke (iterating) diff --git a/tools/testenv/shimmer_ab.ps1 b/tools/testenv/shimmer_ab.ps1 index 758e2dd2..f18ebcbb 100644 --- a/tools/testenv/shimmer_ab.ps1 +++ b/tools/testenv/shimmer_ab.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Ramp-shimmer A/B (issue #229): does a configuration reduce the cursor churn seen in the field while # zooming with the high-resolution cursor? # diff --git a/tools/testenv/shimmer_probe.py b/tools/testenv/shimmer_probe.py index e46769e4..5f3c5789 100644 --- a/tools/testenv/shimmer_probe.py +++ b/tools/testenv/shimmer_probe.py @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Ramp-shimmer probe (issue #229): measures how much the CURSOR's rendered pixels churn while # the zoom level changes, which is the artifact the field report describes on the high-resolution cursor. # diff --git a/tools/testenv/sweep.ps1 b/tools/testenv/sweep.ps1 index 1e43da22..4ab5d54d 100644 --- a/tools/testenv/sweep.ps1 +++ b/tools/testenv/sweep.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Autonomous candidate sweep (#229). Runs a list of configurations through the gates and logs # every result, so an overnight session leaves evidence rather than recollection. # diff --git a/tools/uiaccess_setup.ps1 b/tools/uiaccess_setup.ps1 index 9331700c..2af541b9 100644 --- a/tools/uiaccess_setup.ps1 +++ b/tools/uiaccess_setup.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Wind UIAccess setup (run elevated). Creates a local self-signed code-signing cert, # trusts it, signs Wind.exe, and deploys Wind.exe + WindTray.exe + WindConfig.exe + ui/dist to # C:\Program Files\Wind so UIAccess activates and the config UI is reachable. diff --git a/tools/upscale_testcard.py b/tools/upscale_testcard.py index 6d9570ed..264b6e87 100644 --- a/tools/upscale_testcard.py +++ b/tools/upscale_testcard.py @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary """A static test card for comparing the render scaling filters (issue #456). Shows a full-screen, topmost card (text at several sizes, light and dark, thin and diagonal lines, diff --git a/tools/version.ps1 b/tools/version.ps1 index bbecb350..5a590726 100644 --- a/tools/version.ps1 +++ b/tools/version.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # The one reader of src/version.h for scripts and CI (release.ps1, installer_check.ps1, the release # and alpha workflows). Dot-source it, then call Get-WindVersion. installer/wind.nsi reads the same # three defines with !searchparse. diff --git a/tools/warm_cadence_sweep.ps1 b/tools/warm_cadence_sweep.ps1 index f313e31a..19b88015 100644 --- a/tools/warm_cadence_sweep.ps1 +++ b/tools/warm_cadence_sweep.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Warm-keeping cadence sweep (issue #246): for each txWarmHz, score the two things the knob # trades against each other - # 1. the pan-start hitch, via tools/pan_wake_probe.ps1 -Drive (composition stalls on the WAKE diff --git a/tools/wind_drive_probe.ps1 b/tools/wind_drive_probe.ps1 index 4ce44d27..33a0107a 100644 --- a/tools/wind_drive_probe.ps1 +++ b/tools/wind_drive_probe.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Can Wind's zoom be driven programmatically? (prerequisite for automated cadence A/B) # # Wind binds zoom-in to mouse button 5 (zoomInButton=2 -> XBUTTON2) and reads side buttons through diff --git a/tools/zoom_response_ab.ps1 b/tools/zoom_response_ab.ps1 index 0471964b..5f59ad94 100644 --- a/tools/zoom_response_ab.ps1 +++ b/tools/zoom_response_ab.ps1 @@ -1,3 +1,5 @@ +# Copyright (c) 2026 Max Aubert. All rights reserved. +# Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary # Zoom response A/B harness (issue #310). MEASURES WHAT THE USER SEES, not just Wind's own ticks. # # powershell -ExecutionPolicy Bypass -File tools\zoom_response_ab.ps1 -Label new -Scenario desktop diff --git a/ui/controls.html b/ui/controls.html index adfd9c67..20b2c9de 100644 --- a/ui/controls.html +++ b/ui/controls.html @@ -1,4 +1,6 @@ + diff --git a/ui/index.html b/ui/index.html index 3b9613ba..0caa668e 100644 --- a/ui/index.html +++ b/ui/index.html @@ -1,2 +1,5 @@ -Wind Settings + + +Wind Settings
diff --git a/ui/playwright.config.js b/ui/playwright.config.js index 0213dff4..161d1f8b 100644 --- a/ui/playwright.config.js +++ b/ui/playwright.config.js @@ -1,3 +1,5 @@ +// Copyright (c) 2026 Max Aubert. All rights reserved. +// Proprietary source-available software; see LICENSE. SPDX-License-Identifier: LicenseRef-Wind-Proprietary import { defineConfig } from '@playwright/test'; // Own dev server on its own port, never a reused one: several worktrees of this repo run tests on // this machine, and reusing another checkout's server on 5173 tested the wrong code (13 false diff --git a/ui/preview.html b/ui/preview.html index 7136192c..d2535ef2 100644 --- a/ui/preview.html +++ b/ui/preview.html @@ -1,4 +1,6 @@ + diff --git a/ui/src/App.svelte b/ui/src/App.svelte index b26d001c..206a1bab 100644 --- a/ui/src/App.svelte +++ b/ui/src/App.svelte @@ -1,3 +1,5 @@ +