Commit Graph

387 Commits (09659a5623bcb28a6234c0fe2357b8eca56c240f)
 

Author SHA1 Message Date
Michele Calgaro 09659a5623
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>
3 years ago
Michele Calgaro fef67fdc51
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
OBATA Akio 7e4fc64d69 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>
3 years ago
Emanoil Kotsev 1c1b280b1f
Revert back TQt to Qt in the book title
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
3 years ago
SALOMON ALEJANDRO L fd4ff7c627 Translated using Weblate (Spanish)
Currently translated at 99.7% (463 of 464 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/es/
3 years ago
Slávek Banko e0d2f1e049
Use the tqInstallPath* functions for all paths needed for the pkg-config file.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy cf770e66e5
Add a translationsdir variable to the tqt pkgconfig file (tqt-mt.pc).
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
Slávek Banko 0d60417c83
Fix buildkey for GCC >= 7 if the version is listed including minor numbers.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy 43d7bc96c7
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>
4 years ago
gregory guy 1007a44d71
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>
4 years ago
Ray-V 2fbf9ffbc6
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>
4 years ago
Slávek Banko ce03d78623
Return TQT_NO_WORKSPACE setting, according to TQT_MODULE_WORKSPACE,
unwantedly removed in commit a41a034902.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko 00318b767a
IconView widget was moved to Widgets module in commit
a41a034902, 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>
4 years ago
Michele Calgaro 0f480dc43f
Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to TQ_FULL_TEMPLATE_INSTANTIATION).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 2a00c1661b
Undo an unwanted deletion of the 'register' in the string.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Hugo Carvalho 1d21085cd1 Added translation using Weblate (Portuguese) 4 years ago
Hugo Carvalho fab37ee9df Added translation using Weblate (Portuguese) 4 years ago
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>
5 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>
5 years ago
OBATA Akio 8704c62dce Fix `qt_xft_handle` to work as expected
Signed-off-by: OBATA Akio <obache@wizdas.com>
5 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>
5 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>
5 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>
5 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>
5 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>
5 years ago
OBATA Akio 141af55cca Fix to set libtool special mode-args as a compiler flag
Signed-off-by: OBATA Akio <obache@wizdas.com>
5 years ago
OBATA Akio 5449d37d87 Fix to record {MAJOR}.{MINOR} to `library_names` in libtool file
Signed-off-by: OBATA Akio <obache@wizdas.com>
5 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>
5 years ago
OBATA Akio e6ce806b77 Fix potentially buffer overrun related to readlink(2)
Signed-off-by: OBATA Akio <obache@wizdas.com>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 years ago
OBATA Akio e37e24181b Fix to display verbose message in some config tests
Signed-off-by: OBATA Akio <obache@wizdas.com>
5 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>
5 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>
5 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>
5 years ago
OBATA Akio 9470305f0e Fix a typo in tqlinguist man page
Signed-off-by: OBATA Akio <obache@wizdas.com>
5 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>
5 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