summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update translations binary filesr14.0.12Slávek Banko2022-04-214-0/+0
| | | | | | | because they are not generated during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 4d35e785e6c932cf92e77e41ecbdda3b7646b405)
* Merge translation files from master branch.Slávek Banko2022-04-214-10/+2066
| | | | 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> (cherry picked from commit aec367ef2804c74f4ef5d5d647c43b7e65e12f67)
* 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 e919ffc1ec291cc393e48ea0b9b2580a7a4f954a)
* Removed QT_NON_COMMERCIAL check and related code.Michele Calgaro2022-02-078-55/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cde9d7e9428e90ce8ba0bb86802f85f186adf741)
* Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformatgregory guy2022-01-301-3/+3
| | | | | Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 3d5e557e4087bab76025f907faf3f3953a8f9988)
* TQt Designer: use global includes instead of includehints andMichele Calgaro2022-01-243-26/+49
| | | | | | | remove duplicated include directives if found in UI files. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 09659a5623bcb28a6234c0fe2357b8eca56c240f)
* Replaced 'includehints' with 'includes' in *.ui files.Michele Calgaro2022-01-112-9/+7
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fef67fdc511ba55f4c9eff8e6451240fede2e94f)
* Added tqDebug/tqWarning/tqFatal functions that takes a TQCStringMichele 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 80dc1e5317f9bf799df2493381484b1b65e77b5f)
* Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.Michele Calgaro2021-12-302-48/+85
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d63a113c5c0f9d43d71fc6486244b4382459a07a)
* tools: fix to use `pthread_t` for Thread IDOBATA Akio2021-12-291-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 7e4fc64d69e8211cbe6e6fed33998ecab29c873d)
* Revert back TQt to Qt in the book titleEmanoil Kotsev2021-11-281-2/+2
| | | | | Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> (cherry picked from commit 1c1b280b1f48e643a73bd3536d1a4ab0237ebdaf)
* Use the tqInstallPath* functions for all paths needed for the pkg-config file.r14.0.11Slávek Banko2021-10-141-20/+32
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e0d2f1e04906bee328fa71bf4eb98b9ec1904c19)
* Add a translationsdir variable to the tqt pkgconfig file (tqt-mt.pc).gregory guy2021-10-141-3/+6
| | | | | Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit cf770e66e5addc86fae6b6aeca08850627069a16)
* 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> (cherry picked from commit 0d60417c83fd2bd8b6fccb6dd7171b113296860a)
* Remove deprecated glib2 function calls g_thread_get_initialized(), ↵gregory guy2021-06-211-7/+8
| | | | | | | g_thread_init() and g_thread_create(). Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 43d7bc96c782afaf2e5047def508081b81815392)
* Define QT_MITSHM to use <X11/extensions/XShm.h> for several platforms, ↵gregory guy2021-06-104-0/+4
| | | | | | | namely: dilos-g++, freebsd-clang, linux-g++-32 and linux-g++-64 Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 1007a44d71862a322e703cbdb1b242515d64265d)
* Add unicode points so that upper() and lower() functions work for:r14.0.10Ray-V2021-04-171-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 2fbf9ffbc6c2da604d5e47801f83e4423a4dc2b3)
* 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> (cherry picked from commit 0f480dc43f6a3dc50b438a17fc2526ca444065ec)
* 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> (cherry picked from commit 2a00c1661bb3947e6342de813507d5a3c0729477)
* Fix buffer overflow in XBM parser.r14.0.9Slá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> (cherry picked from commit 7441a646a8b452036daa42d85c98a2105412fd92)
* 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> (cherry picked from commit 66e96fca347628062ade0dd216696e2715168b7a)
* Merge translation files from master branch.Slávek Banko2020-10-1611-267/+272
| | | | 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> (cherry picked from commit 9afb3f4d91c02d38076e12035188b26e2ac12525)
* Removed additional code formatting modelines.Michele Calgaro2020-09-257-19/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b3c22b84ef1f3eb945aa9dee9ee09195518c82b4)
* Removed code formatting modelines.Michele Calgaro2020-09-192-6/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 250e6baa4c9f3a20628525e197fb48e85e73e65d)
* Update buildkey for >= GCC 9.Slávek Banko2020-08-231-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 1335b2013b3b58621399874e0eea17bcd00b8d3f)
* 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> (cherry picked from commit a9d2c0bdd16dd850fcfe58c040c89c8a6a2268a3)
* Fix `qt_xft_handle` to work as expectedOBATA Akio2020-08-081-1/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8704c62dce2ad2218b77d4f74c20b39724aeca26)
* Fix MIT_SHM related conditionOBATA Akio2020-08-071-1/+5
| | | | | | | Prevent to build MIT_SHM related codes for !QT_MITSHM condition. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit ac500135785f34eebe8d9c077208a5dd0b494929)
* 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> (cherry picked from commit fa43c29899d22fa43c69bab7548ea18ede87e279)
* 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> (cherry picked from commit defac9d8a83feb47d3dcfbc688e96f35d4ec28cd)
* Fix to detect Thread Execution Scheduling support correctlyOBATA Akio2020-08-061-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> (cherry picked from commit 48a9cf9a3c2866db8a68fd1ac6cce5627c507386)
* Remove debug config for inputmethod pluginsOBATA Akio2020-08-034-4/+4
| | | | | | | No reason to force to debug build. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit ecbbc92b782d07377d8b8130eb2dfc31f376578d)
* Fix to set libtool special mode-args as a compiler flagOBATA Akio2020-08-021-2/+2
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 141af55cca0bad0492786479584e474b3285ab9b)
* Fix to record {MAJOR}.{MINOR} to `library_names` in libtool fileOBATA Akio2020-08-021-1/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 5449d37d879866e4193dded434382a71b33e0be2)
* Fix to set `old_library` in libtool file only for `staticlib` projectOBATA Akio2020-08-021-1/+5
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 12dcb88d29d09f1f913b88832db5b7fa01088939)
* Fix potentially buffer overrun related to readlink(2)OBATA Akio2020-07-251-1/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit e6ce806b771adc9d963d760dfac46b2c62a57798)
* Fix to detect file conponent from path properly in Makefile generatorOBATA Akio2020-07-233-6/+6
| | | | | | | | It should be either `path.right(path.length() - sep_pos - 1)` or `path.mid(sep_pos + 1)`. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 5c270c3e26e74609a1821ddd3bb17566ccc53396)
* Fix to detect XRandR on multi-prefix package platformsOBATA Akio2020-07-191-16/+16
| | | | | | | | | Change to find two XrandR header files from invidual directory. "Xrandr.h" is in `libXrandr`, and "randr.h" is in `xorgproto` (used to be `randrproto`) package, so they may be installed into different prefix. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit a31f05cb8e90781228e9d6a60ef97cc1bca83345)
* Remove unwanted code for writing pngOBATA Akio2020-07-191-13/+0
| | | | | | | | `info_ptr->channels` will be set in the next called `png_set_IHDR()`, so it is no effect. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit b6a4a5ec2001abed68c01d5c6baabbc2319214dc)
* Change to use PKG_LIBPNG_VER for libpng version checkOBATA Akio2020-07-191-23/+23
| | | | | | | It is suggested in png.h for applications. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 5ce8516970925f9c41fd5a07905f546b7f00258b)
* Update X11 path on NetBSDOBATA Akio2020-07-121-4/+4
| | | | | | | It should be X11R7 on modern ports with recent releases. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit b55eac803aa1cad27111ab16519d4f9ec3ee5894)
* Fix to display verbose message in some config testsOBATA Akio2020-07-103-3/+3
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit e37e24181bafe0fe84f2491a2c47d7fd7e2d2275)
* Improve modern res API available conditionOBATA Akio2020-07-091-1/+1
| | | | | | | | | | `__RES` is usable to check release date of resolver library. Such modern res API appeared in BIND-8.2.0 libbind with `__RES == 19980901`, it was refrected as BIND-8.2.2-P5 to glibc at pre 2.3 release with `__RES == 19991006`. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit b79f0a7caabbf6e3523dad0a284466a672bc9940)
* Replace dead URLs of "SEE ALSO" section in man pages to trinity onesOBATA Akio2020-07-094-6/+6
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit a92e2272b838de6cf3045eaf8307de07cfae57ac)
* Fix maketqpf man page based on source codesOBATA Akio2020-07-091-7/+14
| | | | | | | | | Change to use usage of the command instead of copy from qembed's one for "SYNTAX" section. Fix fontdir path from source code. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 962abeeb8171e720748352c04edec8561f740dc9)
* Fix a typo in tqlinguist man pageOBATA Akio2020-07-091-1/+1
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 9470305f0e4d6756cec0611bdb98e3934a9d07ef)
* Refrect qt -> tqt changes to man1OBATA Akio2020-07-0710-128/+128
| | | | | | | | Adjust page name to the installed tool name and follow class name changes in examples. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 5a1d03de6b56d254662b5d3a57f809907359fff0)
* Further cleanup of left over material after removal of Qt2's TQListIterator ↵Michele Calgaro2020-05-241-1/+0
| | | | | | | class. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f62146e0e61ca0dd15221907cc3747e0f06319de)