OSDN Git Service
Ivailo Monev [Thu, 18 May 2023 22:16:15 +0000 (01:16 +0300)]
drop support for changing QDataStream precision
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Jan 2023 03:42:31 +0000 (05:42 +0200)]
mark some QThreadPool branches as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Jan 2023 03:39:50 +0000 (05:39 +0200)]
mark QThreadPoolThread::run() as final
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Jan 2023 03:39:11 +0000 (05:39 +0200)]
format and indent qthreadpool source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 14 Jan 2023 03:24:07 +0000 (05:24 +0200)]
remove unused and internal QThreadPoolPrivate::stealRunnable() method
was used by QFutureInterface
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 2 Jan 2023 04:42:13 +0000 (06:42 +0200)]
someone's typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 31 Dec 2022 06:49:17 +0000 (08:49 +0200)]
save errno before calling any other function in QLocalServerPrivate::setError()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 28 Dec 2022 06:44:50 +0000 (08:44 +0200)]
remove unused QTcpServerPrivate members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 27 Dec 2022 19:41:19 +0000 (21:41 +0200)]
remove unused socket exception notification
doubles as performance optimization for sockets (QTcpServer and QUdpSocket)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 27 Dec 2022 00:43:11 +0000 (02:43 +0200)]
implement default QStatInfo constructor and use it as optimization in QFileSystemWatcherPrivate::_q_timeout()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 25 Dec 2022 23:59:24 +0000 (01:59 +0200)]
do not manually set the socket state and error of QTcpServer
that means that once the socket engine is closed the error becomes unknown
tho
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 25 Dec 2022 23:12:39 +0000 (01:12 +0200)]
remove redundant pointer check in QTcpServer::listen()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Dec 2022 14:52:34 +0000 (16:52 +0200)]
remove the unused gamma option of QImageWriter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 24 Dec 2022 12:17:46 +0000 (14:17 +0200)]
remove now unused katie_setup_object() macro
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Dec 2022 21:54:16 +0000 (23:54 +0200)]
fix regression since
51f2253d73b140638853c97b1351c19ec7e8fa4f
png_read_image() handles interlacing internally
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 23 Dec 2022 19:14:40 +0000 (21:14 +0200)]
remove BSD workarounds
if the linker cannot find system libraries then it's not a Katie build
system problem
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 21:05:24 +0000 (23:05 +0200)]
update PROJECT_LOGO in doxygen.conf
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 20:48:20 +0000 (22:48 +0200)]
static QFile methods optimizations
the QFile::remove() and QFile::rename() methods are used a lot (e.g. to
remove or move temporary files) so the optimization will be noticable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 20:20:20 +0000 (22:20 +0200)]
QFile documentation review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 18:32:08 +0000 (20:32 +0200)]
QFileSystemIterator optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 16:00:30 +0000 (18:00 +0200)]
mark the error case in qt_unix_query() as unlikely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 15:56:26 +0000 (17:56 +0200)]
remove unused qmap header inclusion in qlibrary source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 15:53:25 +0000 (17:53 +0200)]
qt_unix_query() function optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 15:43:21 +0000 (17:43 +0200)]
keep reference to QByteArray object in QLibraryPrivate::load_sys()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 15:40:14 +0000 (17:40 +0200)]
const-ify QFactoryLoaderPrivate::suffix member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 14:05:49 +0000 (16:05 +0200)]
merge QFileSystemWatcherEngineUnix into QFileSystemWatcherPrivate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 21 Dec 2022 13:14:10 +0000 (15:14 +0200)]
track watched files and directories only in QFileSystemWatcherEngineUnix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 20 Dec 2022 18:49:17 +0000 (20:49 +0200)]
simplify emision of QFileSystemWatcher signals
the proxy signals are just redundant
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Dec 2022 17:57:27 +0000 (19:57 +0200)]
reuse QFontDatabase object in tst_QCssParser::extractFontFamily_data()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Dec 2022 17:56:54 +0000 (19:56 +0200)]
make Debian package depend on fonts-freefont-ttf
it is the last resort font
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Dec 2022 17:46:31 +0000 (19:46 +0200)]
update tables data to CLDR v42
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 18 Dec 2022 16:49:01 +0000 (18:49 +0200)]
update URL TLDs table data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 17 Dec 2022 12:40:02 +0000 (14:40 +0200)]
remove redundant QFontInfo class
QFontDatabase::font() does the same (i.e. resolves the font)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 13 Dec 2022 13:24:43 +0000 (15:24 +0200)]
do not return boolean from QBitArray::fill()
the return value is always true
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 12 Dec 2022 08:50:04 +0000 (10:50 +0200)]
drop support for custom QEasingCurve type
use one of the animation classes instead if such is required
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Dec 2022 10:47:17 +0000 (12:47 +0200)]
search for programs in the standard executables locations in addition to PATH
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 10 Dec 2022 10:43:05 +0000 (12:43 +0200)]
look for the program before exec-ing from QProcess
stat-ing multiple times is much more optimal than exec-ing multiple times,
bonus points for using QStandardPaths::findExecutable() to look for the
program (which should check for it in ~/.local/bin too)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 1 Dec 2022 19:27:11 +0000 (21:27 +0200)]
version bump
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 1 Dec 2022 16:27:21 +0000 (18:27 +0200)]
remove redundant QTextControl::event() reimplementation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 29 Nov 2022 02:22:50 +0000 (04:22 +0200)]
use correct QString constructor for expected data in tst_QJsonDocument::read()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 29 Nov 2022 01:53:25 +0000 (03:53 +0200)]
always use QImage for QTextDocument resources
now that QPixmap always uses QImage (internally) it's better to use QImage
directly
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Nov 2022 18:37:28 +0000 (20:37 +0200)]
check the time even if the serial is the same in QKeyMapper::translateKeyEvent()
apparently X11 sends key events with same serial even seconds after (if the
key is the same), also now only key presses will be considered
auto-repeated because X11 sends (fake/simulated) key release events
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 28 Nov 2022 08:43:02 +0000 (10:43 +0200)]
move the static variable outside the conditional code in QKeyMapper::translateKeyEvent()
fun fact: it is very easy to break auto-repeat code by reparenting QWidget
from a QPushButton event (KMediaWidget does it)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 27 Nov 2022 00:51:24 +0000 (02:51 +0200)]
correct memcmp() return value checks in QTextConverter::toUnicode()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Nov 2022 09:14:25 +0000 (11:14 +0200)]
return if ubrk_safeClone() fails in QTextBoundaryFinder assignment operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Nov 2022 09:03:16 +0000 (11:03 +0200)]
call ubrk_following() and ubrk_preceding() with the current QTextBoundaryFinder position
I remember ubrk_following() and ubrk_preceding() causing a crash if the
position is not within the text bounds so leaving the -1 checks just in
case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Nov 2022 06:34:03 +0000 (08:34 +0200)]
check for self-assignment in QTextBoundaryFinder assignment operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sat, 26 Nov 2022 04:44:56 +0000 (06:44 +0200)]
handle strings as UTF-8 encoded from QJsonDocument
the default QString codec is US-ASCII
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Nov 2022 15:20:43 +0000 (17:20 +0200)]
chop BOMs from QTextConverter::toUnicode()
fun fact: anything that is checking for BOMs is either not passing them
to QTextCodec/QTextConverter (e.g. Kate) when converting or was just using
QTextCodec::IgnoreHeader flag (QXmlStreamWriter used to)
okular xps generator now works btw (xml files in .xps files seem to be
UTF-16 encoded with BOM)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Nov 2022 00:53:41 +0000 (02:53 +0200)]
QPngHandler::write() optimization
why allocate when it can be done without?
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Nov 2022 00:05:45 +0000 (02:05 +0200)]
inherit std::bitset<T> as private base class of QTimersSet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Fri, 25 Nov 2022 00:03:25 +0000 (02:03 +0200)]
correct indendations in qslider source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 23:46:31 +0000 (01:46 +0200)]
remove unused QSizeGripPrivate member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 23:43:50 +0000 (01:43 +0200)]
remove unused definitions in qsizegrip source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 23:40:20 +0000 (01:40 +0200)]
correct break scope in QDockWidget::event()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 23:34:00 +0000 (01:34 +0200)]
QApplication and QWidgetAnimator friendship has been broken
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 23:17:28 +0000 (01:17 +0200)]
partial build fix for the case when QT_NO_COLORDIALOG is defined
qtconfig tool requires QColorDialog, that's why it is broken
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 23:03:53 +0000 (01:03 +0200)]
QT_NO_FILEDIALOG config option is no longer broken
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 22:48:36 +0000 (00:48 +0200)]
QT_NO_FONTDIALOG config option is no longer broken
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 22:18:59 +0000 (00:18 +0200)]
correct indentation in QWindowsStyle::drawPrimitive()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 21:56:00 +0000 (23:56 +0200)]
remove redundant check in QEasingCurve::setType()
since QEasingCurve instances are no longer shared and no detaching is done
the check that was optimization to avoid detaching is no longer worth it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 21:35:38 +0000 (23:35 +0200)]
correct repo directory name in crossdeb.sh script
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 22:59:54 +0000 (00:59 +0200)]
QFontDatabase review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 22:38:49 +0000 (00:38 +0200)]
QEasingCurve review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 22:26:54 +0000 (00:26 +0200)]
move the QEasingCurve::Custom case to the switch in QEasingCurve::valueForProgress()
side note: only plasma and KWin set custom QEasingCurve function, both are
not used
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 18:25:29 +0000 (20:25 +0200)]
translations update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 18:03:50 +0000 (20:03 +0200)]
remove resource system leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 17:48:32 +0000 (19:48 +0200)]
correct debug message in QTextStreamPrivate::flushWriteBuffer()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 16:40:55 +0000 (18:40 +0200)]
write BOM only from QTextStream, on demand
ICU finally does not generate BOMs (since idk when), I guess someone took
note. chopping BOMs from the result may have to be done only if the input
data had BOM (for compat) but let's see if that is even needed
Kate encoding tests pass now btw
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Thu, 24 Nov 2022 02:02:25 +0000 (04:02 +0200)]
consistent QTextConverter::ConversionFlag enums
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Nov 2022 21:32:56 +0000 (23:32 +0200)]
remove most of the QTextStream manipulators and the ambiguous void pointer operator
most of them are unused since QTextStream is used mostly for streaming to
QFile, besides that the streaming of void pointer could result in streaming
in std::endl function pointer address or some other non-sense
I will not gut-out QTextStream yet (not in this release cycle) because I
know for a fact such change will break things that use the declarative
component (such as plasma and its applets due to nan/inf compat code in
QTextStream)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Nov 2022 17:08:52 +0000 (19:08 +0200)]
test QTextConverter::hasFailure() in QTextCodec test
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Nov 2022 17:01:45 +0000 (19:01 +0200)]
call UCNV_FROM_U_CALLBACK_SUBSTITUTE() and UCNV_TO_U_CALLBACK_SUBSTITUTE() with NULL as context
what a surprise it is to learn that both function replace characters only
in some cases (when context is NULL or some internally set context)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Nov 2022 02:36:08 +0000 (04:36 +0200)]
someone's typo
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Nov 2022 00:15:21 +0000 (02:15 +0200)]
copy the other object position from QTextBoundaryFinder copy-constructor
as done by the assignment operator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Wed, 23 Nov 2022 00:12:23 +0000 (02:12 +0200)]
QTextBoundaryFinder documentation review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 23:44:55 +0000 (01:44 +0200)]
remove unused HB_MIN(), HB_MAX() and HB_FIXED_CONSTANT() macros defined in qharfbuz_p header
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 23:12:29 +0000 (01:12 +0200)]
QEasingCurve::valueForProgress() optimization
doing qreal (either float or double) math on demand is much more optimal,
also reducing the switches to one is a bonus
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 22:54:18 +0000 (00:54 +0200)]
QEasingCurve::InCurve, QEasingCurve::OutCurve, QEasingCurve::SineCurve and QEasingCurve::CosineCurve are deffinetly not internal
used by plasma system-monitor applet for example
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 22:49:24 +0000 (00:49 +0200)]
QEasingCurve documentation review
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 22:34:53 +0000 (00:34 +0200)]
call FatalSignalHandler constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 22:24:22 +0000 (00:24 +0200)]
QOpacityEffect review
by starting the elapsed timer just before the fade timer the opacity
transition will be smoother at the start of the effect
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 18:42:18 +0000 (20:42 +0200)]
explicitly convert the elapsed time to double
QElapsedTimer::elapsed() returns qint64 btw
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 18:37:06 +0000 (20:37 +0200)]
do not send move and resize events to the widget from qFadeEffect()
the position and size of the widget matter not to the effect
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 17:38:17 +0000 (19:38 +0200)]
drop effects other than fade
QComboBox animation was essentially non-operational (see
5b5fbca2ed070acc4ed37fe20fc1d16532469aef), UI_AnimateToolBox was just
reserved and unused . there is fade effect for QMenu and QToolTip so
the relevant effect is there
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 17:02:50 +0000 (19:02 +0200)]
QOpacityEffect optimization
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 14:16:53 +0000 (16:16 +0200)]
set the global static variables before deleting the effect instances in qScrollEffect() and qFadeEffect()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 14:15:52 +0000 (16:15 +0200)]
snapshot the widget as QImage from QRollEffect
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 14:15:03 +0000 (16:15 +0200)]
remove declaration of now non-existing QRollEffect::run() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 14:00:31 +0000 (16:00 +0200)]
actually animate QComboBox
for some reason the code for it was Q_WS_WIN && !QT_NO_EFFECTS guarded and
I purged Q_WS_WIN code programatically
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 13:28:10 +0000 (15:28 +0200)]
merge QRollEffect::run() into QRollEffect constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Tue, 22 Nov 2022 01:07:43 +0000 (03:07 +0200)]
cancel the opacity/fade effect when the widget is destroyed
widgets are supposed to call qFadeEffect(0) to cancel the effect but just
in case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Nov 2022 23:57:29 +0000 (01:57 +0200)]
fade effect class rewrite to not use QWidget and event filter
since the effect sets a X11 window property the only thing it has to care
about is if the widget pointer is valid and the elapsed time. moving,
resizing the widget, etc. do not matter
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Nov 2022 22:42:26 +0000 (00:42 +0200)]
remove unused graphics effects feature
doubles as performance optimzation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Nov 2022 21:19:08 +0000 (23:19 +0200)]
trc man page correction
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Nov 2022 18:41:53 +0000 (20:41 +0200)]
apply style from settings only if it is not empty and the style override is empty from QApplicationPrivate::x11_apply_settings()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Nov 2022 18:40:20 +0000 (20:40 +0200)]
QApplication::setStyle() documentation update
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Nov 2022 01:28:47 +0000 (03:28 +0200)]
optimize QAlphaWidget (fade effect) further by using window opacity
relies solely on the compositor for it and assumes window opacity is not
set by the user, Katana has animation override
(_KDE_NET_WM_SKIP_CLOSE_ANIMATION X11 atom) and the Katie fade effect
should probably have such (or just check if the opacity value is not 1.0
before running the effect) because effects may overlap with window manager
/compositor effects resulting in all sort of bad things
for that reason I am considering dropping the effects that alter the way
windows/widgets show, hide, are moved, etc. altogether and leaving that
to the window manager/compositor. effects such as colorization of pixmap
and grayscaling (used in QIcon) however are unlikely to be removed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Mon, 21 Nov 2022 00:49:32 +0000 (02:49 +0200)]
optimize QAlphaWidget by avoiding QImage to QPixmap conversion
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
Ivailo Monev [Sun, 20 Nov 2022 22:27:07 +0000 (00:27 +0200)]
use icons from the system in scripttools component
less static data in the library and better looks - can't go wrong with that
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>