Commit Graph

484 Commits (8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde)
 

Author SHA1 Message Date
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
Slávek Banko 74ba429758
Enable gcc visibility support for *BSD builds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 3e3c5cc147
Rename qt_untranslated.ts to template.ts
to make it clear for what purpose this file is intended.

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
Slávek Banko e07baa10b7 Translated using Weblate (Czech)
Currently translated at 100.0% (15 of 15 strings)

Translation: dependencies/tqt3 - examples-i18n
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3-examples-i18n/cs/
6 years ago
Slávek Banko 08ce590263 Translated using Weblate (Czech)
Currently translated at 100.0% (464 of 464 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/cs/
6 years ago
Slávek Banko 9128ed7b13
Repair damaged UTF-8 characters in TS files
Arabic translations taken from arabeyes-i18n

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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>
6 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
Michele Calgaro 1fb89fa154
Removed unnecessary executable flag. This relates to bug 2153.
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
Slávek Banko 1de7443921 Add mkspecs for build with Clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko ebdf0b2845 Update buildkey for GCC 7 and 8
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 71d8f1c4f1 Update buildkey for GCC 7
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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
Timothy Pearson 0b1b8701d9 Use time_t for UNIX timestamps
WARNING: This breaks the ABI!
9 years ago
Slávek Banko c56533c917 Update buildkey for GCC 6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson 30d1cb0bef Fix invalid headers in PNG files and optimize for size 9 years ago
Timothy Pearson b99016b854 Automated update from Qt3 9 years ago
Timothy Pearson 3add7b436c Automated update from Qt3 9 years ago
Michele Calgaro 6b220f98eb Added operator[] convenience function to TQPtrList, similarly to TQValueList.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Michele Calgaro e418211d50 Fixed (again) search algorithm for iconview widget. This resolves (again) bug 420.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Michele Calgaro caab7b3557 Added safety harness for currentThreadObject() usage.
currentThreadObject() returns a null pointer if the
current thread was not started using the TQThread API.
This relates to bug 1748.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Michele Calgaro 42dcb07b26 Fixed search algorithm for iconview widget. This resolves bug 420.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Slávek Banko fa440833f9 Update buildkey for GCC 5
[taken from RedHat Qt3 patches]
10 years ago