Commit Graph

61 Commits (r14.1.3)
 

Author SHA1 Message Date
François Andriot fa5e464612
Fix FTBFS with Python 3.13.
This solves issue #26.

Signed-off-by: François Andriot <albator78@libertysurf.fr>
(cherry picked from commit 4ab9fdc0fc)
5 months ago
ormorph 7f3c0748d4
Added prototype of yylex() function
Required for building with the new gcc-14

Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit dc7ba7a6d7)
7 months ago
Michele Calgaro c3d189b329
Fix FTBFS described in issue #19
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 431aa14fbe)
11 months ago
Michele Calgaro 15dc4a7cbd
Fix pytde FTBFS caused by commit 5cfeb8e
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a0a0ac290e)
1 year ago
François Andriot 9d52e5c05d
Fix yyerror ftbfs under Fedora 40
Signed-off-by: François Andriot <albator78@libertysurf.fr>
(cherry picked from commit 29c31825fb)
1 year ago
Michele Calgaro 5cfeb8ecb0
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 746782ba8b)
1 year ago
Michele Calgaro 5e77787cf3
Fix SEGV on exit when using python 3.12 and raise minimum required version to 3.4.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bce54982a6)
1 year ago
Michele Calgaro 18bbe17324
Add support for python 3.12 and raise minimum required version to 3.3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c35201f922)
1 year ago
Michele Calgaro c668d2b1b3
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e44eaa6ec0)
1 year ago
Michele Calgaro 62beed758e
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 d5dd0a71a6)
1 year ago
Michele Calgaro bb61ff59a5
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4ebc5a806d)
2 years ago
Michele Calgaro a2339567fb
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 566a2d4dc8)
2 years ago
Slávek Banko d768e91379
Drop the remaining Qt4 related parts.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko 0f630aff5c
Entry step for renaming PyTQt module libraries from qt* to tqt*.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro 3e5815bce6
Remove old conditional python code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 1d30924b9d
Automatically add build definition Py_DEBUG, when building module for debug build of Python.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
aneejit1 b92a3b0a4e Make sip_api_get_address a public API function
The sipGetAddress function has been renamed as sip_api_get_address
and made available as part of the public API.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 b9448655a2 Ensure module initialisation is exported globally
The generated module initialisation function fails to export because of
the "-fvisibility-hidden" resulting in an import failure on missing
symbol. Alter the visibility of the initialisation function to "default"
to ensure that it winds up as "global" in the module binary.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 c9762bd162 Improve the "underlying C/C++ object has been deleted" message
python-tqt is reporting "underlying C/C++ object has been deleted". This
is rather unhelpful. A little code has been backported from the equivalent
source files in sip 4.19.23 to make it a little clearer about what is
going wrong (original author Riverbank Computing Limited
<info@riverbankcomputing.com>, licensed under GPL version 2 or 3).

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 5b12d262dc
Updates for Python 3 Support
The following changes have been made to support Python 3:

- in sip-tqt.h, remove the cast in the "sipConvertFromSliceObject"
  macro in versions 3.2+ as the API changed causing a compile error;
- in voidptr.h, alter the precompile conditions to remove the
  PyCObject API cals for version 3.2+ (causes runtime symbol
  resolution error) and amend the flags for "asstring";
- alter module import process in siplib.c to avoid re-loading an
  already loaded module.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 299bacc2dd
Fixed several other occurrences for renaming sip into sip-tqt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 5f4dfdf2ed
Drop Qt4 related parts.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy 976b20e043
Rename sip into sip-tqt in order to be conflict free with upstream.
This relates to bug 2699.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko c1d6f4a527
Fix the mismatch of tokens TK_TQOBJECT × TK_QOBJECT and
TK_TQCHAR × TK_QCHAR between lexer and parser.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 123b20b747
Add an explicit rule to generate parser.
Delete generated files from source code.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 32d72527ff
Fix FTBFS for build outside the source code.
This resolves issue #3.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 65411c74aa
Replaced PyList_SET_ITEM as done in python-tqt.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 7ba42131b7
Adjusted after dropping obsolete Qt2's QList class.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro dda6304c50
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro af6c501c07
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 9103b635cc
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro e450292ca3
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 044b539daf
qt -> tqt conversion:
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro e684d18c0d
qt -> tqt conversion:
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro c444c63319
QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro f12979141f
Removed unnecessary executable flag. This relates to bug 2153.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 0747f550f7 Force cast in sipEnumMemberDef
This resolves FTBFS due to a narrowing conversions using
C++11 dialect (GCC6) in python-tqt and python-trinity

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson 916b7d8e62 Fix invalid headers in PNG files and optimize for size 9 years ago
Timothy Pearson 80c7008c01 Add ability to set libpython library
This relates to Bug 1995
11 years ago
Slávek Banko c022b80b9c Cleanup 11 years ago
Slávek Banko 8cb6671163 Install as module by default 11 years ago
Slávek Banko e1f1a8aaaf Revert pyqt4TQtSignal to pyqt4QtSignal 12 years ago
Slávek Banko 9b74ae4899 Revert pyqt3TQtSignal to pyqt3QtSignal
It allows to retain compatibility with the original SIP4
12 years ago
Timothy Pearson 58f18d64ee Fix unintended rename 12 years ago
Timothy Pearson bf66696108 Rename many classes and header files to avoid conflicts with KDE4 12 years ago
Darrell Anderson d554f8fec0 Fix inadvertent tqt changes. 13 years ago
Timothy Pearson 29caa6b308 Fix FTBFS 13 years ago
Timothy Pearson 0cc2bc2041 Rename additional members for tqt3 13 years ago
Timothy Pearson 6f00524aad Rename obsolete tq methods to standard names 13 years ago
Timothy Pearson cb279d73d3 Remove additional unneeded tq method conversions 13 years ago