summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Change tests for glibc version.Slávek Banko2019-06-123-15/+7
| | | | | | | | It resolves building with libc libraries other than glibc - for example musl libc. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit edad20d4f9ef3de0b91c163361803f12fc7212bc)
* 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)
* This fixes bug: 639gregory guy2019-06-011-0/+1
| | | | | | | | | | | | | | | | | Add desktop files for: - assistant-qt3 - designer-qt3 - linguist-qt3 - qtconfig-qt3 These files have been made with the contribution of Laurent Dard's patch (see bugzilla:639) with little change/addition from I. Add 'sysshare' option to the configure script. Signed-off-by: gregory guy <g-gregory@gmx.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 7c13f5df2fbd64512a99b66f633abb0fd7f87d35)
* Reintroduced debug, warning and fatal functions since this are part ofMichele Calgaro2019-06-011-0/+89
| | | | | | | R14.0.x API. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5151555c0ecf9acbc04f8384588e7f80a174f725)
* Added timestamp to debug functions (qDebug, qWarning, qFatal).Michele Calgaro2019-06-011-94/+13
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3ae061484d7a4098029d54af72963a163f421312)
* 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)
* Make use of QString::utf8() and QString::local8Bit() safe for conversion to ↵Slávek Banko2019-02-102-9/+26
| | | | | | | char*. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (based on commit 0a1966b25e36fbca6263b656fec8de9d42770f8d)
* Improved class name used in previous commit. Suggestion comes from Slavek :-)Michele Calgaro2018-11-023-8/+8
| | | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 19ef3e4359eed834049596c7bc07cb18b204a2f1)
* Fixed FTBFS caused by name conflict with new postgres server dev 11Michele Calgaro2018-11-023-8/+8
| | | | | | | package. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4a5da4685a8607a87602e065d1e3abdbf66c9ff9)
* Fix FTBFS with stricter C++11Slávek Banko2018-08-192-8/+8
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5431226296e2607b37b4f666ee970bddb5fd5707)
* Fix security issue CVE-2016-10040Slávek Banko2018-07-261-1/+1
| | | | | | | [taken from RedHat Qt3 patches] Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 54809cd81b104eff743b46aa7fe8744cab46cf98)
* Backport mysql driver mariadb fix - see QTBUG-63108Slávek Banko2018-06-031-12/+22
| | | | | | | [taken from RedHat Qt3 patches] Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f3c643afc14d102ae97bacc795f125a22a4cae16)
* 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)
* ListView: Deselect items that are hidden by the filterSlávek Banko2017-07-021-5/+21
| | | | | | | during selectAll and invertSelection Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit d96172f76d7cfef8f9e758c4831ebca077a30537)
* IconView: Deselect items that are hidden by the filterSlávek Banko2017-07-021-7/+15
| | | | | | | | during selectAll and invertSelection This resolves bug 2750 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 057d9fe7a490371b8f2914992ef5c9fcae9720a7)
* Fixed (again) search algorithm for iconview widget. This resolves (again) ↵Michele Calgaro2015-12-151-24/+22
| | | | | | | bug 420. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d27f4e2fc304208a404c64279a4e32b1a94b05a9)
* Fixed search algorithm for iconview widget. This resolves bug 420.Michele Calgaro2015-12-152-217/+237
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d6867cf92e3f65b61a7289a478f97910b9fa4965)
* Fixed Multicolumn view filtering item arrangement. This relates to bug 146.Michele Calgaro2015-12-151-9/+12
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9655b0b845a568b61437a9354e98eae9623b7d13)
* Try to avoid crashes if the destructor of a TQMap is called when no private ↵Timothy Pearson2015-12-151-2/+6
| | | | | | object was previously created (cherry picked from commit 997490223743e3bd40c3cedf5dc799243c6dad9e)
* Repaint QComboBox on drop-down dismissalTimothy Pearson2015-12-151-0/+2
| | | | | This relates to Bug 1489 (cherry picked from commit 444ac1fed900609b42c26cc5405a7c85ad65246a)
* Add support for the environment variables TQT_HOME_DIR and TQT_SYSTEM_DIRFrancois Andriot2015-12-151-1/+24
| | | | (cherry picked from commit f0cc3689b3b210e9e27e0367112790fd45565ee7)
* Fix undefined behaviour in TQClipboardWatcher::formatTimothy Pearson2015-12-152-9/+9
| | | | | This relates to Bug 1820 (cherry picked from commit dc8f5371804c0006ebefc8c0f72be442e6311ce4)
* Improve TQProgressBar repaint optimizationSlávek Banko2015-12-152-8/+5
| | | | (cherry picked from commit 5b34ad0d8e489369a0cd8bd1e1b3ccebc4c9acb7)
* Fix unwanted toggling TQIconViewItem focus on clickEnrico Ros2015-12-151-17/+26
| | | | | | | | | | | | | | | | This fixes the 'flashing' icon when clicking repeatedly on a TQIconView or derivates (ie TDEIconView, KonqIconViewWidget, the KDesktop and so on..). The current behavior considers that if not over an icon, the user is clicking down to perform icons selection (with the rubberband). This is not always true, since a click might be used to give focus to a window or unselect some icons. How this is fixed: when clicking down the mouse a flag is set. If the pointer is moved on the iconview with the button held down, then (and only at that moment) the rubber is created. Now a selection operation (the one done with the rubber) begins when moving the mouse and not only when clicking on the empty space. (cherry picked from commit fbc4cf8e7f2170744c12fd0d435639516c733db9)
* 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)
* Enhance warning verbosity in TQFile (unix)François Andriot2015-12-151-9/+9
| | | | (cherry picked from commit fdc4699bcbf4b4900a8ad75974420193218fd2c2)
* Fix zoom in TQTextEditWaldo Bastian2015-12-151-2/+12
| | | | | | | TQTextEdit::zoomIn / TQTextEdit::zoomOut does not work if the original font had its size specified in pixels instead of points. pointSize() returns 0 in such case. (cherry picked from commit 14f96e80a52af97f643a1be57fa2c428ef8153c5)
* Remove unnecessary scrollbar in TQIconViewBenoit Walter2015-12-152-10/+32
| | | | | | | | | | | | | | | Test case (using konqueror icon view): - The first icons are being shown (no scrollbar yet) - When there is no space left, a vertical scrollbar is needed - The vertical scrollbar may cover the right edge of the icons (in the last column) => an horizontal scrollbar is needed :-( Solution: When using ScrollBarMode::Auto, prevent TQt from drawing icons on the scrollbar area (before the scrollbar is shown). Related to KDE bug #69589 (cherry picked from commit 36ee984c64818f3b8180567d527f7d320606cfb1)
* Add repaint optimization to TQProgressBarFrerich Raabe2015-12-152-3/+54
| | | | | | | | | This optimization makes TQProgressBar::setProgress() only repaint itself if stepping to the new progress would cause a graphical change. This means that for a width W and a total number of steps S, it will repaint itself 'W' times (every 'S/W' steps) instead of 'S' times (every step) as it is right now. (cherry picked from commit 9f882f9de741d76b8f45b0dc23d4fe65d6e09d78)
* Fix qmake shared library namingFrancois Andriot2015-12-154-6/+36
| | | | | | | | Add long long int support to TQTextStream Fix potential segmentation fault in QValueList Fix library naming in TQT Plugins This relates to Bug 2107 (cherry picked from commit b716176cec88f5fa604b637a947b44b9ff165d5a)
* Fix FTBFS because invalid data conversion in qmutexFrançois Andriot2015-12-151-2/+3
| | | | (cherry picked from commit a28cbf4837fbb1094ff790bf53cbec2dcab94a60)
* 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)
* Improvements to QValueList. This may relate to bug 1820Michele Calgaro2015-12-151-20/+22
| | | | (cherry picked from commit 71a6d7870f609df603d9520a8d292055ea5928c3)
* 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)
* Properly export ucm_instantiate in UCOM librariesTimothy Pearson2015-12-151-3/+3
| | | | | This relates to Bug 1780 (cherry picked from commit 586f37327632a9bb56daa95c3fe1d1b9353b5271)
* Add pluginsdir to pkgconfig fileSlávek Banko2015-12-151-0/+1
| | | | (cherry picked from commit 3a89e057b7c76a7a5aee753d111bc63f5b8808ac)
* 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)
* Fix 'format not a string literal' errorFrancois Andriot2015-12-155-10/+10
| | | | (cherry picked from commit 16f24a61f80fef5f29c81182a3bcf3906bdee7a7)
* Private headers moved out from public include directorySlávek Banko2015-12-151-1/+1
| | | | (cherry picked from commit 571716ebf8f6f16b92e676c4e5986cae3e577686)
* 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)
* Do not return deleted icon view items after icon view deletionTimothy Pearson2015-12-151-3/+19
| | | | | This resolves Bug 1605 (cherry picked from commit d2ab408c068de5c4841e3a7d5fb4dce2e1a66ea9)
* Fix first icon view item displayTimothy Pearson2015-12-151-4/+0
| | | | (cherry picked from commit 783aa27bae5f14d828b898aa37dac19001cfebb1)
* Add full hidden item support to QIconViewTimothy Pearson2015-12-151-6/+68
| | | | | This will enable TDE to efficiently filter icon views via Konqueror (cherry picked from commit 660a32cfcf9bd9aee882ee3fb84045e8a49e4f97)
* Fix security issue CVE-2015-1860Slávek Banko2015-12-131-0/+2
| | | | | [taken from RedHat Qt3 patches] (cherry picked from commit 538d6a2440fbe645b970402fa7e86dfd3e36192b)