Michele Calgaro
81288cfcb6
Make sure to release thread resources back to the OS once the thread completes.
...
Threads created with pthread are created in detach mode. Threads created using glib thread functions are instead created as joinable. The fix makes glib-created threads detached, so that the thread resources are released when the thread completes.
This resolves TDE/amarok#30 and will benefit any place where a TQThread is used.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro
24b42848c1
Fix fallover case for TQEvent::MetaCall
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro
0d546f99ae
Translated using Weblate (Italian)
...
Currently translated at 100.0% (452 of 452 strings)
Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/it/
2 months ago
Michele Calgaro
8e65307661
Fix possible SEGV if the sender object list was null and thread support enabled
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro
232dd26c83
Remove temporary code required for the tqinterface migration phase introduced in commit 8ac0e970
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 months ago
Michele Calgaro
8721929234
Rename private q* headers into equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
6f57abfc9c
Rename remaining ntq[s-z]* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
0582c90a9e
Rename remaining ntq[m-r]* related files to equivalent tq* (except ntqmodules.h)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
39f8a475b4
Rename remaining ntq[i-l]* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
e42ec295c2
Rename remaining ntq[d-h]* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
0917fbb538
Rename remaining ntq[a-c]* related files to equivalent tq* (except ntqapplication.h and ntqconfig.h)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
7b1d2ad2df
Remove obsolete ntqabstractlayout.h header
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
367ff3fb9e
Rename global classes nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
d35eedcd87
Rename style nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
ddce1c91f8
Improve handling of the global post event list in order to minimize possible crashes on exit.
...
Key points:
1. a TQPostEventList can now have an associated mutex, which is used in case of the global post event list (GPEL)
2. the lifetime of the GPEL is no longer associated to the lifetime of the TQApplication object, but rather extended to the lifetime of the main thread. The GPEL is a static local initialized on first access and destroyed when the global static object destructor is invoked
3. access to the GPEL after the TQApplication object has been destroyed has been minimized by protecting calls in ~TQObject() and ~TQWidget().
4. special care was taken not to affect performances or unnecessarily create tons of unused TQMutexes
This replaces PR #182 . Technically it is still possibly unsafe due to the order of destruction of the globat static objects not being guaranteed across multiple compilation units, but the aforementioned changes should minimize (possible to zero) the chances of a SEGV happening.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 months ago
Michele Calgaro
82ecd83484
Rename layout nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
ormorph
c55ef27a2c
Added check for tqApp pointer in TQWidget destructor
...
Necessary for the application to shut down properly
Signed-off-by: ormorph <roma251078@mail.ru>
4 months ago
Michele Calgaro
42957a3f81
Rename more widget nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
fef846914f
Rename basic widget nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
8ef4ea451d
Rename environment class nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
0e787fb7f5
Rename text class nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
1e9fa8e06d
Rename graphics class nt* related files to equivalent tq* (part 2)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
14c414378d
Fix OpenType language definition tags and array access. This resolves issue #171
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
a30f5359f0
Rename graphics class nt* related files to equivalent tq* (part 1)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
25ad1267da
Fix errors in qt.dcf introduced in commit 8a071b48
. This relates to
...
issue #171 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
252a2ec8b0
Rename IO and network class nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
87d29563e3
Rename utility class nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
628b0bb74c
Rename drag-n-drop nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
7552c6d730
Rename main window nt* related files to equivalent tq*. The file
...
"ntqsession.h" was totally unnecessary and has been removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
c113da2069
Rename codec nt* related files to equivalent tq*.
...
The qrtlcodec files have been renamed into tqhebrewcodec files, for consistency with file naming used for other codecs.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
aeefd3fe45
Rename threading nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
2cbcca0db1
Rename date and time nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
a09a6bc05e
Remove documentation for QWS classes and Qt/Embedded
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
bba3e1fa38
Fix wrong documentation changes introduced in recent commits
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 months ago
Michele Calgaro
8a071b48ef
Remove documentation about activeqt, because the latter is part of the commercial edition of Qt3
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
7bc57326e6
Rename style nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
ccbc1c3572
Rename icon nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
0cf411b09c
Rename text nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
e6077c30d1
Rename str nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
8c029298d9
Rename image nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
0881ed5059
Rename ptr nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
1f0ce8533c
Rename template library nt* related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
8ac0e970e4
Rename ntqwidget* related files to equivalent tqwidget*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
68b81013e8
Rename nt* canvas related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
1702a6daff
Rename nt* dom and xml related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
5fffa30386
Rename nt* sql related files to equivalent tq*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
04913ce7a4
Rename ntqobject*.h and qobject*.cpp to tqobject*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Michele Calgaro
c11c0f228b
Move tqt.h from tqtinterface
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
OBATA Akio
729c01ffb2
Fix a missing `if` clause guard
...
It was mismatched with indents and sibling `if` clause cases.
Signed-off-by: OBATA Akio <obache@wizdas.com>
6 months ago
OBATA Akio
9ae164eb83
Fix to compare thread_id with `pthread_equal()`
...
`pthread_t` is an opaque type, should not be compared with `==`.
Signed-off-by: OBATA Akio <obache@wizdas.com>
6 months ago