summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵r14.1.1Michele Calgaro2023-09-24397-7152/+7152
| | | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b35e0845dc9b3c8b9a5e52a682c769f383933fae)
* Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERNMichele Calgaro2023-09-14578-1583/+1583
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1ba13366a7a377d50b9e8df9044ce11d8209f98c)
* Replace various Q_* and QT_* defines with TQ_* and TQT_*Michele Calgaro2023-09-0793-598/+598
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 926102a455014e6ab308aaced19e32eed7ed4414)
* Reintroduced porting documentation previously removedMichele Calgaro2023-07-072-5/+9
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fd565e9bad03fc401559959b8c3a5f8e3d819b2f)
* Drop attic Qt2 classes (TQtMultiLineEdit and TQtTableView)Michele Calgaro2023-07-076-7128/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7c116f3bf7ce2c552af7dd8709ee6e726844ef20)
* SunOS res_ninit() requires a clean structureDenis Kozadaev2023-06-151-0/+2
| | | | | | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> init structure without condition Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 47f034c129653352ebf258000765f98f1910f2f4)
* Revert "Add single TQObject root parent for all guarded pointers."Michele Calgaro2023-06-131-2/+1
| | | | | | | | | Commit b167d09c was functionally incorrect and is causing issues on selected distributions. This reverts commit b167d09c43be6c8b7d30f0d4fb1bf1e86c51b8a7. This resolves issue TDE/tde#128. (cherry picked from commit fb1f3d64451e8cc405b5db572e2c506564a05680)
* Enable use of pthread's recursive mutexesBobby Bingham2023-06-021-190/+6
| | | | | Signed-off-by: Bobby Bingham <koorogi@koorogi.info> (cherry picked from commit 0b3c8dfbc927e2843c2c62842d53a723d1f1e727)
* 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> (cherry picked from commit 999cebcb5df0269d24d65db579a7c78a94053c2e)
* socket and nsl functions were moved to libcDenis Kozadaev2023-05-121-1/+1
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 4ff2cb8b3ccf77ba3e111ac37b3fe0ebb15199eb)
* Add single TQObject root parent for all guarded pointers.r14.1.0Michele Calgaro2023-02-131-1/+2
| | | | | | | This helps keeping the object root list shorter, speeding up operations which require lot of TQObject trees. This relates to TDE/tdebase#309. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove unnecessary accelerators from .ui filesMichele Calgaro2022-09-2220-255/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ↵Michele Calgaro2022-04-301-3/+3
| | | | | | ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* SGI style: enable complex widget renderingMavridis Philippe2022-04-241-1/+1
| | | | | | | | Was commented out for no obvious reason This resolves issue #64. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Update translations binary filesSlávek Banko2022-04-214-0/+0
| | | | | | because they are not generated during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* 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>
* Translated using Weblate (Russian)Alexander Golubev2022-02-101-5/+5
| | | | | | | Currently translated at 100.0% (488 of 488 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
* Translated using Weblate (Russian)Alexander Golubev2022-02-091-1/+1
| | | | | | | Currently translated at 100.0% (488 of 488 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
* Removed QT_NON_COMMERCIAL check and related code.Michele Calgaro2022-02-078-55/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* TQt Designer: use global includes instead of includehints andMichele Calgaro2022-01-233-26/+49
| | | | | | remove duplicated include directives if found in UI files. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replaced 'includehints' with 'includes' in *.ui files.Michele Calgaro2022-01-112-9/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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>
* Revert back TQt to Qt in the book titleEmanoil Kotsev2021-11-281-2/+2
| | | | Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
* Translated using Weblate (Spanish)SALOMON ALEJANDRO L2021-10-311-4/+5
| | | | | | | Currently translated at 99.7% (463 of 464 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/es/
* Use the tqInstallPath* functions for all paths needed for the pkg-config file.Slávek Banko2021-10-121-20/+32
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add a translationsdir variable to the tqt pkgconfig file (tqt-mt.pc).gregory guy2021-10-101-3/+6
| | | | Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Fix buildkey for GCC >= 7 if the version is listed including minor numbers.Slávek Banko2021-09-221-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Remove deprecated glib2 function calls g_thread_get_initialized(), ↵gregory guy2021-06-181-7/+8
| | | | | | g_thread_init() and g_thread_create(). Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Define QT_MITSHM to use <X11/extensions/XShm.h> for several platforms, ↵gregory guy2021-06-094-0/+4
| | | | | | namely: dilos-g++, freebsd-clang, linux-g++-32 and linux-g++-64 Signed-off-by: gregory guy <gregory-tde@laposte.net>
* 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>
* IconView widget was moved to Widgets module in commitSlávek Banko2021-03-303-6/+6
| | | | | | | | a41a034902bb3aa75db4524978a174353b5de2fe, but there remained the iconview module definition as standalone. This causes incorrect BUILD_KEY and library configuration declaration. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to ↵Michele Calgaro2021-02-1311-21/+21
| | | | | | TQ_FULL_TEMPLATE_INSTANTIATION). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Undo an unwanted deletion of the 'register' in the string.Slávek Banko2021-02-021-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Added translation using Weblate (Portuguese)Hugo Carvalho2020-12-081-0/+1985
|
* Added translation using Weblate (Portuguese)Hugo Carvalho2020-12-081-0/+70
|
* Fix buffer overflow in XBM parser.Slávek Banko2020-10-161-7/+32
| | | | | | | | | Avoid parsing over the buffer limit, or interpreting non-hex as hex. This still leaves parsing of lines longer than 300 chars unreliable. Based on Qt5 patch for CVE-2020-17507. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update translations binary filesSlávek Banko2020-10-167-0/+0
| | | | | | because they are not generated during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add hidden visibility symbols definition to the linux-g++-64 and ↵gregory guy2020-09-272-6/+6
| | | | | | linux-g++-32 mkspecs config files. Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Removed additional code formatting modelines.Michele Calgaro2020-09-257-19/+0
| | | | 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>
* Removed code formatting modelines.Michele Calgaro2020-09-192-6/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Update buildkey for >= GCC 9.Slávek Banko2020-08-231-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Prevent to set build directories as RPATHOBATA Akio2020-08-092-19/+3
| | | | | | It result in unwanted RPATH reference from installed binaries. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix `qt_xft_handle` to work as expectedOBATA Akio2020-08-081-1/+1
| | | | Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix MIT_SHM related conditionOBATA Akio2020-08-061-1/+5
| | | | | | Prevent to build MIT_SHM related codes for !QT_MITSHM condition. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix to set -fvisibility-inlines-hidden flag only for C++ with g++ ↵Michele Calgaro2020-08-062-4/+4
| | | | | | (completion of previous commit) Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix to set -fvisibility-inlines-hidden flag only for C++ with g++OBATA Akio2020-08-065-10/+10
| | | | | | With GCC, it is valid for C++/ObjC++ but not for C. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix to detect Thread Execution Scheduling support correctlyOBATA Akio2020-08-041-1/+4
| | | | | | | If `_POSIX_THREAD_PRIORITY_SCHEDULING == 0`, it must be checked with sysconf(_SC_THREAD_PRIORITY_SCHEDULING) at runtime. Signed-off-by: OBATA Akio <obache@wizdas.com>