Commit Graph

432 Commits (d730db2c0d934174635a3b850b00dccf2dbb871f)
 

Author SHA1 Message Date
Alexander Golubev d730db2c0d
gitignore: add a couple more tests
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 8e4edc5883)
11 months ago
Alexander Golubev 57f90016c3
Add explicit declaration TQChar&TQCharRef default constructor/destructor
This suppresses -Wdeprecated-copy warning.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 87129eac9a)
11 months ago
Alexander Golubev 590a2e0434
Resort includes in ntqt.h
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit b930cec601)
12 months ago
Alexander Golubev 5d90b0352d
./configure: turn thread support on by default
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d8738f551b)
12 months ago
Alexander Golubev 5232ccdf64
Avoid setting CONFIG=thread in qmake.conf
Otherwise it's impossible to override in ./configure

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit cbdf333378)
12 months ago
Alexander Golubev d643d19c96
Fix compilation with -no-thread
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 4100c9e29f)
12 months ago
Alexander Golubev 9d1f80158e
Fix up mkspecs/linux-g++-32/qplatformdefs.h
The head of file was accidentally deleted in 455154ce

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit bd8bd100a4)
12 months ago
Alexander Golubev ee2df97887
Fix compilation with -disable-inputmethod and -no-inputmethod
As for now here are two sets of inputmethod options:
- -enable-inputmethod/disable-inputmethod - which seems to supposed to
  control whether build the 'inputmethod' module or not
- -inputmethod/-no-inputmethod - which seems to supposed to
  enable/disable inputmethod support without changing the ABI.

Before the patch both -disable-inputmethod and -no-inputmethod were just
breaking the build: -no-inputmethod were disabling some code with
support for the module, but didn't disabled the module build itself nor
build of plugins. -disable-inputmethod were disabling build of plugins
and module, but didn't disabled code depending upon it.

It seems the inputmethod support were still WIP when the last release of
Qt3 came to be, hence the mess.

This patch fixes the build if both -disable-inputmethod AND
-no-inputmethod are supplied. Disabling only one is not enough due to
tqmake/configure have problems handling two different options of the
same name.  Later the -inputmethod/-no-inputmethod should be probably
removed entirely.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit fad4acbe08)
12 months ago
Alexander Golubev 9aa03105ab
Fix FTBFS with -no-xkb
The analogue of XkbKeycodeToKeysym() used to be XKeycodeToKeysym(), but
it was deprecated in favour of XGetKeyboardMapping() method.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit beb37238fa)
12 months ago
Alexander Golubev 77927b79b7
Fix FTBFS with -no-stl
On modern compilers placement new requires inclusion of <new>

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 2f15a471f9)
12 months ago
Alexander Golubev 7b575b58e5
avoid translating the /qt/XIMInputStyle options when saving into config
Also use "On The Spot" as the default when the setting in the config is
incorrect.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 34587584ab)
12 months ago
Alexander Golubev 53a1dfa82b
gitignore: add missing examples (sound, tablet)
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 7578fa552b)
12 months ago
Alexander Golubev 94c71d50f6
Fix FTBFS with -qt-sql-sqlite3
Fix FTBFS when sqlite3 sql driver is being built into the library

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 3cba79c7f5)
12 months ago
Alexander Golubev cabcb339c6
fix grep complain in configure: "warning: stray \ before c"
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 92fe774704)
1 year ago
Michele Calgaro 486ac7828c
Remove original Q_WS_* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 77697cb46c)
1 year ago
Alexander Golubev da061df465
Add .gitignore file
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit facf04e60c)
1 year ago
Michele Calgaro 33c36fae2a
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1d318a47b0)
1 year ago
Michele Calgaro 473cd1e8a5 Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process.
Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*.
Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow
TDE code to continue building till replacement is carried over to all
other modules.
Once that is completed, the original Q_WS_* defines will
be removed.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 67bff2edca)
1 year ago
Michele Calgaro ecca365daf
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f)
1 year ago
Slávek Banko 1c30858477
Fix potential buffer overflow in debug functions.
This resolves issue #70.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a9d178f100)
1 year ago
Mavridis Philippe f30ac87a4f
Add support for HistoryBackButton and HistoryForwardButton
This resolves TDE/tdebase#421.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit aec0061106)
1 year ago
Mavridis Philippe c339f68fc0
Update README
A new README with markdown format, updated information on TQt, contributor section and translations status.

The old README has been preserved as README.Qt3 for historical reasons.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit fd6c582f15)
1 year ago
Michele Calgaro a059b24f5a
tqdesigner: prevent SEGV from invalid pointer. This resolves issue #97.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit 6e5c7efaca)
1 year ago
Michele Calgaro ccc0d8e4ef
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5eccf2a5e3)
1 year ago
Michele Calgaro 541b900725
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 089d5266f0)
1 year ago
Michele Calgaro d73937a9f7 Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b35e0845dc)
1 year ago
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)
2 years 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)
2 years 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)
2 years 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)
2 years 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