summaryrefslogtreecommitdiffstats
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Replace various Q_* and QT_* defines with TQ_* and TQT_*Michele Calgaro2023-09-0710-115/+115
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Remove Qt4 related stuffMichele Calgaro2023-07-099-59/+10
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Drop Qt2's TQSemiModal and TQSortedList classesMichele Calgaro2023-07-077-84/+4
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Drop Qt2 obsolete classesMichele Calgaro2023-06-033-13/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Enable use of pthread's recursive mutexesBobby Bingham2023-06-021-190/+6
| | | | Signed-off-by: Bobby Bingham <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to ↵Michele Calgaro2021-02-132-7/+7
| | | | | | TQ_FULL_TEMPLATE_INSTANTIATION). Signed-off-by: Michele Calgaro <[email protected]>
* Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformatgregory guy2020-09-221-3/+3
| | | | Signed-off-by: gregory guy <[email protected]>
* Fixed minor typo in H file include names.Michele Calgaro2020-05-231-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed obsolete Qt2's TQStack class and replaced with TQt3's TQPtrStack.Michele Calgaro2020-05-231-4/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-3012-114/+114
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix FTBFS when building with musl libc.Slávek Banko2019-12-111-0/+1
| | | | Signed-off-by: Slávek Banko <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* Removed unnecessary and unused TQT_REAL_TQT definition.Michele Calgaro2019-05-231-2/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.Michele Calgaro2019-05-232-48/+85
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Added timestamp to debug functions (tqDebug, tqWarning, tqFatal).Michele Calgaro2019-04-271-94/+13
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]>
* Improved class name used in previous commit. Suggestion comes fromMichele Calgaro2018-11-011-1/+1
| | | | | | | Slavek :-) Signed-off-by: Michele Calgaro <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
* Fixed FTBFS caused by name conflict with new postgres server dev 11 package.Michele Calgaro2018-11-011-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]>
* Removed obsolete Qt2's TQVector class and replacedMichele Calgaro2018-10-201-4/+0
| | | | | | with TQt3's TQPtrVector. Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-1762-1138/+1138
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-272-4/+4
| | | | | | | | | qtlib -> tqtlib libqt -> libtqt QTLIB -> TQTLIB LIBQT -> LIBTQT Signed-off-by: Michele Calgaro <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* Fix FTBFS with stricter C++11Slávek Banko2018-08-191-4/+4
| | | | Signed-off-by: Slávek Banko <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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
|