Michele Calgaro
eb42871e99
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1ba13366a7
)
1 year ago
Michele Calgaro
440483234f
Replace various Q_* and QT_* defines with TQ_* and TQT_*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 926102a455
)
1 year ago
Michele Calgaro
0c8091f80e
Reintroduced porting documentation previously removed
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fd565e9bad
)
1 year ago
Michele Calgaro
b195cee3f4
Drop attic Qt2 classes (TQtMultiLineEdit and TQtTableView)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7c116f3bf7
)
1 year ago
Denis Kozadaev
eb4fc5004b
SunOS res_ninit() requires a clean structure
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
init structure without condition
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 47f034c129
)
1 year ago
Michele Calgaro
984ea06ed6
Revert "Add single TQObject root parent for all guarded pointers."
...
Commit b167d09c
was functionally incorrect and is causing issues on
selected distributions.
This reverts commit b167d09c43
.
This resolves issue TDE/tde#128 .
(cherry picked from commit fb1f3d6445
)
1 year ago
Bobby Bingham
df5ce1b169
Enable use of pthread's recursive mutexes
...
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 0b3c8dfbc9
)
2 years ago
Bobby Bingham
c87fb38122
Fix level when using pthreads recursive mutex
...
When using the pthreads recursive mutex, the level method was only able
to return either zero or one, but a recursive mutex can be locked more
than once.
Additionally, the way this detected if the mutex was already locked was
to test whether it can be locked again. If testing from the thread that
is currently holding the lock, this locking attempt always succeeds, and
therefore determines that the lock is _not_ held at all. This is
especially bad, as this operation only makes sense to perform from the
thread that holds the lock -- if any thread not holding the lock queries
the number of times the lock is held, that answer can change before the
thread can used it.
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
(cherry picked from commit 999cebcb5d
)
2 years ago
Denis Kozadaev
d7c0502bf9
socket and nsl functions were moved to libc
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 4ff2cb8b3c
)
2 years ago
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