Files
mfc/mkdocs.yml
Neo-DesktopandClaude Opus 5.5 3952742dcd port: add a Haiku backend and build for x86_64 Haiku
The portable layer and the library now build for x86_64-unknown-haiku
with the system's clang and a sysroot of Haiku's packages
(SYSROOT=..., STDLIB=). The Interface Kit shows the windows.

- haiku.h, haiku_be.cpp and backend_haiku.cpp: the backend, in two
  halves, as for Cocoa. The BApplication and each BWindow have their
  own threads; they queue the input for the program's thread. A click
  on a disabled window brings its modal dialog to the front.
- GetModuleFileName uses get_next_image_info (no /proc on Haiku), and
  the command line comes from __libc_argv.
- COMn is the nth device in /dev/ports. Haiku's fonts and
  ~/config/settings/libmfc are used.
- Guards for the errno values, SIOCATMARK, RTLD_NOLOAD and the CS5 to
  CS8 values that Haiku does not have or defines differently.
- The shared libraries link libbe, libnetwork and libbsd.
- docs/haiku.md, and the cross-haiku CI job, which builds the
  libraries.

Tested with the D-Modem GUI on Haiku R1/beta6 in QEMU: menus, dialogs,
modal dialogs, the keyboard, moving windows and the serial ports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTJUdomcnCN8okhJSr
Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
2026-11-28 20:06:36 +00:00

42 lines
1.3 KiB
YAML

# The documentation site: https://clang-retro.github.io/mfc/
# Build it with `pip install -r .docs/requirements.txt` and `mkdocs serve`.
INHERIT: .docs/base.yml
site_name: clang-retro MFC
site_description: An independent implementation of the Microsoft Foundation Classes for clang and MinGW-w64
site_url: https://clang-retro.github.io/mfc/
repo_url: https://github.com/clang-retro/mfc
repo_name: clang-retro/mfc
edit_uri: ""
hooks:
- .docs/hooks.py
extra:
retro:
doxygen: .docs/Doxyfile
github: clang-retro/mfc
branch: main
pages:
README.md: index.md
CONTRIBUTING.md: contributing.md
nav:
- "Home": index.md
- "Building": building.md
- "Testing": testing.md
- "What is there": contents.md
- "Differences from Visual C++": differences.md
- "16-bit Windows": win16.md
- "32-bit DOS": dos.md
- "Classic Mac OS": macos-classic.md
- "Mac OS X 10.0 to 10.5": macosx-10.4.md
- "Haiku": haiku.md
- "Screen savers": screensavers.md
- "Software OpenGL": software-opengl.md
- "WinHelp viewer": winhelp.md
- "Win32 SDK samples": sdk-samples.md
- "Plans and layout": plans.md
- "Contributing": contributing.md
- "License": license.md
- API reference: api/index.html
- "All clang-retro projects": https://clang-retro.github.io/