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

Last commit made on 2018-12-07
Get this branch:
git clone -b 5.11.3 https://git.launchpad.net/~thopiekar/pyside/+git/pyside-setup

Branch merges

Branch information

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

Recent commits

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

Revert QAbstractVideoSurface patch

This will re-open PYSIDE-794,
but it was a wrong solution that was breaking
the other setVideoOutput signatures, causing a sefault
on the `player` example.

Change-Id: I31d7449ff11e4e44e8494b98d7e9ec58a636c8e4
Fixes: PYSIDE-864
Reviewed-by: Friedemann Kleint <email address hidden>

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

Cleanup version strings for 5.11.3 release, take 2

We need to empty the pre_release_version_type string also.

Change-Id: I4229dd56aa2da14f081a9e55cb965be1e36a87a5
Reviewed-by: Alexandru Croitor <email address hidden>

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

Cleanup version strings for 5.11.3 release

Change-Id: I3fe96a92675dd81459777646593cb5c5737cc245
Reviewed-by: Friedemann Kleint <email address hidden>
Reviewed-by: Cristian Maureira-Fredes <email address hidden>
Reviewed-by: Alexandru Croitor <email address hidden>

08a99cb... by Alexandru Croitor <email address hidden>

Bump version strings for impending 5.11.3 release

Change-Id: I96cbb7dc06572629f88f11e5d75dd2a20ffe5def
Reviewed-by: Simo Fält <email address hidden>
Reviewed-by: Qt CI Bot <email address hidden>

1750f8b... by Alexandru Croitor <email address hidden>

Merge remote-tracking branch 'gerrit/5.11.2' into 5.11

Change-Id: Id7af425afcea1c649e0d36c625608b31b1de72ce

76d44b5... by Alexandru Croitor <email address hidden>

Merge remote-tracking branch 'gerrit/5.11.1' into 5.11

Change-Id: I8d2b5b0a84bfe8dccd30c253084a9473cef32def

aae7d0b... by Alexandru Croitor <email address hidden>

Merge branch '5.11.0' into 5.11

Change-Id: I03448197e461ca5098009b772d35f2bf09d00eb0

8383c2f... by Friedemann Kleint

QIODevice bindings: Fix invalid reads in read() functions

When running test in debug mode on Windows, failures occurred:

File "sources/pyside2/tests/QtCore/qfileread_test.py", line 41, in readData
    return super(FileChild2, self).readData(maxlen)
UnicodeDecodeError 'utf-8' codec can't decode byte 0xcd in position 21: invalid continuation byte

File "C:/dev/pyside/pyside-setup511d/sources/pyside2/tests/QtCore/qfile_test.py", line 57, in testBasic
     self.assertFalse(obj.getChar()[0])
UnicodeDecodeError 'utf-8' codec can't decode byte 0xcc in position 0: unexpected end of data

This is caused by missing initializers and terminating \0 characters in the
QByteArrays introduced by ca806b438e8a27dc4562ac806d189765e93e09e5, unearthed
by MSVC helpfully filling unitinialized data with random values.

Fix by using a QByteArray of size n + 1 filled with 0.
Initialize the character variable in the fix_char* template.

Task-number: PYSIDE-40
Change-Id: Ia604841a89f1b1b9564c16d2f23cd9f7c20f5628
Reviewed-by: Alexandru Croitor <email address hidden>

6978325... by stackless

Fix Memory Leak Caused By Wrong Limited API Default

When a type has nullptr as tp_dealloc, there apply different defaults.

Static types had object_dealloc as default, while new heaptypes
created with type_new have subtype_dealloc as default.

A problem was now that PyType_FromSpec also has
subtype_dealloc as default. But that is wrong, because a type that
was written with the static type approach is already written with
object_dealloc in mind and takes somehow care about further issues
with that type.

When we now convert this type and suddenly use subtype_dealloc
instead of object_dealloc, things get pretty wrong.

Finding that out was pretty hard and took quite long to understand.

The fix was then very easy and is the best proof:
Replacing our former (wrong) solution of supplying an
SbkDummyDealloc with a function object_dealloc works perfectly,
and the leakage completely vanished.

The documentation now is also corrected.

Task-number: PYSIDE-832
Change-Id: Ifc20c28172eb5663cd5e60dac52e0a43acfb626c
Reviewed-by: Friedemann Kleint <email address hidden>

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

Add qCompress/qUncompress bindings

Task-number: PYSIDE-838
Change-Id: I88a8c90b53757f05668782bc407e8529f6fbb3c6
Reviewed-by: Friedemann Kleint <email address hidden>