summaryrefslogtreecommitdiffstats
path: root/src/kernel/qobject.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix fallover case for TQEvent::MetaCallMichele Calgaro2024-10-011-2/+8
| | | | | | Manually cherry-picked from commit 24b42848. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix possible SEGV if the sender object list was null and thread support enabledMichele Calgaro2024-09-241-13/+19
| | | | | | Commit manually cherry-picked from 8e653076. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Improve handling of the global post event list in order to minimize possible ↵Michele Calgaro2024-08-291-1/+4
| | | | | | | | | | | | | | | 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> (cherry picked from commit ddce1c91f8582885497b463b24bac59f6fdfdf63)
* Improve TQFont-related cleanupAlexander Golubev2024-04-031-0/+7
| | | | | | | | | | Improve TQFont cleanup making sure that all instances of TQFont are destroyed before TQApplication (or specifically before disconnect from X11). This gets reed of several valgrind complains about leaks deep inside fontconfig. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit ffbaaf0e1c181dd0f0d8ad7b273530f7cda086da)
* Fix compilation with -no-threadAlexander Golubev2024-03-111-19/+44
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 4100c9e29f3ccb324a68ff1759ebbf1d35849a40)
* Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOTMichele Calgaro2023-12-311-35/+35
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
* Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERNMichele Calgaro2023-09-141-2/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1ba13366a7a377d50b9e8df9044ce11d8209f98c)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-301-6/+6
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-171-17/+17
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of theMichele Calgaro2018-09-161-81/+81
| | | | | | | qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added safety harness for currentThreadObject() usage.Michele Calgaro2015-07-191-5/+19
| | | | | | | | currentThreadObject() returns a null pointer if the current thread was not started using the TQThread API. This relates to bug 1748. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Automated update from Qt3Timothy Pearson2013-12-221-0/+52
|
* Automated update from Qt3Timothy Pearson2013-11-041-4/+4
|
* Automated update from Qt3Timothy Pearson2013-11-031-4/+16
|
* Automated update from Qt3Timothy Pearson2013-05-141-22/+177
|
* Automated update from Qt3Timothy Pearson2013-05-021-6/+30
|
* Automated update from Qt3Timothy Pearson2013-04-221-4/+11
|
* Automated update from Qt3Timothy Pearson2012-12-061-43/+285
|
* Automated update from qt3Timothy Pearson2012-03-061-12/+12
|
* Automated conversion from qt3Timothy Pearson2012-02-281-48/+48
|
* Automated update from qt3Timothy Pearson2012-02-271-1/+1
|
* Automated update from Qt3Timothy Pearson2012-02-131-20/+20
|
* Update to latest tqt3 automated conversionTimothy Pearson2012-01-261-14/+14
|
* Sync with latest scriptTimothy Pearson2011-12-051-2/+2
|
* Fix native TQt3 accidental conversion to tquitTimothy Pearson2011-11-141-1/+1
|
* Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731Timothy Pearson2011-11-081-0/+2711