~thopiekar/pyside/+git/pyside-setup:5.12.4

Last commit made on 2019-06-19
Get this branch:
git clone -b 5.12.4 https://git.launchpad.net/~thopiekar/pyside/+git/pyside-setup

Branch merges

Branch information

Name:
5.12.4
Repository:
lp:~thopiekar/pyside/+git/pyside-setup

Recent commits

cc24107... by =?utf-8?q?Simo_F=C3=A4lt?= <email address hidden>

Cleanup version strings for 5.12.4 release

Change-Id: I956b368c3efcde65b7d94eaa309aa365b83e3358
Reviewed-by: Cristian Maureira-Fredes <email address hidden>

fbc6f80... by Cristian Maureira-Fredes <email address hidden>

Add changelog 5.12.4

(cherry picked from commit 28f03180efab8d2358f1144be83fc48563b3475b)
Change-Id: Ie92d3375d05630c35b372f758aa6296f7488582a
Reviewed-by: Friedemann Kleint <email address hidden>

b140239... by Friedemann Kleint

Revert "shiboken: Disambiguate indexes of smart pointer types"

This is not the proper fix for the issue. The index of the declaring
module needs to be used for this to work.

This reverts commit d2d0e397309a1b18eaff9ddee0940007f0e1c4bf.

Task-number: PYSIDE-1024
Change-Id: Idc0e859ebda1626b5e841aa96be54317a5f3d0d0
Reviewed-by: Cristian Maureira-Fredes <email address hidden>

d21b58e... by Friedemann Kleint

shiboken: Fix handling shared pointers passed by const-ref, take 2

With fd126b28e1d9b02ea16c813bc392461bdb05bd1d, broken wrapper code
would still be generated for "const_QSharedPointer_QSize___&"
depending on whether the const-ref or plain value type was encountered
first when parsing.

Fix the problem by stripping the qualifiers from the metatype added to
GeneratorPrivate::m_instantiatedSmartPointers partially reverting
fd126b28e1d9b02ea16c813bc392461bdb05bd1d.

Change-Id: Ie6691e045b7d65baa3a0bc72dd8637f09eeaf111
Fixes: PYSIDE-1016
Reviewed-by: Cristian Maureira-Fredes <email address hidden>

4a1d5f1... by Friedemann Kleint

shiboken: Enable specifying names for a parameters of added functions

Introduce a way to specify a name for a parameter using '@'
delimiters.

Fixes: PYSIDE-1017
Change-Id: I3ae505c104a64413ca2bad628d9f9d3e04bb5b88
Reviewed-by: Qt CI Bot <email address hidden>
Reviewed-by: Cristian Maureira-Fredes <email address hidden>

1eb777f... by stackless

Signature: Try to recognize unknown modules in errorhandler.py

There were unknown modules built with shiboken which mapping.py
did not recognize. This is too restrictive, since we can import this
module and try to produce something useful.

This was rewritten to respect every binary module in sys.modules .

Change-Id: I6626c69f002c307bae3eb78a557d1a7309983324
Fixes: PYSIDE-1009
Reviewed-by: Cristian Maureira-Fredes <email address hidden>

6371c1d... by stackless

Complete the help() support for Types

The help() support based upon the Signature module worked
fine but for types.

The reason was that the __signature__ module was a new attribute,
while __doc__ already existed through an inheritance-like
mechanism. When we add __doc__ later, the attributes are already
in the cache. PyType_Modified(type) does not help in PySide.

The solution was to add tp_getset to the metaclass
SbkObjectType_Type which otherwise would have been reached
from PyType_Type ('type' in Python).

Note.. It makes sense to add the injected documentation to the
__doc__ strings as well. This enables help output even with
the py_doc web service!

Task-number: PYSIDE-908
Change-Id: I09dd4bc6746ee41566a467604c4a68de5d66f94b
Reviewed-by: Friedemann Kleint <email address hidden>
Reviewed-by: Cristian Maureira-Fredes <email address hidden>
Reviewed-by: Qt CI Bot <email address hidden>

077db7a... by Friedemann Kleint

Examples: Use QSaveFile

QSaveFile should preferably used for writing out files from editor
applications to ensure files are properly written and existing files
are not overwritten should writing fail.

Change-Id: I5d9b98c168649d23f5ee31171b1729fd230dc8de
Reviewed-by: Christian Tismer <email address hidden>

1e8896f... by Friedemann Kleint

TabbedBrowser Example: Fix "Open in new tab"

Restore override of QWebEngineView::createWindow()
broken by 90c1c767095e583d0315e87c0592597020858246.

Change-Id: I6cdc05c3b8edbfb9da24ca3d6502cec2ccce870a
Fixes: PYSIDE-1022
Reviewed-by: Cristian Maureira-Fredes <email address hidden>

6108df5... by stackless

Fix negative refcount on QSocketNotifier

Change 43451e3bc17467593df64cb73ce8c0bf9e60045f from 2018-05-09
introduced a refcount bug that was not caught because we do not
build with debug Python.

This also revealed an omission in the patch
"PySide: Allow any existing attribute in the constructor"
when debug Python is used.

Change-Id: Idbcbbc87f0a83bb696d03e05af0cf616b21f7335
Fixes: PYSIDE-1027
Reviewed-by: Friedemann Kleint <email address hidden>
Reviewed-by: Cristian Maureira-Fredes <email address hidden>