Skip to content

meta: Phase 4 remaining ports (replaces #44) #153

Open
1 of 1 issue completed
Open

Description

@zackees

#44 closed with most of Phase 4 unported. Remaining, in testing-policy.md order:

Moved out: source-profiler.c (core code, #146).

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.

Refs #4, #44

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    enhancement
    port
    on Oct 10, 2026
  2. b7216309-jpg commented on Oct 11, 2026

    @b7216309-jpg
    Contributor

    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.

  3. b7216309-jpg commented on Oct 11, 2026

    @b7216309-jpg
    Contributor

    Claiming platform.c, tracked in 262: six slices (conversions, numbers, files, directories, filenames, time), one PR each, test-first. platform-nix.c and platform-windows.c stay unclaimed.

    Also, the pipe-windows.c box: the port merged as #259, and the Windows Rust-ON link fix is #261. Its Windows Tier 2 is still running.

  4. nathan-v commented on Oct 12, 2026

    @nathan-v
    Contributor

    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.

  5. nathan-v commented on Oct 12, 2026

    @nathan-v
    Contributor

    Claiming: libobs/util/platform-nix.c

    1. 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.
    2. 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.
    3. 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.

    Refs #153

  6. nathan-v commented on Oct 12, 2026

    @nathan-v
    Contributor

    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.

  7. nathan-v commented on Oct 14, 2026

    @nathan-v
    Contributor

    Claiming: platform-windows.c

    Tracked in #703. platform.c stays #262.

  8. nathan-v commented on Oct 14, 2026

    @nathan-v
    Contributor

    Claiming: libobs/util/platform-cocoa.m. Tracked in #744. platform.c stays #262.

  9. nathan-v commented on Oct 21, 2026

    @nathan-v
    Contributor

    Claiming: platform-nix-portal.c, tracked in #1631. Starting with a separate characterization-only PR; the D-Bus fallback remains #1576.

  10. added
    claimed
    on Oct 21, 2026
  11. zackees commented on Oct 21, 2026

    @zackees
    MemberAuthor
  12. removed
    claimed
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementport

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions