Commit graph

89 commits

Author SHA1 Message Date
project-repo
db8dee68f5 Fix geometry of fullscreen views 2024-01-08 19:28:59 +01:00
project-repo
4b4f6d4274 Only update output id on priority change 2024-01-02 08:44:30 +01:00
project-repo
d1ae07ef5a Adapt to 2024. 2024-01-01 01:07:15 +01:00
project-repo
bb3d848537 Remove unnecessary fanalyzer pragmas. 2023-12-28 00:11:11 +01:00
project-repo
e03d7916b8 Apply clang-format. 2023-12-27 21:45:31 +01:00
project-repo
58c717f29e Fix reinit of permanent outputs 2023-12-27 16:54:44 +01:00
project-repo
bf0ef3add9 Add cue for scan-build 2023-12-26 21:10:47 +01:00
project-repo
0aaf2d070b Fix gamma control 2023-12-25 16:50:53 +01:00
project-repo
54e187932e Apply clang-format 2023-12-24 14:27:34 +01:00
project-repo
a435911aa9 Fix positioning of permanent outputs on restart 2023-12-24 14:25:23 +01:00
project-repo
fcafa33400 Merge branch 'master' into development 2023-12-21 19:40:58 +01:00
project-repo
4b7f9a8bdd Adapt to wlroots 0.17.0 2023-12-21 19:24:10 +01:00
project-repo
5dbefccb59 Release 2.2.3
- Fix positioning of outputs (#66)
- Fix version specification of wlroots (#65)
- Add version check to prevent #65 in the future
2023-12-05 14:42:22 +01:00
project-repo
61fb97b070 Release 2.2.2
- Adjust Cagebreak to wlroot 0.17
- Improve README & SECURITY.md
2023-12-04 12:22:24 +01:00
project-repo
642bc148ca Add fix for layout changes on disconnect 2023-09-17 21:56:36 +02:00
project-repo
7f592ef01a Apply clang-format 2023-09-17 09:59:23 +02:00
project-repo
8e9adb0bc7 Fix layout change on setting permanent 2023-09-17 09:56:41 +02:00
project-repo
f9188a2c8b Implement switching from permanent and peripheral
Destroy the output if it is not attached.
2023-09-15 15:38:29 +02:00
project-repo
65b6e9e427 Fix problems with automatic output configuration 2023-09-15 12:10:20 +02:00
project-repo
6b89645161 Tentative implementation of "permanent outputs" 2023-09-14 15:36:01 +02:00
project-repo
9a4c07d815 Release 2.1.2
- Adjust release procedure
- Fix Issue 60 in Bugs.md (Thanks to Tom Greig)
- Fix Issue 61 in Bugs.md
2023-04-24 22:57:42 +02:00
Uks2
8850488f0e
Fix bug in merge_output_configs (#44)
We were accidentally copying angles into status!

Signed-off-by: Tom Greig <tom@tomg.xyz>
2023-04-24 21:04:40 +02:00
project-repo
4f7be9d5cd Release 2.1.0
- Add -bs (bad security) option
- Fix Issue 57 (SPDX spelling error #39)
- Fix Issue 59 (meson install settings)
- Fix Issue 55 (npd)
- Fix Issue 56 (npd)
- Fix Issue 58 (#40 config)
- Improve release procedure
- Add miniscule test suite
- Adjust Cagebreak to wlroots 0.16.2
- New GPG Keys
2023-04-04 14:00:31 +02:00
project-repo
b32659963c Fix SPDX-License-Identifier typo 2023-02-02 10:41:24 +01:00
project-repo
3d86ea36b6 Release 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
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
6dbcb7eda9 Release 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
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
7002b00b28 Add missing fields to ipc output 2023-01-06 08:46:08 +01:00
project-repo
4e1c085568 Make compatible with wlroots 0.16 2023-01-05 18:42:23 +01:00
project-repo
1813245e21 Do not emit two events on single command 2023-01-03 08:39:23 +01:00
project-repo
02b73fb2b2 Fix fuzzing
- Fix fuzzing build
  - Fix bugs found by fuzzer
2023-01-02 08:35:09 +01:00
project-repo
989f3bb35a Update ipc output and documention
- Remove quotes
  - Fix event name
2023-01-01 10:58:59 +01:00
project-repo
c83aed6728 Remove view_title
- Do not set window title, as it cannot be read
  - Print PID in event instead of title to prevent information leaks
2022-12-29 16:09:33 +01:00
project-repo
494fd6444b Update view focus logic 2022-12-26 11:44:05 +01:00
project-repo
32095b4253 Refactor output configuration
* Allow independent rotation of different outputs
  * Allow specification of scale independent of mode
  * Clean up output configuration code
2022-12-26 08:14:57 +01:00
project-repo
9a60bef105 Apply clang-format 2022-11-28 21:35:31 +01:00
Oliver Friedmann
29943b50e6
Add output scaling (#34)
* feat: output scaling

* chore: update man file

* fix: message when scaling
2022-11-28 21:23:41 +01:00
project-repo
3247d8cfd1 Apply clang-format 2022-09-30 21:09:51 +02:00
project-repo
97ef5306a1 Add ipc message on cursor switching tile 2022-09-25 11:05:51 +02:00
project-repo
a8148690d6 Merge remote-tracking branch 'github/startup_failed' into development 2022-09-25 09:48:49 +02:00
project-repo
3b5b85070f Fix sizing of reconfigured outputs 2022-09-18 10:22:08 +02:00
project-repo
cda1d645d2 Attempt fallback disable 2022-09-12 07:36:36 +02:00
project-repo
5de047b141 Apply clang-format 2022-09-09 19:03:56 +02:00
project-repo
424cc0af25 Adapt output_clear to wlr_scene 2022-09-05 08:13:46 +02:00
project-repo
2457a37da8 Change to json output for ipc messages 2022-04-24 15:43:53 +02:00
project-repo
4db22aafc3 Release 1.9.0
- Add message functionality (as per Issue 29 in Bugs.md)
  - message <text>
  - configure_message
- Add (as per Issue 30 in Bugs.md)
  - movetoprevscreen
  - movetoscreen <n>
  - screen <n>
  - additional output functionality for monitor numbering
- Improve configuration documentation
  - Fix Issue 31 in Bugs.md (word omission)
- Improve README.md and split off some files
  - Add SECURITY.md
  - Add Hashes.md (hashes of cagebreak binaries and man pages if built reproducably)
  - Add Changelog.md (changelog for major and minor releases but not patches)
  - Add FAQ.md (updated information from the former wiki)
- Depreciate wiki
- Fix Issue 32 in Bugs.md
  - Improve release checklist to partially prevent the above issue
    in the future
- Fix Issue 33 in Bugs.md
- Fix Issue 34 in Bugs.md
- Manage gpg keys
  - Add new cagebreak gpg signing keys
  - Add new cagebreak email contact gpg key
  - Add new project-repo AUR gpg key (relevant for cagebreak-pkgbuild)
2022-04-21 21:12:57 +02:00
project-repo
e10e09025c Fix non-xwayland build 2022-03-15 20:50:58 +01:00
Cagebreak Signing Key 7
35dbe7cd90 Release 1.8.3
* Adapt cagebreak to wlroots 0.15
2022-01-26 22:45:41 +01:00