Commit graph

291 commits

Author SHA1 Message Date
23f59ec4c3
crash: add build configuration and distributor information
Also adds distributor to --version and
build configuration to --version --verbose
2024-10-16 00:08:15 -07:00
f889f08901
service/pipewire: refactor defaults and metadata handling 2024-09-23 23:53:54 -07:00
bd8978375b
core/icon: allow changing the icon theme 2024-09-17 14:21:34 -07:00
7a283089b1
core/command: rename --instance to --id and --info to --show
Fixes conflicting short flags.
2024-09-17 14:04:54 -07:00
c57ac4b1f2
core/menu: disconnect menu before unref when changed 2024-09-15 16:06:20 -07:00
293341c9e1
core/reloader: ensure generation ptrs are removed on destroy
Broke things that used currentGeneration, and we shouldn't have a list
of dangling pointers anyway.
2024-09-13 04:18:52 -07:00
5e2fb14551
io/ipchandler: add IpcHandler and qs msg
Also reworks the whole ipc system to use serialized variants.
2024-09-13 02:50:42 -07:00
3690812919
core/log: fix encoding 29 second deltas (again)
Forgot the second if statement and didn't actually fix the bug last time.
2024-09-10 16:30:50 -07:00
01f6331cb7
core/command: add --daemonize 2024-09-10 15:53:16 -07:00
9d21a01153
core/command: add --no-duplicate 2024-09-10 14:35:30 -07:00
47ec85ffef
core/command: make log --file positional
Also frees up -f for --follow.
2024-09-10 04:55:44 -07:00
01deefe241
core/log: encode category log levels 2024-09-10 04:48:54 -07:00
a82fbf40c2
core/command: add log --follow 2024-09-10 03:31:49 -07:00
c78381f6d0
core/command: add --tail to log subcommand 2024-09-10 01:02:43 -07:00
f810c63ffc
core/command: allow log files to be specified w/ instance selectors 2024-09-10 00:32:39 -07:00
19d74595d6
core/window: premultiply background colors
Apparently these are supposed to be premultiplied. Some docs would be nice.
2024-09-10 00:01:17 -07:00
85be3861ce
io/fileview: add FileView 2024-09-09 03:15:16 -07:00
3a1eec0ed5
core/log: fix sparse logs being on by default 2024-09-05 21:44:05 -07:00
94e881e6b0
core!: refactor launch sequence
Also includes slight changes to the command syntax.
See --help for details.
2024-09-01 14:17:39 -07:00
da043e092a
core/ipc: add ipc server/client
Currently can only kill a remote instance.
2024-08-30 21:45:20 -07:00
13b6eeaa22
core/reloader: null generation ref in reloadables on destruction
On the post-reload reloadable initialzation path, a timer is used to
delay reload(). This change fixes a UAF when switching generations
while that timer is running.
2024-08-30 16:29:59 -07:00
3edb3f4efa
core/reloader: disconnect old generation before reloading
Previously the old generation was not disconnected, causing the root
wrapper's generation pointer to be nulled when pointing to the new
generation, leaving multiple shell versions running simultaneously.
2024-08-30 16:29:48 -07:00
60349f1894
core: set application name to avoid bin name fallback 2024-08-29 14:43:25 -07:00
a116f39c63
core/desktopentry: prioritize fallback keys over mismatched keys
The fallback key will now be selected when there isn't a more specific
key to select, instead of the first key.
2024-08-28 22:05:21 -07:00
af29bc277e
core: add by-pid symlinks to instance runtime paths 2024-08-28 17:53:39 -07:00
9967e2e03b
core: fix UAF when calling Qt.quit or Qt.exit
A pointer to the last generation had shutdown() called on it after deletion.
2024-08-28 15:30:02 -07:00
e327d6750d
build: fix -DCRASH_REPORTER=OFF 2024-08-28 11:32:14 -07:00
fe1d15e8f6
crash: add crash reporter 2024-08-20 00:55:07 -07:00
5040f3796c
core/reloader: delay post-reload reload hooks
Ensures onReload runs after Component.onCompleted.
2024-08-18 19:54:36 -07:00
f89c504b55
core/menu: opening platform menus w/o QApplication no longer crashes
An error is displayed instead.
2024-08-16 16:47:50 -07:00
1d2bf5d7b4
core/clock: fix behavior with odd time changes 2024-08-16 02:35:03 -07:00
815867c178
x11/panelwindow: fix multi monitor
Previously attached panels to the virtual desktop geometry instead of
the screen geometry.
2024-08-15 18:46:18 -07:00
683d92a05f
core/command: add --version 2024-08-10 01:59:40 -07:00
14852700cb
core/log: ensure malformed logs cannot overflow ring buffer 2024-08-10 01:40:51 -07:00
5f4d7f89db
core/log: fix log corruption with messages at 29 second deltas
29, or 0x1d is used as a marker to mean the log level and time delta
cannot fit in a single byte, and the time delta will be a varint
following the current byte.

Prior to this commit, 29 second deltas would be written as 0x1d
instead of 0x1d1d, which the parser interpreted as a hint to read the
next byte, causing the parser to become offset by one byte and all
following logs to be potentially corrupt.
2024-08-10 01:35:52 -07:00
53b8f1ee0b
core/log: add read-log --no-time 2024-08-09 23:58:30 -07:00
c2b4610acb
core/log: add read-log --filter 2024-08-09 23:45:46 -07:00
0fc98652a8
core/log: create fully detailed logs by default
The .qslog logs now log messages for quickshell* by default.
2024-08-09 20:24:17 -07:00
291179ede2
core/command: rewrite command parser with CLI11 2024-08-09 19:25:18 -07:00
bdbf5b9af9
core/log: add custom log encoder for smaller log storage
Will be used to store more detailed logs in the future without using
as much disk space.
2024-08-09 14:43:18 -07:00
8364e94d26
core/log: capture early logs in fs logger 2024-08-07 15:53:11 -07:00
7c7326ec52
core/log: add timestamps to log files 2024-08-07 13:40:37 -07:00
38ba3fff24
core/popupanchor: pick flip direction based on available width 2024-08-06 22:24:31 -07:00
6bf4826ae7
core/log: add filesystem logger 2024-08-02 21:37:52 -07:00
46f48f2f87
core/log: add fancy logger 2024-08-02 18:52:05 -07:00
d582bb7b57
core: add per-config shell id
Will be useful for future functionality such as IPC and caching.
2024-08-02 02:09:55 -07:00
79b2fea52e
core/util: fix MemberMetadata compile on gcc 2024-08-02 01:32:12 -07:00
2c87cc3803
core: stop using the simple animation driver by default 2024-08-01 21:47:18 -07:00
9555b201fe
core/clock: fix instability causing timer to fire multiple times
If the signal was fired slightly before the scheduled time, it would
schedule itself again a couple ms in the future.
2024-07-31 23:09:39 -07:00
a4903eaefc
core/clock: fix breakage at midnight
The difference between 23:59 and 00:00 is -23:59, not 00:01.
2024-07-31 01:51:53 -07:00