Commit graph

697 commits

Author SHA1 Message Date
project-repo
0ee4e286b9 Add Bugs.md description for some issues
- #37
- two npds
2023-02-02 21:03:10 +01:00
project-repo
2dc27c4b21 Merge remote-tracking branch 'origin/development' into development 2023-02-02 20:42:33 +01:00
project-repo
73fcbbf142 Change some output from stderr to stdout 2023-02-02 20:37:42 +01:00
project-repo
15590ab39a Fix npd 2023-02-02 20:22:16 +01:00
project-repo
0ccbd554d3 Fix potential npd 2023-02-02 20:18:48 +01:00
project-repo
b32659963c Fix SPDX-License-Identifier typo 2023-02-02 10:41:24 +01:00
project-repo
d7f58ce07f Adjust reproducible build versions 2023-02-02 10:38:57 +01:00
project-repo
d6c07d1443 Adjust version numbers 2023-02-02 10:37:53 +01:00
project-repo
b63fa48f30 Improve release procedure 2023-02-02 10:36:52 +01:00
project-repo
7102d3ee96 Add more explicit license info to README 2023-02-02 10:36:29 +01:00
project-repo
a9d5db0254 Update LICENSE date 2023-02-02 10:36:02 +01:00
project-repo
e3f637b173 Merge branch 'master' into development 2023-01-09 18:50:01 +01:00
project-repo
3d86ea36b6 Release 2.0.1 2.0.1
Changelog:
  * Fix Issue 54 (#37 on github)
    * Cagebreak did not compile on BSD systems and falsely claimed
      to be POSIX compliant.
2023-01-09 18:48:19 +01:00
project-repo
fc10010021 Prepare 2.0.1 release 2023-01-09 18:47:14 +01:00
project-repo
a5749888e0 Adjust versions for release 2.0.1 2023-01-09 17:45:31 +01:00
project-repo
b291f59d54 Add Issue 54 (#36) 2023-01-09 17:34:44 +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
39b45be3df Merge branch 'master' into development 2023-01-08 22:12:41 +01:00
project-repo
6dbcb7eda9 Release 2.0.0 2.0.0
This is a major release and includes BREAKING changes!

Breaking Changes:
  * More intuitive switch of focus, next, prev and exchange (#20, 40 in Bugs.md)
    Cagebreak will probably still feel broadly the same though.
  * Remove -r flag - This is replaced by output configuration.
  * Socket disabled by default - The socket is enabled by invoking Cagebreak with the -e flag.
  * Socket permissions restricted to the user of the Cagebreak process (700)
    This may require modification of scripts interacting with the socket with
    different UIDs than the UID of the Cagebreak process.
  * Rename "Current frame" indicator to "Current tile"

Changelog:
  * Move to wlr_scene
  * Add events displaying change over the socket
    * this enables scripting tools
  * Add support for scaling outputs (thanks to Oliver Friedmann)
  * Remove -r flag
  * Add rotation to output configuration
  * Add cursor enable|disable flag
  * Add input keyboard configuration
  * Custom path flag for configuration file
  * Restrict socket permissions to the user running cagebreak (700)
  * Fix Issue #31 (resolve some terminology) 38 in Bugs.md
  * Fix Issue #30 - 39 in Bugs.md
  * Fix Issue #20 - 40 in Bugs.md
  * Fix Issue #12 - 41 in Bugs.md (dump + events over socket)
  * Fix Bugs found via scan-build static analysis (42 - 45 in Bugs.md)
  * Fix Issue #33 - 46 in Bugs.md
  * Fix Issue #32 - 47 in Bugs.md
  * Fix Issue #16 - 48 in Bugs.md
  * Fix Issue #3 - 49 in Bugs.md (disabling keybinding interpretation for specific keyboards is now possible)
  * Fix Issue #26 - 50 in Bugs.md
  * Fix Issue #7 - 51 in Bugs.md (Change cursor to square while Cagebreak is waiting for a key)
  * Fix config bug for some commands - 52 in Bugs.md
  * Fix Issue #35 - 53 in Bugs.md (update to wlroots 0.16.1)
  * Improve FAQ.md (related to some Issues)
  * Disable outputs when unable to set any mode (crashed previously)
  * Add Code of Conduct
  * Print version number on startup
2023-01-08 22:09:15 +01:00
project-repo
3d9f8d596f Add release information 2023-01-08 22:07:39 +01:00
project-repo
7abfd5b0b3 Rename old signatures 2023-01-08 21:40:53 +01:00
project-repo
66ef231d58 Remove useless note 2023-01-08 21:40:18 +01:00
project-repo
b9dd21c0b4 Review README 2023-01-08 21:30:38 +01:00
project-repo
1796c38b03 Add link to Bugs.md 2023-01-08 18:10:18 +01:00
project-repo
1990b203af Add Changelog 2023-01-08 17:22:38 +01:00
project-repo
87e50fc63e Fix man page indentation 2023-01-08 17:22:20 +01:00
project-repo
65b237536a Set man page release time 2023-01-08 17:22:07 +01:00
project-repo
89c92c5166 Adjust socket documentation 2023-01-08 16:59:07 +01:00
project-repo
48f3a749aa Adjust copyright/licenso info to SPDX standard and 2023 2023-01-07 23:37:06 +01:00
project-repo
3b10ac8250 Adjust SECURITY.md 2023-01-07 22:37:17 +01:00
project-repo
c068ae57e8 Adjust README 2023-01-07 22:22:56 +01:00
project-repo
0f7187b3f5 Adjust example config 2023-01-07 22:03:03 +01:00
project-repo
9a49821d25 Add Issue 53 (#35) in Bugs.md 2023-01-07 21:51:59 +01:00
project-repo
d7f3c81f50 Edit README 2023-01-07 21:47:49 +01:00
project-repo
ffe580fb8e Add scripts as possible contribution 2023-01-07 20:25:16 +01:00
project-repo
4e4d51178c Adjust README formatting 2023-01-07 19:41:50 +01:00
project-repo
7c7413b410 Merge remote-tracking branch 'origin/development' into development 2023-01-07 17:43:34 +01:00
project-repo
eede8b79c4 Add cagebreak philosophy to README 2023-01-07 17:41:51 +01:00
project-repo
e46a32ab43 Add example scripts for socket interaction 2023-01-06 20:20:12 +01:00
project-repo
8660346f76 Improve naming convention 2023-01-06 19:50:36 +01:00
project-repo
d017f53a25 Apply clang-format 2023-01-06 19:10:48 +01:00
project-repo
fc20ab4aed Update release checklist 2023-01-06 17:16:45 +01:00
project-repo
9e5c1814be Update dependency versions 2023-01-06 16:52:56 +01:00
project-repo
c07a734262 Add Bug doc for config bug 2023-01-06 16:52:04 +01:00
project-repo
a6fdd0a27b Fix man typo 2023-01-06 16:42:07 +01:00
project-repo
b3e238e442 Fix quitting on startup 2023-01-06 16:37:07 +01:00
project-repo
226d471794 Update xwayland seat on focus 2023-01-06 15:13:24 +01:00
project-repo
d7a21aacb1 Fix potential npd 2023-01-06 14:20:36 +01:00
project-repo
57ee9a06b6 Disable resetting cursor image 2023-01-06 09:10:12 +01:00
project-repo
7002b00b28 Add missing fields to ipc output 2023-01-06 08:46:08 +01:00