summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add unicode points so that upper() and lower() functions work for:Ray-V2021-12-301-964/+981
| | | | | | | | | - latin letter sharp s - latin letter glottal stop - greek lunate sigma symbol - greek letter san Signed-off-by: Ray-V <[email protected]>
* Added tqDebug/tqWarning/tqFatal functions that takes a QCStringMichele Calgaro2021-12-302-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 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 <[email protected]>
* Fix `qt_xft_handle` to work as expectedOBATA Akio2021-02-021-1/+1
| | | | Signed-off-by: OBATA Akio <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* Remove dates from generated files.Slávek Banko2021-02-022-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 Calgaro2021-02-0144-404/+404
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[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: Slávek Banko <[email protected]>
* Replace dead trolltech website with trinity ones.Chris2019-07-131-1/+1
| | | | | Signed-off-by: Chris <[email protected]> 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]>
* 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 <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
* 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 <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
* Adjusted to use new QStringVariantMap type.Michele Calgaro2019-06-014-8/+8
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added convenient QStringVariantMap type and iterators.Michele Calgaro2019-06-011-7/+7
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Adjusted to latest QVariant::QVariant(bool) function.Michele Calgaro2019-05-277-24/+17
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added utility functions qDebug/qWarning/qFatal based on QString parameter.Michele Calgaro2019-05-232-48/+85
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added timestamp to debug functions (qDebug, qWarning, qFatal).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 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 <[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 QString::utf8() and QString::local8Bit() safe for conversion to ↵Slávek Banko2019-02-102-8/+27
| | | | | | char*. Signed-off-by: Slávek Banko <[email protected]>
* Improved class name used in previous commit. Suggestion comes from Slavek :-)Michele Calgaro2018-11-013-8/+8
| | | | | 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 11Michele Calgaro2018-11-013-8/+8
| | | | | | package. 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]>
* Replaced _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE with _DEFAULT_SOURCE.Michele Calgaro2018-10-082-23/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Always build with a clean namespaceMichele Calgaro2018-09-2510-85/+0
| | | | | | | | | | | | QT_CLEAN_NAMESPACE constant is no more needed This may theoretically affect applications created for Qt1 and Qt2, but such applications require further modifications as well. --------------------------- Cherry picked and adapted from commit ff63338d in tqt3 from Slávek Banko <[email protected]> Signed-off-by: Michele Calgaro <[email protected]>
* Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to ↵Michele Calgaro2018-09-1849-455/+455
| | | | | | | | updated admin module" The original commit was a mistake and should not have been pushed. This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
* QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin ↵Michele Calgaro2018-09-1849-455/+455
| | | | | | module Signed-off-by: Michele Calgaro <[email protected]>
* Fix FTBFS with stricter C++11Slávek Banko2018-08-192-8/+8
| | | | Signed-off-by: Slávek Banko <[email protected]>
* Fix security issue CVE-2016-10040Slávek Banko2018-07-261-1/+1
| | | | | | [taken from RedHat Qt3 patches] Signed-off-by: Slávek Banko <[email protected]>
* 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 <[email protected]>
* 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]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* Automated update from TQt3Timothy Pearson2016-09-061-0/+1
|
* Automated update from TQt3Timothy Pearson2016-09-061-3/+3
|
* Automated update from TQt3Timothy Pearson2016-09-061-6/+6
|
* Fix invalid headers in PNG files and optimize for sizeTimothy Pearson2016-07-234-0/+0
|
* Properly implement MySQL reconnect supportTimothy Pearson2016-02-221-2/+5
|
* Properly handle MySQL reconnection optionTimothy Pearson2016-02-211-13/+19
|