summaryrefslogtreecommitdiffstats
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Rename IO and network class nt* related files to equivalent tq*Michele Calgaro2024-07-1045-101/+101
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename utility class nt* related files to equivalent tq*Michele Calgaro2024-07-0732-59/+57
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename main window nt* related files to equivalent tq*. The fileMichele Calgaro2024-07-061-3/+3
| | | | | | "ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename threading nt* related files to equivalent tq*Michele Calgaro2024-06-3022-48/+48
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename date and time nt* related files to equivalent tq*Michele Calgaro2024-06-2911-15/+15
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove documentation for QWS classes and Qt/EmbeddedMichele Calgaro2024-06-2513-468/+38
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename style nt* related files to equivalent tq*Michele Calgaro2024-06-121-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename icon nt* related files to equivalent tq*Michele Calgaro2024-06-121-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename text nt* related files to equivalent tq*Michele Calgaro2024-06-087-13/+13
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename str nt* related files to equivalent tq*Michele Calgaro2024-06-0639-52/+52
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename image nt* related files to equivalent tq*Michele Calgaro2024-06-061-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ptr nt* related files to equivalent tq*Michele Calgaro2024-06-0620-22/+22
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename template library nt* related files to equivalent tq*Michele Calgaro2024-06-0515-20/+20
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ntqwidget* related files to equivalent tqwidget*Michele Calgaro2024-06-022-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename nt* canvas related files to equivalent tq*Michele Calgaro2024-05-313-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename nt* sql related files to equivalent tq*Michele Calgaro2024-05-283-4/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ntqobject*.h and qobject*.cpp to tqobject*Michele Calgaro2024-05-272-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix TQThreadStorage destruction in the main threadAlexander Golubev2024-03-182-0/+19
| | | | | | | | | | | | | | | Before that the allocations of TQThreadStorage objects from the main thread were never destroyed and memory associated with them were never freed. The second one isn't a huge problem as at that point program is terminating anyway (but it still makes valgrind complain). The first one is the bigger issue as destructors might contain some essential external cleanups like removing temporary files. Also make `TQApplication::guiThread()` return `0` when the thread is destroyed (may happen on the program exiting during destruction of statics). Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix TQString::sprintf() not calling va_end() in case of bad cformatAlexander Golubev2024-03-171-4/+3
| | | | | | | Also rearrange code a bit so it would be obvious that the function doesn't return a dangling reference. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Add explicit declaration TQChar&TQCharRef default constructor/destructorAlexander Golubev2024-03-141-0/+12
| | | | | | This suppresses -Wdeprecated-copy warning. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix compilation with -disable-inputmethod and -no-inputmethodAlexander Golubev2024-03-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | As for now here are two sets of inputmethod options: - -enable-inputmethod/disable-inputmethod - which seems to supposed to control whether build the 'inputmethod' module or not - -inputmethod/-no-inputmethod - which seems to supposed to enable/disable inputmethod support without changing the ABI. Before the patch both -disable-inputmethod and -no-inputmethod were just breaking the build: -no-inputmethod were disabling some code with support for the module, but didn't disabled the module build itself nor build of plugins. -disable-inputmethod were disabling build of plugins and module, but didn't disabled code depending upon it. It seems the inputmethod support were still WIP when the last release of Qt3 came to be, hence the mess. This patch fixes the build if both -disable-inputmethod AND -no-inputmethod are supplied. Disabling only one is not enough due to tqmake/configure have problems handling two different options of the same name. Later the -inputmethod/-no-inputmethod should be probably removed entirely. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix FTBFS with -no-stlAlexander Golubev2024-03-041-0/+2
| | | | | | On modern compilers placement new requires inclusion of <new> Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Remove original Q_WS_* definesMichele Calgaro2024-02-201-11/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace QT_STATIC_CONST_* with actual definitionsMichele Calgaro2024-02-153-25/+12
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-1216-76/+87
| | | | | | | | | | | | This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix potential buffer overflow in debug functions.Slávek Banko2023-12-261-3/+3
| | | | | | This resolves issue #70. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-231-9/+9
| | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERNMichele Calgaro2023-09-1342-317/+317
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various Q_* and QT_* defines with TQ_* and TQT_*Michele Calgaro2023-09-0710-115/+115
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove Qt4 related stuffMichele Calgaro2023-07-099-59/+10
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop Qt2's TQSemiModal and TQSortedList classesMichele Calgaro2023-07-077-84/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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>