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
4b35d7b51b
core: support qs. imports
2025-07-10 01:50:53 -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
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
b898592db7
core: don't show " at " in qml warnings if object name is empty
2025-05-26 17:44:45 -07:00
ec433d1a70
core: improve log format for QML errors and warnings
2025-05-26 03:35:52 -07:00
4472b27039
core/reloader: watch new files detected in failed reloads
2025-05-26 02:28:01 -07:00
5193426cd7
core/qmljson: add support for synthesized .qml.json files
2025-05-18 20:39:48 -07:00
8124a63ee4
ui: add native reload popup
2025-05-17 17:03:03 -07:00
cb05e9a327
core/reloader: fix incubator warnings
2024-11-29 01:37:14 -08:00
c21df95087
core/reloader: do not require ShellRoot
2024-11-22 19:40:39 -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
7db3772641
core/generation: short circuit findObjectGeneration if only one exists
2024-11-17 01:46:49 -08:00
7ffce72b31
all: optimize build
2024-11-05 04:15:17 -08: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
ec362637b8
service/tray!: redesign menus / dbusmenu and add native menu support
...
Reworks dbusmenu menus to be displayable with a system context menu.
Breaks the entire DBusMenu api.
2024-07-01 20:50:30 -07:00
3573663ab6
service/greetd: add greetd service
2024-06-20 15:39:49 -07:00
6efa05a8eb
core: run full destruction sequence before exiting
...
Fixes QTimer messages.
2024-06-18 20:58:33 -07:00
9e58077c61
core: fix shutdown sequence crashing
2024-06-18 17:03:38 -07:00
238ca8cf0b
core/reloader: fix crashing on failed reload
2024-05-31 04:03:00 -07:00
d56c07ceb3
core/reloader: simplify generation teardown
...
The extra complexity previously masked the use after free in 6c95267
.
2024-05-31 00:27:18 -07:00
7feae55ebe
core/reloader: add reload signals for visual notifications
2024-05-30 02:39:37 -07:00
0519acf1d6
core: support root:
and root:/
paths for the config root
...
This works everywhere urls are accepted and rewrites them from the
config root as a qsintercept url.
2024-05-29 15:07:10 -07:00
7ad3671dd1
core/reloader: fix file watcher compatibility with vim
2024-05-28 15:36:25 -07:00
7cc1b54587
service/tray: rework tray image providers
2024-04-29 22:28:09 -07:00
c6e5a35745
core/reloader: fix more crashes (not all of them)
2024-04-20 02:59:50 -07:00
31462b9797
core/reloader: fix UAF of old generation during scene destroy
2024-04-20 00:36:25 -07:00
6eb68d2cd7
core/reloader: fix late creation of Reloadable types
2024-04-19 15:45:07 -07:00
6214ac1002
service/tray: mostly complete StatusNotifierItem implementation
...
Notably missing dbusmenu which makes it actually useful.
2024-04-06 02:19:40 -07:00
d47a7f2cff
core/icon: add icon image provider
2024-04-05 17:54:51 -07:00
3a0381dcbe
core/window: backing windows can now be destroyed and recreated
...
This fixes a crash in layershells and the setVisible crash on nvidia.
2024-03-27 00:45:53 -07:00
b6dc6967a1
core/generation: fix incuabation controller use after free
...
qobject_casts were failing causing old controllers to never be removed
from the list.
2024-03-25 02:02:46 -07:00
31264ac7d1
core/singleton: fix PostReloadHook in singletons
2024-03-20 01:37:30 -07:00
9f38908bdf
core/intercept: do not intercept non qml files
...
Avoids forcing Images to lazy load which causes unexpected flashes.
2024-03-19 21:30:46 -07:00
518977932d
core/lazyloader: add LazyLoader
...
Also fixes qml incubation in general, which was completely broken,
meaning the native qml Loader type should also work now.
2024-03-19 05:35:44 -07:00
ffbdac9977
core: synthesized qmldir files and new qml scanning strategy
2024-03-14 00:16:22 -07:00
1687ff3614
reload: encapsulate each engine generation more
2024-03-13 22:53:05 -07:00