Commit graph

16 commits

Author SHA1 Message Date
project-repo
d1ae07ef5a Adapt to 2024. 2024-01-01 01:07:15 +01:00
project-repo
00610801ba Apply clang-format 2023-08-17 20:30:28 +02:00
Oliver Friedmann
96501911e4
fix: calibration matrix (#49)
Authored-by: Oliver Friedmann
2023-08-17 19:48:02 +02:00
project-repo
b32659963c Fix SPDX-License-Identifier typo 2023-02-02 10:41:24 +01:00
Jan Beich
9ad7c921d6
Unbreak build on FreeBSD (#37)
* Disable POSIX compliance when using reallocarray

cagebreak.c:197:11: warning: implicit declaration of function 'reallocarray' is invalid in C99 [-Wimplicit-function-declaration]
                        line = reallocarray(line, line_length, sizeof(char));
                               ^
cagebreak.c:197:9: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
                        line = reallocarray(line, line_length, sizeof(char));
                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipc_server.c:248:25: warning: implicit declaration of function 'reallocarray' is invalid in C99 [-Wimplicit-function-declaration]
                client->read_buffer = reallocarray(client->read_buffer,
                                      ^
ipc_server.c:248:23: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
                client->read_buffer = reallocarray(client->read_buffer,
                                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Promote -Wimplicit-function-declaration to -Werror

To help find bugs caused by _POSIX_C_SOURCE. Already errors in C++ and C23.

* Fix -Wstrict-prototypes, default in Clang >= 15

In file included from output.c:30:
keybinding.h:136:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
keybinding_list_init();
                    ^
                     void
output.c:335:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
empty_output_config() {
                   ^
                    void
In file included from seat.c:29:
input_manager.h:19:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
input_manager_create_empty_input_config();
                                       ^
                                        void
input_manager.c:92:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
input_manager_create_empty_input_config() {
                                       ^
                                        void
keybinding.c:129:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
keybinding_list_init() {
                    ^
                     void

See also
11da1b53d8
https://discourse.llvm.org/t/rfc-enabling-wstrict-prototypes-by-default-in-c/60521
2023-01-09 17:20:24 +01:00
project-repo
48f3a749aa Adjust copyright/licenso info to SPDX standard and 2023 2023-01-07 23:37:06 +01:00
project-repo
d017f53a25 Apply clang-format 2023-01-06 19:10:48 +01:00
project-repo
4e1c085568 Make compatible with wlroots 0.16 2023-01-05 18:42:23 +01:00
project-repo
18e6569712 Add support for customizing keyboard repeat info 2022-12-30 07:42:23 +01:00
project-repo
52195268e6 Implement keyboard configuration
- Allow disabling command interpretation for specific keyboards
2022-12-27 14:50:52 +01:00
project-repo
39505dc8b2 Fix grouping of virtual keyboards 2022-12-25 15:09:25 +01:00
project-repo
ebe4826d12 Fix bugs reported by scan-build 2022-09-30 18:28:49 +02:00
Cagebreak Signing Key 7
816fdeb953 Update year in copyright notices 2021-12-06 11:08:21 +01:00
project-repo
e684a81efb Apply clang-format 2021-09-16 14:31:20 +02:00
project-repo
f9efd40c9d Implement libinput device configuration 2021-09-15 08:37:50 +02:00
project-repo
985b5f65db Add input_manager capabilities 2021-09-11 13:48:08 +02:00