Commit Graph
282 Commits
Author SHA1 Message Date
outfoxxed 6572a7f61d tooling: derive import paths from QML engine import paths
Due to distro patches and default locations, we can't correctly derive
it without calling the QQmlEngine function.
2025-07-18 00:33:58 -07:00
outfoxxed e885f4aec1 tooling: check if .qmlls.ini is a symlink in addition to exists
QFileInfo::exists() returns false on broken symlinks.
2025-07-18 00:07:25 -07:00
outfoxxed 201c559dcd core: add Internal pragma 2025-07-16 20:13:59 -07:00
outfoxxed 78e3874ac6 tooling: add per-shell tooling lock to prevent races 2025-07-16 17:47:28 -07:00
outfoxxed 986749cdb9 tooling: add automatic QMLLS support for new imports and singletons 2025-07-16 14:35:46 -07:00
outfoxxed 4d8055f1cd build: fix PostReloadHook resolution in LSP 2025-07-15 19:03:27 -07:00
outfoxxed 5ac9096c1c Revert "core/region: use QList over QQmlListProperty for child regions"
This reverts commit 0c9c5be8dd.

Using QList breaks the default property usage.
2025-07-14 02:56:34 -07:00
outfoxxed 71334bfcaf core/desktopentry: expose exec command and use execDetached on call 2025-07-13 20:05:54 -07:00
outfoxxed de25787451 io/process: null stdio channels in detached processes 2025-07-13 20:05:54 -07:00
outfoxxed 0c9c5be8dd core/region: use QList over QQmlListProperty for child regions 2025-07-12 22:02:31 -07:00
outfoxxed 49a3752b9d core: correctly deregister QML incubators on destruction
Previously we'd try to cast the QObject* sender from
QObject::destroyed to a QQmlIncubationController*. This will always
return nullptr because C++ destructors change the type of the object
and the QQmlIncubationController destructor has already run at this
point. We now store controllers as QObject*s.

Fixes #108
2025-07-11 00:38:58 -07:00
outfoxxed d7079b7524 core: allow qml scanner to detect namespaced and versioned imports 2025-07-10 04:28:05 -07:00
outfoxxed 6f774af11e core/colorquant: print image source url vs pointer on err 2025-07-10 04:05:16 -07:00
outfoxxed b4c62b8ff9 core: only log warn+ from quickshell.paths 2025-07-10 03:40:30 -07:00
outfoxxed 1af08c0c52 core: only call QmlScanner::scanDir() on directories
Removes a bogus warning message.
2025-07-10 03:12:43 -07:00
outfoxxed 4b35d7b51b core: support qs. imports 2025-07-10 01:50:53 -07:00
outfoxxed 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
outfoxxed 7eff415b25 core/qmlglobal: re-add shellRoot as a deprecated property 2025-07-04 20:06:22 -07:00
outfoxxed fb37be7611 core/log: ignore on-disk logging configs for quickshell* rules.
Fixes fedora hiding all command output by default.
2025-07-04 16:43:01 -07:00
outfoxxed 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
outfoxxed 0e6518a706 core/command: improve dead instance selection
Prints dead instances if they exist, as well as allowing dead instance
selection for a substring if no live instances exist.
2025-07-02 22:47:19 -07:00
outfoxxed 98d09b5a36 io/process: add Process.exec() 2025-06-20 20:32:42 -07:00
outfoxxed 579d589290 core/popupanchor: ensure item-derived rect is at least 1x1 pixels 2025-06-18 13:41:14 -07:00
outfoxxed 0499518143 core/qmlglobal: add execDetached functions for spawning processes 2025-06-15 02:52:16 -07:00
outfoxxed 0140356d99 core/qmlglobal!: rename shellRoot to configDir + add configPath 2025-06-14 14:45:04 -07:00
outfoxxed 517143adf9 all: fix new lints 2025-06-12 17:01:13 -07:00
outfoxxed 09981a0498 core/log: print path to detailed log instead of text log on launch 2025-06-11 14:04:11 -07:00
outfoxxed 2a8479d635 core/generation: use deleteLater() to delete file watchers
Should fix crashes similar to those in FileView.
2025-06-11 13:47:30 -07:00
outfoxxed d1df932d60 core/popupanchor: add margins property 2025-05-30 00:33:07 -07:00
outfoxxed ef077ddd24 core/panelwindow: move Margins to types.hpp 2025-05-30 00:33:00 -07:00
outfoxxed 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
outfoxxed 6d42d26c79 core/popupanchor: add item-relative anchor rect support 2025-05-29 20:07:00 -07:00
outfoxxed b67f92bc13 all: use BINDABLE only with trivial setters
Fixes various bugs caused by the QML engine bypassing setters
when BINDABLE is specified (even if the bindable is const).
Also restructures all properties using BINDABLE to have
a default READ and WRITE to ensure this doesn't happen again.
2025-05-29 16:08:39 -07:00
outfoxxed b898592db7 core: don't show " at " in qml warnings if object name is empty 2025-05-26 17:44:45 -07:00
outfoxxed ec433d1a70 core: improve log format for QML errors and warnings 2025-05-26 03:35:52 -07:00
outfoxxed 4472b27039 core/reloader: watch new files detected in failed reloads 2025-05-26 02:28:01 -07:00
outfoxxed 8b5b12b722 core/scriptmodel: update model data after objectProp eq
Updates the values list and sends dataChanged if objectProp
compared equal but the new value is actually different.
2025-05-23 18:03:59 -07:00
outfoxxed 5193426cd7 core/qmljson: add support for synthesized .qml.json files 2025-05-18 20:39:48 -07:00
outfoxxed 2e905f6447 core/scriptmodel: add objectProp, allowing js objects to be compared 2025-05-17 19:34:57 -07:00
outfoxxed 61f00a0442 core/model: return ObjectModel values list directly 2025-05-17 17:03:03 -07:00
outfoxxed 8124a63ee4 ui: add native reload popup 2025-05-17 17:03:03 -07:00
outfoxxed 4d7d06bb9b core/qmlglobal: add clipboard support 2025-05-16 22:16:28 -07:00
outfoxxed 325a51c82d core: add DataDir and StateDir pragmas 2025-05-16 20:54:21 -07:00
outfoxxed a05c0de53b core/qmlglobal: add dataPath(), statePath() and cachePath() 2025-05-16 20:33:40 -07:00
outfoxxed c1c24c2998 core/qmlglobal: expose dataDir and stateDir 2025-05-16 20:14:59 -07:00
outfoxxed 69c7f4fe77 core/qmlglobal: expose cacheDir 2025-05-16 20:01:38 -07:00
outfoxxed ca26210cc4 core/desktopentry: check XDG_DATA_HOME according to base dirs spec
Closes #34
2025-05-11 18:30:31 -07:00
outfoxxed ed528268e0 core/scriptmodel: detatch mValues when accessed during update
Fixes iterator invalidation caused by the QML engine.
2025-04-06 01:40:55 -07:00
outfoxxed 69430e3873 service/tray: provide default sorting for SystemTray.items
Items are first sorted by category, and then by name.
2025-03-27 13:51:43 -07:00
outfoxxed eabf79ebb6 core/command: allow qs log to retrieve logs of dead instances
If no live instances are found matching the current config, the
youngest dead instance will be used instead.
2025-03-19 15:35:10 -07:00