Commit graph

59 commits

Author SHA1 Message Date
4d8055f1cd
build: fix PostReloadHook resolution in LSP 2025-07-15 19:03:27 -07:00
de25787451
io/process: null stdio channels in detached processes 2025-07-13 20:05:54 -07:00
07ea4de248
io/ipchandler: add registry logs 2025-07-10 03:50:11 -07:00
3d594e16dd
core/log: track default logging categories
Fixes a bug in fb37be7 which ignored default logging categories due to
skipping QLoggingRegistry's filter.
2025-07-08 13:49:06 -07:00
9708d8212a
core/reloader: trigger onPostReload if launched post-reload
This is similar to the check in Reloadable, and fixes a number of hard
to debug issues with Process, IpcHandler, NotificationServer, and
GlobalShortcut not working depending on where you put them in a QML file.
2025-07-04 16:02:14 -07:00
86591f122d
io/process: mask the "QProcess destroyed for running process" warn 2025-07-02 20:16:47 -07:00
20c3da01f1
io/fileview: null watcher ptr after deletion to avoid UAF
Fixes #69
2025-06-21 12:57:15 -07:00
98d09b5a36
io/process: add Process.exec() 2025-06-20 20:32:42 -07:00
79b2204af8
io/socketserver: correctly order startup/teardown across generations
Fixes #60
2025-06-19 13:50:47 -07:00
0499518143
core/qmlglobal: add execDetached functions for spawning processes 2025-06-15 02:52:16 -07:00
2b01a75679
io/process: add StdioCollector data stream parser 2025-06-09 22:29:02 -07:00
0224fa942b
io/fileview: use deleteLater() to delete file watchers
Fixes crashes when writing a file while watching it.
2025-06-09 21:45:42 -07:00
2773e5468f
core/process: ignore environment changes made by the Env pragma
This pragma ends up used to set things like QQC theme which
shouldn't be cascaded into child processes.
2025-05-29 23:30:55 -07:00
c4a7d16478
io/process: emit read for data remaining in buffer on exit 2025-05-24 02:39:01 -07:00
fee4942771
io/fileview: add adapter support and JsonAdapter 2025-05-16 20:01:38 -07:00
0662c37d67
io/process!: replace manageLifetime with startDetached
In most cases this is what was desired for usages of
manageLifetime. Starting the process in a detached state also makes
sure the process hierarchy will not result in the child being killed when
Quickshell is killed.
2025-03-12 01:37:38 -07:00
burein-ita
c5bea858a0 io/process: hack around moc parse error
MOC default include paths contain macros that cause name collisions
2025-03-03 16:08:49 -06:00
1eabf5b3c3
io/fileview: ensure directory is watched for file creation 2025-02-19 21:58:05 -08:00
4f2610dece
io/ipchandler: add prop get 2025-01-26 03:57:07 -08:00
2c411fce5a
all: fix new lints 2025-01-07 03:11:19 -08:00
3fc1c914c7
lint: remove reinterpret_cast lint
Unhelpful.
2024-12-06 20:18:38 -08:00
ded3708762
io/fileview: correctly mark signals as signals in docs 2024-12-06 03:19:58 -08:00
69d13967c9
io/fileview: add support for watching changes 2024-12-06 02:32:19 -08:00
70be74e80d
io/fileview: add write support
FileView is now getting somewhat out of hand. The asynchronous parts
especially need to be redone, but this will work for now.
2024-12-06 01:18:31 -08:00
2996e40ff9
core/plugin: rename QuickshellPlugin to QsEnginePlugin
Fixes conflict with the autogenerated qml plugin of the same name.
2024-11-22 18:59:15 -08:00
0445eee33a
io/process: support commands at file:// and root:// paths. 2024-11-17 00:47:22 -08:00
60dfa67ec7
io/fileview: support zero-sized files (/proc) 2024-11-14 17:54:16 -08:00
b528be9426
all: fix gcc warnings 2024-11-05 13:31:24 -08:00
7ffce72b31
all: optimize build 2024-11-05 04:15:17 -08:00
1168879d6d
build: only install necessary qml module files 2024-11-04 14:13:37 -08:00
a931adf033
all: add DEPENDENCIES entries to qml modules
Fixes some qmlls/qmllint issues.
2024-10-31 14:05:02 -07:00
4e48c6eefb
all: refactor windows code out of core
There are still some links from core to window but its now separate
enough to fix PanelWindow in qml tooling.
2024-10-28 16:18:41 -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
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
85be3861ce
io/fileview: add FileView 2024-09-09 03:15:16 -07:00
a9e4720fae
docs: use new member reference shorthand 2024-07-21 17:41:49 -07:00
e9cacbd92d
all: use type/prop shorthand in docs 2024-07-14 16:17:51 -07:00
23d0c2e01d
io/socket: add flush() 2024-04-18 04:13:20 -07:00
54b3d338dc
core/process: fix stdinEnabled documentation 2024-03-31 01:05:09 -07:00
c44041653c
build: greatly speed up build times using pch 2024-03-11 18:18:55 -07:00
1e647cee51
readme: mention hosted docs 2024-03-11 06:01:51 -07:00
b675b3676c
popups: add popup windows 2024-03-11 05:44:56 -07:00
a35d3f9584
global: add Quickshell.processId and rename Process.pid 2024-03-08 23:25:54 -08:00
6966fc025c
all: ensure QObject ownership is Cpp when required 2024-03-08 18:33:01 -08:00
63180382be
misc: change version to 0.1 2024-03-04 05:37:24 -08:00
28087c182e
build: nix packaging 2024-03-04 05:13:58 -08:00
4ef4cba4ee
refactor: move settings to their own object 2024-03-04 01:36:00 -08:00
62f99f5754
feat: add Process.manageLifetime 2024-03-03 23:17:15 -08:00
4cfe6ee0a1
fix: fix scopes of created QQmlComponents
Using the scope of the component itself makes sure things availible in
its scope are usable, instead of the parent scope.
2024-03-03 21:38:21 -08:00
e06b07ac01
feat(process): add Process.environment 2024-03-03 19:35:10 -08:00