summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix buffer overflow in XBM parser.Slá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]>
* Removed additional code formatting modelines.Michele Calgaro2020-09-252-14/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformatgregory guy2020-09-221-3/+3
| | | | Signed-off-by: gregory guy <[email protected]>
* Removed code formatting modelines.Michele Calgaro2020-09-191-5/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix `qt_xft_handle` to work as expectedOBATA Akio2020-08-081-1/+1
| | | | Signed-off-by: OBATA Akio <[email protected]>
* Fix MIT_SHM related conditionOBATA Akio2020-08-061-1/+5
| | | | | | Prevent to build MIT_SHM related codes for !QT_MITSHM condition. Signed-off-by: OBATA Akio <[email protected]>
* Fix to detect Thread Execution Scheduling support correctlyOBATA Akio2020-08-041-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]>
* Remove unwanted code for writing pngOBATA Akio2020-07-181-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]>
* Change to use PKG_LIBPNG_VER for libpng version checkOBATA Akio2020-07-181-23/+23
| | | | | | It is suggested in png.h for applications. Signed-off-by: OBATA Akio <[email protected]>
* Improve modern res API available conditionOBATA Akio2020-07-091-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 to glibc at pre 2.3 release with `__RES == 19991006`. Signed-off-by: OBATA Akio <[email protected]>
* Fixed minor typo in H file include names.Michele Calgaro2020-05-231-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed obsolete Qt2's TQStack class and replaced with TQt3's TQPtrStack.Michele Calgaro2020-05-232-31/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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]>
* Remove dates from generated files.Slávek Banko2020-03-202-8/+4
| | | | | | This is related to the effort for reproducible builds. Signed-off-by: Slávek Banko <[email protected]>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-3044-404/+404
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix crash in tqimage for certain malformed ppm image filesSlávek Banko2019-12-161-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]>
* Fix FTBFS when building with musl libc.Slávek Banko2019-12-111-0/+1
| | | | Signed-off-by: Slávek Banko <[email protected]>
* Fix build with PostgreSQL 12+.Slávek Banko2019-11-181-0/+2
| | | | Signed-off-by: Slávek Banko <[email protected]>
* 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: gregory guy <[email protected]>
* Added tqDebug/tqWarning/tqFatal functions that takes a TQCStringMichele Calgaro2019-09-052-1/+20
| | | | | | | argument. This fixes FTBFS of examples caused by previous ambiguous call and solves bug 3021. Signed-off-by: Michele Calgaro <[email protected]>
* Fix FTBFS from prior commit.Slávek Banko2019-08-311-5/+5
| | | | Signed-off-by: Slávek Banko <[email protected]>
* add MYSQL_SSL_* to the driver for MySQL connectionsDenis Kozadaev2019-08-311-2/+23
| | | | Signed-off-by: Denis Kozadaev <[email protected]>
* Replace dead trolltech website with trinity ones.Chris2019-07-111-1/+1
| | | | Signed-off-by: Chris <[email protected]>
* Renamed QT_IM_* to TQT_IM_*. This relates to bug 3020.Michele Calgaro2019-06-161-3/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]>
* Rename tqt-kde integration to tqt-tde.Slávek Banko2019-06-048-105/+105
| | | | Signed-off-by: Slávek Banko <[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]>
* This fixes bug: 639gregory guy2019-06-011-0/+1
| | | | | | | | | | | | | | | Add desktop files for: - tqassistant - tqdesigner - tqlinguist - tqtconfig 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 <[email protected]>
* Adjusted to use new TQStringVariantMap type.Michele Calgaro2019-06-014-8/+8
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added convenient TQStringVariantMap type and iterators.Michele Calgaro2019-06-011-7/+7
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed dummy int parameter from TQVariant(bool, int).Michele Calgaro2019-05-237-24/+17
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed unnecessary and unused TQT_REAL_TQT definition.Michele Calgaro2019-05-231-2/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.Michele Calgaro2019-05-232-48/+85
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added timestamp to debug functions (tqDebug, tqWarning, tqFatal).Michele Calgaro2019-04-271-94/+13
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]>
* 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]>
* 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]>
* Make use of TQString::utf8() and TQString::local8Bit() safe for conversion ↵Slávek Banko2019-02-042-8/+27
| | | | | | to char*. Signed-off-by: Slávek Banko <[email protected]>
* Improved class name used in previous commit. Suggestion comes fromMichele Calgaro2018-11-013-8/+8
| | | | | | | Slavek :-) Signed-off-by: Michele Calgaro <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
* Fixed FTBFS caused by name conflict with new postgres server dev 11 package.Michele Calgaro2018-11-013-8/+8
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.Michele Calgaro2018-10-271-6/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed some obsolete code related to Qt1.Michele Calgaro2018-10-215-148/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed obsolete Qt2's TQVector class and replacedMichele Calgaro2018-10-204-55/+7
| | | | | | with TQt3's TQPtrVector. Signed-off-by: Michele Calgaro <[email protected]>
* Removed obsolete Qt2's TQList/TQListIterator classes and replacedMichele Calgaro2018-10-174-39/+2
| | | | | | with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <[email protected]>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-17509-4028/+4028
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replaced _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE with _DEFAULT_SOURCE.Michele Calgaro2018-10-072-23/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-288-49/+49
| | | | | | | | kdeqt -> kdetqt qtkde -> tqtkde qtdesigner -> tqtdesigner Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-2768-168/+168
| | | | | | | | | QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST QT_NO_STL -> TQT_NO_STL QT_NO_COMPAT -> TQT_NO_COMPAT QT_NO_TRANSLATION -> TQT_NO_TRANSLATION Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-275-6/+6
| | | | | | | | | | | QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-274-8/+8
| | | | | | | | | qtlib -> tqtlib libqt -> libtqt QTLIB -> TQTLIB LIBQT -> LIBTQT Signed-off-by: Michele Calgaro <[email protected]>