| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
On a non-xinerama (user-side) configuration it is straight up wrong, as
in such case each screen's coordinates start at 0:0. Which makes the
apps on the smaller screen assume incorrect screen size.
And on a xinerama config it is incorrect as well as it results in access
past allocated data in rects and screen arrays.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
|
|
|
|
|
| |
As derivative from it e.g. TQPrinterUnixPrivate are getting deleted (e.g
in unix TQPrinter implementation) by a reference to base class.
Also added missing include to the header.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
|
|
|
| |
valgrind was complaining about access to uninitialized data because
unused elements in client_message.data.l array weren't set o any value.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
|
|
| |
This removes valgrind's complains about accessing uninitialized memory.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before that the allocations of TQThreadStorage objects from the main
thread were never destroyed and memory associated with them were never
freed. The second one isn't a huge problem as at that point program is
terminating anyway (but it still makes valgrind complain). The first one
is the bigger issue as destructors might contain some essential external
cleanups like removing temporary files.
Also make `TQApplication::guiThread()` return `0` when the thread is
destroyed (may happen on the program exiting during destruction of
statics).
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As for now here are two sets of inputmethod options:
- -enable-inputmethod/disable-inputmethod - which seems to supposed to
control whether build the 'inputmethod' module or not
- -inputmethod/-no-inputmethod - which seems to supposed to
enable/disable inputmethod support without changing the ABI.
Before the patch both -disable-inputmethod and -no-inputmethod were just
breaking the build: -no-inputmethod were disabling some code with
support for the module, but didn't disabled the module build itself nor
build of plugins. -disable-inputmethod were disabling build of plugins
and module, but didn't disabled code depending upon it.
It seems the inputmethod support were still WIP when the last release of
Qt3 came to be, hence the mess.
This patch fixes the build if both -disable-inputmethod AND
-no-inputmethod are supplied. Disabling only one is not enough due to
tqmake/configure have problems handling two different options of the
same name. Later the -inputmethod/-no-inputmethod should be probably
removed entirely.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
|
|
|
| |
The analogue of XkbKeycodeToKeysym() used to be XKeycodeToKeysym(), but
it was deprecated in favour of XGetKeyboardMapping() method.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
|
|
|
| |
Also use "On The Spot" as the default when the setting in the config is
incorrect.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first part of the replacement process.
Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*.
Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow
TDE code to continue building till replacement is carried over to all
other modules.
Once that is completed, the original Q_WS_* defines will
be removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
| |
This resolves TDE/tdebase#421.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
| |
Commit b167d09c was functionally incorrect and is causing issues on
selected distributions.
This reverts commit b167d09c43be6c8b7d30f0d4fb1bf1e86c51b8a7.
This resolves issue TDE/tde#128.
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
| |
This helps keeping the object root list shorter, speeding up operations
which require lot of TQObject trees. This relates to TDE/tdebase#309.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
| |
ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
| |
g_thread_init() and g_thread_create().
Signed-off-by: gregory guy <gregory-tde@laposte.net>
|
|
|
|
|
|
|
|
|
| |
Avoid parsing over the buffer limit, or interpreting non-hex as hex.
This still leaves parsing of lines longer than 300 chars unreliable.
Based on Qt5 patch for CVE-2020-17507.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: OBATA Akio <obache@wizdas.com>
|
|
|
|
|
|
| |
Prevent to build MIT_SHM related codes for !QT_MITSHM condition.
Signed-off-by: OBATA Akio <obache@wizdas.com>
|
|
|
|
|
|
|
| |
If `_POSIX_THREAD_PRIORITY_SCHEDULING == 0`, it must be checked
with sysconf(_SC_THREAD_PRIORITY_SCHEDULING) at runtime.
Signed-off-by: OBATA Akio <obache@wizdas.com>
|
|
|
|
|
|
|
| |
`info_ptr->channels` will be set in the next called `png_set_IHDR()`,
so it is no effect.
Signed-off-by: OBATA Akio <obache@wizdas.com>
|
|
|
|
|
|
| |
It is suggested in png.h for applications.
Signed-off-by: OBATA Akio <obache@wizdas.com>
|
|
|
|
|
|
| |
unnecessary actions. This relates loosely to bug 2955.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
|
| |
The ppm format specifies that the maximum color value field must be
less than 65536. The handler did not enforce this, leading to
potentional overflow when the value was used in 16 bits context.
Based on Qt5 patch for CVE-2018-19872.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
|
|
| |
in the TQt plugins directory, instead of the TDE plugins
directory, which cannot be known at TQt build time.
This resolves issue #3.
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
| |
Make the decoder fail early to avoid spending time and memory on
attempting to decode a corrupt image file.
Based on Qt5 patch for CVE-2018-19873.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
|
| |
Since image files easily can be (or corrupt files claim to be) huge,
it is worth checking for out of memory situations.
Based on Qt5 patch for CVE-2018-19870.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
| |
This resolves bug 2991.
Thanks to Nikolaus Klepp for initial patch.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
| |
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
| |
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
| |
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
| |
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
| |
QT_CLEAN_NAMESPACE constant is no more needed
This may theoretically affect applications created for Qt1 and Qt2,
but such applications require further modifications as well.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|