Commit graph

  • 70f80e8ae5 Create tuple using Shiboken::makeTuple instead Carlos Goncalves 2010-02-02 18:55:47 +00:00
  • 7a4ea686d3 Remove all "class" attribute from define-ownership tag, so the default value will be applied. Hugo Lima 2010-02-02 17:33:51 -02:00
  • d5a562f215 Enable return value heuristic on shiboken generator. Hugo Lima 2010-02-02 17:33:22 -02:00
  • 9025d5487c Fixed signal signature on singleshot inject code. Renato Filho 2010-02-01 20:33:02 -03:00
  • e864bdf57e QPixmap conversion from QVariant. Renato Filho 2010-02-01 15:29:09 -03:00
  • e4919faa31 Adapt to changes in AutoDecRef class Hugo Lima 2010-02-01 18:58:46 -02:00
  • 2f26c9b7a1 Add code injections for QApplication setStyle and style methods. Hugo Lima 2010-02-01 15:28:15 -02:00
  • c17424841c All interface-types replaced by object-types, because shiboken ignores interface-types. Hugo Lima 2010-02-01 14:27:22 -02:00
  • fbffcb1a24 Removes a test which creates an instance of an abstract class. Hugo Lima 2010-01-29 14:09:15 -02:00
  • 7896c3164d Add QGraphicsItem::UserType constant. Hugo Lima 2010-01-29 14:08:51 -02:00
  • 2dcadf3454 Enable some functions disabled in QApplication on boost-PySide. Hugo Lima 2010-01-29 10:58:24 -02:00
  • cba0c6c4f3 Ported QRect inject code from Boost.PySide bindings. Renato Filho 2010-02-01 14:39:32 -03:00
  • 1695809013 Exported QXmlStreamAttributes for QtCore. Renato Filho 2010-02-01 10:58:22 -03:00
  • ec546e00fe Add code injections for QTabWidget. Hugo Lima 2010-01-28 18:50:37 -02:00
  • 10a6f08867 Fixed some warning messages during QtCore compilation. renato 2010-01-28 17:37:18 -03:00
  • b71cade8c6 Export QGenericArgument and QGenericReturnArgument types for QtCore. renato 2010-01-28 15:39:52 -03:00
  • 1d026bf13f Ensure that QApplication instances will be alive forever until the Python VM death. Also deletes argv when QApplication is removed. Hugo Lima 2010-01-28 14:53:48 -02:00
  • e902987249 Rename QApplication::exec to QApplication::exec_ Hugo Lima 2010-01-28 16:26:11 -02:00
  • bf57d0caa2 Do not allow more than 2 instances of QCoreApplication (or QApplication). Hugo Lima 2010-01-28 14:53:10 -02:00
  • f33140602f Add support for buffer protocol on QStrings. Hugo Lima 2010-01-27 17:51:56 -02:00
  • 3592cd622e Revert "We do not support character buffer protocol on QStrings." Hugo Lima 2010-01-27 16:59:56 -02:00
  • 8cd100beee Throw an exception when the user attempt to create more than one instance of QApplication. Hugo Lima 2010-01-27 14:28:59 -02:00
  • a642451bff Added qApp macro. Hugo Lima 2010-01-27 11:44:51 -02:00
  • d35fd7fa2c Initial QtGui bindings. Hugo Lima 2010-01-26 22:17:04 -02:00
  • 478a440f26 Set QtCore module as shared library instead of module, so it'll work with other modules. Hugo Lima 2010-01-26 22:06:53 -02:00
  • 38ed669dc1 Use a PyLong to represent Qt::Handle. Hugo Lima 2010-01-26 18:01:30 -02:00
  • ed108a7f00 Add typesystem path variable to execute_generator CMake macro. Hugo Lima 2010-01-11 19:19:50 -02:00
  • 95959b4c80 PySide depends on libpyside which needs to be installed Carlos Goncalves 2010-01-22 02:02:55 +00:00
  • efd2f93446 Adding cast to QString::fromUcs4 call Lauro Neto 2010-01-25 15:43:43 -03:00
  • 9523cb207a Link against QtCore and add it to the include directories. Hugo Lima 2010-01-25 14:21:30 -02:00
  • af9b887b1e Small modifications to the typesystem to make it compatible with Qt4.6. Hugo Lima 2010-01-22 19:12:21 -02:00
  • 50e8fc385b We can't ensure that the last enum value of QVariant will be fixed forever, e.g. On Qt4.6 there are new values and they changed. Hugo Lima 2010-01-22 19:09:39 -02:00
  • 2992bb3fb8 Remove redundant QChar ctors. Hugo Lima 2010-01-22 01:58:35 -03:00
  • 03287b8d01 Add support fot buffer protocol for QByteArray. Hugo Lima 2010-01-21 18:44:59 -02:00
  • d0cd206f37 QString can now receive buffer objects on constructor, like boost-based PySide. Hugo Lima 2010-01-21 14:44:36 -02:00
  • 1a7cbb2473 We do not support character buffer protocol on QStrings. Hugo Lima 2010-01-21 14:02:19 -02:00
  • a50ecea26d Updates duck punching test to use 'types' module instead of 'new'. Marcelo Lira 2010-01-21 13:49:30 -03:00
  • ca75446b9b Fix qdatastream unit test and typesystem. Hugo Lima 2010-01-20 15:33:34 -02:00
  • 23ee9d0226 Adding a buffer test (copied from PySide trunk). Luciano Wolf 2010-01-19 17:28:28 -03:00
  • 9085598693 Type system marks added QObject's connect and disconnect methods as static. Marcelo Lira 2010-01-19 16:32:09 -03:00
  • 83cea32ed6 Updated test for overloads with static and non-static versions of a method. Marcelo Lira 2010-01-19 13:06:57 -03:00
  • 1b2e58b917 QKeySequence is a class from QtGui, so this test has been moved to QtGui tests directory. Hugo Lima 2010-01-18 18:13:42 -02:00
  • 53500b6542 Does not makes sense concat a unicode string with a QByteArray. Because the user does not know nothing about the internal representation of the unicode string. Hugo Lima 2010-01-18 14:59:09 -02:00
  • 2f726de360 Updates SignalManager and GlobalReceiver to acquire the GIL before calling Python. Marcelo Lira 2010-01-18 14:26:00 -03:00
  • 55d3c6ef4e Fix QBool custom conversion. Hugo Lima 2010-01-15 15:51:34 -02:00
  • ea56231a36 Register Qt primitive typedefs used on signals. Hugo Lima 2010-01-15 15:51:11 -02:00
  • 3fb4c40df1 Remove unused attributes from QEvent derived classes. Hugo Lima 2010-01-14 21:06:12 -02:00
  • 0e649b3e38 Adapt to changed in libshiboken API. Hugo Lima 2010-01-14 16:42:38 -02:00
  • ad2d6b2158 - Removed QTextStream with QByteArray const reference and added the ctors with QByteArray and QString pointers. - Added QTextStream::string() - Added QTextStream::codec() Hugo Lima 2010-01-12 18:10:48 -02:00
  • 75a4dd209f Added functions qRegisterResourceData and qUnregisterResourceData to QtCore. Hugo Lima 2010-01-12 11:48:49 -02:00
  • 7422472ffa Add QT_TR* functions to QtCore. Hugo Lima 2010-01-12 11:14:23 -02:00
  • 265bb73eaf Do not remove QCoreApplication::installTranslator and QCoreApplication::removeTranslation methods. Hugo Lima 2010-01-12 11:03:45 -02:00
  • 7ae0956ba6 Call connectNotify methods when connecting signals. Hugo Lima 2010-01-12 10:49:31 -02:00
  • cb7c8ad32b Adapt some injected codes to the recent changes related to object initialization. (tp_init/tp_new). Hugo Lima 2010-01-11 19:21:48 -02:00
  • 56974dabcc Adding tests for QByteArray += operator Lauro Neto 2010-01-08 14:58:28 -03:00
  • 0e0d22dbba Adding metaclass for tests - DocModifier Lauro Neto 2010-01-08 17:40:49 -03:00
  • 4141123993 Add parent tag to QObject.metaObject Lauro Neto 2010-01-08 14:47:04 -03:00
  • 6218b0b4de QProcess::startDetached now returns a tuple. Hugo Lima 2010-01-07 16:58:45 -02:00
  • 55516cd9f7 If the QVariant is holding a QString, QVariant::toPyObject will return an QString. Hugo Lima 2010-01-07 16:53:18 -02:00
  • 42c7bd9451 QDate::weekNumber and QDate::getDate now return tuples. Hugo Lima 2010-01-07 15:55:14 -02:00
  • df0dfdaaf0 Fixed QLineF::intersect method to return a tuple. Hugo Lima 2010-01-07 15:42:09 -02:00
  • e439aca9d2 When object-types are passed through signals the void pointers are pointers to pointers of the object, not just pointers to the object like is used to happen with value-types. Hugo Lima 2010-01-07 14:59:49 -02:00
  • aade838add Do not remove arguments when there are no arguments and the slot uses self. Hugo Lima 2010-01-05 10:53:46 -02:00
  • b38d83f8bd Remove usage of QThread in signal emission test Lauro Neto 2009-12-28 17:35:03 -03:00
  • 33c837a48d Split signal tests into gui and core tests Lauro Neto 2009-12-22 20:22:53 -03:00
  • 359c973b42 Implement disconnect function for Python callback. renato 2009-12-30 11:45:09 -03:00
  • 0d6a8f3978 Fix qmentaobject test to work with dynamic metaobject. renato 2009-12-29 17:42:42 -03:00
  • 7729b390d0 Fixes type system templates for methods with bool* as parameter. Marcelo Lira 2009-12-28 16:41:50 -03:00
  • 85048bbd6c Fixes problems calling dynamic python slots. Hugo Lima 2009-12-29 17:04:56 -02:00
  • e8e1ecc260 Fix test of QObject::sender Hugo Lima 2009-12-29 18:01:30 -02:00
  • 283739a405 Added QTimer::singleShot Hugo Lima 2009-12-28 18:25:53 -02:00
  • b9ce558e29 Implemented support for classname on metaobject. renato 2009-12-28 16:56:41 -03:00
  • 73b5357057 Initial implementation of the new architeture for signal/slots. Hugo Lima 2009-12-23 16:50:19 -02:00
  • 750a56af8a TypeResolver updated to use Shiboken::CppObjectCopier instead of SbkCopyCppObject. Marcelo Lira 2009-12-22 20:14:41 -03:00
  • 4c16e02e3f Updates TypeResolver to use the improvements on Shiboken converters. Marcelo Lira 2009-12-21 17:17:14 -03:00
  • 439a99fdfd Modifies injected QObject.emit method to use varargs parameter. Marcelo Lira 2009-12-18 13:29:06 -03:00
  • 3b422b2d97 Implement signal->signal connection. Luciano Wolf 2009-12-18 11:44:09 -03:00
  • 1613ca7080 Fix the array of void pointers passed to slots avoiding memory corruption. Hugo Lima 2009-12-17 18:01:34 -02:00
  • 742d46f23f Fix memory corruption caused by tuple processing loop. Luciano Wolf 2009-12-17 15:44:09 -03:00
  • fb040f76c1 Signal emission tests with non QtGui tests Lauro Neto 2009-12-16 15:47:30 -03:00
  • ffd0b47222 Fixing pysignal_tests with helper classes Lauro Neto 2009-12-15 17:15:03 -03:00
  • 976cbf0029 Fixing "wrong number of arguments" tests Lauro Neto 2009-12-12 17:17:28 -03:00
  • 859cec5632 Adding decorator requires(ModuleName) for tests Lauro Neto 2009-12-15 16:04:07 -03:00
  • 9e6100816e Adding no-qtgui tests for lambda and multiple sig Lauro Neto 2009-12-14 20:54:42 -03:00
  • d345245c9d Add empty classes when QtGui's not available Lauro Neto 2009-12-14 20:20:07 -03:00
  • 62bea2811a Fixing signals connections back to static method Lauro Neto 2009-12-14 13:56:44 -03:00
  • 1c087643b4 Fixing multiple signal tests Lauro Neto 2009-12-12 16:58:39 -03:00
  • 477a17fb1b Fix typo in run_test.sh (PYTHONPATH) Lauro Neto 2009-12-12 16:13:08 -03:00
  • 9e1a1ec8a7 We have a nice Dynamic MetaObject! Yay! Hugo Lima 2009-12-16 21:10:15 -02:00
  • e791f15afc args_dont_match.py renamed to args_dont_match_test.py Hugo Lima 2009-12-16 16:00:58 -02:00
  • c8e9080972 Initial port of signal slots infrastructure from PySide to the Shiboken version. Hugo Lima 2009-12-15 19:24:30 -02:00
  • d90b6ba474 Adds SLOT and SIGNAL global functions to QtCore module. Marcelo Lira 2009-12-16 14:57:39 -03:00
  • 3deada6b7e Tests synchronized with the boost python PySide. Hugo Lima 2009-12-15 15:37:20 -02:00
  • 84282e06ac Updates code injections to follow Shiboken generator changes. Marcelo Lira 2009-12-11 20:43:12 -03:00
  • f917ca22a8 Removed code injections of copyCppObject and toPython converter methods for QVariant and QString. Marcelo Lira 2009-12-09 16:07:38 -03:00
  • 942c774827 Support slice operator into QStringList. Luciano Wolf 2009-12-08 14:56:59 -03:00
  • a2f9d30a4d Added inject codes for QByteArray::toSomeNumberType and QByteArray::split Hugo Lima 2009-12-08 16:32:17 -02:00
  • ea9882809a Implemented QObject functions tr and trUtf8. renato 2009-12-08 16:18:39 -03:00
  • 41e51c0c45 Removed "QString::arg(QChar, int, const QChar&)", it's also handled by QString::arg(QString, ...) and causes conflicts with QString::arg(int, ...) because int is implicitly convertible to QChar. Hugo Lima 2009-12-08 15:56:12 -02:00
  • c8fbdc9163 Added inject code for all QString::toSomeNumberType. Hugo Lima 2009-12-08 15:40:32 -02:00