summaryrefslogtreecommitdiffstats
path: root/src/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Fix buffer overflow in XBM parser.Slávek Banko2021-02-021-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 Akio2021-02-021-1/+1
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix MIT_SHM related conditionOBATA Akio2021-02-021-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 Akio2021-02-021-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 Akio2021-02-021-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 Akio2021-02-021-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 Calgaro2021-02-021-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 Calgaro2021-02-0117-168/+168
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix crash in tqimage for certain malformed ppm image filesSlávek Banko2019-12-181-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>
* The TDE integration library (libqtkde) will be searched forgregory guy2019-06-021-5/+1
| | | | | | | | | | in the Qt plugins directory, instead of the TDE plugins directory, which cannot be known at Qt 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 QStringVariantMap type and iterators.Michele Calgaro2019-06-011-7/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to latest QVariant::QVariant(bool) function.Michele Calgaro2019-05-273-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 QImage 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>
* Always build with a clean namespaceMichele Calgaro2018-09-258-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. --------------------------- Cherry picked and adapted from commit ff63338d in tqt3 from Slávek Banko <slavek.banko@axis.cz> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to ↵Michele Calgaro2018-09-1817-213/+213
| | | | | | | | updated admin module" The original commit was a mistake and should not have been pushed. This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
* QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin ↵Michele Calgaro2018-09-1817-213/+213
| | | | | | 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 QThread 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]
* Fix typo in CEF structure definitionTimothy Pearson2014-11-221-1/+1
| | | | This relates to Bug 1489
* Properly polish QPopupMenu widgetsTimothy Pearson2014-11-211-1/+1
| | | | This relates to Bug 1489
* Fix undefined behaviour in TQClipboardWatcher::formatTimothy Pearson2014-10-042-9/+9
| | | | This relates to Bug 1820
* 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 41f30477dd877e37ed79b42253b79d6441dab7d9.
* 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.
* Refresh control element data structures before executing style object event ↵Timothy Pearson2014-08-071-6/+15
| | | | | | | handlers This resolves Bug 1816 Fix FTBFS in style examples
* Fixed "TQApplication::postEvent: Unexpected null receiver" warning message. ↵Michele Calgaro2014-07-301-3/+3
| | | | This resolves bug 1901 and 1909.
* Fix overwriting memory for an application iconSlávek Banko2014-05-193-8/+9
| | | | This resolves Bug 2033
* Fix DnD crash when source is not presentTimothy Pearson2014-04-231-1/+1
| | | | This resolves Bug 1602
* Add slow QStyleControlElementData copy constructor for use with pythonTimothy Pearson2013-12-222-0/+68
|
* Repair performance regression accidentally introduced with new style APITimothy Pearson2013-12-225-41/+111
|
* Add end-of-file newlines.Darrell Anderson2013-11-301-1/+1
|
* Wake up the correct event loop when an event is posted to TQApplicationTimothy Pearson2013-11-252-15/+20
| | | | This relates to Bug 1703
* Revert "Update minor TQt3 tool names to match current TQt3 sources in GIT"Slávek Banko2013-11-082-2/+2
|
* Update minor TQt3 tool names to match current TQt3 sources in GITTimothy Pearson2013-11-072-2/+2
|
* Clean up prior commitTimothy Pearson2013-11-042-6/+8
|
* Add threading debug spew when QT_DEBUG is setTimothy Pearson2013-11-035-8/+52
|
* Fix memory leak on widget destruction after certain style method accessesTimothy Pearson2013-10-171-0/+1
| | | | This resolves Bug 1674
* Fix prior commitTimothy Pearson2013-08-151-0/+3
|
* Fix crash on exit when application does not use session managementTimothy Pearson2013-08-151-2/+6
| | | | This relates to Bug 1627
* Private headers moved out from public include directorySlávek Banko2013-08-141-1/+1
|
* Fix a minor valgrind warningTimothy Pearson2013-08-082-19/+27
|