gregory guy
d0da081258
Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 3d5e557e40
)
3 years ago
Michele Calgaro
c7f76b122a
TQt Designer: use global includes instead of includehints and
...
remove duplicated include directives if found in UI files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 09659a5623
)
3 years ago
Michele Calgaro
ca53f5edfe
Replaced 'includehints' with 'includes' in *.ui files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fef67fdc51
)
3 years ago
Michele Calgaro
c133a629f0
Added tqDebug/tqWarning/tqFatal functions that takes a TQCString
...
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 80dc1e5317
)
3 years ago
Michele Calgaro
3823c75b92
Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d63a113c5c
)
3 years ago
OBATA Akio
dc6b2e3d45
tools: fix to use `pthread_t` for Thread ID
...
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 7e4fc64d69
)
3 years ago
Emanoil Kotsev
96f244b00c
Revert back TQt to Qt in the book title
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
(cherry picked from commit 1c1b280b1f
)
3 years ago
Slávek Banko
bfa856f8a9
Use the tqInstallPath* functions for all paths needed for the pkg-config file.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e0d2f1e049
)
3 years ago
gregory guy
4ac1b8fae5
Add a translationsdir variable to the tqt pkgconfig file (tqt-mt.pc).
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit cf770e66e5
)
3 years ago
Slávek Banko
e7ed2e6e73
Fix buildkey for GCC >= 7 if the version is listed including minor numbers.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0d60417c83
)
3 years ago
gregory guy
a29bd4d895
Remove deprecated glib2 function calls g_thread_get_initialized(), g_thread_init() and g_thread_create().
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 43d7bc96c7
)
3 years ago
gregory guy
fed23c9f79
Define QT_MITSHM to use <X11/extensions/XShm.h> for several platforms, 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 1007a44d71
)
3 years ago
Ray-V
c366a8d2ca
Add unicode points so that upper() and lower() functions work for:
...
- 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 2fbf9ffbc6
)
4 years ago
Michele Calgaro
0fa6ad42e8
Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to TQ_FULL_TEMPLATE_INSTANTIATION).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0f480dc43f
)
4 years ago
Slávek Banko
529485e7e3
Undo an unwanted deletion of the 'register' in the string.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2a00c1661b
)
4 years ago
Slávek Banko
be03c3a8e2
Fix buffer overflow in XBM parser.
...
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 7441a646a8
)
4 years ago
Slávek Banko
20fa96c39b
Update translations binary files
...
because they are not generated during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 66e96fca34
)
4 years ago
Slávek Banko
6231edc8cd
Merge translation files from master branch.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
gregory guy
4d9a10c895
Add hidden visibility symbols definition to the linux-g++-64 and linux-g++-32 mkspecs config files.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 9afb3f4d91
)
4 years ago
Michele Calgaro
a373c9dc05
Removed additional code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b3c22b84ef
)
4 years ago
Michele Calgaro
b48cf653ac
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 250e6baa4c
)
4 years ago
Slávek Banko
5f6511d785
Update buildkey for >= GCC 9.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1335b2013b
)
4 years ago
OBATA Akio
3b9daf47f5
Prevent to set build directories as RPATH
...
It result in unwanted RPATH reference from installed binaries.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit a9d2c0bdd1
)
4 years ago
OBATA Akio
578712826b
Fix `qt_xft_handle` to work as expected
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 8704c62dce
)
4 years ago
OBATA Akio
8e2cfe9a0a
Fix MIT_SHM related condition
...
Prevent to build MIT_SHM related codes for !QT_MITSHM condition.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit ac50013578
)
4 years ago
Michele Calgaro
f7aac9f723
Fix to set -fvisibility-inlines-hidden flag only for C++ with g++ (completion of previous commit)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fa43c29899
)
4 years ago
OBATA Akio
aa69a7f0f9
Fix to set -fvisibility-inlines-hidden flag only for C++ with g++
...
With GCC, it is valid for C++/ObjC++ but not for C.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit defac9d8a8
)
4 years ago
OBATA Akio
81c391e477
Fix to detect Thread Execution Scheduling support correctly
...
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 48a9cf9a3c
)
4 years ago
OBATA Akio
4ee1f9d46e
Remove debug config for inputmethod plugins
...
No reason to force to debug build.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit ecbbc92b78
)
4 years ago
OBATA Akio
72977948b9
Fix to set libtool special mode-args as a compiler flag
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 141af55cca
)
4 years ago
OBATA Akio
e1cdcbaf45
Fix to record {MAJOR}.{MINOR} to `library_names` in libtool file
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 5449d37d87
)
4 years ago
OBATA Akio
4140dfe51e
Fix to set `old_library` in libtool file only for `staticlib` project
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 12dcb88d29
)
4 years ago
OBATA Akio
ed71e397ed
Fix potentially buffer overrun related to readlink(2)
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit e6ce806b77
)
4 years ago
OBATA Akio
4ed0a29d33
Fix to detect file conponent from path properly in Makefile generator
...
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 5c270c3e26
)
4 years ago
OBATA Akio
ff30fd5afb
Fix to detect XRandR on multi-prefix package platforms
...
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 a31f05cb8e
)
4 years ago
OBATA Akio
083e02fe7f
Remove unwanted code for writing png
...
`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 b6a4a5ec20
)
4 years ago
OBATA Akio
2af1a05e82
Change to use PKG_LIBPNG_VER for libpng version check
...
It is suggested in png.h for applications.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 5ce8516970
)
4 years ago
OBATA Akio
516ba25553
Update X11 path on NetBSD
...
It should be X11R7 on modern ports with recent releases.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit b55eac803a
)
4 years ago
OBATA Akio
e54715dfb8
Fix to display verbose message in some config tests
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit e37e24181b
)
4 years ago
OBATA Akio
9a9b43b33e
Improve modern res API available condition
...
`__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 b79f0a7caa
)
4 years ago
OBATA Akio
4ebe4e1761
Replace dead URLs of "SEE ALSO" section in man pages to trinity ones
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit a92e2272b8
)
4 years ago
OBATA Akio
7417fecf5b
Fix maketqpf man page based on source codes
...
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 962abeeb81
)
4 years ago
OBATA Akio
53ee269de8
Fix a typo in tqlinguist man page
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 9470305f0e
)
4 years ago
OBATA Akio
19c0c5f1dc
Refrect qt -> tqt changes to man1
...
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 5a1d03de6b
)
4 years ago
Michele Calgaro
8f5da8fd2b
Further cleanup of left over material after removal of Qt2's TQListIterator class.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f62146e0e6
)
5 years ago
Michele Calgaro
ea8a9b2509
Missed out in previous commit :-( Documentation updated accordingly.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1d9b20af8c
)
5 years ago
Michele Calgaro
aed789a8c2
Fixed minor typo in H file include names.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4a8f6dd3c5
)
5 years ago
Michele Calgaro
de4a08d56a
Improved code for keyboard and mouse grabbing and releasing to avoid
...
unnecessary actions. This relates loosely to bug 2955.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f086971876
)
5 years ago
Michele Calgaro
f48c8f677c
Removed incorrect execution bit.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8520b59ce9
)
5 years ago
Slávek Banko
5e23dcae2d
Update translations binary files
...
because they are not generated during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3136a0ba3c
)
5 years ago