Michele Calgaro
961eb3f6e2
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
b08a6d71ba
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
40078adb6a
Fix FTBFS when building with musl libc.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
271050fb4c
Fix build with PostgreSQL 12+.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
François Andriot
aa53689da2
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: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris
d368cdf93e
Replace dead trolltech website with trinity ones.
...
Signed-off-by: Chris <xchrisx@uber.space>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
edad20d4f9
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
934bc28242
Removed symlink to qpaintdc.h related to Qt1 removed in commit 03814b8bdd
.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
gregory guy
1ef55acbce
The TDE integration library (libqtkde) will be searched for
...
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>
6 years ago
gregory guy
7c13f5df2f
This fixes bug: 639
...
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>
6 years ago
Michele Calgaro
09f45583d9
Adjusted to use new QStringVariantMap type.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
8e3ec3023b
Added convenient QStringVariantMap type and iterators.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
a2fa7ca983
Adjusted to latest QVariant::QVariant(bool) function.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2c29133f7e
Added utility functions qDebug/qWarning/qFatal based on QString parameter.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
3ae061484d
Added timestamp to debug functions (qDebug, qWarning, qFatal).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
a00e43bd1c
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
a04cfea092
Check for QImage 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
ee61bf8d1a
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
0a1966b25e
Make use of QString::utf8() and QString::local8Bit() safe for conversion to char*.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
26c3a9ba48
Enable gcc visibility support for *BSD builds.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
72dfa4c3d1
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
19ef3e4359
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
4a5da4685a
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
0614be0921
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
03814b8bdd
Removed some obsolete code related to Qt1.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
36398097bf
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
c485764cd4
Replaced _BSD_SOURCE, _SVID_SOURCE, _GNU_SOURCE with _DEFAULT_SOURCE.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
230ed5e400
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.
---------------------------
Cherry picked and adapted from commit ff63338d in tqt3 from Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2df70f03d4
Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module"
...
The original commit was a mistake and should not have been pushed.
This reverts commit f849f22528
.
6 years ago
Michele Calgaro
f849f22528
QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2848b517a6
Removed unnecessary executable flag. This relates to bug 2153.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
5431226296
Fix FTBFS with stricter C++11
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
54809cd81b
Fix security issue CVE-2016-10040
...
[taken from RedHat Qt3 patches]
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
f3c643afc1
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
b5078576ff
Add mkspecs for build with Clang
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
58b25d4341
Update buildkey for GCC 7 and 8
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Roman Savochenko
02405c8411
Add brightness keys support
...
The code partially taken from Qt4
This relates to bug 2775
Signed-off-by: Roman Savochenko <rom_as@oscada.org>
7 years ago
Slávek Banko
3a5672aab4
Update buildkey for GCC 7
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
d96172f76d
ListView: Deselect items that are hidden by the filter
...
during selectAll and invertSelection
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
057d9fe7a4
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>
7 years ago
Slávek Banko
e70f5ecf76
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
967e0f8020
Automated update from TQt3
8 years ago
Timothy Pearson
3cb304fd0c
Automated update from TQt3
8 years ago
Timothy Pearson
1aabc56ca5
Automated update from TQt3
8 years ago
Slávek Banko
b099185b90
Update buildkey for GCC 6
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Timothy Pearson
e834adf078
Fix invalid headers in PNG files and optimize for size
8 years ago
Timothy Pearson
709f7e70b0
Properly implement MySQL reconnect support
9 years ago
Timothy Pearson
9fe256ac6c
Properly handle MySQL reconnection option
9 years ago
Michele Calgaro
cd6978fd2a
Added operator[] convenience function to QPtrList, similarly to QValueList.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
d27f4e2fc3
Fixed (again) search algorithm for iconview widget. This resolves (again) bug 420.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago