Slávek Banko
ff46bf1d82
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 5a61151fe9
)
6 years ago
Slávek Banko
a195af105a
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>
(cherry picked from commit 83036c3af1
)
6 years ago
Slávek Banko
07eabff779
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 b7be699a09
)
6 years ago
Slávek Banko
d90d84170f
Make use of TQString::utf8() and TQString::local8Bit() safe for conversion to char*.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4e83f4f200
)
6 years ago
Slávek Banko
77f96ad328
Enable gcc visibility support for *BSD builds.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 74ba429758
)
6 years ago
Slávek Banko
1d1a7c78c1
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 3e3c5cc147
)
6 years ago
Michele Calgaro
959ee5c588
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 9226c02de9
)
6 years ago
Michele Calgaro
86f493cd12
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 7c9a149f4c
)
6 years ago
Slávek Banko
945f32a341
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 9128ed7b13
)
6 years ago
Michele Calgaro
dc30cff5c2
Removed unnecessary executable flag. This relates to bug 2153.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1fb89fa154
)
6 years ago
Slávek Banko
06582a62c4
Fix FTBFS with stricter C++11
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 017e8dbffe
)
6 years ago
Slávek Banko
f8aa70365c
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 878533ff2c
)
6 years ago
Slávek Banko
fd5a5a89e5
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 a889f43469
)
7 years ago
Slávek Banko
5582703649
Add mkspecs for build with Clang
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1de7443921
)
7 years ago
Slávek Banko
77ba1370c5
Update buildkey for GCC 7 and 8
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ebdf0b2845
)
7 years ago
Roman Savochenko
a944a8634f
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 4c30819078
)
7 years ago
Slávek Banko
4516caea75
Update buildkey for GCC 7
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 71d8f1c4f1
)
7 years ago
Slávek Banko
6d597bf69f
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 2af0620bfc
)
8 years ago
Slávek Banko
bcd361a820
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 5b1f451dd6
)
8 years ago
Slávek Banko
35fd726141
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 9bbdfea568
)
8 years ago
Slávek Banko
e76c4b8997
Update buildkey for GCC 6
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c56533c917
)
8 years ago
Timothy Pearson
88acd25082
Fix invalid headers in PNG files and optimize for size
...
(cherry picked from commit 30d1cb0bef
)
8 years ago
Timothy Pearson
688cd47b1a
Automated update from Qt3
...
(cherry picked from commit b99016b854
)
9 years ago
Timothy Pearson
eae0369d1c
Automated update from Qt3
...
(cherry picked from commit 3add7b436c
)
9 years ago
Michele Calgaro
2c678d13f2
Fixed (again) search algorithm for iconview widget. This resolves (again) bug 420.
...
(cherry picked from commit e418211d50
)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
a6e1bf7da5
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.
(cherry picked from commit caab7b3557
)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
fdcad492bd
Fixed search algorithm for iconview widget. This resolves bug 420.
...
(cherry picked from commit 42dcb07b26
)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
6ff4ab89a7
Fixed incorrect #define ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY -> ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Slávek Banko
36b11bb908
Update buildkey for GCC 5
...
[taken from RedHat Qt3 patches]
(cherry picked from commit fa440833f9
)
10 years ago
Slávek Banko
d07bc24c91
Fix security issue CVE-2015-1860
...
[taken from RedHat Qt3 patches]
(cherry picked from commit 094708c0e7
)
10 years ago
Slávek Banko
2dbd340ba2
Fix security issue CVE-2015-0295
...
[taken from RedHat Qt3 patches]
(cherry picked from commit 64d9c07d57
)
10 years ago
Slávek Banko
f457b176b5
Fix security issue CVE-2014-0190
...
[taken from RedHat Qt3 patches]
(cherry picked from commit ebf9a9871a
)
10 years ago
Slávek Banko
9577716fc3
Fix security issue CVE-2013-4549
...
[taken from RedHat Qt3 patches]
(cherry picked from commit cc46bf4ecb
)
10 years ago
Michele Calgaro
6d346d4d84
Fixed Multicolumn view filtering item arrangement. This relates to bug 146.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 38e12d6e12
)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Timothy Pearson
fbf8ee2262
Automated update from Qt3
10 years ago
Timothy Pearson
3aba060d81
Automated update from Qt3
10 years ago
Timothy Pearson
bdc8377b23
Automated update from Qt3
10 years ago
Timothy Pearson
38755f930a
Automated update from Qt3
10 years ago
Timothy Pearson
117b166ca6
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
10 years ago
Michele Calgaro
f6a4cc6674
Qt -> TQt renaming in TQt .dcf files. This relates to bug 1859.
10 years ago
Timothy Pearson
16e2c768d6
Automated update from Qt3
10 years ago
Timothy Pearson
6e8d2d256b
Automated update from Qt3
10 years ago
Timothy Pearson
48f56c4352
Automated update from Qt3
10 years ago
Slávek Banko
d9d3dd456a
Improve TQProgressBar repaint optimization
10 years ago
Enrico Ros
baea23ba1f
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
f059feb9c6
Fix dpi detection when using xft2
10 years ago
François Andriot
3e57876ec3
Fix crash in TQTranslator
10 years ago
François Andriot
c86b8f17bf
Enhance warning verbosity in TQFile (unix)
10 years ago
Waldo Bastian
9a892fcab0
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
0cce3b0ec1
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