You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
platform-nix.c (+ dbus/portal) and platform-windows.c, per OS
threading-posix.c / threading-windows.c, together, reusing the Rust os_event/os_sem from the task port instead of a second implementation; after platform.c
Rules: per-OS files are ported per OS; threading/task tests must pass 100 consecutive runs; no sleeps. Open one port issue per item when someone is ready to claim it.
Claiming pipe-windows.c. I'm on Windows and can build and run the C side locally with MSVC, plus Windows CI as the gate. Plan, following the pipe-posix port (#78): C characterization test first, then RED, then GREEN, with a parity test against the oracle. I'll open a port issue to track it.
Tracked in #356. Windows file is ported here; POSIX is already swapped and will be re-checked on macOS. platform.c (#262) stays yours. Please add the claimed label on #356; I cannot.
RED: Tier 1 ports of the test_platform cases that call this file (file_exists, unlink, mkdir, rename, safe_replace, opendir/readdir, get_abs_path) against todo!() stubs.
GREEN: safe core in obs_util::platform::unix, C shims for every symbol this file defines, Tier 3 parity against the C oracle for the filesystem calls, ENABLE_RUST_LIBOBS drops util/platform-nix.c on macOS, Linux, and FreeBSD.
platform-nix-dbus.c and platform-nix-portal.c stay C. GIO_FOUND is not a compile definition, so os_inhibit_sleep_* uses the xdg-screensaver path and calls those files the same way. Separate PRs. platform.c (port: util/platform.c to obs-util #262) and platform-windows.c stay untouched. test_platform.c is not edited.
First commit today. Please add the claimed label; I cannot.
platform-nix.c is ported. dbus and portal stay C. platform.c stays #262. platform-windows.c stays unclaimed.
Differences from the C file, also in the parity header and rust/README.md: os_opendir copies the path. Null pointers that would crash return an error or null. Glob paths are copies freed by os_globfree. os_dir, os_cpu_usage_info, and os_inhibit_info are Box values. The inhibit worker is a Rust thread, and a failed spawn is not joined. Core-count and total-memory caches take a mutex. A missing $HOME still bcrashes in the shim. FreeBSD total memory reads hw.physmem.
Activity
obs-util/task: reuse threading's Event and native Sem (one impl, obs-…
b7216309-jpg commentedon Oct 11, 2026
Claiming
pipe-windows.c. I'm on Windows and can build and run the C side locally with MSVC, plus Windows CI as the gate. Plan, following the pipe-posix port (#78): C characterization test first, then RED, then GREEN, with a parity test against the oracle. I'll open a port issue to track it.b7216309-jpg commentedon Oct 11, 2026
Claiming
platform.c, tracked in 262: six slices (conversions, numbers, files, directories, filenames, time), one PR each, test-first.platform-nix.candplatform-windows.cstay unclaimed.Also, the
pipe-windows.cbox: the port merged as #259, and the Windows Rust-ON link fix is #261. Its Windows Tier 2 is still running.obs-util/task: reuse threading's Event and native Sem (one impl, obs-…
nathan-v commentedon Oct 12, 2026
Claiming: threading-posix.c / threading-windows.c
Tracked in #356. Windows file is ported here; POSIX is already swapped and will be re-checked on macOS. platform.c (#262) stays yours. Please add the claimed label on #356; I cannot.
nathan-v commentedon Oct 12, 2026
Claiming: libobs/util/platform-nix.c
test_platformcases that call this file (file_exists,unlink,mkdir,rename,safe_replace,opendir/readdir,get_abs_path) againsttodo!()stubs.obs_util::platform::unix, C shims for every symbol this file defines, Tier 3 parity against the C oracle for the filesystem calls,ENABLE_RUST_LIBOBSdropsutil/platform-nix.con macOS, Linux, and FreeBSD.platform-nix-dbus.candplatform-nix-portal.cstay C.GIO_FOUNDis not a compile definition, soos_inhibit_sleep_*uses thexdg-screensaverpath and calls those files the same way. Separate PRs.platform.c(port: util/platform.c to obs-util #262) andplatform-windows.cstay untouched.test_platform.cis not edited.First commit today. Please add the claimed label; I cannot.
Refs #153
nathan-v commentedon Oct 12, 2026
PR: #403
platform-nix.c is ported. dbus and portal stay C. platform.c stays #262. platform-windows.c stays unclaimed.
Differences from the C file, also in the parity header and rust/README.md: os_opendir copies the path. Null pointers that would crash return an error or null. Glob paths are copies freed by os_globfree. os_dir, os_cpu_usage_info, and os_inhibit_info are Box values. The inhibit worker is a Rust thread, and a failed spawn is not joined. Core-count and total-memory caches take a mutex. A missing $HOME still bcrashes in the shim. FreeBSD total memory reads hw.physmem.
nathan-v commentedon Oct 14, 2026
Claiming: platform-windows.c
Tracked in #703. platform.c stays #262.
nathan-v commentedon Oct 14, 2026
Claiming: libobs/util/platform-cocoa.m. Tracked in #744. platform.c stays #262.
nathan-v commentedon Oct 21, 2026
Claiming: platform-nix-portal.c, tracked in #1631. Starting with a separate characterization-only PR; the D-Bus fallback remains #1576.
zackees commentedon Oct 21, 2026
platform-nix-dbus.c.h): rust: Port util/platform-nix-dbus.c to obs-util #1576, merged in rust: Port session D-Bus sleep inhibitor to obs-util #1577 (02428da). Final PR CI Gate, Linux OFF/ON Tier 2, and Windows Tier 2 passed. The broader platform-nix/portal checklist item remains incomplete.