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
)
6 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
)
6 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
)
6 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
)
7 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
)
7 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
)
7 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
)
7 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
)
8 years ago
Timothy Pearson
fcdfc20774
Fix invalid headers in PNG files and optimize for size
...
(cherry picked from commit e834adf078
)
8 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>
9 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>
9 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>
9 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
10 years ago
Francois Andriot
f0cc3689b3
Add support for the environment variables TQT_HOME_DIR and TQT_SYSTEM_DIR
10 years ago
Timothy Pearson
dc8f537180
Fix undefined behaviour in TQClipboardWatcher::format
...
This relates to Bug 1820
10 years ago
Timothy Pearson
3a40adfa91
Fix inability to clear TQPushButton icons once set
...
This resolves Bug 1857
10 years ago
Slávek Banko
5b34ad0d8e
Improve TQProgressBar repaint optimization
10 years ago
Enrico Ros
fbc4cf8e7f
Fix unwanted toggling TQIconViewItem focus on click
...
This fixes the 'flashing' icon when clicking repeatedly on a TQIconView or
derivates (ie TDEIconView, KonqIconViewWidget, the KDesktop and so on..).
The current behavior considers that if not over an icon, the user is
clicking down to perform icons selection (with the rubberband).
This is not always true, since a click might be used to give focus to a
window or unselect some icons.
How this is fixed: when clicking down the mouse a flag is set. If the pointer
is moved on the iconview with the button held down, then (and only at that
moment) the rubber is created. Now a selection operation (the one done with
the rubber) begins when moving the mouse and not only when clicking on the
empty space.
10 years ago
François Andriot
e4b05c8f30
Fix dpi detection when using xft2
10 years ago
François Andriot
a944830520
Fix crash in TQTranslator
10 years ago
François Andriot
fdc4699bcb
Enhance warning verbosity in TQFile (unix)
10 years ago
Waldo Bastian
14f96e80a5
Fix zoom in TQTextEdit
...
TQTextEdit::zoomIn / TQTextEdit::zoomOut does not work if the original
font had its size specified in pixels instead of points.
pointSize() returns 0 in such case.
10 years ago
Benoit Walter
36ee984c64
Remove unnecessary scrollbar in TQIconView
...
Test case (using konqueror icon view):
- The first icons are being shown (no scrollbar yet)
- When there is no space left, a vertical scrollbar is needed
- The vertical scrollbar may cover the right edge of the icons
(in the last column) => an horizontal scrollbar is needed :-(
Solution:
When using ScrollBarMode::Auto, prevent TQt from drawing icons on the
scrollbar area (before the scrollbar is shown).
Related to KDE bug #69589
10 years ago
Frerich Raabe
9f882f9de7
Add repaint optimization to TQProgressBar
...
This optimization makes TQProgressBar::setProgress() only repaint itself
if stepping to the new progress would cause a graphical change. This means
that for a width W and a total number of steps S, it will repaint itself
'W' times (every 'S/W' steps) instead of 'S' times (every step) as it is
right now.
10 years ago
Francois Andriot
b716176cec
Fix qmake shared library naming
...
Add long long int support to TQTextStream
Fix potential segmentation fault in QValueList
Fix library naming in TQT Plugins
This relates to Bug 2107
10 years ago