Michele Calgaro
b167d09c43
Add single TQObject root parent for all guarded pointers.
...
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>
2 years ago
Michele Calgaro
044c03f28e
Remove unnecessary accelerators from .ui files
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
ec04b50a44
Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Mavridis Philippe
12c9e70bad
SGI style: enable complex widget rendering
...
Was commented out for no obvious reason
This resolves issue #64 .
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Slávek Banko
4d35e785e6
Update translations binary files
...
because they are not generated during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko
aec367ef28
Use empty d->cString for TQString::shared_null instead of null string.
...
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>
3 years ago
Slávek Banko
e919ffc1ec
Avoid changes of d->cString for TQString::shared_null to make the value reliable.
...
This precedes unnecessary allocations, potential use after free and crashes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Alexander Golubev
cc9271d731
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/
3 years ago
Alexander Golubev
f5142f56bd
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/
3 years ago
Michele Calgaro
cde9d7e942
Removed QT_NON_COMMERCIAL check and related code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
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>
3 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>
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