Commit Graph

254 Commits (292fa30f0fade0c2742ef4b4ccc28be79dfe747c)

Author SHA1 Message Date
Michele Calgaro 292fa30f0f
Removed obsolete Qt2's TQStack class and replaced with TQt3's TQPtrStack.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro f086971876
Improved code for keyboard and mouse grabbing and releasing to avoid
unnecessary actions. This relates loosely to bug 2955.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 9d5d503f74
Remove dates from generated files.
This is related to the effort for reproducible builds.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 99e56ba8db
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 4470facd61
Fix crash in tqimage for certain malformed ppm image files
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>
5 years ago
Slávek Banko da15dfe6d7
Fix FTBFS when building with musl libc.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 9a6ac9dde5
Fix build with PostgreSQL 12+.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
François Andriot 90ea30a42a
Remove bool/my_bool artifact, the 'bool' data type is part of the c++
language and was added to c compilers with c99.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
Michele Calgaro 80dc1e5317
Added tqDebug/tqWarning/tqFatal functions that takes a TQCString
argument. This fixes FTBFS of examples caused by previous ambiguous
call and solves bug 3021.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko aae0287741
Fix FTBFS from prior commit.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Denis Kozadaev 4f528c3bd2 add MYSQL_SSL_* to the driver for MySQL connections
Signed-off-by: Denis Kozadaev <denis@dilos.org>
6 years ago
Chris 3f5c7cb553 Replace dead trolltech website with trinity ones.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Michele Calgaro 632cbaa30a
Renamed QT_IM_* to TQT_IM_*. This relates to bug 3020.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko 1aa221a2bc
Change tests for glibc version.
It resolves building with libc libraries
other than glibc - for example musl libc.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko a410cb031f
Rename tqt-kde integration to tqt-tde.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
gregory guy d3b13515ef
The TDE integration library (libtqtkde) will be searched for
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 <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
gregory guy 6131b4262e
This fixes bug: 639
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 <g-gregory@gmx.fr>
6 years ago
Michele Calgaro fd634b0c14
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro d795939c03
Added convenient TQStringVariantMap type and iterators.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro cfc76de73c
Removed dummy int parameter from TQVariant(bool, int).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro e9567cacad
Removed unnecessary and unused TQT_REAL_TQT definition.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro d63a113c5c
Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 835a7b87e7
Added timestamp to debug functions (tqDebug, tqWarning, tqFatal).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko 5a61151fe9
bmp image: check for out of range image size.
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>
6 years ago
Slávek Banko 83036c3af1
Check for TQImage allocation failure in qasyncimageio.
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>
6 years ago
Slávek Banko b7be699a09
Add the definition _WANT_SEMUN to ensure the definition of the semun structure.
This resolves bug 2991.

Thanks to Nikolaus Klepp for initial patch.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 4e83f4f200
Make use of TQString::utf8() and TQString::local8Bit() safe for conversion to char*.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro 9226c02de9
Improved class name used in previous commit. Suggestion comes from
Slavek :-)

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro 7c9a149f4c
Fixed FTBFS caused by name conflict with new postgres server dev 11 package.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 7f4d09f200
Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 23b535df5b
Removed some obsolete code related to Qt1.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro c048ce6e8c
Removed obsolete Qt2's TQVector class and replaced
with TQt3's TQPtrVector.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 789e7c7f92
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 69d87202cb
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 455154cec4
Replaced _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE with _DEFAULT_SOURCE.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 5774d07807
qt -> tqt conversion:
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 5fd88f2a20
qt -> tqt conversion:
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 <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 3e98ce7f85
qt -> tqt conversion:
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 <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 9f5d59f336
qt -> tqt conversion:
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko ff63338d18
Always build with a clean namespace
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.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Michele Calgaro 02964eb384
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of the
qt->tqt conversion and is required to align to corresponding patch for
common/admin module.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 017e8dbffe
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko 878533ff2c Fix security issue CVE-2016-10040
[taken from RedHat Qt3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko a889f43469 Backport mysql driver mariadb fix - see QTBUG-63108
[taken from RedHat Qt3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Roman Savochenko 4c30819078 Add brightness keys support
The code partially taken from Qt4
This relates to bug 2775

Signed-off-by: Roman Savochenko <rom_as@oscada.org>
8 years ago
Slávek Banko 2af0620bfc ListView: Deselect items that are hidden by the filter
during selectAll and invertSelection

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko 5b1f451dd6 IconView: Deselect items that are hidden by the filter
during selectAll and invertSelection
This resolves bug 2750

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko 9bbdfea568 Do not force POSIX mutexes on FreeBSD
This relates to bug 2462
See comments on bug 2744

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Timothy Pearson d49abd0e62 Third part of prior commit
GIT client malfunctions are fun!
9 years ago
Timothy Pearson 6d05fcd18d Second part of prior commit 9 years ago