Slávek Banko
7441a646a8
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>
4 years ago
Slávek Banko
66e96fca34
Update translations binary files
...
because they are not generated during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
gregory guy
9afb3f4d91
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>
4 years ago
Michele Calgaro
b3c22b84ef
Removed additional code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
gregory guy
3d5e557e40
Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
4 years ago
Michele Calgaro
250e6baa4c
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
1335b2013b
Update buildkey for >= GCC 9.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
OBATA Akio
a9d2c0bdd1
Prevent to set build directories as RPATH
...
It result in unwanted RPATH reference from installed binaries.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
8704c62dce
Fix `qt_xft_handle` to work as expected
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
ac50013578
Fix MIT_SHM related condition
...
Prevent to build MIT_SHM related codes for !QT_MITSHM condition.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Michele Calgaro
fa43c29899
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>
4 years ago
OBATA Akio
defac9d8a8
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>
4 years ago
OBATA Akio
48a9cf9a3c
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>
4 years ago
OBATA Akio
ecbbc92b78
Remove debug config for inputmethod plugins
...
No reason to force to debug build.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
141af55cca
Fix to set libtool special mode-args as a compiler flag
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
5449d37d87
Fix to record {MAJOR}.{MINOR} to `library_names` in libtool file
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
12dcb88d29
Fix to set `old_library` in libtool file only for `staticlib` project
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
e6ce806b77
Fix potentially buffer overrun related to readlink(2)
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
5c270c3e26
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>
4 years ago
OBATA Akio
a31f05cb8e
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>
4 years ago
OBATA Akio
b6a4a5ec20
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>
4 years ago
OBATA Akio
5ce8516970
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>
4 years ago
OBATA Akio
b55eac803a
Update X11 path on NetBSD
...
It should be X11R7 on modern ports with recent releases.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
b4aab36649
Remove a symbolic link referring removed file
...
It should be removed when obsoleted TQStack class removal.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
e37e24181b
Fix to display verbose message in some config tests
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
b79f0a7caa
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>
4 years ago
OBATA Akio
a92e2272b8
Replace dead URLs of "SEE ALSO" section in man pages to trinity ones
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
962abeeb81
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>
4 years ago
OBATA Akio
9470305f0e
Fix a typo in tqlinguist man page
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
5a1d03de6b
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>
4 years ago
Michele Calgaro
f62146e0e6
Further cleanup of left over material after removal of Qt2's TQListIterator class.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
b2ca85ae3d
Translated using Weblate (Italian)
...
Currently translated at 100.0% (15 of 15 strings)
Translation: dependencies/tqt3 - examples-i18n
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3-examples-i18n/it/
5 years ago
Michele Calgaro
b229388483
Translated using Weblate (Italian)
...
Currently translated at 100.0% (464 of 464 strings)
Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/it/
5 years ago
Michele Calgaro
1d9b20af8c
Missed out in previous commit :-( Documentation updated accordingly.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
4a8f6dd3c5
Fixed minor typo in H file include names.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
292fa30f0f
Removed obsolete Qt2's TQStack class and replaced with TQt3's TQPtrStack.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
f086971876
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>
5 years ago
Michele Calgaro
8520b59ce9
Removed incorrect execution bit.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
3136a0ba3c
Update translations binary files
...
because they are not generated during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
421a95c5b7
The translation file mywidget_en.ts in examples/i18n renamed
...
to mywidget.ts to serve as a template.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
98f2cf4126
Recovering an accidentally damaged PNG image.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
ce0712924d
Fix typo.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
9d5d503f74
Remove dates from generated files.
...
This is related to the effort for reproducible builds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Denis Kozadaev
277646d8ab
DilOS: add compiler visibility
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
5 years ago
Marek Mlynar
5359049f75
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (15 of 15 strings)
Translation: dependencies/tqt3 - examples-i18n
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3-examples-i18n/sk/
5 years ago
Marek Mlynar
ce8a40401d
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (464 of 464 strings)
Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/sk/
5 years ago
Marek Mlynar
4d36381c44
Added translation using Weblate (Slovak)
5 years ago
Michele Calgaro
99e56ba8db
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Serg Bormant
630dcedfb3
Translated using Weblate (Russian)
...
Currently translated at 100.0% (15 of 15 strings)
Translation: dependencies/tqt3 - examples-i18n
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3-examples-i18n/ru/
5 years ago
Serg Bormant
9f345963d0
Translated using Weblate (Russian)
...
Currently translated at 100.0% (488 of 488 strings)
Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
5 years ago