Commit graph

1,096 commits

Author SHA1 Message Date
Marcelo Lira
8eb529bda3 Increments reference of None object on custom code for QState.addTransition method.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-11 14:40:42 -03:00
Renato Araujo Oliveira Filho
c3d180fdc2 Created unit test for bug #671.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 17:30:34 -03:00
Renato Araujo Oliveira Filho
b9dd824866 Appended the metaclass data flags value on head.
Fix bug #671.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 17:30:34 -03:00
Marcelo Lira
42c9f80b06 Added QCursor test. It is related to bug #630.
Bug #630 - Fails to resolve overload for QCursor(QBitmap, QBitmap, int, int)
http://bugs.openbossa.org/show_bug.cgi?id=630

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-10 14:07:56 -03:00
Renato Araujo Oliveira Filho
bda10df1da Fixed function 'QToolBar.addAction' to support callback in the
arguments.

Create unit test for bug #635.

Fixes bug #635.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-10 10:36:07 -03:00
Hugo Parente Lima
7909d294f5 Fix bug 668 - "QFileSystemModel setRootPath stops application from quitting."
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Renato Araújo <renato.filho@openbossa.org>
2011-02-09 18:26:55 -02:00
Hugo Parente Lima
f25d227d6e Replaced all entries of reference-count with action=add to action=set. 2011-02-09 18:26:55 -02:00
Hugo Parente Lima
7fd8eba136 Fix bug 663 - "Crash on exit when passing QNetworkAccessManager around" 2011-02-09 18:26:55 -02:00
Hugo Parente Lima
95d546696e Remove invalid function removals. 2011-02-09 18:26:55 -02:00
Hugo Parente Lima
2248c1b944 Fix bug 667 - "Crash on exit" 2011-02-09 18:26:55 -02:00
Hugo Parente Lima
8fa461559c Fix QGLBuffer::map code injection and test. 2011-02-09 18:26:12 -02:00
Renato Araujo Oliveira Filho
06755f06ba Updated phonon typesystem to use the new pyside cmake macro syntax. 2011-02-09 18:05:20 -03:00
Renato Araujo Oliveira Filho
5a87a51c11 Updated http server used on tests to keep trying until get a free address. 2011-02-09 15:49:45 -03:00
Renato Araujo Oliveira Filho
323b37beda Created unit test for bug #662.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-09 15:46:29 -03:00
Renato Araujo Oliveira Filho
0fe1c15cbf Implemented support for iterator on QTextBlock.
Fixes bug #662.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-09 15:46:25 -03:00
Renato Araujo Oliveira Filho
88c38236d4 Fix append object description on typesystem only when this was found.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-09 15:46:10 -03:00
Renato Araujo Oliveira Filho
8e4b414844 Separated class typesystem from the main typesystem.
Remove class specification,  detected during the compilation from the
main typesystem to avoid errors during the generation.

Fixes bug #661

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
2011-02-08 14:49:37 -03:00
Renato Araujo Oliveira Filho
9b3d0b2ef2 Updated translation test to use previous generated qm files.
Upload qm files used on test to git.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 20:06:27 -03:00
Renato Araujo Oliveira Filho
8a50e91e6f Updated http server used on unit test.
Allow the server to reuse the address to avoid errors.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 18:09:28 -03:00
Renato Araujo Oliveira Filho
90178e21dd Created unit test for signals.
Test for types inside of namespace
Test for types defined by typedef.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-07 17:33:20 -03:00
Renato Araujo Oliveira Filho
6b1f0b8ca7 Fixed problems to emit signals with objects types.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-02-07 17:32:47 -03:00
Hugo Parente Lima
4e79ce7b25 Fix 666 - "QByteArray does not support slices"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-04 19:28:43 -02:00
Hugo Parente Lima
ac325f24e4 Fix bug 660 - "QMimeData type deleted prematurely when overriding mime-type in QStandardItemModel drag and drop" 2011-02-04 19:28:42 -02:00
Hugo Parente Lima
d44aa5c310 Fix bug 643 - "QTabWidget.insertTab not taking ownership" 2011-02-04 19:28:42 -02:00
Marcelo Lira
2f6af8142d The global header for PySide is now installed with the libpyside headers.
This is good for PySide derived bindings (like the ones for QtMobility),
so they don't need to copy the PySide global headers to their source
tree and end up with an outdated file.

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-04 18:07:51 -03:00
Marcelo Lira
233c0333e6 Removed unnecessary line from test binding CMake file. 2011-02-04 16:09:27 -03:00
Hugo Parente Lima
ac767473a2 Fix qresource_test openning the file in binary mode, so it doesn't fail on windows. 2011-02-04 15:12:29 -02:00
Hugo Parente Lima
8ab8950ccc Export QTranslator::translate and QTranslator::load.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-02-03 19:10:12 -02:00
Hugo Parente Lima
8d1e058fa1 Export method QCryptographicHash::addData. 2011-02-03 18:36:04 -02:00
Hugo Parente Lima
a4ab1c7e99 Remove some ancient method removals from QtCore typesystem.
- QDir(QString,QString,QFlags<QDir::SortFlag>,QFlags<QDir::Filter>)
- QBitArray::fill(bool, int)
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
2d65e48fa8 Use PyString_GET_SIZE instead of PyString_Size on some inject codes. 2011-02-03 18:36:04 -02:00
Hugo Parente Lima
f5d4b6e678 Export QSettings::iniCodec and QXmlStreamWriter::codec methods. 2011-02-03 18:36:04 -02:00
Hugo Parente Lima
ee80967d24 QPersistentModelIndex now have the same implementation of internalPointer of QModelIndex. 2011-02-03 18:36:04 -02:00
Hugo Parente Lima
7b4968abab Fixed/implemented various QResources methods.
- data() is now exported and returns a Python read-only buffer object.
- (un)registerResourceData now accept buffers as arguments, and respects zeroes in the middle of data.
- Improved unit test.
2011-02-03 18:36:04 -02:00
Hugo Parente Lima
b52148fd85 Fix comparisson of QByteArray with Python strings that have zeroes inside. 2011-02-03 18:36:04 -02:00
Hugo Parente Lima
fa118ae670 Added comments to some function removals. 2011-02-03 18:35:40 -02:00
Hugo Parente Lima
709895f2fb Fix bug 653 - "Crash after calling QWizardPage.wizard()"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-02 20:09:10 -02:00
Hugo Parente Lima
295b965d3c Fix bug 652 - "Segfault when using QTextBlock::setUserData due to missing ownership transfer" 2011-02-02 19:23:24 -02:00
Hugo Parente Lima
d7269670ee Removed the removal of some QApplication functions.
These functions were removed due to ancient bugs in shiboken
generator, all them now fixed.

Functions:

font(const char*)
setFont(QFont,const char*)
palette(const char*)
2011-02-02 19:23:24 -02:00
Renato Araujo Oliveira Filho
c19ab39cbf Bump version to beta6. 2011-02-02 15:16:38 -03:00
Renato Araujo Oliveira Filho
1b1a83dc30 Fixed Cmake files used to find the library after the installation.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-02 11:42:52 -03:00
Hugo Parente Lima
87977cc320 Fix bug 650 - "Missing bindings for QNetworkProxyFactory"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-02-02 11:36:12 -02:00
Hugo Parente Lima
3270dde028 Fix bug 651 - "Calling disconnect() with no arguments causes segfault" 2011-02-02 11:36:12 -02:00
Renato Araujo Oliveira Filho
a44fcc6dba Updated QAbstractItemModel.createIndex documentation to warning about
ptr argument life time.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Marcelo Lira <marcelo.lira@openbossa.org>
2011-02-01 15:49:53 -03:00
Hugo Parente Lima
43a8f4089e Fix bug 656 - "cannot inherit from QCoreApplication"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-01-31 16:22:28 -02:00
Marcelo Lira
f2c537eeaa Updated GeneratorRunner calls on CMake files to use "--generator-set" instead of "--generatorSet".
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
2011-01-31 14:54:10 -03:00
Hugo Parente Lima
9ca80b5d3a Don't crash if a typeId was not found when emiting a signal.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
2011-01-31 14:36:03 -02:00
Hugo Parente Lima
e17795d35b Added test for bug 613. 2011-01-28 20:44:16 -02:00
Hugo Parente Lima
2a43919024 Fix bug 565 - "QImage missing *data constructors"
Fix bug 566 - "'PySide.QtGui.QImage' object has no attribute 'scanLine'"

The constructors now accepts any PyObject which implements the buffer protocol, as the
C++ and PyQt4 version the buffer must be alive during the life time of QImage because QImage
*does not* copy the image data.

scanLine() and bits() now return buffer objects pointing to the memory inside QImage.
2011-01-28 19:33:42 -02:00
Renato Araujo Oliveira Filho
4af09f10ad Implement __repr__ function for class with Float attributes. 2011-01-28 18:02:20 -03:00