<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yasl.git/tests/helpers, branch main</title>
<subtitle>[no description]</subtitle>
<id>https://git.wsap.dev/yasl.git/atom?h=main</id>
<link rel='self' href='https://git.wsap.dev/yasl.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/'/>
<updated>2026-10-14T11:07:58+00:00</updated>
<entry>
<title>Test pre-init public API, header portability and integration requests</title>
<updated>2026-10-14T11:07:58+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-14T11:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=04616d5cff135a3f2fa0dcd99c3d756b67312daa'/>
<id>urn:sha1:04616d5cff135a3f2fa0dcd99c3d756b67312daa</id>
<content type='text'>
Add tests/common/test_public_api.c: before yasl_init, argument errors are reported first, owner-thread calls fail with ENODEV, queries return their documented fallbacks, yasl_drop_next_path parses a crafted text/uri-list, yasl_get_system_string follows its length and NUL rules, and yasl_wake is a no-op with no display.

Build tests/test_header_c11.c as strict C11 and C17 with -pedantic-errors.

Extend the surface integration test, run on weston and Xwayland, with title, window requests, bell, desktop queries, drag cancel, input-less move/menu/drag calls, a popup (its parent's destroy must also remove it, checked through the display's surface list), and a clipboard round trip.

Run tests/x11/test_input.c in the X11 phase of run_surfaces.py through an optional trailing argument.

Co-Authored-By: Claude Haiku 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Remove deprecated Cocoa OpenGL and private compatibility APIs</title>
<updated>2026-10-14T06:38:31+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>berke.guzel@gdh.digital</email>
</author>
<published>2026-10-14T06:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=5ef6ca21ab9e1cf4f69254234d190a634b777d52'/>
<id>urn:sha1:5ef6ca21ab9e1cf4f69254234d190a634b777d52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reconnect to a restarted Wayland compositor</title>
<updated>2026-10-13T20:52:22+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-13T20:52:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=563b23a33726289387193b85d90fb569631ee05f'/>
<id>urn:sha1:563b23a33726289387193b85d90fb569631ee05f</id>
<content type='text'>
Windows now outlive the compositor. On connection loss YASL sends
DISPLAY_LOST instead of closing every window, retries the connection on
a loop timer, rebuilds each toplevel with its title, size, state and GL
context, and sends DISPLAY_RESTORED. CPU windows keep their pixels;
GPU renderers drop Vulkan surfaces and GL objects on loss and rebuild
them on restore.

- Free the dead connection's objects on the next wait, after the
  application has released GPU objects built on them.
- Report a lost connection as an event rather than a failed wait.
- Refuse window and Vulkan surface creation while offline with the new
  YASL_ERROR_DISCONNECTED.
- Close popups, cancel drags and fail pending clipboard requests on loss.
- Print only protocol errors, not ordinary disconnects.
- Examples survive a restart; game.c rebinds its GL context.
- Add an end-to-end test that kills Weston under CPU, GL and Vulkan
  windows and requires them to recover.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Simplify the public event and CPU API</title>
<updated>2026-10-13T20:41:31+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-13T20:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=76073fe5fad8799e5850805f2f090af2cb62c741'/>
<id>urn:sha1:76073fe5fad8799e5850805f2f090af2cb62c741</id>
<content type='text'>
Applications now need far less ceremony: hello.c is a 20-line loop that
handles REFRESH, CLOSE and QUIT and draws into the surface's own pixels.

- Fold GEOMETRY, STATE and FOCUS into one WINDOW event carrying size,
  scale and state; unchanged values send nothing.
- Guarantee REFRESH once a window has a size and after every resize,
  never at size zero.
- Merge DROP_HOVER into DROP with over/leave/data actions and give drag
  and drop actions enums.
- Keep event strings valid until the next wait and drop
  yasl_event_release; empty or failed waits report NONE.
- Replace copy-in presentation with a lent pixel buffer:
  yasl_cpu_pixels and yasl_cpu_present.
- Remove yasl_poll_event, yasl_cpu_read_pixels, unused event fields and
  comments that restated names.
- Wayland: resize floating windows in request_size instead of reporting
  it unsupported, and stop marking new GPU surfaces as Vulkan so
  yasl_vulkan_create_surface no longer fails with NATIVE_WINDOW_IN_USE.

Also includes the in-progress public API refactor that was uncommitted
in the tree (removal of the app/loop layer, new surface, GL and Vulkan
entry points).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>public api refactor</title>
<updated>2026-10-13T18:23:03+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-13T18:23:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=dd1775a9927922c14f8679ccbc4d3ca8d5917e20'/>
<id>urn:sha1:dd1775a9927922c14f8679ccbc4d3ca8d5917e20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unify core and runner events into struct yasl_event</title>
<updated>2026-10-13T12:41:39+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-13T12:41:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=537b2d768b31deb0f95c5122e0d562e4406ae9a0'/>
<id>urn:sha1:537b2d768b31deb0f95c5122e0d562e4406ae9a0</id>
<content type='text'>
The core input queue and the yasl_run() runner each had their own event
type, and the runner translated one into the other. Both now share
struct yasl_event in &lt;yasl/yasl.h&gt;: yasl_surface_poll_event() returns the
same events the app event callback receives, so the runner forwards them
unchanged.

Pointer input becomes POINTER_DOWN/UP/MOTION/SCROLL/LEAVE with a named
yasl_pointer_button and a motion delta computed in the input queue. TEXT,
PASTE and DROP share one text payload, scale changes fold into
WINDOW_RESIZE, and every event carries a monotonic time_ns.
yasl_surface_set_mouse_mode() is replaced by
yasl_surface_set_pointer_mode(); no backend implements relative mode yet.

The export check now only counts YASL_API declarations, so function
pointer fields returning enum yasl_app_result are not mistaken for
exports.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Simplify surface state, examples, and library installation</title>
<updated>2026-10-13T12:05:06+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-13T12:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=98f0d51157fa2a2b8ccaae54ed4850a88d223d01'/>
<id>urn:sha1:98f0d51157fa2a2b8ccaae54ed4850a88d223d01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>better public interface and doxygen</title>
<updated>2026-10-12T19:12:02+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-12T19:12:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=94c5e361fbb229b0cd6853e2102a7d95f1f358b3'/>
<id>urn:sha1:94c5e361fbb229b0cd6853e2102a7d95f1f358b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add type-safe native platform headers and portable drag support</title>
<updated>2026-10-12T07:53:22+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-12T07:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=5206933399775e5ff46baefbbb3a776c2a9bb84c'/>
<id>urn:sha1:5206933399775e5ff46baefbbb3a776c2a9bb84c</id>
<content type='text'>
- Add include/yasl/native/{wayland,cocoa,x11}.h with type-safe handle accessors.
- Unify drag-and-drop and window carry support across Wayland, X11, and Cocoa.
- Preserve full ABI compatibility for capability flags.
- Install native headers conditionally based on enabled backend.
- Include missing tablet example and backend test suites.
</content>
</entry>
<entry>
<title>cursor hidden and tablet support</title>
<updated>2026-10-12T07:17:33+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-12T07:17:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=881fb6cb1d64868132287bd9637f4ae1cbc3504c'/>
<id>urn:sha1:881fb6cb1d64868132287bd9637f4ae1cbc3504c</id>
<content type='text'>
</content>
</entry>
</feed>
