summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix potentially buffer overrun related to readlink(2)OBATA Akio2021-02-021-1/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 5c32919647732d0e20dc08ad4a8d24193238174f)
* Fix to detect file conponent from path properly in Makefile generatorOBATA Akio2021-02-023-6/+6
| | | | | | | | It should be either `path.right(path.length() - sep_pos - 1)` or `path.mid(sep_pos + 1)`. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 30a7754971fee794819df164dd1601b2af49587a)
* Fix to detect XRandR on multi-prefix package platformsOBATA Akio2021-02-021-16/+16
| | | | | | | | | Change to find two XrandR header files from invidual directory. "Xrandr.h" is in `libXrandr`, and "randr.h" is in `xorgproto` (used to be `randrproto`) package, so they may be installed into different prefix. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit bade711c82e43dc7553603bc08907fe9762da88c)
* 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)
* Update X11 path on NetBSDOBATA Akio2021-02-021-4/+4
| | | | | | | It should be X11R7 on modern ports with recent releases. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 10488953838ed597bca9f2635e9f3480c08bb9be)
* Fix to display verbose message in some config testsOBATA Akio2021-02-023-3/+3
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 6f2da8af3a2b7343b3d67be3a3093bb9cfc9d36e)
* Improve modern res API available conditionOBATA Akio2021-02-021-1/+1
| | | | | | | | | | `__RES` is usable to check release date of resolver library. Such modern res API appeared in BIND-8.2.0 libbind with __RES == 19980901, it was refrected as BIND-8.2.2-P5 in glibc in pre 2.3 release with __RES == 19991006. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit b676c7f90b894b7c715d924c53b9dc4b4fef4589)
* Replace dead URLs of "SEE ALSO" section in man pages to trinity onesOBATA Akio2021-02-024-5/+5
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 0a9cd6f754e4b5a4c52ecb1be37e09328016fa57)
* Fix makeqpf man page based on source codesOBATA Akio2021-02-021-7/+14
| | | | | | | | | Change to use usage of the command instead of copy from qembed's one for "SYNTAX" section. Fix fontdir path from source code. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 441ec666a923e29e10256fba24c6ed4cb75ab2df)
* Fix a typo in linguest man pageOBATA Akio2021-02-021-1/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit a50c78b66827d645fddfd15d7c55e28fd5052e83)
* 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 incorrect execution bit.Michele Calgaro2021-02-021-0/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1c536444086d5efbbe65a93afca21cb740eb336b)
* The translation file mywidget_en.ts in examples/i18n renamedSlávek Banko2021-02-022-2/+2
| | | | | | | to mywidget.ts to serve as a template. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 990d01f06680a9860b722cbec877bd4a3850fa17)
* Fix typo.Slávek Banko2021-02-021-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8b71fd2791186600d484f1c960eda0d0aa5bbee6)
* Remove dates from generated files.Slávek Banko2021-02-027-15/+9
| | | | | | | This is related to the effort for reproducible builds. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit fc8564a5f04b90b998e792444f70550272e78ddb)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2021-02-0248-408/+408
| | | | | 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)
* Fix FTBFS when building with musl libc.Slávek Banko2019-12-111-0/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 40078adb6a8c30c177858e3eb21b074c5b49521a)
* Fix build with PostgreSQL 12+.Slávek Banko2019-11-181-0/+2
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 271050fb4c1ddbd6b9ee91c1ffff8bbb639a9d0a)
* Remove bool/my_bool artifact, the 'bool' data type is part of the c++François Andriot2019-11-181-1/+1
| | | | | | | language and was added to c compilers with c99. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit aa53689da2a380e2197f40460034759e9ab781aa)
* Replace dead trolltech website with trinity ones.Chris2019-07-131-1/+1
| | | | | | Signed-off-by: Chris <xchrisx@uber.space> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d368cdf93e9c7d078a24a533ca7351ad6aba706e)
* Change tests for glibc version.Slávek Banko2019-06-1215-63/+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-0110-12/+430
| | | | | | | | | | | | | | | | | 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-04-271-0/+89
| | | | | | R14.0.x API. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added timestamp to debug functions (qDebug, qWarning, qFatal).Michele Calgaro2019-04-271-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.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 <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-8/+27
| | | | | | | char*. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0a1966b25e36fbca6263b656fec8de9d42770f8d)
* Enable gcc visibility support for *BSD builds.Slávek Banko2019-01-164-4/+4
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 26c3a9ba485e00c1035b4a785122d53f82a4fde0)
* Rename qt_untranslated.ts to template.tsSlávek Banko2019-01-141-0/+0
| | | | | | | to make it clear for what purpose this file is intended. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 72dfa4c3d1052ec9c244b98ddd51787f8faaa1ab)
* Improved class name used in previous commit. Suggestion comes from Slavek :-)Michele Calgaro2018-11-013-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-013-8/+8
| | | | | | | package. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4a5da4685a8607a87602e065d1e3abdbf66c9ff9)
* Repair damaged UTF-8 characters in TS filesSlávek Banko2018-10-111-20/+18
| | | | | | | Arabic translations taken from arabeyes-i18n Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 36398097bfd3a8fd6024f24da805c6540961c394)
* Removed unnecessary executable flag. This relates to bug 2153.Michele Calgaro2018-09-033-0/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2848b517a64d4ad5424af224772cea26bdbf375c)
* Fix FTBFS with stricter C++11Slávek Banko2018-08-197-16/+16
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5431226296e2607b37b4f666ee970bddb5fd5707)
* Fix security issue CVE-2016-10040r14.0.5Slá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 mkspecs for build with ClangSlávek Banko2018-06-035-0/+391
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b5078576ff1d83dec633044434f14c3162d85bc3)
* Update buildkey for GCC 7 and 8Slávek Banko2018-05-121-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 58b25d4341e84c0bf06572e8b37e433fe3924b1f)
* Add brightness keys supportRoman Savochenko2017-07-308-2/+52
| | | | | | | | 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)
* Update buildkey for GCC 7Slávek Banko2017-07-231-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 3a5672aab4a54fea0e9aa741f3a9db590ce9f815)
* 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)
* Do not force POSIX mutexes on FreeBSDSlávek Banko2017-03-121-2/+2
| | | | | | | | This relates to bug 2462 See comments on bug 2744 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e70f5ecf7693b63d3221c590ae05414307515451)
* Update buildkey for GCC 6r14.0.4Slávek Banko2016-08-151-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b099185b9090e30504ef614f3eb0c899ad711fb0)
* Fix invalid headers in PNG files and optimize for sizeTimothy Pearson2016-07-24657-0/+0
| | | | (cherry picked from commit e834adf07807b0400eb8a0ef51b68734327f1b09)
* Properly implement MySQL reconnect supportTimothy Pearson2016-02-271-2/+5
| | | | (cherry picked from commit 709f7e70b0a12749ab34f47a16946374bcb887bd)