Commit graph

57 commits

Author SHA1 Message Date
0f30f9eca6 cmake: bump ver to 0.3.10 2024-06-07 20:28:26 +02:00
46faf3edc2 source: ignore send... requests when resource is null 2024-06-07 14:35:18 +02:00
f84ca21ed8 core: set resource to nullptr in onDestroyCalled
if the consumer does not free this resource within onDestroy, we'd be doing a UAF later in the ~dtor
2024-06-07 11:04:54 +02:00
b06c0b8e56 cmake: bump ver to 0.3.9 2024-06-01 17:15:19 +02:00
89b337424b source: set user data after checks 2024-05-31 18:32:08 +02:00
6fdc0ceac9 core: fix external type usage 2024-05-29 22:31:08 +02:00
24cf55c957 core: forward declare all used ifaces 2024-05-29 22:25:22 +02:00
3afed43647 core: avoid uaf in resource_set_user_data 2024-05-18 19:52:55 +01:00
f5181a068c cmake: bump ver to 0.3.8 2024-05-16 18:14:23 +01:00
Yaroslav
65c2636484
cmake: add hpp header as target dependency (#4)
target should depend on protoName.hpp otherwise it'll be a build error
in case of deletion of this file
2024-05-13 14:56:29 +01:00
e1e94b12d5 core: support null strings 2024-05-12 16:37:43 +01:00
1281c1ed53 core: avoid calling inert parents 2024-05-11 16:56:52 +01:00
9eeabde74a cmake: bump ver to 0.3.7 2024-05-10 23:48:05 +01:00
9ca975c910 core: add --wayland-enums and raw events 2024-05-10 17:52:18 +01:00
e2fc1c0eb8 cmake: bump ver to 0.3.6 2024-05-09 21:43:43 +01:00
232fa45d54 core: fix usage of reserved C++ types 2024-05-09 21:16:32 +01:00
94e32ec37e cmake: bump ver to 0.3.5 2024-05-07 15:09:46 +01:00
6119dc2a96 core: fix protocol types in events sometimes unrecognized 2024-05-07 14:26:05 +01:00
1270ebaa53 cmake: bump ver to 0.3.4 2024-05-03 17:59:02 +01:00
3940d97f16 core: fix interfaces with since= attributes 2024-05-03 17:37:58 +01:00
c8c2151c60 header: use formatting for ::error() 2024-05-01 19:55:49 +01:00
9e7a3b3139 README: better build instructions 2024-05-01 19:20:02 +01:00
6ae6cd97e8 cmake: bump version to 0.3.3 2024-05-01 19:16:39 +01:00
f1050d83a2 core: fix misused boolean 2024-05-01 19:15:35 +01:00
c14dd732ff header: include <string> 2024-05-01 19:13:45 +01:00
9ab8ea2d62 core: don't overwrite files if they are the same 2024-05-01 19:12:10 +01:00
43d27dae69 headers: add misc useful functions 2024-05-01 19:12:10 +01:00
Yaroslav
672a965162
CMake: add version to install files (#2) 2024-04-29 22:02:06 +03:00
Yaroslav
abbade08f1
cmake: add hyprwayland-scanner-config (#1)
This allows us to add wayland protocol dependencies to other cmake-based
projects with minimum extra code.

Example:

find_package(hyprwayland-scanner REQUIRED)
add_executable(target main.c)
hyprwayland_protocol(
    target
    "linux-dmabuf-v1"
    "${WAYLAND_PROTOCOLS}/linux-dmabuf/"
    "${CMAKE_SOURCE_DIR}/protocols"
)
2024-04-28 13:48:42 +01:00
126dad854f cmake: bump ver to 0.3.2 2024-04-26 23:46:19 +01:00
4eb457b3f7 core: add support for nullable objects 2024-04-26 23:45:55 +01:00
1cfe2d26a8 cmake: bump ver to 0.3.1 2024-04-24 21:08:38 +01:00
e60b1bb9a1 source: fix including ->pResource under non-new_id resources 2024-04-24 21:08:28 +01:00
1c9ed159e1 cmake: bump ver to 0.3.0 2024-04-24 16:35:18 +01:00
066c24549f core: fix new_id types in events 2024-04-24 15:46:14 +01:00
a0263ab9fc cmakelists: bump ver to 0.2.0 2024-04-22 10:22:45 +01:00
7c9c8adfe7 core: fix missing interfaces 2024-04-21 21:13:44 +01:00
6c4c47329f headers: make enum names more verbose to avoid conflicts 2024-04-21 20:39:44 +01:00
9e13e09152 core: remove destroy listener after fired 2024-04-20 14:26:26 +01:00
7f6cc01d02 README: add todo 2024-04-20 14:24:05 +01:00
eb11420c02
flake.nix: update version 2024-04-20 15:34:22 +03:00
a879863993 README: add deps 2024-04-20 13:27:49 +01:00
f58a3f56e8
flake.nix: fix typo 2024-04-20 14:26:34 +03:00
ff38e27d86
add pkg-config file 2024-04-20 13:56:27 +03:00
b6a9bb8ef0
CI: init 2024-04-20 13:41:53 +03:00
516cf4ef20
Nix: init 2024-04-20 13:40:18 +03:00
80c764615c handlers: avoid sending useless props 2024-04-20 03:47:26 +01:00
d89eea7cd8 enum: use iface name as well if available 2024-04-20 03:32:32 +01:00
871bc88284 scanner: add support for enums 2024-04-20 03:13:12 +01:00
138764555c headers: declare extern interfaces 2024-04-20 02:49:56 +01:00