Commit Graph

39 Commits (051f0b7ffbd1b7f476b0aa0fb46636bf8c2fe32e)

Author SHA1 Message Date
Louis Pearson 051f0b7ffb feat: render a string with freetype 2024-02-16 18:20:20 -07:00
Louis Pearson 7fdc7a9dfc feat: add mach-freetype, render a glyph 2024-02-16 17:58:42 -07:00
Louis Pearson f22a9ac2a9 feat: implement framebuffer allocator 2024-02-16 15:11:15 -07:00
Louis Pearson adadca6827 feat: reduce repetition when calling wayland api 2024-02-07 23:34:00 -07:00
Louis Pearson 18a8befacd feat: get touch working 2024-02-07 01:47:13 -07:00
Louis Pearson 76365322f2 remove unneeded stuff 2024-02-07 01:46:49 -07:00
LeRoyce Pearson 025ab53055 copy example 1 -> example 2; simplify example 1 2024-01-30 14:12:50 -07:00
Louis Pearson ab10b7292c feat: append to one buffer instead of allocating many 2024-01-22 00:42:20 -07:00
Louis Pearson e87f718f5d feat: add text editing 2024-01-18 00:51:43 -07:00
Louis Pearson dad4b23cf5 feat: add renderText and renderGradient functions 2024-01-17 20:18:05 -07:00
Louis Pearson fcd58ad7e6 feat: Add font8x8 2024-01-17 20:10:47 -07:00
Louis Pearson ccc90c80ca Remove submodule 2024-01-16 21:19:40 -07:00
Louis Pearson b77c6302ac Add xkb-common 2024-01-16 21:13:00 -07:00
LeRoyce Pearson e39f8e6ec8 feat: handle window resize events 2024-01-16 02:03:35 -07:00
LeRoyce Pearson 3e48488201 feat: set minimum supported xdg_wm_base to v2
River (and wlroots compositors in general) only support v2 of xdg_wm_base.
The most notable addition seems to be popups, which zig-wayland-wire is
not using ATM.
2024-01-16 01:26:39 -07:00
LeRoyce Pearson b46131a80a fix: return error if a global's version is outdated 2024-01-16 01:26:39 -07:00
LeRoyce Pearson 1d5a5b3265 feat: update to zig 0.12.0-dev.2058+04ac028a2 build changes 2024-01-16 01:26:39 -07:00
Louis Pearson a7128eaf34 feat: recieve file descriptors
Feels super hacky, but I'm not sure there is a better way to handle
it. The crux of the problem is that wayland does not seem to make any
guarantees about the location of file descriptors.
2024-01-16 00:57:31 -07:00
Louis Pearson 7a9e12abf8 feat: transparently send fds 2024-01-15 22:15:29 -07:00
Louis Pearson ea4a75cc76 feat: add wayland.Conn 2024-01-15 20:40:50 -07:00
Louis Pearson 6559e124a7 feat: add registerGlobals 2024-01-15 13:07:18 -07:00
Louis Pearson 847051ebc3 feat: add seat, wl_pointer, wl_keyboard 2024-01-15 02:22:40 -07:00
Louis Pearson 10475dd036 feat: add zxdg, decoration manager 2024-01-15 00:36:55 -07:00
Louis Pearson c4c0880eff feat: example 01: commit after configure, respond to ping 2024-01-14 23:25:01 -07:00
LeRoyce Pearson 4a8254cca6 Edit example 00_client_connect for part 2 of Wayland from the Wire
https://zig.news/leroycep/wayland-from-the-wire-part-2-1gb7
2023-12-19 13:59:52 -07:00
LeRoyce Pearson c3ca5aa772 Introduce read and write abstractions earlier 2023-12-18 13:47:49 -07:00
LeRoyce Pearson 0042b56b93 Add README 2023-12-18 12:17:04 -07:00
LeRoyce Pearson 50a9774a07 Rewrite example 01 as standalone example
This example is meant to demonstrate how one can write a wayland client
without any libraries.
2023-12-18 12:01:28 -07:00
LeRoyce Pearson 13b0ea6a6f Replace custom code in example with `deserialize` 2023-08-12 17:41:36 -06:00
LeRoyce Pearson 1542a95499 Rewrite core protocol structs to be more concise 2023-08-12 17:40:48 -06:00
LeRoyce Pearson 47c57a5b87 Explicitly handle case where not all globals exist 2023-08-12 17:28:33 -06:00
LeRoyce Pearson e66fbb225b Add IdPool helper 2023-08-10 19:43:49 -06:00
LeRoyce Pearson f00806d7f6 Add support for serializing single enums 2023-08-10 19:27:47 -06:00
LeRoyce Pearson 6bdc230417 Add support for parsing standalone enum fields 2023-08-10 19:24:32 -06:00
LeRoyce Pearson 8878108c6f Change generated image to green-blue gradient 2023-08-10 19:23:36 -06:00
LeRoyce Pearson d224b186a2 Remove single pixel buffer from example client 2023-08-10 19:23:00 -06:00
LeRoyce Pearson 846f81b838 Add support for reading arrays from messages 2023-08-10 18:51:32 -06:00
LeRoyce Pearson 8b50eeb7eb Get client rendering a window with low-level code 2023-08-10 14:30:34 -06:00
LeRoyce Pearson 00dd8167ae Create example of connecting to a wayland server 2023-08-08 23:47:01 -06:00