Michele Calgaro
ec04b50a44
Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
gregory guy
43d7bc96c7
Remove deprecated glib2 function calls g_thread_get_initialized(), g_thread_init() and g_thread_create().
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
Slávek Banko
7441a646a8
Fix buffer overflow in XBM parser.
...
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>
4 years ago
OBATA Akio
8704c62dce
Fix `qt_xft_handle` to work as expected
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
ac50013578
Fix MIT_SHM related condition
...
Prevent to build MIT_SHM related codes for !QT_MITSHM condition.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
48a9cf9a3c
Fix to detect Thread Execution Scheduling support correctly
...
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>
4 years ago
OBATA Akio
b6a4a5ec20
Remove unwanted code for writing png
...
`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>
4 years ago
OBATA Akio
5ce8516970
Change to use PKG_LIBPNG_VER for libpng version check
...
It is suggested in png.h for applications.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Michele Calgaro
f086971876
Improved code for keyboard and mouse grabbing and releasing to avoid
...
unnecessary actions. This relates loosely to bug 2955.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
99e56ba8db
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
4470facd61
Fix crash in tqimage for certain malformed ppm image files
...
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>
5 years ago
Michele Calgaro
632cbaa30a
Renamed QT_IM_* to TQT_IM_*. This relates to bug 3020.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
a410cb031f
Rename tqt-kde integration to tqt-tde.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
gregory guy
d3b13515ef
The TDE integration library (libtqtkde) will be searched for
...
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>
6 years ago
Michele Calgaro
d795939c03
Added convenient TQStringVariantMap type and iterators.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
cfc76de73c
Removed dummy int parameter from TQVariant(bool, int).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
5a61151fe9
bmp image: check for out of range image size.
...
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>
6 years ago
Slávek Banko
83036c3af1
Check for TQImage allocation failure in qasyncimageio.
...
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>
6 years ago
Slávek Banko
b7be699a09
Add the definition _WANT_SEMUN to ensure the definition of the semun structure.
...
This resolves bug 2991.
Thanks to Nikolaus Klepp for initial patch.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
23b535df5b
Removed some obsolete code related to Qt1.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
789e7c7f92
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
...
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
69d87202cb
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
5774d07807
qt -> tqt conversion:
...
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
5fd88f2a20
qt -> tqt conversion:
...
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>
6 years ago
Michele Calgaro
9f5d59f336
qt -> tqt conversion:
...
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
ff63338d18
Always build with a clean namespace
...
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>
6 years ago
Michele Calgaro
02964eb384
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of the
...
qt->tqt conversion and is required to align to corresponding patch for
common/admin module.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
017e8dbffe
Fix FTBFS with stricter C++11
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Roman Savochenko
4c30819078
Add brightness keys support
...
The code partially taken from Qt4
This relates to bug 2775
Signed-off-by: Roman Savochenko <rom_as@oscada.org>
7 years ago
Michele Calgaro
caab7b3557
Added safety harness for currentThreadObject() usage.
...
currentThreadObject() returns a null pointer if the
current thread was not started using the TQThread API.
This relates to bug 1748.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Slávek Banko
094708c0e7
Fix security issue CVE-2015-1860
...
[taken from RedHat Qt3 patches]
10 years ago
Slávek Banko
64d9c07d57
Fix security issue CVE-2015-0295
...
[taken from RedHat Qt3 patches]
10 years ago
Slávek Banko
ebf9a9871a
Fix security issue CVE-2014-0190
...
[taken from RedHat Qt3 patches]
10 years ago
Timothy Pearson
dfb87398c7
Automated update from Qt3
10 years ago
Timothy Pearson
891a448afa
Automated update from Qt3
10 years ago
Timothy Pearson
3aba060d81
Automated update from Qt3
10 years ago
Timothy Pearson
38755f930a
Automated update from Qt3
10 years ago
Timothy Pearson
6e8d2d256b
Automated update from Qt3
10 years ago
François Andriot
f059feb9c6
Fix dpi detection when using xft2
10 years ago
François Andriot
3e57876ec3
Fix crash in TQTranslator
10 years ago
Michele Calgaro
85e2ff9cf6
Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice.
...
If the passed object is the same, the warning message is not displayed any more.
If the passed object is different, a message is still displayed.
This resolves bug 1947.
10 years ago
Michele Calgaro
686236f374
Revert "Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice."
...
because of wrong reference to bug 1887.
This reverts commit f0bff64751
.
10 years ago
Michele Calgaro
f0bff64751
Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice.
...
If the passed object is the same, the warning message is not displayed any more.
If the passed object is different, a message is still displayed.
This resolves bug 1887.
10 years ago
Timothy Pearson
e45396f47a
Automated update from Qt3
10 years ago
Michele Calgaro
0c50fad6c7
Fixed "TQApplication::postEvent: Unexpected null receiver" warning message. This resolves bug 1901 and 1909.
10 years ago
Slávek Banko
d5059601e6
Fix overwriting memory for an application icon
...
This resolves Bug 2033
11 years ago
Timothy Pearson
a9ec6a1556
Automated update from Qt3
11 years ago
Timothy Pearson
048b28dbf1
Automated update from Qt3
11 years ago
Timothy Pearson
523c1fd99e
Automated update from Qt3
11 years ago
Timothy Pearson
5445c25f50
Automated update from Qt3
11 years ago