Merge branch 'master' into hotfix

This commit is contained in:
project-repo 2023-01-09 18:50:33 +01:00
commit 0745a5cbac
22 changed files with 40 additions and 13 deletions

10
Bugs.md
View file

@ -1110,3 +1110,13 @@ Under these circumstances Cagebreak did not quit right after startup.
* Fixed: 2.0.0
Cagebreak did not build with wlroots 0.16.1 and this was adjusted.
## Issue 54
* github issue numer: #36
* Fixed: 2.0.1
Cagebreak was not compatible with clang 15 and POSIX which was causing issues
with building under FreeBSD.
Thanks to Jan Beich for pointing this out and providing a PR.

View file

@ -1,5 +1,23 @@
# Hashes
2.0.1 cagebreak
* sha 256: 3d7cdf511976248614617b1738246a3c5fa94543838e798c0c3a9aec325027b9
* sha 512: 3b584e7a124e8b32b9d6584e82d256ca4a0b8c30423efc4678c8991d7a6f9b43edd29967eda7be6284e3583209e607b14d88e8ec65b19706849d0263a3188852
2.0.1 cagebreak.1
* sha 256: bb93d7d3af98b4b14a5b6968065ded51ad5006e6d81736ee1806ee62a99a137e
* sha 512: 90e8d4c5628cc556001da3b96194c5649cc948389697c4c70e10e5e259ce6a52150c6231b2fb9009d2834d52b64c0ebc5896403b9fd0c584d4c873e45846250f
2.0.1 cagebreak-config.5
* sha 256: 1870c1274848e6535edda170ec0349befb2aa78bc812c56bdc66df99600c86f0
* sha 512: 4b546e77a722375cc6fd22562f3b4724e5cccc0907a935db5854fa4fe2a0eef16adbd2e7e2b35b023ac9609e5d97a341d62ade730c76acd6b3f80ba6f65d8a24
2.0.1 cagebreak-socket.7
* sha 256: 1276c37af5cf32276b2f5bcb3f13d4d00c9a7957ef4d51cb2fa62d2fc3643c6f
* sha 512: 60b38a0b43d2a0d5026ecf2ec660538cd384b5a2e84f7a1a41ac916e67de54ae7a55e45492ed5654d3f248e1d6693ba7c4d596987b03082841a4c3c953c57846
2.0.0 cagebreak
* sha 256: 45f88abdae03bbc7dad5734dd6fb1a00e1bf37d3e0c4016dad2fa3de832335cf

View file

@ -1,6 +1,6 @@
# Cagebreak: A Wayland Tiling Compositor
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6532/badge)](https://bestpractices.coreinfrastructure.org/projects/6532) [![Packaging status](https://repology.org/badge/tiny-repos/cagebreak.svg)](https://repology.org/project/cagebreak/versions) [![AUR package](https://repology.org/badge/version-for-repo/aur/cagebreak.svg?minversion=2.0.0)](https://repology.org/project/cagebreak/versions)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6532/badge)](https://bestpractices.coreinfrastructure.org/projects/6532) [![Packaging status](https://repology.org/badge/tiny-repos/cagebreak.svg)](https://repology.org/project/cagebreak/versions) [![AUR package](https://repology.org/badge/version-for-repo/aur/cagebreak.svg?minversion=2.0.1)](https://repology.org/project/cagebreak/versions)
## Quick Introduction

View file

@ -1,7 +1,6 @@
// Copyright 2020 - 2023, project-repo and the cagebreak contributors
// SPDX -License-Identifier: MIT
#define _POSIX_C_SOURCE 200812L
#define _DEFAULT_SOURCE
#include "config.h"

View file

@ -89,7 +89,7 @@ input_manager_handle_device_destroy(struct wl_listener *listener, void *data) {
}
struct cg_input_config *
input_manager_create_empty_input_config() {
input_manager_create_empty_input_config(void) {
struct cg_input_config *cfg = calloc(1, sizeof(struct cg_input_config));
if(cfg == NULL) {
return NULL;

View file

@ -16,7 +16,7 @@ input_manager_handle_device_destroy(struct wl_listener *listener, void *data);
uint32_t
input_manager_get_mouse_button(const char *name, char **error);
struct cg_input_config *
input_manager_create_empty_input_config();
input_manager_create_empty_input_config(void);
struct cg_input_config *
input_manager_merge_input_configs(struct cg_input_config *cfg1,
struct cg_input_config *cfg2);

View file

@ -1,7 +1,6 @@
// Copyright 2020 - 2023, project-repo and the cagebreak contributors
// SPDX -License-Identifier: MIT
#define _POSIX_C_SOURCE 200112L
#define _DEFAULT_SOURCE
#include "ipc_server.h"

View file

@ -126,7 +126,7 @@ keybinding_list_push(struct keybinding_list *list,
}
struct keybinding_list *
keybinding_list_init() {
keybinding_list_init(void) {
struct keybinding_list *list = malloc(sizeof(struct keybinding_list));
list->keybindings = malloc(sizeof(struct keybinding *));
list->capacity = 1;

View file

@ -133,7 +133,7 @@ struct keybinding **
find_keybinding(const struct keybinding_list *list,
const struct keybinding *keybinding);
struct keybinding_list *
keybinding_list_init();
keybinding_list_init(void);
int
run_action(enum keybinding_action action, struct cg_server *server,

View file

@ -1,4 +1,4 @@
cagebreak-config(5) "Version 2.0.0" "Cagebreak Manual"
cagebreak-config(5) "Version 2.0.1" "Cagebreak Manual"
# NAME

View file

@ -1,4 +1,4 @@
cagebreak-socket(7) "Version 2.0.0" "Cagebreak Manual"
cagebreak-socket(7) "Version 2.0.1" "Cagebreak Manual"
# NAME

View file

@ -1,4 +1,4 @@
cagebreak(1) "Version 2.0.0" "Cagebreak Manual"
cagebreak(1) "Version 2.0.1" "Cagebreak Manual"
# NAME

View file

@ -3,7 +3,7 @@
project(
'cagebreak',
'c',
version : '2.0.0',
version : '2.0.1',
license : 'MIT',
default_options : ['c_std=c11', 'warning_level=3']
)
@ -11,6 +11,7 @@ default_options : ['c_std=c11', 'warning_level=3']
add_project_arguments(
[
'-DWLR_USE_UNSTABLE',
'-Werror=implicit-function-declaration',
'-Wundef',
'-Wno-unused-parameter',
],
@ -258,7 +259,7 @@ install_data('examples/config', install_dir : '/etc/xdg/cagebreak')
if get_option('man-pages')
scdoc = find_program('scdoc')
secssinceepoch = 1673193959
secssinceepoch = 1673282376
shcommand = 'export SOURCE_DATE_EPOCH=' + secssinceepoch.to_string() + ' ; @0@ < @INPUT@'.format(scdoc.path())
sh = find_program('sh')
mandir1 = join_paths(get_option('mandir'), 'man1')

View file

@ -332,7 +332,7 @@ output_apply_config(struct cg_server *server, struct cg_output *output,
}
struct cg_output_config *
empty_output_config() {
empty_output_config(void) {
struct cg_output_config *cfg = calloc(1, sizeof(struct cg_output_config));
if(cfg == NULL) {
wlr_log(WLR_ERROR, "Could not allocate output configuration.");

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.