Commit Graph
2 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 ff949afc6f feat(legal): NOTICE with the GPLv3 section 7 additional terms, the licence header in every source file, and the documents for people who build, contribute or redistribute (D45, beta.12 PR-1) (#253)
- NOTICE: copyright, GPL-3.0-only, and three additional terms of the kinds section 7 permits - (b) preserve the
  notices and the attribution in the program's legal notices, (c) mark a modified version as different and do not
  call it "FrameLedger" alone, (e) no trademark rights in the name. Shipped as licenses\NOTICE.txt; release.yml
  refuses a published tree without it.
- Section 7 wants additional terms named in the source files: every first-party .cs .cpp .h .inl .ps1 .xaml file
  (1,053; src/native/third_party excluded) opens with the SPDX line and a pointer to NOTICE. tools/notice-check.ps1
  is the gate (six self-test cases, both directions; -Fix writes a missing header) and tools/resx-gen.ps1 generates
  the string accessors with the header.
- The native VERSIONINFO LegalCopyright said GPL-3.0-or-later; it now names the real licence.
- CONTRIBUTING.md, FORKING.md, CODE_OF_CONDUCT.md (Contributor Covenant 2.1 by reference), legal/TRADEMARKS.md.
- 12_BUILD gate list, CLAUDE.md layout and conventions.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 22:16:00 +07:00
poli0981andClaude Fable 5.1 1b523839b2 feat(capture): Chromium-based titles resolve to their GPU process instead of refusing as ambiguous (#104)
Flower in Us (NW.js / RPG Maker) refused as TargetAmbiguous: three Game.exe
processes, one consented image path. The presenting one is Chromium's GPU
process, which owns no window, so no window-based pick is correct -- and
Chromium labels it itself with --type=gpu-process on its command line.

TargetResolver now reads each readable candidate's command line through
NtQueryInformationProcess(ProcessCommandLineInformation) -- served by the
kernel with PROCESS_QUERY_LIMITED_INFORMATION, no ReadProcessMemory, no PEB
walk, the rule-4 line HeldProcessHandle already draws -- and resolves only
when exactly one candidate carries the flag as a whole argument. Two GPU
processes, none, or an unreadable sibling still refuse. §S27 is untouched.

TargetResolverTests drives it against real processes: a uniquely-named copy of
cmd.exe started three times, one with the flag -- copied beside the test binary,
because on the hosted runner Path.GetTempPath() is 8.3-form while the kernel
reports the long image name, and waited for after Kill because the image stays
mapped until the process is gone (both measured on CI 2026-09-03).

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 19:47:46 +07:00