<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yasl.git/src/common/utf8.c, 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-13T20:41:31+00:00</updated>
<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>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>opt: shrink input event to 48B, pack mouse event to 32B, and shave 2KB off yasl_surface</title>
<updated>2026-10-11T20:35:00+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-11T20:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=5bbcd2c036dd19d3293d9abc4d44014a5108a5ed'/>
<id>urn:sha1:5bbcd2c036dd19d3293d9abc4d44014a5108a5ed</id>
<content type='text'>
- Compact yasl_mouse_event from 36B to 32B (half a cacheline, 0 holes)
- Compact yasl_input_event from 56B to 48B (0 holes)
- Reduce yasl_surface by 2,048 bytes (shaving 32 full cachelines per surface)
- Optimize UTF-8 sanitize with vectorized validation fast-path
- Fast-path MIME prefix match in clipboard transfers
</content>
</entry>
<entry>
<title>core: optimize struct layouts, eliminate branches, and fix event loop dispatch</title>
<updated>2026-10-11T20:27:41+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-11T20:27:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=472ed3e4e50a165638acecaf071ec3c2c13c451f'/>
<id>urn:sha1:472ed3e4e50a165638acecaf071ec3c2c13c451f</id>
<content type='text'>
- Fix Wayland event loop lockout by properly decoupling read arming and adding poll-backed dispatching
- Support standalone display lifecycle without requiring caller to manage a loop
- Eliminate alignment holes across yasl_surface, yasl_display, seat, touch_point, and conn_drag using pahole
- Replace branching state/button decoders with compile-time locked LUTs and branchless bitwise operations
- Accelerate UTF-8 validation with 64-bit word scanning for ASCII runs
</content>
</entry>
<entry>
<title>initial: Yet Another Surface Library (YASL) 0.1.0</title>
<updated>2026-10-11T18:53:42+00:00</updated>
<author>
<name>Berke Güzel</name>
<email>wenekar1@gmail.com</email>
</author>
<published>2026-10-11T18:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.wsap.dev/yasl.git/commit/?id=927ae621c9a3d46dbc401b8e9ea7bbed1bf2e97b'/>
<id>urn:sha1:927ae621c9a3d46dbc401b8e9ea7bbed1bf2e97b</id>
<content type='text'>
A minimal, modern desktop window surface library in C.
Supports Wayland on Linux and Cocoa/Metal on macOS with
presentation timing, fractional scaling, IME, and CSD.
</content>
</entry>
</feed>
