aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
Commit message (Collapse)AuthorAgeFilesLines
* PYSIDE-164: Fix possible deadlock on signal connect/emitps-4.8-headPankaj Pandey2014-07-081-3/+16
| | | | | | | | | | | Signal connect/emit acquire a lock on the QObject, and can happen from python code (which has acquired the GIL) or internal QtCode (without acquiring the GIL). So we always need to release the GIL to prevent out-of-order acquisition of the locks causing deadlock. Change-Id: I1cf47a73c2b60627e322d8ef3fa4c3efdebd4c02 Reviewed-by: John Ehresman <jpe@wingware.com>
* Fix bug PYSIDE-172: multiple rules for fileMatthew Woehlke2014-04-151-2/+1
| | | | | | | | | | Remove moc_qpytextobject.cxx from the list of Shiboken-generated files, as it is properly generated by MOC, and being in both places causes some generators (e.g. Ninja) to be unhappy about having multiple rules that (claim to) generate it. Change-Id: I2458502852f792661120f561a59ad9a198286005 Reviewed-by: John Ehresman <jpe@wingware.com>
* use file system encoding instead of assumed 'ascii'Joel B. Mohler2014-04-151-2/+6
| | | | | | | | Task-number: PYSIDE-211 Change-Id: I4233d093cf2abe1eeb006fd836c10d1ddcbc9858 Reviewed-by: Roman Lacko <backup.rlacko@gmail.com> Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: John Ehresman <jpe@wingware.com>
* Register qt.conf in Qt resource system to override the Qt builtinsRoman Lacko2013-08-122-24/+173
| | | | | | | | | | Register qt.conf in Qt resource system to override the built-in configuration variables if there is no default qt.conf in executable folder and qt.conf was not already registered in Qt resource system Change-Id: Ibed9f9e791dab575ef26bc54b351e5f5d4870542 Reviewed-by: John Ehresman <jpe@wingware.com>
* add diagnostics and fallbacks for frozen distributionsJoel B. Mohler2013-07-122-8/+30
| | | | | | Change-Id: I519c912999283bf7e07f8d34201f9e67c7d6216e Reviewed-by: Roman Lacko <backup.rlacko@gmail.com> Reviewed-by: John Ehresman <jpe@wingware.com>
* Fixed licensesRoman Lacko2013-07-111-4/+4
| | | | | Change-Id: I55b76b47b1dca0ea290f633b1de070bb8d6995e1 Reviewed-by: John Ehresman <jpe@wingware.com>
* Tell Qt to look for qml imports in the PySide packageRoman Lacko2013-06-223-1/+108
| | | | | Change-Id: Ia7565955f8a3b58c8c57631e13bb56a2793b702a Reviewed-by: John Ehresman <jpe@wingware.com>
* Fix QByteArray memory leakJohn Ehresman2013-06-211-1/+1
| | | | | | | QByteArray leaked memory when constructed from Python 2 str Change-Id: I0e2ea21ba1bd32d9519704baa7dd42e5224e9ed3 Reviewed-by: John Cummings <jcummings2@users.sf.net>
* Ignore QtCore import errors when initializing plugins folderRoman Lacko2013-05-291-7/+15
| | | | | Change-Id: If7612f97bb03f353d644b26767b3867f04d17fff Reviewed-by: John Ehresman <jpe@wingware.com>
* Replaced Nokia copyrights and contact detailsTeemu Kaukoranta2013-05-2839-42/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced Nokia copyrights with correct Digia copyrights. Text in front of copyright is now retained: ** File is part of Foo, Copyright Nokia... -> ** File is part of Foo, Copyright Digia... Replaced Nokia contact details with Digia's. Removing "All Rights Reserved" no longer leaves an empty line. Used the following command: find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*|.*Contact.*' {} \; | tee >(xargs sed -i -r '1,50 { /INdT|copy[a-z]*[ ]*=/ !{ s/(^[ \t:#*]*)([a-z ]*) (Copyright.*Nokia.*)/ \1\2Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I }}') >(xargs sed -i -r '1,50 s/(^[ \t:#*]*)(.*info@qt\.nokia\.com.* |.*INSERT EMAIL ADDRESS.*|.*qt-info@nokia\.com.* |.*qt-label1@nokia\.com.*|.*http:\/\/qt\.nokia\.com\/contact.* |.*qt-sales@nokia\.com.*|.*http:\/\/www\.qt-project\.org\/.*)/ \1Contact: http:\/\/www\.qt-project\.org\/legal/I') >(xargs sed -i -r '1,50{/(^[ \t:#*]*)(all rights reserved.*)/Id}') Command now finds command details that point to qt-project.org and changes them to qt-project.org/legal Also no longer wrongly replaces code snippet "copyright = ..". Need to fix these case-by-case later. Change-Id: I4456c00202c4a2264a400bdc18c19cd097876861 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fixed licensesTeemu Kaukoranta2013-05-231-8/+9
| | | | | | | | | License fixed using replace-licenses.zsh from mkdist repo. Possible copyright and contact changes will come later. Change-Id: I18b977ac33f1b00e99fa7aae6c1a824769ce5f6e Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Preload OpenSSL DLLs on Windows.Robin Dunn2013-05-171-6/+23
| | | | | | | | | Add code to _setupQtDirectories that will preload the OpenSSL DLLs if they are included in the PySide package. It uses a trick of temporarily modifying the PATH so Qt's QSystemLibrary will be able to find them. Change-Id: I67b56642ef74444f19806b52c6a1080dc6d92996 Reviewed-by: John Ehresman <jpe@wingware.com>
* Look first in the PySide package for Qt's plugins folder,Robin Dunn2013-05-141-0/+16
| | | | | | | | instead of just in Qt's install or build folder. Only do it if the path exists in the PySide package, and if it's not already on the search path. Change-Id: I5a8ec8724cad2cb011e7e1c364c82a8b87289c5c Reviewed-by: John Ehresman <jpe@wingware.com>
* Add explicit type conversion to fix mingw compile errorRoman Lacko2013-01-161-1/+1
| | | | | Change-Id: Id15e68fc34fd8fbb386794f04039a23766691cfe Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Fix reference leak on convertion from a C++ map type to Python dict.Hugo Parente Lima2012-09-111-3/+5
| | | | | | | Patch by Dennis Victorovich. Change-Id: I050da20f6c0bef2f568aefcc81a9a159a412be24 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Invalidate invisibleRootItem in clear() methodJohn Ehresman2012-07-311-0/+6
| | | | | | | Fixes PYSIDE-56 Change-Id: If0529a289e6d9613fdd85bd9d37ccf438d4e92ca Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Optimize vector to pylist conversionJohn Cummings2012-06-142-6/+15
| | | | | | | | | | Incorporate changes from Shiboken change I5f0c93b7 Note switch to push_back() should allow the template to work for both QVector and std::vector. Likewise, using size_type should avoid compiler warnings. Change-Id: I4742aa9030e1bfa2e070f4b6f71d124d3c99749d Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Fixed template name typoJohn Cummings2012-06-042-25/+25
| | | | | | | | | | Fixed typo of template names by changing "convertion" to "conversion" Fixed all usages of incorrect name Note that this change is not backwards compatible if using the misspelled names in user code. Change-Id: Ie34e0ef8cc23362c8efb2d6bf1ec9779d6e4c42b Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Improved QVector to python conversionJohn Cummings2012-06-012-1/+10
| | | | | | | | | Added pyseq_to_cppvector_conversion template that calls reserve() with the sequence size to reduce memory reallocations Changed QVector conversion to use new the template Change-Id: I099ab15d5f725499218e2ed081a325246aa5b902 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Fix bug 1041 - "QAbstractItemModel has wrong ownership policy for ↵Hugo Parente Lima2012-04-201-0/+7
| | | | | | | selectionModel()" Change-Id: I1dbe6d3cd69774dfa18f15d83794396f17b769f0 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Add hash-function for QModelIndex and QPersistenModelIndexAlexander Jones2012-04-191-2/+2
| | | | | | Change-Id: I2725e78a1006fbee54894f202997e2e408998551 Task-number: PYSIDE-41 Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Bug fix for PYSIDE-7Juhapekka Piiroinen2012-03-131-0/+7
| | | | | | | | This should resolve the issue in PYSIDE-7 "QDateTime does not support the 6-argument format". Added function signature for 6-argument version and a testcase. Change-Id: I617eefab6a41939c37e2f1bf800857bc2d74b6ee Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
* Declares Python types using the new "<custom-type>" tag.Marcelo Lira2012-03-081-0/+10
| | | | | Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Paulo Alcantara <pcacjr@gmail.com>
* Fix BUG #1060 - "Subclassing of QUiLoader leads to "Internal C++ objectPaulo Alcantara2012-03-081-5/+6
| | | | | | | | | already deleted" exception" See http://bugs.pyside.org/show_bug.cgi?id=1060. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
* Fix BUG #1091 - "PixmapFragment and drawPixmapFragments are not bound"Paulo Alcantara2012-03-082-74/+85
| | | | | | | | | See http://bugs.pyside.org/show_bug.cgi?id=1091. Also minor coding style fixes in QtGui's typesystem. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
* Fix BUG #1084 - "Crash (segfault) when writing unicode string on socket"Paulo Alcantara2012-03-081-13/+8
| | | | | | | See http://bugs.pyside.org/show_bug.cgi?id=1084. Signed-off-by: Paulo Alcantara <pcacjr@gmail.com> Reviewed-by: Trust me
* Added type system entries to the primitive types used by QtOpenGL.Marcelo Lira2012-03-081-12/+27
|
* No more training wheels. The last occurrences of the old template Converter ↵Marcelo Lira2012-03-0838-917/+99
| | | | | | where removed. Also related fixes here and there.
* Added a type system file for Maemo's QtCore.Marcelo Lira2012-03-081-0/+26
|
* Fixes custom code for QtCore's HWND on win32.Marcelo Lira2012-03-083-8/+15
|
* Qt::HANDLE is declared only in QtCore, and its specifics depend on the ↵Marcelo Lira2012-03-0824-30/+101
| | | | architecture.
* Fixed QtCore's HWND converter for win32.Marcelo Lira2012-03-081-8/+19
|
* Removed the QAbstractVideoBuffer::map method.Marcelo Lira2012-03-081-0/+3
|
* Fixed converter for win32's WId type.Marcelo Lira2012-03-081-1/+4
|
* Fix compilation of conversion branch against Python3k.Hugo Parente Lima2012-03-081-11/+27
| | | | Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
* Replaced TypeResolver by SbkConverter and SpecificConverter.Marcelo Lira2012-03-085-57/+71
| | | | Also updated QtGui's WId conversion to Python 3.
* Removed the remaining occurrences of Shiboken::makeTuple.Marcelo Lira2012-03-088-136/+209
|
* Fixed code for QUdpSocket.readDatagram method to remove usage of ↵Marcelo Lira2012-03-082-7/+13
| | | | Shiboken::makeTuple.
* Fixed code for setting QtCore.__version_info__ to not use Shiboken::makeTuple.Marcelo Lira2012-03-082-6/+9
|
* Fixed custom code for QScriptValueIterator.__next__ function.Marcelo Lira2012-03-081-6/+10
| | | | | It must not use the convenience method Shiboken::makeTuple, for it makes use of the old template based converters.
* Fixes type converter for Win32's HWND.Marcelo Lira2012-03-081-1/+1
|
* Added converter for primitive type QModelIndexList.Marcelo Lira2012-03-083-19/+35
|
* Fixes conversion rule for QGraphicsView::drawItems array argument.Marcelo Lira2012-03-081-2/+3
|
* Some method signatures were removed.Marcelo Lira2012-03-082-1/+11
| | | | | | They were removed because used pointers to primitive types without proper user defined handling. Future assessment must be done to tell if removal is enough, or other changes are needed.
* Updated various function removals and modifications.Marcelo Lira2012-03-083-4/+51
|
* New containers for container types.Marcelo Lira2012-03-081-24/+206
|
* New converters for primitive types.Marcelo Lira2012-03-085-26/+373
|
* Added new style conversions for QDate, QTime and QDateTime objects.Marcelo Lira2012-03-081-4/+77
|
* Added default constructor to QTextStreamManipulator.Marcelo Lira2012-03-081-1/+1
|
* Turned QStyleOptionViewItem into value type, for it has a public copy ↵Marcelo Lira2012-03-081-8/+8
| | | | | | | | constructor. It is passed around by value in many places, like the return value of QAbstractItemView::viewOptions(). I did the same to the variations: QStyleOptionViewItemV2, QStyleOptionViewItemV3, etc.