Backend Protocol
dxtr edited this page 2026-10-18 16:15:20 +02:00

Page revisions

9 Commits

Author SHA1 Message Date
bfe6ccaf9c Take the lock with with-window-system-lock
Backend Protocol shows the macro the backend protocol now exports for
taking a window system's lock, with the lock's thread rules, in the text
and in the Wayland backend's outline.
2026-10-18 16:15:20 +02:00
ac87ff7140 Follow cl-windowing's names without the % prefix
Backend Protocol's examples read a Wayland window system's display and
a window's surface through the readers display and surface, as the
backend now names them, and the X11 example's classes give their readers
plain names too.
2026-10-18 16:01:25 +02:00
64bb4b823c Follow cl-windowing's review fixes
open-window-system given no :backend uses the platform's backend,
:win32 on Windows and :wayland elsewhere, since *default-backend* is
gone; no-backend-error's backend is then always a keyword, and its
message for no backend at all is gone too.  The pages that described
the choice say so, and Backend Protocol says where a backend becomes a
platform's default.

Backend Protocol's example takes the lock through sys:with-lock, the
local nickname the backends' packages give cl-windowing/sys, which no
longer reads the environment.  Events and the API reference say that a
program reads events and backends write them, which is what the
exported setf writers of the event's fields are for.
2026-10-18 16:01:10 +02:00
3379406633 Describe dialogs, modal or not 2026-10-17 13:09:56 +02:00
34a4f765fb Run on SBCL only
Getting Started names SBCL as the Lisp and shows one test command;
Backend Protocol says cl-windowing/sys holds what cl-windowing takes
from SBCL.
2026-10-17 04:31:41 +02:00
886cf21d59 cl-windowing on cl-ffi, not cffi
cl-ffi replaces cffi in what this wiki shows: the dependencies, the
examples and the code that differs between Lisps.
2026-10-15 11:37:38 +02:00
9eb2774cd8 Follow cl-windowing 031159f: Windows, popups, input methods, cursors, the clipboard
Add pages for popups, input methods, cursors and pointer modes, the
clipboard and the Win32 backend.  Bring the others up to date: the Win32
backend beside Wayland, fullscreen and set-window-size, copy-event and the
new event fields and types, the new capabilities and conditions, the
protocols the Wayland backend uses now, and the backend protocol's new
generic functions, reporting functions and lock rules.  CI runs the suite
on SBCL only.
2026-10-14 04:26:09 +02:00
6f74048d24 Quote the Wayland backend's process-events as it is 2026-10-11 16:27:51 +02:00
5fe65a3834 Add the Backend Protocol page 2026-10-11 16:27:23 +02:00