Commit Graph

270 Commits (d8d67a842b11ba1b0c2ce83d7168670941499dbf)
 

Author SHA1 Message Date
Slávek Banko d8d67a842b
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>
(cherry picked from commit b08a6d71ba)
5 years ago
Slávek Banko 361ea8bcf0
Fix FTBFS when building with musl libc.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 40078adb6a)
5 years ago
Slávek Banko e514327dcc
Fix build with PostgreSQL 12+.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 271050fb4c)
5 years ago
François Andriot 2f9841a32b
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>
(cherry picked from commit aa53689da2)
5 years ago
Chris 84ae294824
Replace dead trolltech website with trinity ones.
Signed-off-by: Chris <xchrisx@uber.space>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d368cdf93e)
6 years ago
Slávek Banko 46d5b162ee
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>
(cherry picked from commit edad20d4f9)
6 years ago
gregory guy 3c5f0f8856
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>
(cherry picked from commit 1ef55acbce)
6 years ago
gregory guy 309cbda6e2
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>
(cherry picked from commit 7c13f5df2f)
6 years ago
Michele Calgaro 5151555c0e
Reintroduced debug, warning and fatal functions since this are part of
R14.0.x API.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro d17480bf1d
Added timestamp to debug functions (qDebug, qWarning, qFatal).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3ae061484d)
6 years ago
Slávek Banko 2fd4dcbf56
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>
(cherry picked from commit a00e43bd1c)
6 years ago
Slávek Banko ac1b4232ff
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>
(cherry picked from commit a04cfea092)
6 years ago
Slávek Banko c966e917a9
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>
(cherry picked from commit ee61bf8d1a)
6 years ago
Slávek Banko 5a7d49f513
Make use of QString::utf8() and QString::local8Bit() safe for conversion to char*.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0a1966b25e)
6 years ago
Slávek Banko 872d13f1ae
Enable gcc visibility support for *BSD builds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 26c3a9ba48)
6 years ago
Slávek Banko 875b5b1a14
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>
(cherry picked from commit 72dfa4c3d1)
6 years ago
Michele Calgaro ec5adca5bb
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>
(cherry picked from commit 19ef3e4359)
6 years ago
Michele Calgaro 329fb60877
Fixed FTBFS caused by name conflict with new postgres server dev 11
package.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4a5da4685a)
6 years ago
Slávek Banko 305c060e4e
Repair damaged UTF-8 characters in TS files
Arabic translations taken from arabeyes-i18n

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 36398097bf)
6 years ago
Michele Calgaro 917668769a
Removed unnecessary executable flag. This relates to bug 2153.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2848b517a6)
7 years ago
Slávek Banko d8ba3610e2
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5431226296)
7 years ago
Slávek Banko 66a9352083 Fix security issue CVE-2016-10040
[taken from RedHat Qt3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 54809cd81b)
7 years ago
Slávek Banko 436c783573 Backport mysql driver mariadb fix - see QTBUG-63108
[taken from RedHat Qt3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f3c643afc1)
7 years ago
Slávek Banko fbe685b96f Add mkspecs for build with Clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b5078576ff)
7 years ago
Slávek Banko 00a3d99a07 Update buildkey for GCC 7 and 8
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 58b25d4341)
7 years ago
Roman Savochenko 7b580ac8d0 Add brightness keys support
The code partially taken from Qt4
This relates to bug 2775

Signed-off-by: Roman Savochenko <rom_as@oscada.org>
(cherry picked from commit 02405c8411)
8 years ago
Slávek Banko 488cf3ec8e Update buildkey for GCC 7
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3a5672aab4)
8 years ago
Slávek Banko a14693c150 ListView: Deselect items that are hidden by the filter
during selectAll and invertSelection

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d96172f76d)
8 years ago
Slávek Banko ad6af17aea 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>
(cherry picked from commit 057d9fe7a4)
8 years ago
Slávek Banko 47690cd141 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>
(cherry picked from commit e70f5ecf76)
8 years ago
Slávek Banko 81d4481ade Update buildkey for GCC 6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b099185b90)
9 years ago
Timothy Pearson fcdfc20774 Fix invalid headers in PNG files and optimize for size
(cherry picked from commit e834adf078)
9 years ago
Timothy Pearson 5ed17bc483 Properly implement MySQL reconnect support
(cherry picked from commit 709f7e70b0)
9 years ago
Timothy Pearson 9c08980957 Properly handle MySQL reconnection option
(cherry picked from commit 9fe256ac6c)
9 years ago
Michele Calgaro dc2dea07f7 Fixed (again) search algorithm for iconview widget. This resolves (again) bug 420.
(cherry picked from commit d27f4e2fc3)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Michele Calgaro 8eefba828f Added safety harness for currentThreadObject() usage.
currentThreadObject() returns a null pointer if the
current thread was not started using the QThread API.
This relates to bug 1748.

(cherry picked from commit dad70b4c52)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Michele Calgaro d1fd5b9b23 Fixed search algorithm for iconview widget. This resolves bug 420.
(cherry picked from commit d6867cf92e)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Slávek Banko 6b9213a69c Update buildkey for GCC 5
[taken from RedHat Qt3 patches]
(cherry picked from commit 0d96f74958)
10 years ago
Slávek Banko d3f640f17c Fix security issue CVE-2015-1860
[taken from RedHat Qt3 patches]
(cherry picked from commit 538d6a2440)
10 years ago
Slávek Banko a0008cd747 Fix security issue CVE-2015-0295
[taken from RedHat Qt3 patches]
(cherry picked from commit b3037160f2)
10 years ago
Slávek Banko 5184b53b9b Fix security issue CVE-2014-0190
[taken from RedHat Qt3 patches]
(cherry picked from commit ad74a11abf)
10 years ago
Slávek Banko 2383ee57b0 Fix security issue CVE-2013-4549
[taken from RedHat Qt3 patches]
(cherry picked from commit 73584365f8)
10 years ago
Michele Calgaro cdabaf42b0 Fixed Multicolumn view filtering item arrangement. This relates to bug 146.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>

(cherry picked from commit 9655b0b845)

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Timothy Pearson 9974902237 Try to avoid crashes if the destructor of a TQMap is called when no private object was previously created 10 years ago
Timothy Pearson f6b53fc525 Fix typo in CEF structure definition
This relates to Bug 1489
10 years ago
Timothy Pearson 444ac1fed9 Repaint QComboBox on drop-down dismissal
This relates to Bug 1489
10 years ago
Timothy Pearson b11ba445cc Properly polish QPopupMenu widgets
This relates to Bug 1489
10 years ago
Timothy Pearson b5f543cd3a Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance 11 years ago
Francois Andriot f0cc3689b3 Add support for the environment variables TQT_HOME_DIR and TQT_SYSTEM_DIR 11 years ago
Timothy Pearson dc8f537180 Fix undefined behaviour in TQClipboardWatcher::format
This relates to Bug 1820
11 years ago