summaryrefslogtreecommitdiffstats
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
* Use empty d->cString for TQString::shared_null instead of null string.r14.0.xSlá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> (cherry picked from commit e99bbda7347d35833da0876bc745d5e0b6c18c2b)
* 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> (cherry picked from commit 93058fb0a38cbab73683463cfa571fd622baa980)
* 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> (cherry picked from commit 1e77a5569b098c6b81c54d165cb189a316669dce)
* 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> (cherry picked from commit 03d5d596467eb307337b1127c75e670b2c896dce)
* 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> (cherry picked from commit 300c4d2bd2c289d32565a3c2c84b36565241b71e)
* Added utility functions qDebug/qWarning/qFatal based on QString parameter.Michele Calgaro2021-12-302-48/+85
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2c29133f7ee2a270da8d8504345390a1d60e80fa)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2021-02-0212-114/+114
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
* Fix FTBFS when building with musl libc.Slávek Banko2019-12-111-0/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 40078adb6a8c30c177858e3eb21b074c5b49521a)
* 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> (cherry picked from commit edad20d4f9ef3de0b91c163361803f12fc7212bc)
* 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> (cherry picked from commit 7c13f5df2fbd64512a99b66f633abb0fd7f87d35)
* Reintroduced debug, warning and fatal functions since this are part ofMichele Calgaro2019-04-271-0/+89
| | | | | | R14.0.x API. 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> (cherry picked from commit 3ae061484d7a4098029d54af72963a163f421312)
* 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> (cherry picked from commit 0a1966b25e36fbca6263b656fec8de9d42770f8d)
* 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> (cherry picked from commit 19ef3e4359eed834049596c7bc07cb18b204a2f1)
* 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> (cherry picked from commit 4a5da4685a8607a87602e065d1e3abdbf66c9ff9)
* Fix FTBFS with stricter C++11Slávek Banko2018-08-191-4/+4
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5431226296e2607b37b4f666ee970bddb5fd5707)
* 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> (cherry picked from commit e70f5ecf7693b63d3221c590ae05414307515451)
* 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!
* Make basic integer QDataStream reads resistant to corruption from underlying ↵Timothy Pearson2012-06-271-35/+45
| | | | IO device failure
* Undo prior accidental commitTimothy Pearson2012-03-0239-394/+394
|
* Rename additional global TQt functionsTimothy Pearson2012-03-0139-394/+394
|
* Clean up a few build warningsTimothy Pearson2012-02-123-7/+10
|
* Add NetWM/Motif controls to QWidgetTimothy Pearson2012-01-261-2/+2
| | | | This must break binary compatibility, so version was also bumped to 3.4.0
* Fix qcstring format warningsTimothy Pearson2012-01-121-1/+5
| | | | Related to Bug 637
* Enable gcc visibility support in Qt3Timothy Pearson2012-01-081-0/+4
| | | | This partially closes Bug 696
* Fix accidental conversion of dockwinTimothy Pearson2011-11-081-1/+1
|
* Rename kwin to twin (part 1 of 2)Timothy Pearson2011-11-071-1/+1
|