summaryrefslogtreecommitdiffstats
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Use empty d->cString for TQString::shared_null instead of null string.HEADmasterSlá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-301-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-12-301-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>
* Added tqDebug/tqWarning/tqFatal functions that takes a QCStringMichele Calgaro2021-12-302-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>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2021-02-0112-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>
* 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: - assistant-qt3 - designer-qt3 - linguist-qt3 - qtconfig-qt3 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> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Added utility functions qDebug/qWarning/qFatal based on QString parameter.Michele Calgaro2019-05-232-48/+85
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added timestamp to debug functions (qDebug, qWarning, qFatal).Michele Calgaro2019-04-271-94/+13
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Make use of QString::utf8() and QString::local8Bit() safe for conversion to ↵Slávek Banko2019-02-102-8/+27
| | | | | | char*. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Improved class name used in previous commit. Suggestion comes from Slavek :-)Michele Calgaro2018-11-011-1/+1
| | | | | 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 11Michele Calgaro2018-11-011-1/+1
| | | | | | package. 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>
* Always build with a clean namespaceMichele Calgaro2018-09-252-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. --------------------------- Cherry picked and adapted from commit ff63338d in tqt3 from Slávek Banko <slavek.banko@axis.cz> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to ↵Michele Calgaro2018-09-1825-218/+218
| | | | | | | | updated admin module" The original commit was a mistake and should not have been pushed. This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
* QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin ↵Michele Calgaro2018-09-1825-218/+218
| | | | | | 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>
* Automated update from TQt3Timothy Pearson2016-09-061-0/+1
|
* Automated update from TQt3Timothy Pearson2016-09-061-3/+3
|
* Automated update from TQt3Timothy Pearson2016-09-061-6/+6
|
* Added operator[] convenience function to QPtrList, similarly to QValueList.Michele Calgaro2015-09-141-0/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Moved iconview widget to src/widget folders.Michele Calgaro2015-02-061-6/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add vsprintf method to QStringTimothy Pearson2015-01-112-5/+22
|
* Try to avoid crashes if the destructor of a TQMap is called when no private ↵r14.0.0Timothy Pearson2014-12-061-2/+6
| | | | object was previously created
* Add support for the environment variables TQT_HOME_DIR and TQT_SYSTEM_DIRFrancois Andriot2014-10-061-1/+24
|
* Enhance warning verbosity in TQFile (unix)François Andriot2014-09-161-9/+9
|
* Fix qmake shared library namingFrancois Andriot2014-09-124-6/+36
| | | | | | | Add long long int support to TQTextStream Fix potential segmentation fault in QValueList Fix library naming in TQT Plugins This relates to Bug 2107
* 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 QValueList. This may relate to bug 1820Michele Calgaro2014-08-021-20/+22
|
* Fix potential null pointer dereferenceSlávek Banko2014-05-231-2/+2
|
* Enabled operator->() for class QValueListIterator.Michele Calgaro2014-03-171-6/+2
|
* Properly export ucm_instantiate in UCOM librariesTimothy Pearson2013-12-281-3/+3
| | | | This relates to Bug 1780
* Repair performance regression accidentally introduced with new style APITimothy Pearson2013-12-221-0/+15
|
* Disable unnecessary thread locking in TQString constructors/destructorTimothy Pearson2013-12-171-64/+69
| | | | This improves performance at no real cost, as the TQString class is not thread safe elsewhere
* Reduce TQString allocation/deallocation load in ↵Timothy Pearson2013-12-171-53/+20
| | | | | | populateControlElementDataFromWidget Remove unneeded mutex locks around certain TQString operations
* Add threading debug spew when QT_DEBUG is setTimothy Pearson2013-11-031-0/+1
|
* Private headers moved out from public include directorySlávek Banko2013-08-141-2/+2
|
* Fix incorrect thread termination handling when thread count is greater than twoTimothy Pearson2013-06-101-3/+18
| | | | | This resolves Bug 1521 Make double free or delete of QString objects more obvious
* Fix a number of threading data racesTimothy Pearson2013-05-144-85/+292
| | | | | Add proper thread termination handler This partially resolves Bug 1508
* Fix a number of threading problems and crashesTimothy Pearson2013-04-222-28/+335
| | | | This partially resolves Bug 1467
* Add unpaged memory mode to TQString and TQLineEditTimothy Pearson2013-03-212-6/+87
| | | | Fix designer build warnings
* Add level method to recursive mutexTimothy Pearson2012-12-073-0/+32
| | | | | Enhance thread safety when making event calls Minor cleanup of whitespace in glib event loop
* Add real threading support, including per-thread event loops, to QThreadTimothy Pearson2012-12-064-2/+33
|
* Use high quality uuid_generate on Linux instead of PRNGTimothy Pearson2012-09-101-0/+13
|
* Extend TQStyle API further and bump Qt version numberTimothy Pearson2012-08-071-2/+2
|
* Fix build warningsTimothy Pearson2012-07-282-2/+2
| | | | Thanks to Bruce Sass for the patch!