summaryrefslogtreecommitdiffstats
path: root/src/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated glib2 function calls g_thread_get_initialized(), ↵gregory guy2021-06-211-7/+8
| | | | | | | g_thread_init() and g_thread_create(). Signed-off-by: gregory guy <[email protected]> (cherry picked from commit 43d7bc96c782afaf2e5047def508081b81815392)
* Fix buffer overflow in XBM parser.r14.0.9Slá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 <[email protected]> (cherry picked from commit 7441a646a8b452036daa42d85c98a2105412fd92)
* Fix `qt_xft_handle` to work as expectedOBATA Akio2020-08-081-1/+1
| | | | | Signed-off-by: OBATA Akio <[email protected]> (cherry picked from commit 8704c62dce2ad2218b77d4f74c20b39724aeca26)
* Fix MIT_SHM related conditionOBATA Akio2020-08-071-1/+5
| | | | | | | Prevent to build MIT_SHM related codes for !QT_MITSHM condition. Signed-off-by: OBATA Akio <[email protected]> (cherry picked from commit ac500135785f34eebe8d9c077208a5dd0b494929)
* Fix to detect Thread Execution Scheduling support correctlyOBATA Akio2020-08-061-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 <[email protected]> (cherry picked from commit 48a9cf9a3c2866db8a68fd1ac6cce5627c507386)
* Remove unwanted code for writing pngOBATA Akio2020-07-191-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 <[email protected]> (cherry picked from commit b6a4a5ec2001abed68c01d5c6baabbc2319214dc)
* Change to use PKG_LIBPNG_VER for libpng version checkOBATA Akio2020-07-191-23/+23
| | | | | | | It is suggested in png.h for applications. Signed-off-by: OBATA Akio <[email protected]> (cherry picked from commit 5ce8516970925f9c41fd5a07905f546b7f00258b)
* 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 <[email protected]> (cherry picked from commit f0869718763cd6d04c9b225db8966df08ddaef44)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-3017-168/+168
| | | | | Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
* Fix crash in tqimage for certain malformed ppm image filesr14.0.7Slá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 <[email protected]> (cherry picked from commit 4470facd61b6d9fd862f70ce56f22ab502415d23)
* Renamed QT_IM_* to TQT_IM_*. This relates to bug 3020.Michele Calgaro2019-06-171-3/+3
| | | | | (cherry picked and partially edited from commit 632cbaa30ac55924b21d9e65bbe261d592098553) Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit d3b13515ef865fe7304afaa7a119cf326f2c774d)
* bmp image: check for out of range image size.r14.0.6Slá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 <[email protected]> (cherry picked from commit 5a61151fe90ed84dce18998fe6c7d69ec6e49c74)
* 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 <[email protected]> (cherry picked from commit 83036c3af1ff5439b9106a31738650c54920e475)
* 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 <[email protected]> (cherry picked from commit b7be699a0982bb35f229337616bb24795d4762ed)
* Fix FTBFS with stricter C++11Slávek Banko2018-08-191-4/+4
| | | | | Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 017e8dbffe8919583bb9a3828f9cd8a61505659b)
* 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 <[email protected]> (cherry picked from commit 4c308190789d7f5ffc940d70dd5ea8a002fa4b30)
* Added safety harness for currentThreadObject() usage.Michele Calgaro2015-08-262-7/+25
| | | | | | | | | currentThreadObject() returns a null pointer if the current thread was not started using the TQThread API. This relates to bug 1748. (cherry picked from commit caab7b355740dd9661046c1bf73e1add9de9d045) Signed-off-by: Michele Calgaro <[email protected]>
* Fixed incorrect #define ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY -> ↵r14.0.1Michele Calgaro2015-05-281-3/+3
| | | | | | ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY. Signed-off-by: Michele Calgaro <[email protected]>
* Fix security issue CVE-2015-1860Slávek Banko2015-05-231-0/+2
| | | | | [taken from RedHat Qt3 patches] (cherry picked from commit 094708c0e7379cbc825488cd6101c6b8a610302a)
* Fix security issue CVE-2015-0295Slávek Banko2015-03-091-0/+6
| | | | | [taken from RedHat Qt3 patches] (cherry picked from commit 64d9c07d5709e9bcb0b676d55c4a5b303599f708)
* Fix security issue CVE-2014-0190Slávek Banko2015-03-091-1/+6
| | | | | [taken from RedHat Qt3 patches] (cherry picked from commit ebf9a9871a1424469c6850d1844b1487e32d137a)
* 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
|
* 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
* Automated update from Qt3Timothy Pearson2014-04-231-1/+1
|
* Automated update from Qt3Timothy Pearson2013-12-222-0/+68
|
* Automated update from Qt3Timothy Pearson2013-12-225-41/+111
|
* Automated update from Qt3Timothy Pearson2013-12-021-1/+1
|
* Automated update from Qt3Timothy Pearson2013-11-252-15/+20
|
* Revert "Update minor TQt3 tool names to match current TQt3 sources in GIT"Timothy Pearson2013-11-071-1/+1
| | | | This reverts commit 40e50e6f20276afb557992a51d47618b014e388d.
* Update minor TQt3 tool names to match current TQt3 sources in GITTimothy Pearson2013-11-071-1/+1
|
* Automated update from Qt3Timothy Pearson2013-11-061-1/+1
|
* Automated update from Qt3Timothy Pearson2013-11-042-6/+8
|
* Automated update from Qt3Timothy Pearson2013-11-035-8/+52
|
* Automated update from Qt3Timothy Pearson2013-10-171-0/+1
|
* Automated update from Qt3Timothy Pearson2013-08-151-0/+3
|
* Automated update from Qt3Timothy Pearson2013-08-151-2/+6
|
* Private headers moved out from public include directorySlávek Banko2013-08-141-1/+1
|
* Automated update from Qt3Timothy Pearson2013-08-082-19/+27
|
* Automated update from Qt3Timothy Pearson2013-08-062-14/+64
|
* Automated update from Qt3Timothy Pearson2013-07-231-1/+5
|