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
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
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
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
Michele Calgaro
03814b8bdd
Removed some obsolete code related to Qt1.
...
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
Slávek Banko
5431226296
Fix FTBFS with stricter C++11
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 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
Michele Calgaro
dad70b4c52
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.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Slávek Banko
538d6a2440
Fix security issue CVE-2015-1860
...
[taken from RedHat Qt3 patches]
10 years ago
Slávek Banko
b3037160f2
Fix security issue CVE-2015-0295
...
[taken from RedHat Qt3 patches]
10 years ago
Slávek Banko
ad74a11abf
Fix security issue CVE-2014-0190
...
[taken from RedHat Qt3 patches]
10 years ago
Timothy Pearson
f6b53fc525
Fix typo in CEF structure definition
...
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
dc8f537180
Fix undefined behaviour in TQClipboardWatcher::format
...
This relates to Bug 1820
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
Michele Calgaro
a401ecd325
Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice.
...
If the passed object is the same, the warning message is not displayed any more.
If the passed object is different, a message is still displayed.
This resolves bug 1947.
10 years ago
Michele Calgaro
dbc8742f9e
Revert "Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice."
...
because of wrong reference to bug 1887.
This reverts commit 41f30477dd
.
10 years ago
Michele Calgaro
41f30477dd
Fixed warning message if QMetaObjectCleanUp::setMetaObject is invoked twice.
...
If the passed object is the same, the warning message is not displayed any more.
If the passed object is different, a message is still displayed.
This resolves bug 1887.
10 years ago
Timothy Pearson
93b3efa890
Refresh control element data structures before executing style object event handlers
...
This resolves Bug 1816
Fix FTBFS in style examples
10 years ago
Michele Calgaro
cbeacf0de9
Fixed "TQApplication::postEvent: Unexpected null receiver" warning message. This resolves bug 1901 and 1909.
10 years ago
Slávek Banko
1afc62ef88
Fix overwriting memory for an application icon
...
This resolves Bug 2033
11 years ago
Timothy Pearson
b7d35a6235
Fix DnD crash when source is not present
...
This resolves Bug 1602
11 years ago
Timothy Pearson
9ec64b2c9b
Add slow QStyleControlElementData copy constructor for use with python
11 years ago
Timothy Pearson
d1b6b7be7d
Repair performance regression accidentally introduced with new style API
11 years ago
Darrell Anderson
2e7cd6be55
Add end-of-file newlines.
11 years ago
Timothy Pearson
56999a270d
Wake up the correct event loop when an event is posted to TQApplication
...
This relates to Bug 1703
11 years ago
Slávek Banko
c0780a876e
Revert "Update minor TQt3 tool names to match current TQt3 sources in GIT"
11 years ago
Timothy Pearson
ef73e104bd
Update minor TQt3 tool names to match current TQt3 sources in GIT
11 years ago
Timothy Pearson
2bec467449
Clean up prior commit
11 years ago
Timothy Pearson
99b03be63d
Add threading debug spew when QT_DEBUG is set
11 years ago
Timothy Pearson
9229bed187
Fix memory leak on widget destruction after certain style method accesses
...
This resolves Bug 1674
11 years ago
Timothy Pearson
8fb62409a1
Fix prior commit
11 years ago
Timothy Pearson
7c0bc39229
Fix crash on exit when application does not use session management
...
This relates to Bug 1627
11 years ago
Slávek Banko
571716ebf8
Private headers moved out from public include directory
11 years ago
Timothy Pearson
7ecf525f20
Fix a minor valgrind warning
11 years ago
Timothy Pearson
49075fd69d
Allow TQApplication objects to be constructed without a session manager
...
This relates to Bug 760
11 years ago
Francois Andriot
32bd03533d
Fix glib multithreading abort with versions less than 2.24
...
This resolves Bug 1581
11 years ago
Timothy Pearson
f2102e1f82
Fix incorrect thread termination handling when thread count is greater than two
...
This resolves Bug 1521
Make double free or delete of QString objects more obvious
12 years ago
Timothy Pearson
8ff73908ee
Fix crash on thread termination
12 years ago
Timothy Pearson
17ffc1e193
Fix downstream build failures due to missing TQApplication conditions
12 years ago
Timothy Pearson
4eba9b8238
Fix a number of threading data races
...
Add proper thread termination handler
This partially resolves Bug 1508
12 years ago
Darrell Anderson
be8413249b
Fix spelling mistakes
12 years ago