Commit graph

726 commits

Author SHA1 Message Date
project-repo
441cee33c7 Remove whitespace 2023-02-18 11:18:14 +01:00
project-repo
480298d96b Update dependencies 2023-02-18 11:12:04 +01:00
project-repo
e852d3487a Document testing 2023-02-18 00:13:29 +01:00
project-repo
37beab8994 Adjust file sync for parallel testing 2023-02-18 00:12:33 +01:00
project-repo
09c75e5a15 Move test build dirs to _build* 2023-02-18 00:10:27 +01:00
project-repo
5856b3c9c5 Add semantic versioning check 2023-02-17 21:54:11 +01:00
project-repo
8fbcba1c38 Apply shellcheck 2023-02-17 21:31:02 +01:00
project-repo
358f759166 Apply clang-format 2023-02-17 14:10:41 +01:00
project-repo
78212cc830 Fix compiler warnings 2023-02-17 09:55:20 +01:00
project-repo
1889c60484 Add basic tests 2023-02-14 22:32:03 +01:00
project-repo
439385750d Add Copyright/License notice to test files 2023-02-14 21:58:29 +01:00
project-repo
d209a7801f Adjust test suite naming 2023-02-14 21:01:30 +01:00
project-repo
ceb61e6492 Adjust fuzzing documentation 2023-02-14 20:58:00 +01:00
project-repo
67ad848002 Integrate fuzz meson.build to facilitate testing 2023-02-14 20:52:28 +01:00
project-repo
89a4c5d609 Add env var tests 2023-02-14 20:22:31 +01:00
project-repo
1a8912c9c2 Adjust scripting quotations 2023-02-14 20:21:51 +01:00
project-repo
401733d092 Improve quotation of test script 2023-02-14 20:21:09 +01:00
project-repo
c1d0902a6d Update wlroots repro build version 2023-02-12 22:32:19 +01:00
project-repo
628dbc1314 Add tests for correct build 2023-02-09 22:40:51 +01:00
project-repo
a222a5a60f Add test to check clang-format 2023-02-09 22:40:00 +01:00
project-repo
d9f61d86fb Add test to check scan-build status 2023-02-09 22:37:33 +01:00
project-repo
f0a31d3156 Add test suite to check arguments 2023-02-09 22:35:22 +01:00
project-repo
e7c9cd0471 Adjust meson repro build versions 2023-02-09 22:16:05 +01:00
project-repo
567f12c29f Apply clang-format 2023-02-09 22:15:28 +01:00
project-repo
1bcfce8d4f Add License as meson install target 2023-02-09 22:06:58 +01:00
project-repo
eaaef616d6 Add Issue 58 (#40) to Bugs.md 2023-02-09 20:34:48 +01:00
project-repo
ba590d7d89 Merge branch 'development' of https://github.com/project-repo/cagebreak into development 2023-02-08 19:22:38 +01:00
project-repo
c23c899515 Fix loading of default config file 2023-02-08 19:21:15 +01:00
project-repo
defaaea9d1 Apply clang-format 2023-02-02 21:08:22 +01:00
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