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> (cherry picked from commit 9d7d238e9efc673a0dbda1140e2eaa740fe00d6b)
* Fix `qt_xft_handle` to work as expectedOBATA Akio2021-02-021-1/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit a35e51a4fde9d292e94e824454d5d589f22b0f19)
* 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> (cherry picked from commit 82d40179adeb02d3012e10c45ffde20e0e60fcd1)
* 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> (cherry picked from commit d61a821ad0c5508dd2e34232370a66034b348886)
* 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> (cherry picked from commit b00b5ea1c5e0cecd50b928a5d88b3be8560c18e7)
* 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> (cherry picked from commit 2283b5627da2a075591f4376666781b5a4be4c23)
* 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> (cherry picked from commit bc1b1fed7dda5d3143e1fc9f6a38783ff8389f4d)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2021-02-0116-164/+164
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
* 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> (cherry picked from commit b08a6d71ba872e67b75a822fcd44670126975818)
* 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> (cherry picked from commit 1ef55acbce6782803def9c2cc7bbc6a15dd9d6c9)
* 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> (cherry picked from commit a00e43bd1ce54de39f807ae5acbcaa52b15be844)
* 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> (cherry picked from commit a04cfea092d974109c6a883f26762be984805c8e)
* 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> (cherry picked from commit ee61bf8d1a23872f247f6b1c2ba387fb7ae98e43)
* Fix FTBFS with stricter C++11Slávek Banko2018-08-191-4/+4
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5431226296e2607b37b4f666ee970bddb5fd5707)
* 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> (cherry picked from commit 02405c8411cbdf42fa8f73ce93598eb6f5cec0fe)
* Fix undefined behaviour in TQClipboardWatcher::formatTimothy Pearson2015-12-152-9/+9
| | | | | This relates to Bug 1820 (cherry picked from commit dc8f5371804c0006ebefc8c0f72be442e6311ce4)
* Fix dpi detection when using xft2François Andriot2015-12-151-1/+18
| | | | (cherry picked from commit e4b05c8f30bfa0a01adc00a7157bfc41acaaf4a0)
* Fix crash in TQTranslatorFrançois Andriot2015-12-151-1/+1
| | | | (cherry picked from commit a944830520dff4031b540cc8fd95906bc5164009)
* Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice.Michele Calgaro2015-12-151-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. (cherry picked from commit a401ecd325ce463c73c0111d6197590ace3d0263)
* Fixed "TQApplication::postEvent: Unexpected null receiver" warning message. ↵Michele Calgaro2015-12-151-3/+3
| | | | | | This resolves bug 1901 and 1909. (cherry picked from commit cbeacf0de9aae47bdc51931c1944f4d1f50cfb27)
* Fix overwriting memory for an application iconSlávek Banko2015-12-153-8/+9
| | | | | This resolves Bug 2033 (cherry picked from commit 1afc62ef88274fea322f6c53857890fe17c9fdcf)
* Fix DnD crash when source is not presentTimothy Pearson2015-12-151-1/+1
| | | | | This resolves Bug 1602 (cherry picked from commit b7d35a6235010df4cdc89961641b57ccb972f7fa)
* Fix prior commitTimothy Pearson2015-12-151-0/+3
| | | | (cherry picked from commit 8fb62409a1abf73cce043556316f75f0a7d6d1dd)
* Fix crash on exit when application does not use session managementTimothy Pearson2015-12-151-2/+6
| | | | | This relates to Bug 1627 (cherry picked from commit 7c0bc39229bbba839dea93fe12b0d2cdbe21eec0)
* Allow TQApplication objects to be constructed without a session managerTimothy Pearson2015-12-152-14/+64
| | | | | This relates to Bug 760 (cherry picked from commit 49075fd69d70b7850febe2fbc11f81d2d4e62cf1)
* Fix security issue CVE-2015-1860Slávek Banko2015-12-131-0/+2
| | | | | [taken from RedHat Qt3 patches] (cherry picked from commit 538d6a2440fbe645b970402fa7e86dfd3e36192b)
* Fix security issue CVE-2015-0295Slávek Banko2015-12-131-0/+6
| | | | | [taken from RedHat Qt3 patches] (cherry picked from commit b3037160f25730efca66966559779559a4946bf3)
* Fix security issue CVE-2014-0190Slávek Banko2015-12-131-1/+6
| | | | | [taken from RedHat Qt3 patches] (cherry picked from commit ad74a11abf9d62389a6bd74a6edf9cd73e36c8f7)
* Fix spelling mistakesv3.5.13.2Darrell Anderson2013-05-081-1/+1
| | | | (cherry picked from commit be8413249bb8a6d8dc2cfc693d9c1037284fd251)
* Fix ARGB mode stippled focus rectangle showing underlying window contentsTimothy Pearson2013-05-042-6/+21
| | | | | Fix TQColor not processing alpha channel in ARGB mode (cherry picked from commit 2a85fcbb5cafc25a750ce548123c8e7422793b3c)
* Fix corrupted titlebar icons in subwindows of ARGB applicationsTimothy Pearson2013-05-031-3/+37
| | | | (cherry picked from commit 8ab00086554fa825a8d878f313fea674be37e748)
* Fix a number of threading problems and crashesTimothy Pearson2013-04-252-18/+37
| | | | | | This partially resolves Bug 1467 (part of the original commit) (cherry picked from commit 83d39cad274f592a43a3262926d215493caea0bc)
* Add 0084 compositing patch from RedHatTimothy Pearson2013-04-201-12/+20
| | | | (cherry picked from commit 7295893a208dd65d616cebca19befa4cf55aa08b)
* Fix Qt input method failureTimothy Pearson2013-04-202-7/+7
| | | | | This resolves Bug 1019 (cherry picked from commit c6db1b3eb2cb39d3d8ad11cc0817adfd06cb9a99)
* Fix fatal X11 errors when both external display and command arguments are ↵Timothy Pearson2013-04-161-11/+19
| | | | | | | provided to QApplication This resolves Bug 1456 (cherry picked from commit 7abfc2a181531c769d50bcb1c0bff1fc08c66de2)
* Properly set WM_CLASS atom even if Display pointer was passed to TQApplicationTimothy Pearson2013-04-132-2/+8
| | | | | This relates to Bug 1443 (cherry picked from commit e154d27e308f648aabffee9caef82d58d12ce804)
* Verify desktop widget screen number before applying size changesTimothy Pearson2013-01-131-7/+20
| | | | | This resolves Bug 1378 (cherry picked from commit b85cdabf4805af35799b141cb3dd6deb411b9b47)
* Ensure that a valid DPI is always setTimothy Pearson2012-12-121-5/+10
| | | | (cherry picked from commit f19aa203c934d0f85862fdf810a87fe7c5777d17)
* Fix build warningsv3.5.13.1Timothy Pearson2012-08-047-48/+51
| | | | | Thanks to Bruce Sass for the patch! (cherry picked from commit ebcb1d80bf517aceb69778e1e9f67e5f4da8c484)
* Fix xrandr resize event failing on some systemsTimothy Pearson2012-06-021-20/+21
| | | | (cherry picked from commit 6ff026570df6bf0d2988e5e94465fc8d19ef2133)
* Fix potential crash when Qt3 is used as part of another application due to ↵Timothy Pearson2012-06-021-1/+2
| | | | | | multiple calls to XLib threading init function (cherry picked from commit 1db4f237a710955a817c7aca65a716d85573304b)
* Fix TQPainter::drawWinFocusRectTimothy Pearson2012-06-023-5/+15
| | | | | This patch brings the behaviour on external paint devices in line with the documentation at http://trinitydesktop.org/docs/qt3/qpainter.html#drawWinFocusRect (cherry picked from commit b4eece7cc6ded028251408312d7b7f2aa69fe10a)
* Initialize X11 threading when Qt threading is enabledTimothy Pearson2012-06-021-0/+6
| | | | | This closes Bug 812 (cherry picked from commit 1f3965029290616c894f2d5e668ddfbd5795d6a0)
* Fix Qt3 builds with libpng15Timothy Pearson2012-06-021-3/+111
| | | | | This partially closes Bug 683 (cherry picked from commit e278b858739babff5cc19ca81a661e1256d162e7)
* Apply qtkdeintegration patches to Qt3v3.5.13Timothy Pearson2011-10-064-0/+314
| | | | This partially resolves Bug #528
* Fix Qt3 libjpeg silent crash if compiled library version does not match the ↵Timothy Pearson2011-09-271-3/+3
| | | | | | shared library version present on the local system Thanks to "Fat-Zer" for the patch!
* Fix Qt3 compilation against new libpng versionsTimothy Pearson2011-09-121-0/+14
|
* Add new emitResizedSignal method to QDesktopWidgetTimothy Pearson2011-08-231-0/+2
|
* Increase size of internal shared double buffer to accommodate larger screens ↵Timothy Pearson2011-08-191-0/+16
| | | | more typical of modern (year 2011) systems
* Revert delayed init commit as it won't work the way I intendedTimothy Pearson2011-08-102-103/+0
|