Repository navigation
Rename the happy-eyeballs and text-freetype2 host files to hosts/<os> - #1066
Conversation
Part of #1009 (one naming rule for host-specific code, /hosts?[/-](windows|macos|linux|posix)[/.]): - shared/happy-eyeballs/platform/{windows,posix}/ -> hosts/{windows,posix}/ - plugins/text-freetype2/text-freetype2-platform-{windows,cocoa,unix}.c -> text-freetype2-host-{windows,macos,posix}.c (the unix file is Linux/FreeBSD/OpenBSD, i.e. posix), text-freetype2-platform.h -> text-freetype2-host.h Renames and the references to them only (CMake, includes, comments, the test wiring, a ci_scope test path); no code change. The ratchet's windows/macos/posix tokens still bless the new names. Refs #1009
966cb05 to
44d4e67
Compare
|
Rebased onto master (after #1062). No textual conflicts. One semantic break: #1016's test_text_freetype2_bundled_font still referenced the old text-freetype2-platform-unix.c and text-freetype2-platform.h. Updated its cmake source path and include to the renamed -host-posix.c / -host.h (pure rename, same as the existing platform test edit). ./lint passes. |
|
On hold (dequeued, back to draft): #1051's final plan ("Plan changed (2026-10-16)") drops the |
|
Correction to my comment above: this PR had already merged (11:07:42Z) before I tried to dequeue it, so nothing was dequeued or moved to draft; I didn't check its state first. The open question stands on #1009: if #1051's plan change means |
|
Resolved (maintainer decision, 2026-10-17): the policy is |
Refs #1009 (the slice claimed there: the two C facades added this week, so they don't become legacy names).
shared/happy-eyeballs/platform/{windows,posix}/→hosts/{windows,posix}/(the CMake include directory and header list follow)plugins/text-freetype2/text-freetype2-platform-{windows,cocoa,unix}.c→text-freetype2-host-{windows,macos,posix}.c(theunixfile is Linux/FreeBSD/OpenBSD, i.e.posix);text-freetype2-platform.h→text-freetype2-host.hRenames (
git mv) and the references to them only: CMake, includes, comments, thetest_text_freetype2_platform/test_text_aa_filewiring, and one example path inci/test_ci_scope.py(still maps to the windows lane). No code change. The current ratchet tokens (windows/macos/posix) bless the new names, and they match the/hosts?[/-](windows|macos|linux|posix)[/.]rule from #1009.Local:
./lintok (rc 0), ratchet ok,ci/test_ci_scope.py27/27; Tier 2 OFF:test_happy_eyeballs,test_happy_eyeballs_gai_error,test_text_aa_file,test_text_freetype2_platformpass. The run hittest_async_delay_audio(#838) and stopped before ON; PR CI runs both.ci-fullis set so Windows and macOS compile the renamed files.