summaryrefslogtreecommitdiffstats
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Drop Qt2 obsolete classesMichele Calgaro2023-06-033-13/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Enable use of pthread's recursive mutexesBobby Bingham2023-06-021-190/+6
| | | | Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
* Fix level when using pthreads recursive mutexBobby Bingham2023-05-231-16/+12
| | | | | | | | | | | | | | | | | When using the pthreads recursive mutex, the level method was only able to return either zero or one, but a recursive mutex can be locked more than once. Additionally, the way this detected if the mutex was already locked was to test whether it can be locked again. If testing from the thread that is currently holding the lock, this locking attempt always succeeds, and therefore determines that the lock is _not_ held at all. This is especially bad, as this operation only makes sense to perform from the thread that holds the lock -- if any thread not holding the lock queries the number of times the lock is held, that answer can change before the thread can used it. Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
* Use empty d->cString for TQString::shared_null instead of null string.Slávek Banko2022-03-221-2/+2
| | | | | | | This restores consistency for the behavior of methods TQString::utf8() and TQString::local8Bit() with null TQStrings. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Avoid changes of d->cString for TQString::shared_null to make the value ↵Slávek Banko2022-03-221-4/+13
| | | | | | | | reliable. This precedes unnecessary allocations, potential use after free and crashes. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tools: fix to use `pthread_t` for Thread IDOBATA Akio2021-12-281-10/+10
| | | | | | | | | | | Thread ID is opaque type pthread_t, it may not be compatible with integer, and may integer with valid id `0`. Change to store mutex owner thread ID as `pthread_t` type with valid flag and compare with `pthread_equal()`, and don't try to print it. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Add unicode points so that upper() and lower() functions work for:Ray-V2021-04-141-964/+981
| | | | | | | | | - latin letter sharp s - latin letter glottal stop - greek lunate sigma symbol - greek letter san Signed-off-by: Ray-V <ray-v@inbox.lv>
* Return TQT_NO_WORKSPACE setting, according to TQT_MODULE_WORKSPACE,Slávek Banko2021-03-301-0/+3
| | | | | | unwantedly removed in commit a41a034902bb3aa75db4524978a174353b5de2fe. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to ↵Michele Calgaro2021-02-132-7/+7
| | | | | | TQ_FULL_TEMPLATE_INSTANTIATION). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformatgregory guy2020-09-221-3/+3
| | | | Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Fixed minor typo in H file include names.Michele Calgaro2020-05-231-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed obsolete Qt2's TQStack class and replaced with TQt3's TQPtrStack.Michele Calgaro2020-05-231-4/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-3012-114/+114
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix FTBFS when building with musl libc.Slávek Banko2019-12-111-0/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Added tqDebug/tqWarning/tqFatal functions that takes a TQCStringMichele Calgaro2019-09-052-1/+20
| | | | | | | argument. This fixes FTBFS of examples caused by previous ambiguous call and solves bug 3021. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Change tests for glibc version.Slávek Banko2019-06-122-6/+6
| | | | | | | It resolves building with libc libraries other than glibc - for example musl libc. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* This fixes bug: 639gregory guy2019-06-011-0/+1
| | | | | | | | | | | | | | | Add desktop files for: - tqassistant - tqdesigner - tqlinguist - tqtconfig These files have been made with the contribution of Laurent Dard's patch (see bugzilla:639) with little change/addition from I. Add 'sysshare' option to the configure script. Signed-off-by: gregory guy <g-gregory@gmx.fr>
* Removed unnecessary and unused TQT_REAL_TQT definition.Michele Calgaro2019-05-231-2/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.Michele Calgaro2019-05-232-48/+85
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added timestamp to debug functions (tqDebug, tqWarning, tqFatal).Michele Calgaro2019-04-271-94/+13
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Make use of TQString::utf8() and TQString::local8Bit() safe for conversion ↵Slávek Banko2019-02-042-8/+27
| | | | | | to char*. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Improved class name used in previous commit. Suggestion comes fromMichele Calgaro2018-11-011-1/+1
| | | | | | | Slavek :-) Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed FTBFS caused by name conflict with new postgres server dev 11 package.Michele Calgaro2018-11-011-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.Michele Calgaro2018-10-271-6/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed obsolete Qt2's TQVector class and replacedMichele Calgaro2018-10-201-4/+0
| | | | | | with TQt3's TQPtrVector. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed obsolete Qt2's TQList/TQListIterator classes and replacedMichele Calgaro2018-10-171-5/+0
| | | | | | with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-1762-1138/+1138
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-2720-63/+63
| | | | | | | | | QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST QT_NO_STL -> TQT_NO_STL QT_NO_COMPAT -> TQT_NO_COMPAT QT_NO_TRANSLATION -> TQT_NO_TRANSLATION Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-271-1/+1
| | | | | | | | | | | QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-272-4/+4
| | | | | | | | | qtlib -> tqtlib libqt -> libtqt QTLIB -> TQTLIB LIBQT -> LIBTQT Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Always build with a clean namespaceSlávek Banko2018-09-242-46/+0
| | | | | | | | | 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. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of theMichele Calgaro2018-09-1625-218/+218
| | | | | | | qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix FTBFS with stricter C++11Slávek Banko2018-08-191-4/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Do not force POSIX mutexes on FreeBSDSlávek Banko2017-03-121-2/+2
| | | | | | | This relates to bug 2462 See comments on bug 2744 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Third part of prior commitTimothy Pearson2016-09-061-0/+1
| | | | GIT client malfunctions are fun!
* Second part of prior commitTimothy Pearson2016-09-061-3/+3
|
* Use time_t for UNIX timestampsTimothy Pearson2016-09-061-6/+6
| | | | WARNING: This breaks the ABI!
* Added operator[] convenience function to TQPtrList, similarly to TQValueList.Michele Calgaro2015-09-141-0/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Automated update from Qt3Timothy Pearson2015-03-051-1/+1
|
* Automated update from Qt3Timothy Pearson2015-03-052-68/+68
|
* Moved iconview widget to src/widget folders.Michele Calgaro2015-02-061-6/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Automated update from Qt3Timothy Pearson2015-01-112-5/+22
|
* Automated update from Qt3r14.0.0Timothy Pearson2014-12-061-2/+6
|
* Automated update from Qt3Timothy Pearson2014-10-061-1/+24
|
* Enhance warning verbosity in TQFile (unix)François Andriot2014-09-161-9/+9
|
* Automated update from Qt3Timothy Pearson2014-09-124-6/+36
|
* Fix FTBFS on Linux specific memlock codeFrançois Andriot2014-09-071-0/+6
|
* Fix FTBFS because invalid data conversion in qmutexFrançois Andriot2014-09-071-2/+3
|
* Improvements to TQValueList. This may relate to bug 1820Michele Calgaro2014-08-021-20/+22
|
* Fix potential null pointer dereferenceSlávek Banko2014-05-231-2/+2
|