summaryrefslogtreecommitdiffstats
path: root/src/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Drop compatibility code for TQThreadMichele Calgaro2023-07-112-19/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove Qt4 related stuffMichele Calgaro2023-07-098-86/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop Qt2's TQSemiModal and TQSortedList classesMichele Calgaro2023-07-071-2/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Revert "Add single TQObject root parent for all guarded pointers."Michele Calgaro2023-06-121-2/+1
| | | | | | | Commit b167d09c was functionally incorrect and is causing issues on selected distributions. This reverts commit b167d09c43be6c8b7d30f0d4fb1bf1e86c51b8a7. This resolves issue TDE/tde#128.
* Drop Qt2 obsolete classesMichele Calgaro2023-06-031-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add single TQObject root parent for all guarded pointers.r14.1.0Michele Calgaro2023-02-131-1/+2
| | | | | | | 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>
* Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ↵Michele Calgaro2022-04-301-3/+3
| | | | | | ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove deprecated glib2 function calls g_thread_get_initialized(), ↵gregory guy2021-06-181-7/+8
| | | | | | g_thread_init() and g_thread_create(). Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Fix buffer overflow in XBM parser.Slávek Banko2020-10-161-7/+32
| | | | | | | | | 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>
* Fix `qt_xft_handle` to work as expectedOBATA Akio2020-08-081-1/+1
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix MIT_SHM related conditionOBATA Akio2020-08-061-1/+5
| | | | | | Prevent to build MIT_SHM related codes for !QT_MITSHM condition. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix to detect Thread Execution Scheduling support correctlyOBATA Akio2020-08-041-1/+4
| | | | | | | 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>
* Remove unwanted code for writing pngOBATA Akio2020-07-181-13/+0
| | | | | | | `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>
* Change to use PKG_LIBPNG_VER for libpng version checkOBATA Akio2020-07-181-23/+23
| | | | | | It is suggested in png.h for applications. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Improved code for keyboard and mouse grabbing and releasing to avoidMichele Calgaro2020-04-291-23/+28
| | | | | | unnecessary actions. This relates loosely to bug 2955. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-3017-168/+168
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix crash in tqimage for certain malformed ppm image filesSlávek Banko2019-12-161-1/+1
| | | | | | | | | | 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>
* Renamed QT_IM_* to TQT_IM_*. This relates to bug 3020.Michele Calgaro2019-06-161-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename tqt-kde integration to tqt-tde.Slávek Banko2019-06-044-71/+71
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* The TDE integration library (libtqtkde) will be searched forgregory guy2019-06-021-5/+1
| | | | | | | | | | 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>
* Added convenient TQStringVariantMap type and iterators.Michele Calgaro2019-06-011-7/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed dummy int parameter from TQVariant(bool, int).Michele Calgaro2019-05-233-8/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* bmp image: check for out of range image size.Slávek Banko2019-03-031-0/+2
| | | | | | | | | 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>
* Check for TQImage allocation failure in qasyncimageio.Slávek Banko2019-03-031-3/+6
| | | | | | | | | 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>
* Add the definition _WANT_SEMUN to ensure the definition of the semun structure.Slávek Banko2019-02-161-0/+1
| | | | | | | | This resolves bug 2991. Thanks to Nikolaus Klepp for initial patch. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Removed some obsolete code related to Qt1.Michele Calgaro2018-10-213-98/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed obsolete Qt2's TQList/TQListIterator classes and replacedMichele Calgaro2018-10-172-7/+2
| | | | | | with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-17149-1235/+1235
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-284-45/+45
| | | | | | | | kdeqt -> kdetqt qtkde -> tqtkde qtdesigner -> tqtdesigner Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-2725-56/+56
| | | | | | | | | 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>
* qt -> tqt conversion:Michele Calgaro2018-09-271-2/+2
| | | | | | | | | qtlib -> tqtlib libqt -> libtqt QTLIB -> TQTLIB LIBQT -> LIBTQT Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Always build with a clean namespaceSlávek Banko2018-09-248-39/+0
| | | | | | | | | 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>
* Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of theMichele Calgaro2018-09-1617-213/+213
| | | | | | | qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix FTBFS with stricter C++11Slávek Banko2018-08-191-4/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add brightness keys supportRoman Savochenko2017-07-304-0/+25
| | | | | | | The code partially taken from Qt4 This relates to bug 2775 Signed-off-by: Roman Savochenko <rom_as@oscada.org>
* Added safety harness for currentThreadObject() usage.Michele Calgaro2015-07-192-7/+25
| | | | | | | | 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>
* Fix security issue CVE-2015-1860Slávek Banko2015-05-231-0/+2
| | | | [taken from RedHat Qt3 patches]
* Fix security issue CVE-2015-0295Slávek Banko2015-03-091-0/+6
| | | | [taken from RedHat Qt3 patches]
* Fix security issue CVE-2014-0190Slávek Banko2015-03-091-1/+6
| | | | [taken from RedHat Qt3 patches]
* Automated update from Qt3Timothy Pearson2015-03-053-4/+4
|
* Automated update from Qt3Timothy Pearson2015-03-051-3/+3
|
* Automated update from Qt3Timothy Pearson2014-11-221-1/+1
|
* Automated update from Qt3Timothy Pearson2014-11-211-1/+1
|
* Automated update from Qt3Timothy Pearson2014-10-042-9/+9
|
* Fix dpi detection when using xft2François Andriot2014-09-161-1/+18
|
* Fix crash in TQTranslatorFrançois Andriot2014-09-161-1/+1
|
* Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice.Michele Calgaro2014-08-181-1/+1
| | | | | | 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.
* Revert "Fixed warning message if QMetaObjectCleanUp::setMetaObject is ↵Michele Calgaro2014-08-181-1/+1
| | | | | | | invoked twice." because of wrong reference to bug 1887. This reverts commit f0bff64751c7d6911be3578d7578bae8180e987d.
* Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice.Michele Calgaro2014-08-181-1/+1
| | | | | | 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.
* Automated update from Qt3Timothy Pearson2014-08-071-6/+15
|