Commit graph

33 commits

Author SHA1 Message Date
Ivailo Monev
8c8855d9a6 generic: drop temporary file option
any program launched with temporary file (as per the spec) argument
(because it does not support %u or %U) should not be responsible for
deleting the file, klauncher already handles that thus the option is
redundant. I don't know how other implemenatations (of program launchers)
do it but I cannot say I care either

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-16 01:37:20 +03:00
Ivailo Monev
0e0db0b815 kdeui: move session management to KApplicaiton
every comment about X11 and session management in general claims it was
broken, not going to claim otherwise. everything that does not use
KApplication shall not be involved into session management now and gets
the middle finger (SIGTERM or SIGKILL) after 5 sec by klauncher when the
session is done

also session management has to be explicitly enabled by applications
now, disabled by default

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-09 08:29:51 +03:00
Ivailo Monev
ec7b5bd959 kdeui: new KDebugger class
I've had the idea about it in my head for years

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-26 07:43:17 +03:00
Ivailo Monev
f4c2f5c84e generic: drop stylesheet support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-16 04:31:21 +03:00
Ivailo Monev
4df06d8f7a generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-24 02:43:33 +02:00
Ivailo Monev
fbfb374b9c generic: drop scripting and tray support
after changes to multiple sub-projects (Katie, kdelibs, kde-workspace
and kde-extraapps) that finally happened, can write lots about it but I
will keep it short - by rewriting parts that were using js/qml (e.g. the
plasma applets) the desktop startup was reduced to half, also the legacy
tray thing shall be no more (anything that needs tray icon shall be a
plasma applet now) thus some applications and features will be dropped
aswell. see all repositories for the changes done

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 08:06:58 +03:00
Ivailo Monev
7f628f95f6 kdecore: pass the QByteArray objects size to QString constructors in KCmdLineOptions and KLocalizedString
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-30 21:23:50 +03:00
Ivailo Monev
4b632fcae6 kdeui: implement status notifier for any KApplication instance
optional feature that requires "-tray" command line argument and replaces
what the `ksystraycmd` program was doing. requires "X-KDE-SysTray" entry
in the desktop file as indicator that the application supports "-tray"
argument, unlike `ksystraycmd` does not spawn extra process and even
session management will work properly for it (the argument is manually
added to the restart command)

the feature is very much tide to KMainWindow (and derived classes) but the
overhead is next to none when the "-tray" argument is not specified (the
status notifier is not created in such case) however if created an
expensive tooltip update is done whenever a window changes (may have to
look into optimizing it but then again - most of the code does nothing
unless the "-tray" argument is specified)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-24 01:41:02 +03:00
Ivailo Monev
6fe3dbfa76 kdecore: remove reference to non-existing command line options
KUniqueApplication no longer has additional command line options

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-23 21:58:05 +03:00
Ivailo Monev
3dbd7b1da9 kdeui: do not apply style and palette from KGlobalSettings
palette and style shall be applied by the platform plugin, the font is
independant of the full Katana session (look for
KGlobalSettings::generalFont() for example, font from config is used here
and there because the config and thus KGlobalSettings offer fine grained
font selection for different purposes)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-21 17:42:31 +03:00
Ivailo Monev
8bc18c9962 kdecore: do not output entities from KCmdLineArgsStatic::parseAllArgs()
the output goes to the TTY and there is no rich text handler there, note
that the plain format for the "email" tag also contained entities (even
before the KuitSemantics reimplementation)

because the plain format for the "email" tag

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-20 19:20:12 +03:00
Ivailo Monev
fa51ecdfaf kdecore: remove unused KAboutData methods and redundant constructor arguments
the homepage and the bugs email address shall always be defined in
kglobalsettings header for official Katana applications, libraries, etc.
the option to override them is still a thing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 17:41:54 +03:00
Ivailo Monev
3556eede0f kdeclarative: log script engine exceptions as debug messages
the declarative component logs some as warnings and does not have a
QScriptEngineAgent-like class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-19 06:19:51 +03:00
Ivailo Monev
9b07290ada kdeui: prefix HOME_URL, BUG_REPORT_URL and BUG_REPORT_EMAIL definitions with "KDE_"
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-03 16:25:13 +03:00
Ivailo Monev
695ade0038 kdecore: initialize static s_qt_argv variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-26 08:20:36 +03:00
Ivailo Monev
c9a0aaf40b generic: remove checks for limits and unistd system headers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-23 07:37:22 +03:00
Ivailo Monev
c775a6b033 kdecore: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-28 00:25:16 +03:00
Ivailo Monev
b958f050d4 kdecore: remove arguments Katie no longer supports
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-01 23:53:18 +03:00
Ivailo Monev
ee06df88f4 kdecore: remove arguments Katie no longer supports
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-01 02:07:37 +03:00
Ivailo Monev
87bd0ff48e kdecore: fix strings concat for options with default value
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-06 17:28:49 +02:00
Ivailo Monev
f5cd0b529d kdecore: rebrand command line options strings
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-06 17:27:06 +02:00
Ivailo Monev
7fb94a61fd generic: remove code for features that Katie does not support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-24 15:05:36 +02:00
Ivailo Monev
48f25f1fb5 kdecore: replace KuitSemantics::escape() with Qt::escape()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-03-18 09:46:22 +02:00
Ivailo Monev
8edac1be95 kdecore: make some toolkit arguments conditional
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-11-11 19:55:37 +00:00
Ivailo Monev
5600c15dec generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-11 08:06:16 +00:00
Ivailo Monev
fbd0e11b3d generic: implement special qml debugger handling for Katie 2015-11-29 18:30:02 +02:00
Ivailo Monev
a8a54f0484 generic: proper support for icon and caption in .desktop files 2015-09-21 00:26:31 +00:00
Ivailo Monev
a499c2d11d fix build of external software by not including config-misc header and place BUG_REPORT_URL and BUG_REPORT_EMAIL into kglobalsettings header 2014-11-29 23:03:51 +00:00
Ivailo Monev
6e700dc650 replace bugs.kde.org with BUG_REPORT_URL; replace submit@bugs.kde.org with BUG_REPORT_EMAIL (new); remove kdoctools (Doxygen is used for API docs, anything else needs it besides some handbook slaves?); moved kwebkitpart translations to kde-l10n 2014-11-29 21:30:53 +00:00
Ivailo Monev
c5e95b5b90 rebranded platform string 2014-11-21 15:49:04 +00:00
Ivailo Monev
c7a2a17692 yet more windows and mac code remove 2014-11-19 15:30:39 +00:00
Ivailo Monev
c3f3bcb965 windows code remove 2014-11-19 15:17:14 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00