From 4020d1b0ccdc428d65e63771e18a26fd80661743 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Tue, 21 Jul 2026 14:02:54 +0000 Subject: [PATCH 53/71] =?UTF-8?q?chore(macos):=20remove=20image-decode=20d?= =?UTF-8?q?ebug=20traces=20=E2=80=94=20frontend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Split from the original commit 40fc5c9b8 (upstream-history split into vendor/frontend layers, 2026-07-21): this half removes the frontend-side decodeImageIO debug traces. The accompanying Screen.cpp trace removal is a vendor-layer edit. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01LzTmVgP2ruMz987VJ78k77 --- src/contour_macos/TerminalSession.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/contour_macos/TerminalSession.cpp b/src/contour_macos/TerminalSession.cpp index c9eb0390..238e9197 100644 --- a/src/contour_macos/TerminalSession.cpp +++ b/src/contour_macos/TerminalSession.cpp @@ -109,15 +109,6 @@ namespace // both correct and strictly more capable than honoring the (advisory) format hint. (void) format; - if (data.size() >= 4) - std::fprintf(stderr, - "decodeImageIO: %zu bytes, magic %02x %02x %02x %02x\n", - data.size(), - data[0], - data[1], - data[2], - data[3]); - CFDataRef cfData = CFDataCreateWithBytesNoCopy( nullptr, data.data(), static_cast(data.size()), kCFAllocatorNull); if (!cfData) @@ -125,10 +116,6 @@ namespace CGImageSourceRef source = CGImageSourceCreateWithData(cfData, nullptr); CGImageRef image = source ? CGImageSourceCreateImageAtIndex(source, 0, nullptr) : nullptr; - std::fprintf(stderr, - "decodeImageIO: source=%p image=%p\n", - (void*) source, - (void*) image); std::optional result; if (image)