Commit Graph

60 Commits (dc7ba7a6d7019e4cd4fc2f33fbee4ec53ff8420a)
 

Author SHA1 Message Date
ormorph dc7ba7a6d7
Added prototype of yylex() function
Required for building with the new gcc-14

Signed-off-by: ormorph <roma251078@mail.ru>
7 months ago
Michele Calgaro 431aa14fbe
Fix FTBFS described in issue #19
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro a0a0ac290e
Fix pytde FTBFS caused by commit 746782b
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
François Andriot 29c31825fb Fix yyerror ftbfs under Fedora 40
Signed-off-by: François Andriot <albator78@libertysurf.fr>
1 year ago
Michele Calgaro 746782ba8b
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro bce54982a6
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>
1 year ago
Michele Calgaro c35201f922
Add support for python 3.12 and raise minimum required version to 3.3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro e44eaa6ec0
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro d5dd0a71a6
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 4ebc5a806d
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 566a2d4dc8
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>
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>
6 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>
6 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>
6 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
Timothy Pearson 9677d9d5bb Rename old tq methods that no longer need a unique name 13 years ago