diff options
author | Alexandru Croitor <[email protected]> | 2021-11-03 13:12:56 +0100 |
---|---|---|
committer | Alexandru Croitor <[email protected]> | 2021-11-11 16:39:17 +0100 |
commit | 225bf1aaa5a17f8f3c2526f03a10223ea14de239 (patch) | |
tree | 9969145c7c7a389877e20e7bc584a98e06c5c908 /doc/changelogs | |
parent | 346a4a86fc2d7064e44c0766dd08374d652cdcc1 (diff) |
Move changelog files from dist/ into doc/changelogs
While Qt repos use dist/ for changelogs, Python uses dist/ as the
location for built wheels.
Move the changelogs out of dist/ into a separate doc/changelogs
directory and add dist to .gitignore.
Pick-to: 6.2
Change-Id: I0088459e0d94134e200396c5ca9ce41f82f863de
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'doc/changelogs')
30 files changed, 1834 insertions, 0 deletions
diff --git a/doc/changelogs/changes-1.2.3 b/doc/changelogs/changes-1.2.3 new file mode 100644 index 000000000..7deaa8bdd --- /dev/null +++ b/doc/changelogs/changes-1.2.3 @@ -0,0 +1,405 @@ +Changes +======= + +1.2.3 (2014-??-??) +------------------ + +Major changes +~~~~~~~~~~~~~ + +PySide-setup +************ + +- On Linux systems there is no more need to call the post-install script + +1.2.2 (2014-04-24) +------------------ + +Complete list of changes and bug fixes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +PySide +****** + +- Fix PYSIDE-190: QCoreApplication would deadlock on exit if the global + QThreadPool.globalInstance() is running a QRunnable with python code +- Change GlobalReceiver to explicitly 'use' [dis]connectNotify of the base + class in order to avoid hiding these with its own overloads. +- Add explicit casts when initializing an int[] using {}'s, as required + by C++11 to be "well formed" +- Fix PYSIDE-172: multiple rules for file +- Use file system encoding instead of assumed 'ascii' when registering + qt.conf in Qt resource system + +Shiboken +******** + +- Remove rejection lines that cause the sample_list test to fail +- Remove protected from samblebinding test +- Add parsing of 'noexcept' keyword +- Fix function rejections (i.e. support overloads) +- Fix building with python 3.3 and 3.4 +- Doc: Stop requiring sphinx.ext.refcounting with Sphinx 1.2+ +- Fix for containers with 'const' values +- Fix compilation issue on OS X 10.9 +- Only use fields in PyTypeObject when defining types +- Fix buffer overrun processing macro definitions +- Fix 'special' include handling +- Fix finding container base classes +- Refactor and improve added function resolving +- Work around MSVC's deficient <cmath> in libsample/transform.cpp +- Fix description of sample/transform unit test +- Change wrapping and indent of some code in Handler::startElement to + improve consistency +- Fix '%#' substitution for # > 9 +- Improve dependencies for tests + +1.2.1 (2013-08-16) +------------------ + +Major changes +~~~~~~~~~~~~~ + +PySide +****** + +- In memory qt.conf generation and registration + +Shiboken +******** + +- Better support for more than 9 arguments to methods +- Avoiding a segfault when getting the .name attribute on an enum value with no name + +PySide-setup +************ + +- Switched to the new setuptools (v0.9.8) which has been merged with Distribute again and works for Python 2 and 3 with one codebase +- Support for building windows binaries with only Windows SDK installed (Visual Studio is no more required) +- Removed --msvc-version option. Required msvc compiler version is now resolved from python interpreter version + +1.2.0 (2013-07-02) +------------------ + +Major changes +~~~~~~~~~~~~~ + +PySide +****** + +- Fix multiple segfaults and better track the life time of Qt objects +- Fix multiple memory leaks + +Shiboken +******** + +- Install the shiboken module to site-packages +- Fix multiple segfaults + +PySide-setup +************ + +- On Windows system, when installing PySide binary distribution via easy_install, + there is no more need to call the post-install script +- Support for building windows binaries outside of Visual Studio command prompt +- Build and package the shiboken docs when sphinx is installed + +Complete list of changes and bug fixes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +PySide +****** + +- Set up PYTHONPATH for tests correctly +- Fix potential segfault at shutdown +- Fix PYSIDE-61 +- Tell Qt to look for qml imports in the PySide package +- fix build in C++11 mode +- Fix QByteArray memory leak +- Ignore QtCore import errors when initializing plugins folder +- Preload OpenSSL DLLs on Windows. +- Look first in the PySide package for Qt's plugins folder, instead of just in Qt's install or build folder +- Add explicit type conversion to fix mingw compile error +- Use QObject property to invalidate wrapper before deletion +- Invalidate metaObject wrapper before deletion +- Fix reference leak on convertion from a C++ map type to Python dict +- Change the order of pysitetest and signals directories because signals/disconnect_test.py depends on pysidetest module + +Shiboken +******** + +- Removed old logos from html docs +- Add missing return on module init error +- Don't break -Werror=non-virtual-dtor +- Fixing shiboken test for minimal binding test +- Decref reference to type object +- Fix segfault when using shiboken.delete +- Use non-static method def for instance methods +- Fix bug introduced when recursive_invalidate was added +- fix build in C++11 mode +- Prevent infinite recursion in invalidate +- Fix possible conflict with garbage collector +- Fix possible crash at exit +- Fix handling of unsigned long long and provide unittests +- Add test to illustrate issue on typedef enum +- Use getWrapperForQObject to convert if generating for PySide +- Allow compilation without a python shared library +- Use parent class's metaObject if wrapper is NULL +- Optionally assert on free'd pointer with a valid wrapper +- Find python3 libraries when built with pydebug enabled +- Fix PYSIDE-108 bug and add example +- PYSIDE-83 Fix segfault calling shiboken.dump +- Fix and test case for bug PYSIDE-72 +- Override all functions with the same name, not just one +- Update vector conversion +- Add typedef examples to minimal +- Add test files back to cmake +- Don't use it->second after erasing it +- Find function modifications defined in the 2nd+ base class. Fixes bug PYSIDE-54. +- Set a default hash function for all ObjectTypes. Fix bug PYSIDE-42. +- Fix compilation when there is no libxslt installed on the system. +- Fixed resolving of SOABI. SOABI is implemented on Linux, but not on Windows +- Don't use inline methods in dllexported classes to keep VC++ happy +- Use SpooledTemporaryFile in 2.6+ os.tmpfile() fails on win32 if process doesn't have admin permissions + +PySide-setup +************ + +- Support for building windows binaries outside of Visual Studio command prompt +- Build and package the shiboken docs when sphinx is installed +- Support Ubuntu 13.04 and Fedora 18 +- Fixed "develop" setuptools command +- Documentation updates +- Add --build-tests option to enable building the tests +- Add --jom and --jobs options +- Add --no-examples option to exclude the examples +- Add --relwithdebinfo option to enable a release-with-debug-info build mode +- Add --ignore-git option +- Add --make-spec option to specify make generator + +1.1.2 (2012-08-28) +------------------ + +Bug fixes +~~~~~~~~~ + +- During signal emission don't get return type after callback +- Invalidate QStandardModel::invisibleRootItem in clear() method +- QAbstractItemModel has wrong ownership policy for selectionModel() +- Improved QVector to python conversion +- Disable docstring generation if tools aren't found. +- Fixed some issues compiling PySide using VC++ +- Install the shiboken module to site-packages +- Fix compilation when there is no libxslt installed on the system. +- Set a default hash function for all ObjectTypes. +- Fix segfault calling shiboken.dump + +1.1.1 (2012-04-19) +------------------ + +Major changes +~~~~~~~~~~~~~ + +- Unified toolchain! No more GeneratorRunner and ApiExtractor, now you just need Shiboken to compile PySide. + +Bug fixes +~~~~~~~~~ + +- 1105 Spyder fails with HEAD +- 1126 Segfault when exception is raised in signalInstanceDisconnect +- 1135 SIGSEGV when loading custom widget using QUiLoader when overriding createWidget() +- 1041 QAbstractItemModel has wrong ownership policy for selectionModel() +- 1086 generatorrunner segfault processing #include +- 1110 Concurrency error causes GC heap corruption +- 1113 Instantiating QObject in user-defined QML element's constructor crashes if instantiated from QML +- 1129 Segmentation fault on close by QStandardItem/QStandardItemModel +- 1104 QSettings has problems with long integers +- 1108 tests/QtGui/pyside_reload_test.py fails when bytecode writing is disabled +- 1138 Subclassing of QUiLoader leads to "Internal C++ object already deleted" exception (again) +- 1124 QPainter.drawPixmapFragments should take a list as first argument +- 1065 Invalid example in QFileDialog documentation +- 1092 shiboken names itself a 'generator' +- 1094 shiboken doesn't complain about invalid options +- 1044 Incorrect call to parent constructor in example +- 1139 Crash at exit due to thread state (tstate) being NULL +- PYSIDE-41 QModelIndex unhashable + +1.1.0 (2012-01-02) +------------------ + +Major changes +~~~~~~~~~~~~~ + +- New type converter scheme + +Bug fixes +~~~~~~~~~ + +- 1010 Shiboken Cygwin patch +- 1034 Error compiling PySide with Python 3.2.2 32bit on Windows +- 1040 pyside-uic overwriting attributes before they are being used +- 1053 pyside-lupdate used with .pro files can't handle Windows paths that contain spaces +- 1060 Subclassing of QUiLoader leads to "Internal C++ object already deleted" exception +- 1063 Bug writing to files using "QTextStream + QFile + QTextEdit" on Linux +- 1069 QtCore.QDataStream silently fails on writing Python string +- 1077 Application exit crash when call QSyntaxHighlighter.document() +- 1082 OSX binary links are broken +- 1083 winId returns a PyCObject making it impossible to compare two winIds +- 1084 Crash (segfault) when writing unicode string on socket +- 1091 PixmapFragment and drawPixmapFragments are not bound +- 1095 No examples for shiboken tutorial +- 1097 QtGui.QShortcut.setKey requires QKeySequence +- 1101 Report invalid function signatures in typesystem +- 902 Expose Shiboken functionality through a Python module +- 969 viewOptions of QAbstractItemView error + +1.0.9 (2011-11-29) +------------------ + +Bug fixes +~~~~~~~~~ + +- 1058 Strange code in PySide/QtUiTools/glue/plugins.h +- 1057 valgrind detected "Conditional jump or move depends on uninitialised value" +- 1052 PySideConfig.cmake contains an infinite loop due to missing default for SHIBOKEN_PYTHON_SUFFIX +- 1048 QGridLayout.itemAtPosition() crashes when it should return None +- 1037 shiboken fails to build against python 3.2 (both normal and -dbg) on i386 (and others) +- 1036 Qt.KeyboardModifiers always evaluates to zero +- 1033 QDialog.DialogCode instances and return value from \QDialog.exec_ hash to different values +- 1031 QState.parentState() or QState.machine() causes python crash at exit +- 1029 qmlRegisterType Fails to Increase the Ref Count +- 1028 QWidget winId missing +- 1016 Calling of Q_INVOKABLE method returning not QVariant is impossible... +- 1013 connect to QSqlTableModel.primeInsert() causes crash +- 1012 FTBFS with hardening flags enabled +- 1011 PySide Cygwin patch +- 1010 Shiboken Cygwin patch +- 1009 GeneratorRunner Cygwin patch +- 1008 ApiExtractor Cygwin patch +- 891 ApiExtractor doesn't support doxygen as backend to doc generation. + +1.0.8 (2011-10-21) +------------------ + +Major changes +~~~~~~~~~~~~~ + +- Experimental Python3.2 support +- Qt4.8 beta support + +Bug fixes +~~~~~~~~~ + +- 1022 RuntimeError: maximum recursion depth exceeded while getting the str of an object +- 1019 Overriding QWidget.show or QWidget.hide do not work +- 944 Segfault on QIcon(None).pixmap() + +1.0.7 (2011-09-21) +------------------ + +Bug fixes +~~~~~~~~~ + +- 996 Missing dependencies for QtWebKit in buildscripts for Fedora +- 986 Documentation links +- 985 Provide versioned pyside-docs zip file to help packagers +- 981 QSettings docs should empathize the behavior changes of value() on different platforms +- 902 Expose Shiboken functionality through a Python module +- 997 QDeclarativePropertyMap doesn't work. +- 994 QIODevice.readData must use qmemcpy instead of qstrncpy +- 989 Pickling QColor fails +- 987 Disconnecting a signal that has not been connected +- 973 shouldInterruptJavaScript slot override is never called +- 966 QX11Info.display() missing +- 959 can't pass QVariant to the QtWebkit bridge +- 1006 Segfault in QLabel init +- 1002 Segmentation fault on PySide/Spyder exit +- 998 Segfault with Spyder after switching to another app +- 995 QDeclarativeView.itemAt returns faulty reference. (leading to SEGFAULT) +- 990 Segfault when trying to disconnect a signal that is not connected +- 975 Possible memory leak +- 991 The __repr__ of various types is broken +- 988 The type supplied with currentChanged signal in QTabWidget has changed in 1.0.6 + +1.0.6 (2011-08-22) +------------------ + +Major changes +~~~~~~~~~~~~~ + +- New documentation layout; +- Fixed some regressions from the last release (1.0.5); +- Optimizations during anonymous connection; + +Bug fixes +~~~~~~~~~ + +- 972 anchorlayout.py of graphicsview example raised a unwriteable memory exception when exits +- 953 Segfault when QObject is garbage collected after QTimer.singeShot +- 951 ComponentComplete not called on QDeclarativeItem subclass +- 965 Segfault in QtUiTools.QUiLoader.load +- 958 Segmentation fault with resource files +- 944 Segfault on QIcon(None).pixmap() +- 941 Signals with QtCore.Qt types as arguments has invalid signatures +- 964 QAbstractItemView.moveCursor() method is missing +- 963 What's This not displaying QTableWidget column header information as in Qt Designer +- 961 QColor.__repr__/__str__ should be more pythonic +- 960 QColor.__reduce__ is incorrect for HSL colors +- 950 implement Q_INVOKABLE +- 940 setAttributeArray/setUniformValueArray do not take arrays +- 931 isinstance() fails with Signal instances +- 928 100's of QGraphicItems with signal connections causes slowdown +- 930 Documentation mixes signals and functions. +- 923 Make QScriptValue (or QScriptValueIterator) implement the Python iterator protocol +- 922 QScriptValue's repr() should give some information about its data +- 900 QtCore.Property as decorator +- 895 jQuery version is outdated, distribution code de-duplication breaks documentation search +- 731 Can't specify more than a single 'since' argument +- 983 copy.deepcopy raises SystemError with QColor +- 947 NETWORK_ERR during interaction QtWebKit window with server +- 873 Deprecated methods could emit DeprecationWarning +- 831 PySide docs would have a "Inherited by" list for each class + +1.0.5 (2011-07-22) +------------------ + +Major changes +~~~~~~~~~~~~~ + +- Widgets present on "ui" files are exported in the root widget, check PySide ML thread for more information[1]; +- pyside-uic generate menubars without parent on MacOS plataform; +- Signal connection optimizations; + +Bug fixes +~~~~~~~~~ + +- 892 Segfault when destructing QWidget and QApplication has event filter installed +- 407 Crash while multiple inheriting with QObject and native python class +- 939 Shiboken::importModule must verify if PyImport_ImportModule succeeds +- 937 missing pid method in QProcess +- 927 Segfault on QThread code. +- 925 Segfault when passing a QScriptValue as QObject or when using .toVariant() on a QScriptValue +- 905 QtGui.QHBoxLayout.setMargin function call is created by pyside-uic, but this is not available in the pyside bindings +- 904 Repeatedly opening a QDialog with Qt.WA_DeleteOnClose set crashes PySide +- 899 Segfault with 'QVariantList' Property. +- 893 Shiboken leak reference in the parent control +- 878 Shiboken may generate incompatible modules if a new class is added. +- 938 QTemporaryFile JPEG problem +- 934 A __getitem__ of QByteArray behaves strange +- 929 pkg-config files do not know about Python version tags +- 926 qmlRegisterType does not work with QObject +- 924 Allow QScriptValue to be accessed via [] +- 921 Signals not automatically disconnected on object destruction +- 920 Cannot use same slot for two signals +- 919 Default arguments on QStyle methods not working +- 915 QDeclarativeView.scene().addItem(x) make the x object invalid +- 913 Widgets inside QTabWidget are not exported as members of the containing widget +- 910 installEventFilter() increments reference count on target object +- 907 pyside-uic adds MainWindow.setMenuBar(self.menubar) to the generated code under OS X +- 903 eventFilter in ItemDelegate +- 897 QObject.property() and QObject.setProperty() methods fails for user-defined properties +- 896 QObject.staticMetaObject() is missing +- 916 Missing info about when is possible to use keyword arguments in docs [was: QListWidgetItem's constructor ignores text parameter] +- 890 Add signal connection example for valueChanged(int) on QSpinBox to the docs +- 821 Mapping interface for QPixmapCache +- 909 Deletion of QMainWindow/QApplication leads to segmentation fault diff --git a/doc/changelogs/changes-5.12.1 b/doc/changelogs/changes-5.12.1 new file mode 100644 index 000000000..e0eeeff75 --- /dev/null +++ b/doc/changelogs/changes-5.12.1 @@ -0,0 +1,45 @@ +Qt for Python 5.12.1 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-878] Added binding for QWebEngineUrlScheme which was missing + - Completed the signature introspection + - Activated existence_test.py for 5.12 + - [PYSIDE-868] Fixed a crash related to multiple inheritance + - [PYSIDE-886] Fixed crash when mixing static overloads with instance methods in derived classes + - [PYSIDE-892] Added free functions from namespace QtQml + - Fixed a rare type hint racing condition + - Used helper function for accessing the meta object in quick type registration for libpyside + - [PYSIDE-883] Fixed regression related to removing createIndex method that uses PyObject* + - [PYSIDE-882] Avoided the creation of empty build directories in the install tree + - Produced TypeError messages using the signature module + - Replaced nullptr by None in signatures in the documentation + - Updated and fixed the Slot documentation + - Added \nullptr macro definition in the documentation + - [PYSIDE-874] Fixed wrong METADATA for generated wheels + - [PYSIDE-898] Improved check when a QFlag<Enum> is found + - [PYSIDE-790] Fixed a crash when overriding QAbstractNativeEventFilter.QAbstractNativeEventFilter() + - Added support for the help() function using the signature module + - [PYSIDE-880] Fixed an issue on the setup.py when running under non-UTF8 locale + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - Make signatures in overload decisor code more verbose in shiboken + - [PYSIDE-914] Included MSVC dlls in the shiboken module package diff --git a/doc/changelogs/changes-5.12.2 b/doc/changelogs/changes-5.12.2 new file mode 100644 index 000000000..b45d38ca2 --- /dev/null +++ b/doc/changelogs/changes-5.12.2 @@ -0,0 +1,49 @@ +Qt for Python 5.12.2 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-934] Added a method to VoidPtr called toBytes() to get the bytes representation. + - [PYSIDE-95] Added ownership transfer for QGraphicsItemGroup.addToGroup + - [PYSIDE-928][PYSIDE-937][PYSIDE-943] Fixing a refcounting bug shown by __doc__ handling + - [PYSIDE-931] Added the attribute 'allow-thread' to the type system and class entries. + - [PYSIDE-947] Fixed conversions of list of smart pointers to python + - [PYSIDE-953] Preventing Python 3.5 from crashing the build + - [PYSIDE-940] Added setPageSize new signature to QPageSize + - [PYSIDE-950] Allowed subclassing PyCFunction in extension modules + - [PYSIDE-938] Set the proper parent when overloading QUiLoader.addAction() + - Added common QPrintSupport typesystem for QWebEngine + - [PYSIDE-942] Fixed an error when importing signatures in frozen executables + - [PYSIDE-948] Fixed problem when using smart pointers with namespaces + - [PYSIDE-45] Added support for using PyObject wrapper when an invalid QVariant is used + - [PYSIDE-922] Added pyObj check for the setSequenceOwnership + - [PYSIDE-919] Modernized the cmake build process + - [PYSIDE-924] Propagated Property attributes to the MetaObject + - Improved the type hints for containers + - [PYSIDE-906] Added missing classes QWebEngineHistory and WebEngineHistoryItem + - Added QtRemoteObject classes + - Added a script to generate a debug log in windows called debug_windows.py + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - Fixed many build warnings on shiboken and pyside + - Extended the exception handling test in shiboken + - [PYSIDE-929] Added dependency version for shiboken2 + - [PYSIDE-914] Including MSVC dlls in the shiboken module package + - [PYSIDE-932] Implement Embedding To Make Signatures Always Available diff --git a/doc/changelogs/changes-5.12.3 b/doc/changelogs/changes-5.12.3 new file mode 100644 index 000000000..fda65b457 --- /dev/null +++ b/doc/changelogs/changes-5.12.3 @@ -0,0 +1,35 @@ +Qt for Python 5.12.3 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-993] Use correct environment variable to detect when running in Coin + - Many updated to the documentation + - Add array modification for QGLShaderProgram::setAttributeArray(int,const float *v,int,int) + - Signatures: Add support for PySide2.QtCore.short/ushort/signed char + - Add explicit methods for QOpenGLShaderProgramm.setUniformValue (i/f) + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-977] Shiboken: Add "noexcept" to wrapper when wrapped function is noexcept + - [PYSIDE-975] shiboken: Allow for include paths with relative directories + - [PYSIDE-995] shiboken: Enable adding call operators + - shiboken: Move the Api extractor documentation into shiboken + - shiboken: Fix code injection not working for operator functions + - shiboken: Enable including typesystem XML snippets via entities diff --git a/doc/changelogs/changes-5.12.4 b/doc/changelogs/changes-5.12.4 new file mode 100644 index 000000000..d6d1679bc --- /dev/null +++ b/doc/changelogs/changes-5.12.4 @@ -0,0 +1,43 @@ +Qt for Python 5.12.4 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-571] correct bool(qApp) on Python 2 + - [PYSIDE-735] generate_pyi: Simplify, Enhance and Get Rid Of Any Import Problems + - [PYSIDE-865] opengl/contextinfo.py: Fix exception on exit + - [PYSIDE-865] opengl/contextinfo.py: Polish the example a bit + - [PYSIDE-908] Complete the help() support for Types + - [PYSIDE-955] Add PySide2: Add OpenGL version functions as separate module + - [PYSIDE-980] CMake: Change the default behavior CMAKE_BUILD_TYPE + - [PYSIDE-996] Fix PyInstaller after removal of COIN glitches + - [PYSIDE-1003] Fix Shiboken.ObjectType.__new__ for Python 2.7 V2 + - [PYSIDE-1004] Make the __signature__ attribute writable by default + - [PYSIDE-1008] Fix propagation of existing LD env vars when calling generate_pyi + - [PYSIDE-1009] Signature: Try to recognize unknown modules in errorhandler.py + - [PYSIDE-1012] Fix build on centOS/conda forge + - [PYSIDE-1019] PySide: Allow any existing attribute in the constructor + - [PYSIDE-1022] TabbedBrowser Example: Fix "Open in new tab" + - [PYSIDE-1027] Fix negative refcount on QSocketNotifier + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-955] shiboken/Generators: Cache class information lists per class + - [PYSIDE-1016] shiboken: Fix handling shared pointers passed by const-ref, take 2 + - [PYSIDE-1017] shiboken: Enable specifying names for a parameters of added functions diff --git a/doc/changelogs/changes-5.12.5 b/doc/changelogs/changes-5.12.5 new file mode 100644 index 000000000..d463b8324 --- /dev/null +++ b/doc/changelogs/changes-5.12.5 @@ -0,0 +1,40 @@ + +Qt for Python 5.12.5 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-571] Support the qApp macro in "scriptable application" + - [PYSIDE-634] Add support for parameterNames in Signals + - [PYSIDE-951] Correct QtPrintSupport dependency + - [PYSIDE-1010] Add optional support for types in QSettings::value + - [PYSIDE-1020] Fix pyside2-uic to generate correct code for QWebview and QQuickWidget + - [PYSIDE-1028] Leave QVariantMap as a name, not a type + - [PYSIDE-1029] Fix type name for lookup of QFlags<> converters + - [PYSIDE-1032] Use default compiler on macOS + - [PYSIDE-1035] Fix pyside2-uic to generate correct code for QTableWidget + - [PYSIDE-1066] Fix Xcode sdk value embedded into PySide2 binaries + + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1024] shiboken: Generate code for smart pointers only within declaring package + - [PYSIDE-1037] shiboken: Allow for "auto" as target of type for CONVERTTOCPP in injected code + + diff --git a/doc/changelogs/changes-5.12.6 b/doc/changelogs/changes-5.12.6 new file mode 100644 index 000000000..d1eba40c2 --- /dev/null +++ b/doc/changelogs/changes-5.12.6 @@ -0,0 +1,29 @@ +Qt for Python 5.12.6 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [Fixes: PYSIDE-1007] Remove extra ref on QDataStream::setDevice + - [Fixes: PYSIDE-1051] Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7 + + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - No changes + diff --git a/doc/changelogs/changes-5.13.0 b/doc/changelogs/changes-5.13.0 new file mode 100644 index 000000000..4b7a2b7c3 --- /dev/null +++ b/doc/changelogs/changes-5.13.0 @@ -0,0 +1,33 @@ +Qt for Python 5.13.0 is a minor release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-487] Add bindings for 5.13 + - [PYSIDE-571] Support the qApp macro in "scriptable application" + - [PYSIDE-841] Doc: Add QML Integration tutorial + - [PYSIDE-841] Docs: Add Expenses tool tutorial + - [PYSIDE-855] Regenerate all example forms using the python-extended rcc of 5.14 + - [PYSIDE-1029] Fix type name for lookup of QFlags<> converters + - [PYSIDE-1032] Use default compiler on macOS + + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1024] shiboken: Generate code for smart pointers only within declaring package diff --git a/doc/changelogs/changes-5.13.1 b/doc/changelogs/changes-5.13.1 new file mode 100644 index 000000000..9b9939092 --- /dev/null +++ b/doc/changelogs/changes-5.13.1 @@ -0,0 +1,47 @@ + +Qt for Python 5.13.1 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [Fixes https://github.com/spyder-ide/qtpy/issues/195] Fix RuntimeError: dictionary changed size during iteration + - [PYSIDE-634] Add support for parameterNames in Signals + - [PYSIDE-951] Cleanup signature module before substantial change + - [PYSIDE-951] correct QtPrintSupport dependency + - [PYSIDE-1010] Add optional support for types in QSettings::value + - [PYSIDE-1020] Fix pyside2-uic to generate correct code for QWebview and QQuickWidget + - [PYSIDE-1028] Leave QVariantMap as a name, not a type + - [PYSIDE-1033] CMake modularization: macros creation + - [PYSIDE-1035] Fix pyside2-uic to generate correct code for QTableWidget + - [PYSIDE-1051] Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7 + - [PYSIDE-1052] Add QtCore.Slot.__signature__ and much more manually + - [PYSIDE-1059] Documentation: update QInputDialog snippets + - [PYSIDE-1066] Fix Xcode sdk value embedded into PySide2 binaries + - [PYSIDE-1067] Update docs style + - [PYSIDE-1073] Fix a typing bug in Python 2.7 and update + - [PYSIDE-1077] Fix wrong Python init return codes + - [PYSIDE-1079] signature: Support typing.Optional[T] and refine a bit + + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1024] shiboken: Generate code for smart pointers only within declaring package + - [PYSIDE-1037] shiboken: Allow for "auto" as target of type for CONVERTTOCPP in injected code + + diff --git a/doc/changelogs/changes-5.13.2 b/doc/changelogs/changes-5.13.2 new file mode 100644 index 000000000..52edd7a46 --- /dev/null +++ b/doc/changelogs/changes-5.13.2 @@ -0,0 +1,37 @@ +Qt for Python 5.13.2 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-785] Release ownership in QAbstractVideoFilterWrapper::createFilterRunnable + - [PYSIDE-820] Fix booleans and empty list cases in QSettings + - [PYSIDE-849] Add inject-code for QVideoFrame::bits() + - [PYSIDE-1007] Remove extra ref on QDataStream::setDevice + - [PYSIDE-1019] libpyside: Fix compiler warning + - [PYSIDE-1049] Split build instructions to build and packaging + - [PYSIDE-1051] Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7 + - [PYSIDE-1089] Fix formatting of the deployment documentation + - [PYSIDE-1093] Fix bad shutdown effect on QApplication.instance() + + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1095] shiboken: Fix handling of modified default expressions + + diff --git a/doc/changelogs/changes-5.14.0 b/doc/changelogs/changes-5.14.0 new file mode 100644 index 000000000..46b4a6ba0 --- /dev/null +++ b/doc/changelogs/changes-5.14.0 @@ -0,0 +1,69 @@ +Qt for Python 5.14.0 is a minor release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* Important Source Incompatible/Behavior Changes * +**************************************************************************** + +- [PYSIDE-990] It is no longer possible to nest types in typesystem files by + by qualifying the namespace components with "::". The elements + need to be properly nested. + + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-487] Add bindings for Qt 5.14 + - [PYSIDE-785] Release ownership in QAbstractVideoFilterWrapper::createFilterRunnable + - [PYSIDE-795] Create a framework for deprecated functions + - [PYSIDE-795] Make the function registry more usable in Python modules + - [PYSIDE-795] Improve the NumPy Support by iterables + - [PYSIDE-820] Fix booleans and empty list cases in QSettings + - [PYSIDE-849] Add inject-code for QVideoFrame::bits() + - [PYSIDE-939] Add support for Python 3.8 + - [PYSIDE-939] Fix refcount issues with QSettings glue code + - [PYSIDE-939] Finalize the Python 3.8 refcount fix + - [PYSIDE-951] Support Pointer Primitive Types by Arrays or Result Tuples + - [PYSIDE-1007] Remove extra ref on QDataStream::setDevice + - [PYSIDE-1033] CMake modularization: macros creation + - [PYSIDE-1041] Enable multimedia classes after API fixup + - [PYSIDE-1047] QtWinExtras: Add QtWin namespace + - [PYSIDE-1051] Fix heaptype conflict with QtCore.QObject.__new__in Python 2.7 + - [PYSIDE-1052] Add QtCore.Slot.__signature__ and much more manually + - [PYSIDE-1059] Documentation: update QInputDialog snippets + - [PYSIDE-1066] Fix Xcode sdk value embedded into PySide2 binaries + - [PYSIDE-1067] Update docs style + - [PYSIDE-1067] New documentation structure + - [PYSIDE-1068] Add designer to the pyside tools + - [PYSIDE-1073] Fix a typing bug in Python 2.7 and update + - [PYSIDE-1077] Fix wrong Python init return codes + - [PYSIDE-1079] signature: Support typing.Optional[T] and refine a bit + - [PYSIDE-1089] Fix formatting of the deployment documentation + - [PYSIDE-1093] Fix bad shutdown effect on QApplication.instance() + - [PYSIDE-1098] Replace pyside2-uic/pyside2-rcc by + uic/rcc which now have an option to generate Python + - [PYSIDE-1101] Remove QGraphicsItem::scroll from QtChart + - [PYSIDE-1140] Add python_requires to the python setup + - [QTBUG-66304] Blacklist failing QtPositioning test + + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-454] Fix crash when smartptr template class cannot be found + - [PYSIDE-1037] Allow for "auto" as target of type for CONVERTTOCPP in injected code + - [PYSIDE-1095] Fix handling of modified default expressions diff --git a/doc/changelogs/changes-5.14.1 b/doc/changelogs/changes-5.14.1 new file mode 100644 index 000000000..b7441f3c2 --- /dev/null +++ b/doc/changelogs/changes-5.14.1 @@ -0,0 +1,35 @@ +Qt for Python 5.14.1 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-841] Add example for Threads and Signals + - [PYSIDE-1135] qApp: Ensure QtCore import when embedded QApplication subclass is used + - [PYSIDE-1158] Let qApp be noApp instead of pretending to be None + - [PYSIDE-1164] qApp: make sure to create the right instance when embedding + - [PYSIDE-1165] designer: patch rpath for unix + - [PYSIDE-1192] libpyside: Set default signal name only if previously assigned + - [PYSIDE-1201] docs: Fix pre overlap and improve reading + - [PYSIDE-1205] libpyside: avoid freeing char* + - [PYSIDE-1207] Fix ownership of QTextDocument::createObject + + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1191] shiboken: Introduce "until" version attribute as opposite of "since" diff --git a/doc/changelogs/changes-5.14.2 b/doc/changelogs/changes-5.14.2 new file mode 100644 index 000000000..3473d41e3 --- /dev/null +++ b/doc/changelogs/changes-5.14.2 @@ -0,0 +1,66 @@ +Qt for Python 5.14.2 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-135] Add doc getter for Property + - [PYSIDE-239] Python enum types can now be used as a valid signal type. + - [PYSIDE-939] Fix Python 3.8 warnings about deprecated int conversions of + enums/flags + - [PYSIDE-571] qApp has been turned into a normal Python variable. This + implies that QtWidgets.qApp no longer works; + it should be replaced by qApp. + - [PYSIDE-803] GUI slowdowns caused by background threads have been fixed by + reducing GIL allocation and usage of + Py_(BEGIN|END)_ALLOW_THREADS. + - [PYSIDE-858] Windows binaries are now signed. + - [PYSIDE-939] Fix testrunner for Python 3.8/Linux + - [PYSIDE-946] Add functions with callback of QWebEnginePage + - [PYSIDE-1231] Further issues introduced by Python 3.8 have been addressed: + - Warnings about deprecated int conversions of enumerations + and flags have been fixed. + - Packages can now be built with Python 3.8.1. + - Tests run with Python 3.8.1. + - [PYSIDE-1189] A crash caused by wrong ownership of the return value of + QList/QTable/QTreeWidget.mimeData() has been fixed. + - [PYSIDE-1199] The webchannel standalone example has been added. + - [PYSIDE-1204] QByteArray now properly supports the PyBuffer interface. + - [PYSIDE-1214] For accessors returning non-exposed classes inheriting + QObject, the most-derived wrapper is now created. + - [PYSIDE-1229] testrunner: Fix disrupted lines in the error log + - [PYSIDE-1236] Fix running scriptableapplication in a virtualenv on Windows + with Python 3.8 + - [PYSIDE-1247] Avoid a signature warning in Python 3.6 + - [PYSIDE-1250] PySide2: Use int for QVariant conversion when possible + - [PYSIDE-1251] Invert QTreeWidgetItem clear function loop + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-803] The default of the "allow-thread" attribute has been changed + to false as it was observed to cause performance issues when + using threads. + - [PYSIDE-1112] The shiboken documentation has been re-structured. + - [PYSIDE-1228] Typedef'ed anonymous enums are now supported. + - [PYSIDE-1240] The manual test dumpcodemodel has been modified to output + typesystem XML, enabling convenient generation of typesystem + file skeletons for new bindings. + - [PYSIDE-1241] Improve error messages about invalid types of added functions + - [PYSIDE-1241] Enable flags types in added functions + - [PYSIDE-1246] Fix classes with virtual destructors not being considered + polymorphic diff --git a/doc/changelogs/changes-5.14.2.2 b/doc/changelogs/changes-5.14.2.2 new file mode 100644 index 000000000..63a7a9120 --- /dev/null +++ b/doc/changelogs/changes-5.14.2.2 @@ -0,0 +1,38 @@ +Qt for Python 5.14.2.2 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-1100] Support type checking with the mypy module + - [PYSIDE-1236] samplebinding: Fix running with Python 3.8.2 on Windows + - [PYSIDE-1255] Fix memory corruption for QML registered types + - [PYSIDE-1271] QMutexLocker: allow-thread in constructor + - [PYSIDE-1272] signature: Add comparison for existing_doc type + - [PYSIDE-1285] qareaseries: keep references of lower/upper series + - [PYSIDE-1293] Windows: Fix encoding in custom message handler + - [PYSIDE-15] Support pickling of Qt Enum objects + - [PYSIDE-1223] Add QtUiTools.loadUiType + - [PYSIDE-1286] Implement __qualname__ and correct __module__ for classes + - [PYSIDE-1303] PySide2: Fix conversion of quintptr + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1286] shiboken: Prepare for introduction of __qualname__ + - [PYSIDE-1298] libshiboken: Support musl libc + - [PYSIDE-1299] shiboken: Fix cross builds diff --git a/doc/changelogs/changes-5.14.2.3 b/doc/changelogs/changes-5.14.2.3 new file mode 100644 index 000000000..6f17bc4bd --- /dev/null +++ b/doc/changelogs/changes-5.14.2.3 @@ -0,0 +1,35 @@ +Qt for Python 5.14.2.3 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-1223] pyside2-uic instead of uic is not used for loadUiType() + - [PYSIDE-1257] Deployment with cx_freeze using zip_include_packages has + been fixed + - [PYSIDE-1282] A crash using QThread.terminate() on pthreads has + been fixed + - [PYSIDE-1311] The downloads functionality of the Tabbedbrowser example + has been fixed + - [PYSIDE-1321] A leaking reference in the PySide2 property getter has + been fixed + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1325] Wrong generated code for default-initialized function + arguments ({}) has been fixed diff --git a/doc/changelogs/changes-5.15.0 b/doc/changelogs/changes-5.15.0 new file mode 100644 index 000000000..77c8e7d27 --- /dev/null +++ b/doc/changelogs/changes-5.15.0 @@ -0,0 +1,49 @@ +Qt for Python 5.15.0 is a minor release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + + - [PYSIDE-487] Add API of Qt 5.15 + - [PYSIDE-487] Add support for QSerialPort + - [PYSIDE-487] Add QtQuickControls2 + - [PYSIDE-841] example: add systray example + - [PYSIDE-841] doc: add more videos from Qt events + - [PYSIDE-841] doc: add tutorial for using qrc files + - [PYSIDE-904] libpyside: Remove deprecated API + - [PYSIDE-904] Add support for template type aliases + - [PYSIDE-957] Add a tool to dump meta objects of QObject-derived classes + - [PYSIDE-1280] Enable injecting raw code for setattro/getattro + - [PYSIDE-1309] Rename and update some snippets + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-454] shiboken: Add a way of specifying system includes to be parsed + - [PYSIDE-454] shiboken: Handle smart pointers with const pointees + - [PYSIDE-904] libshiboken: Remove deprecated API + - [PYSIDE-957] shiboken: Fix refcounts of sbkenum + - [PYSIDE-990] shiboken: Handle inline namespaces + - [PYSIDE-1024] shiboken: Make it possible to specify smartpointer instantiations + - [PYSIDE-1074] shiboken: Fix classes in hidden namespaces + - [PYSIDE-1188] shiboken: Fix shared pointer return value in virtual function + - [PYSIDE-1265] shiboken: Introduce a separate logging category for documentation generation + - [PYSIDE-1265] shiboken: Change debug messages to use qCInfo and remove some messages + - [PYSIDE-1267] shiboken: Allow for parsing headers under system include paths + - [PYSIDE-1296] shiboken: Support non-type template parameters in functions + diff --git a/doc/changelogs/changes-5.15.1 b/doc/changelogs/changes-5.15.1 new file mode 100644 index 000000000..8627d3e92 --- /dev/null +++ b/doc/changelogs/changes-5.15.1 @@ -0,0 +1,67 @@ +Qt for Python 5.15.1 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + + - [PYSIDE-74] Implement default __ne__ and __eq__ for all PySide types + - [PYSIDE-198] Add compatibility with Nuitka + - [PYSIDE-829] signature: Avoid non-existent attributes in compiled code (Nuitka) + - [PYSIDE-841] doc: Add widget styling tutorial + - [PYSIDE-841] add quick painteditem example + - [PYSIDE-904] Add QObject.findChildren(QRegularExpression) + - [PYSIDE-904] qp5_tool.py: Add an configuration key for the CMake generator + - [PYSIDE-904] Port some examples from QRegExp to QRegularExpression + - [PYSIDE-904] Fix libsample/photon test for Qt 6 / Windows + - [PYSIDE-904] Enable adding operators ==, != as functions without code injection + - [PYSIDE-957] Implement the QEnum/QFlag decorator, V2 + - [PYSIDE-981] Return QVariantList when using list as Signal argument + - [PYSIDE-1019] feature-select: Implement a selectable feature framework + - [PYSIDE-1019] feature-select: allow snake_case instead of camelCase for methods + - [PYSIDE-1019] feature-select: delay the feature switching + - [PYSIDE-1223] Use pyside2-uic instead of uic for the loadUiType + - [PYSIDE-1257] Potential fix for deploying with cx_freeze using zip_include_packages + - [PYSIDE-1282] pthreads: Try to abandon the GIL in case a thread was terminated + - [PYSIDE-1292] Doc: Enable doc builds using the offline template + - [PYSIDE-1313] basewrapper.cpp: add PyErr_Fetch/Restore in SbkDeallocWrapperCommon() + - [PYSIDE-1317] Add QSocketDescriptor class + - [PYSIDE-1321] Fix leaking reference in PySide2 property getter + - [PYSIDE-1321] Fix some leaks in enumeration creation + - [PYSIDE-1323] Add missing Win runtime dll into win wheels + - [PYSIDE-1323] Update vcredist binaries for MSVC 2019 + - [PYSIDE-1332] Fix crashes in QThread::wait(), QWaitCondition::wait() + - [PYSIDE-1349] QQmlComponent: allow thread in constructors + - [PYSIDE-1353] doc: fix Property indentation + - [PYSIDE-1355] Add Qt3DExtras.QNormalDiffuseMapAlphaMaterial + - [PYSIDE-1368] __feature__: ignore if `__name__` does not exist in a module + - [PYSIDE-1372] QDomElement: remove unnecesary setAttribute overloads + - [PYSIDE-1374] Add the QWidget *-based overloads of the QtWinExtras functions + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + * shiboken now accepts multiple headers on the command line. + * A number of error and warning messages have been prefixed by file name + and line for better tooling. + - [PYSIDE-841] Add custom widget shiboken example + - [PYSIDE-904] shiboken2: Handle virtual methods returning a reference + - [PYSIDE-1019] shiboken2: Re-add support for parsing Q_PROPERTY + - [PYSIDE-1177] shiboken: Fix __doc__ setter for derived types + - [PYSIDE-1325] shiboken: Fix default-initialized function arguments + - [PYSIDE-1327] shiboken: Resolve typedef'ed base classes + diff --git a/doc/changelogs/changes-5.15.2 b/doc/changelogs/changes-5.15.2 new file mode 100644 index 000000000..0baf77400 --- /dev/null +++ b/doc/changelogs/changes-5.15.2 @@ -0,0 +1,70 @@ +Qt for Python 5.15.2 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + + +**************************************************************************** +* Important Source Incompatible/Behavior Changes * +**************************************************************************** + +- Projects generating bindings for Qt-based code no longer need to include + pyside2_global.h for the property and signal/slot annotations to work. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + + - [PYSIDE-487] Some missing enumerations and classes were added. + - [PYSIDE-644] QNetworkCookie was added to WebEngineCore. + - [PYSIDE-665] A crash when reimplementing QLayout.takeAt() was fixed. + - [PYSIDE-807] setup.py was rewritten to properly show options the in command + help. + - [PYSIDE-972] Launching PySide2 from paths with non-ASCII Latin1 characters + was fixed. + - [PYSIDE-1019] feature_select: Qt Properties are now represented as Python + properties. + - [PYSIDE-1070] A crash when overriding QUiLoader::createWidget() in QUiLoader + was fixed. + - [PYSIDE-1082] A crash when creating QMimeData from + Q(Plain)TextEdit::createMimeDataFromSelection() was fixed. + - [PYSIDE-1202] More classes from QtConcurrent were added. + - [PYSIDE-1224] The namespace QColorConstants was added. + - [PYSIDE-1326] Operators for QFlags on hidden top level namespace are now + generated. + - [PYSIDE-1354] Slots being invoked from the wrong thread were fixed. + - [PYSIDE-1381] The dependency of the QtQml module header on internal header + pysideqmlregistertype.h was removed. + - [PYSIDE-1385] Deprecated wheel.pep425tags imports were removed. + - [PYSIDE-1390] setup.py: The build_rst_docs command was added to build + rst documentation only + - [PYSIDE-1397] Functions taking a smart pointer now accept smart pointers to + base classes. + - [PYSIDE-1410] QAxBase::dynamicCall() was fixed. + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-841] The documentation on modifications was restructured. + - [PYSIDE-904] An attribute for generating "using namespace" was added. + - [PYSIDE-1019] A way of specifying properties for non-Qt classes in + typesystem XML was added. + - [PYSIDE-1075] Functions from invisible namespaces are now generated into + their parent namespaces. + - [PYSIDE-1224] Variables in namespaces are now generated. + - [PYSIDE-1366] The order of overloads may now be specified to work around + problems with the order generated by the overload decisor. + - [PYSIDE-1388] Final classes with protected methods when disabling the + protected hack are now correctly generated. diff --git a/doc/changelogs/changes-5.15.3 b/doc/changelogs/changes-5.15.3 new file mode 100644 index 000000000..fe7959899 --- /dev/null +++ b/doc/changelogs/changes-5.15.3 @@ -0,0 +1,46 @@ +Qt for Python 5.15.3 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide2 * +**************************************************************************** + + - [PYSIDE-454] namespace std is no longer rejected in the Qt typesystem + files. + - [PYSIDE-807] setup.py's 'clean' command has been fixed. + - [PYSIDE-1305] The error handling of constructor keyword arguments has been + fixed. + - [PYSIDE-1422] A crash related to Signal and __eq__ has been fixed. + - [PYSIDE-1432] An ownership issue in QLayout::replaceWidget() has been fixed. + - [PYSIDE-1442] QFlags operations have been fixed. + - [PYSIDE-1447] A crash related to qApp and Python 3.9 has been fixed. + - [PYSIDE-1449] QTestlib's QAbstractItemModelTester has been added. + - [PYSIDE-1460] An infinite loop changing up directories in the signature + bootstrap code has been fixed. + - [PYSIDE-1466] The newly introduced overload QSetting.value() taking a type + has been documentated. + - [PYSIDE-1478] A bug related to using QQmlContext.setContextProperty() + with the snake case feature has been fixed. + +**************************************************************************** +* Shiboken2 * +**************************************************************************** + + - [PYSIDE-1347] Inheritance for enum types has been fixed. + - [PYSIDE-1448] Code injected at target/end being invoked for multiple + overload ids has been fixed. + - [PYSIDE-1470] shiboken.delete() can now be used to delete Q*Application. + - [PYSIDE-1501] The clang parser has been fixed to be able to handle some + Boost headers. diff --git a/doc/changelogs/changes-6.0.0 b/doc/changelogs/changes-6.0.0 new file mode 100644 index 000000000..f3d3fffa3 --- /dev/null +++ b/doc/changelogs/changes-6.0.0 @@ -0,0 +1,17 @@ +Qt for Python 6.0.0 is a new major version release. It is not compatible with +earlier Qt for Python releases. + +The goal has been to retain as much source compatibility with +Qt for Python Qt 5.15 as possible, but some changes were inevitable. + +To make it easier to port to Qt for Python 6.0.0, we have created a porting +guide to summarize those changes and provide guidance to handle them. In +the guide, you can find links to articles about changes that may affect +your application and help you transition from Qt for Python 5.15 to +Qt for Python 6.0.0: + +https://doc.qt.io/qtforpython-6/porting_from2.html + +For more details refer to the online documentation of Qt for Python 6.0.0: + +https://doc.qt.io/qtforpython/ diff --git a/doc/changelogs/changes-6.0.1 b/doc/changelogs/changes-6.0.1 new file mode 100644 index 000000000..47e37ba14 --- /dev/null +++ b/doc/changelogs/changes-6.0.1 @@ -0,0 +1,48 @@ +Qt for Python 6.0.1 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - [PYSIDE-454] Remove rejection of namespace std in Qt bindings + - [PYSIDE-510] signature: Fix the parser regex for Qt6 + - [PYSIDE-841] scriptable application/Unix: Remove setting of PYTHONHOME + for virtualenv + - [PYSIDE-841] scriptable application: Actually expose the generated + module + - [PYSIDE-1019] feature: delete setter after creating property only for + standard naming + - [PYSIDE-1019] feature: Fix a flag error when no snake_case is selected + - [PYSIDE-1447] qApp: fix flag handling in Python 3.8+ and a Python 3.9 + issue + - [PYSIDE-1449] PySide6: Add QTestlib's QAbstractItemModelTester + - [PYSIDE-1456] designer: add rpath for linux + - [PYSIDE-1460] signature: Fix infinite loop changing up directories on + Windows shares + - [PYSIDE-1463] feature: Disable selection while creating a type + - [PYSIDE-1466] QSetting.value add overload documentation + - [PYSIDE-1469] build_scripts: fix get_config_var for Big Sur + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-487] Guard against repeated invocation of the module + init function + - [PYSIDE-1448] Fix code injected at target/end being invoked for + several overload ids + - [PYSIDE-1470] Allow to use shiboken.delete() to delete Q*Application + diff --git a/doc/changelogs/changes-6.0.2 b/doc/changelogs/changes-6.0.2 new file mode 100644 index 000000000..1b4feb54c --- /dev/null +++ b/doc/changelogs/changes-6.0.2 @@ -0,0 +1,30 @@ +Qt for Python 6.0.2 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - [PYSIDE-1478] A bug related to using QQmlContext.setContextProperty() + with the snake case feature has been fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-841] A number of bugs in the documentation generation code have + been fixed. + - [PYSIDE-1501] The clang parser has been fixed to be able to handle some + Boost headers. diff --git a/doc/changelogs/changes-6.0.3 b/doc/changelogs/changes-6.0.3 new file mode 100644 index 000000000..3098e4dae --- /dev/null +++ b/doc/changelogs/changes-6.0.3 @@ -0,0 +1,31 @@ +Qt for Python 6.0.3 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - [PYSIDE-955] QOpenGLVersionFunctionsFactory has been added. + - [PYSIDE-1112] The documentation has been overhauled, particularly the + examples, deployment and porting sections. + - [PYSIDE-1511] QOpenGLFunctions.glShaderSource()/glGetShaderSource() have + been added. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1515] libclang's build type is now correctly determined. + diff --git a/doc/changelogs/changes-6.0.4 b/doc/changelogs/changes-6.0.4 new file mode 100644 index 000000000..7666a0049 --- /dev/null +++ b/doc/changelogs/changes-6.0.4 @@ -0,0 +1,31 @@ +Qt for Python 6.0.4 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - [PYSIDE-841] Further examples have been added (editable Json Model, + Paintbrush like example, matplotlib and downloader). + - [PYSIDE-1540] The performance of QPainter::drawPoints(QPolygon) has been + improved. + - [PYSIDE-1544] std::pair has been adedd as a container. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1529] A potential crash when registering static fields has been + fixed. diff --git a/doc/changelogs/changes-6.1.0 b/doc/changelogs/changes-6.1.0 new file mode 100644 index 000000000..bf74218c6 --- /dev/null +++ b/doc/changelogs/changes-6.1.0 @@ -0,0 +1,50 @@ +Qt for Python 6.1.0 is a minor release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + * QtOpenGLFunctions have been moved into QtOpenGL. + * Examples habe been improve: brush up, use snake_case, add new ones, etc + - [PYSIDE-535] PyPy-compatibility was improved by: Avoid the + __builtins__ quirk and import builtins, instead + - [PYSIDE-1019] Confusing import error messages causes by feature-import + have been fixed. + - [PYSIDE-1425] The broken encoding of QCoreApplication.arguments() on + Windows has been fixed. + - [PYSIDE-1455] Bindings for the Qt Designer libraries have been added + - [PYSIDE-1455] A Qt Designer plugin has been added, allowing for creating + custom widgets in Python. (Experimental Support) + - [PYSIDE-1482] Active Qt, QtCharts, QtDataVisualization and QStateMachine + have been re-added. The namespaces from QtCharts and + QtDataVisualization have been removed. + - [PYSIDE-1503] Overloads using numpy-arrays of x,y data have + been added to functions taking lists of QPointF. + (Experimental support depending on option + --pyside-numpy-support to setup.py) + - [PYSIDE-1520] Implicit C++ conversions generated by shiboken are now + reflected as typing.Union[]. + - [PYSIDE-1523] Nuitka: Allow for compiled functions and methods, too. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-504] --avoid-protected-hack can now be used with gcc, clang + as well. + - [PYSIDE-1338] Add option to use global headers + - [PYSIDE-1477] clang options can now be specified using command line + options or project files, allowing for cross-compiling. diff --git a/doc/changelogs/changes-6.1.1 b/doc/changelogs/changes-6.1.1 new file mode 100644 index 000000000..f673e8bbd --- /dev/null +++ b/doc/changelogs/changes-6.1.1 @@ -0,0 +1,36 @@ +Qt for Python 6.1.1 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - A crash in QCustom3DVolume::setTextureData() has been fixed. + - Crashes in QClipboard.mimeData(), QTextCursor.currentList() and + QTextCursor.currentTable() have been fixed. + - The internal mechanism to create .pyi files was generalized into a + general usage tool. + - The Qt Designer plugin which was not working on macOS is now fixed. + - General improvement to examples and documentation. + - [PYSIDE-1019] __feature__: Support generation of modified .pyi files and fixed + other issues. + - [PYSIDE-1570] PySide6: Adapt QtMultimedia to current state + - [PYSIDE-1563] Fixed crashes when using the QImage(uchar *) data constructors + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1338] An option to use global headers was included. diff --git a/doc/changelogs/changes-6.1.2 b/doc/changelogs/changes-6.1.2 new file mode 100644 index 000000000..997a5d30d --- /dev/null +++ b/doc/changelogs/changes-6.1.2 @@ -0,0 +1,37 @@ +Qt for Python 6.1.2 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - [PYSIDE-1482] A number of missing classes, enumerations and functions have + been added. + - [PYSIDE-1160] QHostInfo.lookupHost() was added. + - [PYSIDE-1563] A previous fix the bug has been amended, fixing errors + about not holding the GIL when releasing QImage memory. + - [PYSIDE-1589] Slot access for compiled functions for Nuitka has been fixed. + - [PYSIDE-1593] The decorator of PyClassProperty has been corrected + and the class has been published. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - It is now possible to specify a check function for custom types in the + typesystem. + - [PYSIDE-1588] The generated signatures now contain types replaced by + modifications. + diff --git a/doc/changelogs/changes-6.1.3 b/doc/changelogs/changes-6.1.3 new file mode 100644 index 000000000..858a2030e --- /dev/null +++ b/doc/changelogs/changes-6.1.3 @@ -0,0 +1,49 @@ +Qt for Python 6.1.3 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - The Python Unicode API was updated to the newest + version when not in limited API mode, too. + - [PYSIDE-131] The `tr` function now works also for + PySide derived Python class instances with the right context, and + fix translation for derived types. + - [PYSIDE-1252] The tr() translation method of QObject + has been changed to be a class method. This makes it + possible to use tr() on a class without instantiation. + - [PYSIDE-1482] Add classes QChannel, QChannelComponent, QSharedMemory. + - [PYSIDE-1609] PySide6: Fix crashes in QObject.findChild() + - [PYSIDE-1614] Fix logging level being set when importing PySide6 + - [PYSIDE-1617] Fix leak in QML ListProperty type + - [PYSIDE-1621] signature: make zip file access totally virtual, + and make embedding aware. + - [PYSIDE-1626] feature: fix the UIC switching problem + - [PYSIDE-1629] PySide6: Fix crash with qmlRegisterSingletonType() when invoked from JavaScript + - [PYSIDE-1636] Fix GLES builds + - [PYSIDE-1646] Fix the signature mapping after enabling macOS primitive types + - [PYSIDE-1647] Fix crash when constructing a QApplication in an embedded application + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1621] Embedding of supporting Python files + is now completely virtual. No FS files are involved any longer. + - [PYSIDE-1626] Coexistence of different feature + selections works now, especially for UIC files and inheritance. + - [PYSIDE-1112] shiboken6/Documentation: Add a link from code injection to type system variables + - [PYSIDE-1252] ApiExtractor: add classmethod attribute to add-function for tr() diff --git a/doc/changelogs/changes-6.2.0 b/doc/changelogs/changes-6.2.0 new file mode 100644 index 000000000..a31c1177f --- /dev/null +++ b/doc/changelogs/changes-6.2.0 @@ -0,0 +1,222 @@ +Qt for Python 6.2.0 is a minor release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - Crashes in QClipboard.mimeData(), QTextCursor.currentList() and + QTextCursor.currentTable() have been fixed. + - The Python Unicode API was updated to the newest version when not in limited + API mode, too. + - The function QUrl.fromFilePath supports now the os.PathLike structure in + addition to string arguments. + - QMultiMap and QMultiHash are now converted to a dict of key/list of values + (corresponding to defaultdict). + - QThreadPool().start(std::function) and tryStart(std::function) have been + added. + + - [PYSIDE-131] The `tr` function now works also for PySide derived Python + class instances with the right context. + - [PYSIDE-487] Implement qmlRegisterSingletonInstance + - [PYSIDE-535] Tests which use reference counting need to be skipped in + upcoming PyPy builds. + - [PYSIDE-535] During replacement of type extender macros by functions, + a hidden enum/flags alias error was detected and fixed. + - [PYSIDE-1252] pyside6-lupdate and the related tools from Qt Linguist have + been re-added, enabling using the Qt translation system. + - [PYSIDE-1252] The tr() translation method of QObject has been changed to be + a class method. This makes it possible to use tr() on a class without + instantiation. + - [PYSIDE-1334] QObject.connect() now returns an instance of + QMetaObject.Connection which can be used to disconnect instead of a bool. + - [PYSIDE-1362] A crash in QCustom3DVolume::setTextureData() has been fixed. + - [PYSIDE-1378] Assistant is now shipped along with PySide. + - [PYSIDE-1436] Support Python 3.10 + - [PYSIDE-1436] Feature switching needs to reset the internal type cache. This + was an omittion that becomes relevant in Python 3.10 . + - [PYSIDE-1482] A number of missing classes from the qtbase, qt3d, + qtdeclarative. repository have been added. + - [PYSIDE-1482] A number of free functions from QtQml have been added. + - [PYSIDE-1482] QSharedMemory was added. + - [PYSIDE-1499] pathlib.Path gets additionally accepted for all function + arguments which have a std::filesystem::path type. + - [PYSIDE-1570] The QtDBus module has been added. + - [PYSIDE-1570] The QtNetworkAuth module has been added. + + - [PYSIDE-841] examples: clean and update code, add more screenshots, remove + version numbers from qml imports and new examples: dynamic spline, string + and object list models, markdowneditor, data surface, abstract list model + qml, opengl under qml, richtext/textedit, linguist, qsharedmemory. + - [PYSIDE-841] tutorials: update datavisualization and expenses + - [PYSIDE-862] Allow spaces in ClassInfo keys + - [PYSIDE-905] PySide6: Add Qt::FindChildOptions to QObject::findChild(ren) + - [PYSIDE-907] PySide6: Add QKey support for the setShortcut method + - [PYSIDE-1019] __feature__: Support generation of modified .pyi files and fix + default instances. + - [PYSIDE-1019] pyi_generator: Optimize imports + - [PYSIDE-1019] feature: move getFeatureSelectId to Shiboken and refactor + - [PYSIDE-1019] Shiboken: Remove cheating macros + - [PYSIDE-1033] cmake: Fix option --sanitize-address + - [PYSIDE-1112] sample binding: Document how to force MSVC in case CMake + detects clang + - [PYSIDE-1112] PySide6: Update documentation on Qt Designer and resource + files + - [PYSIDE-1160] PySide6: Expose QHostInfo.lookupHost() + - [PYSIDE-1252] PySide6: Add entry points for the Qt Linguist tools + - [PYSIDE-1252] ApiExtractor: add classmethod attribute to add-function for + tr() + - [PYSIDE-1252] ApiExtractor: add classmethod attribute to add-function, fix + - [PYSIDE-1329] PySide6: Fix signature of QObject.tr() + - [PYSIDE-1334] Return QMetaObject.Connection from QObject.connect() + - [PYSIDE-1362] Fix crash in QCustom3DVolume::setTextureData() + - [PYSIDE-1370] PySide6: Add QSharedMemory + - [PYSIDE-1378] PySide6: Add assistant executable + - [PYSIDE-1378] build scripts: Extract helper functions to patch executables + - [PYSIDE-1378] Build scripts/UNIX: Extract helper function to copy GUI + executables + - [PYSIDE-1378] PySide6: Add some information on the tools + - [PYSIDE-1415] Turn generate_pyi into a general pyi_generator tool + - [PYSIDE-1415] Remove SimpleNamespace Python Implementation + - [PYSIDE-1437] Revert "Allow calling CI's build scripts with python2" + - [PYSIDE-1438] Fix QSurfaceDataProxy::resetArray() crash + - [PYSIDE-1455] Turn off numpy support in libpyside by default + - [PYSIDE-1455] Fix Designer plugin to load on Linux/macOS, add hints for trouble-shooting. + - [PYSIDE-1467] PySide6: Fix signature of CoreApplication.instance() + - [PYSIDE-1482] Re-add QtMultimedia/Widgets, fix examples, and missing + classes. + - [PYSIDE-1482] PySide6/signature: Add PySideSignalInstance + - [PYSIDE-1482] libpyside: Add type check for PySideSignalInstanceType + - [PYSIDE-1482] Add classes QChannel, QChannelComponent, QSignalSpy and more + non-template QML functions + - [PYSIDE-1482] PySide6/QSignalSpy: Add constructor taking a signal + - [PYSIDE-1482] Add further global functions + - [PYSIDE-1482] VoidPtr: Add setters and getters for the size, and isWritable + - [PYSIDE-1499] cppgenerator: remove a left-over "this" to get rid of + a warning + - [PYSIDE-1499] build support for pathlib.Path, migrating examples, and qml load functions + - [PYSIDE-1523] Document the usage of Nuitka + - [PYSIDE-1556] Fix cmake argument for standalone macOS + - [PYSIDE-1563] Fix crashes when using the QImage(uchar *) data constructors + - [PYSIDE-1563] Revert "Fix crashes when using the QImage(uchar *) data + constructors" + - [PYSIDE-1563] Fix error about not holding the GIL when releasing QImage + memory + - [PYSIDE-1566] Fix Designer plugin to load on macOS + - [PYSIDE-1568] CMake: Rename the ENABLE_ platform variables + - [PYSIDE-1568] Remove QtX11Extras, QtMacExtras and per-platform typesystem + files + - [PYSIDE-1568] Introduce conditional processing instructions to typesystem + XML + - [PYSIDE-1570] Add QtDBus module, QtNetworkAuth QtWebEngineQuick and initial + Support for QtBluetooth + - [PYSIDE-1570] Re-add QtWebEngine + - [PYSIDE-1570] Fix assert when retrieving wrapper from different thread + - [PYSIDE-1571] PySide6: Add BluetoothServiceInfo::Alternative, Sequence + - [PYSIDE-1583] PySide6: Extend the porting guide + - [PYSIDE-1584] mdi/application examples: Fix startup without settings file + - [PYSIDE-1585] PySide6: Refactor qvariant conversion code + - [PYSIDE-1588] Use replaced types in functions signatures + - [PYSIDE-1589] nuitka: Fix slot access for compiled functions + - [PYSIDE-1593] PyClassProperty: Correct the decorator and publish the class + - [PYSIDE-1599] testing: enforce that .pyi files are always tested + - [PYSIDE-1609] PySide6: Fix crashes in QObject.findChild() + - [PYSIDE-1609] PySide6: Add a test for QObject.findChildren() by type + - [PYSIDE-1611] PySide6: Add missing API of QQuickFramebufferObject.Renderer + - [PYSIDE-1614] Fix logging level being set when importing PySide6 + - [PYSIDE-1617] Fix leak in QML ListProperty type + - [PYSIDE-1619] Add fallback case for QSettings.value + - [PYSIDE-1621] signature: make zip file access totally virtual + - [PYSIDE-1621] signature: update and make embedding aware + - [PYSIDE-1621] Remove signature loader completely from physical FS + - [PYSIDE-1623] PySide6: Add Qt Quick Controls 2 to the documentation + - [PYSIDE-1625] PySide6: Fix QMenu.exec_() + - [PYSIDE-1626] feature: fix the UIC switching problem + - [PYSIDE-1626] PySide6: Work around uic feature test failure + - [PYSIDE-1629] PySide6: Fix crash with qmlRegisterSingletonType() when + invoked from JavaScript + - [PYSIDE-1636] Fix GLES builds + - [PYSIDE-1639] Allow threads for QInputDialog templates, and QAbstractSocket methods. + - [PYSIDE-1646] Fix for OpenGL types on macOS + - [PYSIDE-1647] Fix crash when constructing a QApplication in an embedded + application + - [PYSIDE-1650] PySide6: Add QAccessible::installFactory() + - [PYSIDE-1650] PySide6: Add QAccessibleActionInterface + - [PYSIDE-1659] PySide6: Document QUiLoader restriction wrt signal/slot + connections + - [PYSIDE-1662] Fix Qt Quick painteditem example to work, and run from + a different directory + - [PYSIDE-1663] Add QWebEnginePage::setWebChannel(QWebChannel*,quint32) + + - [QTBUG-75870] qtpaths is now used to query Qt properties. + - [QTBUG-75870] build scripts: Remove qtchooser handling, replace qmake mkspec + parsing by cmake, and introduce qtpaths as qmake replacement + - [QTBUG-95649] Disable gestures from QtSensors + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-535] Accept empty dicts as alternative to setting unused + keyword dicts to nullptr. + - [PYSIDE-535] The type extension macros are replaced by normal function + calls. This is not only a pre-requisite for PyPy support but also an + improvement of type safety. + - [PYSIDE-535] Type creation was completely encapsulated. The + implementation can now be rewritten for PyPy. + - [PYSIDE-535] Define SbkObjectType to be a PyTypeObject, and remove + SbkObjectType from the API + - [PYSIDE-535] SbkObjectType is now a typedef for PyTypeObject and + SbkType_FromSpec() has been changed to return a PyType_Object *. + - [PYSIDE-535] It is now possible to derive classes from enum types like + `QtCore.Key` in earlier Python versions. + - [PYSIDE-1334] operator bool can now be used for bool conversions + (nb_bool) besides Qt-style isNull() methods. + - [PYSIDE-1436] The Zip importer was rewritten for the Python 3.4 API + which avoids warnings in Python 3.10 . + - [PYSIDE-1436] The parser for .pyi files needed an update because of + undocumented changes in typing.py for Python 3.10 . + - [PYSIDE-1436] Binary flags operators did check cppArg only, but not + cppSelf. This is necessary when arguments are swapped. Recognized in + Python 3.10 due to improved error checks in debug mode. + - [PYSIDE-1436] A very old refcounting bug from 2012 in the sample XML + led to a crash in Python 3.10 . This bug was found because the refcounting + of Python is more exact, now. + - [PYSIDE-1588] It is now possible to specify a function argument type + to appear in the .pyi files. + - [PYSIDE-1605] Support for opaque C++ sequence scontainers has been added, + allowing to pass a wrapped C++ container directly instead of converting + it back and forth from Python sequences. + - [PYSIDE-1626] Coexistence of different feature selections works now, + especially for UIC files and inheritance. + - [PYSIDE-1621] Python support files are now always embedded. There is + no longer a physical copy installed in the file system. + - [PYSIDE-1637] The temporary alias shiboken6.shiboken6 for + the Shiboken module was removed. Now there is an unambiguous + shiboken6.Shiboken, only. + - [PYSIDE-1653] The handling of hidden base class member functions and + using declarations has been fixed. + - [PYSIDE-1655] stack-use-after-scope ASAN issues in the type system parser + have been fixed. + - [PYSIDE-1660] CPython types like PyObject, PySequence are now built into + shiboken6 and no longer need to be specified in the typesystem files. + - [PYSIDE-1568] Construction of abstract classes whose C++ wrapper is disabled + has been disabled. + - It is now possible to specify a check function for custom types in the + typesystem. + - A new, simpler normalization function has been introduced for signatures + of added functions (which means for example that const-ref is preserved). + - The replacement of %PYARG_0 in C++ wrapper classes (native) has been + improved and no longer requires adding casts to PyObject *. diff --git a/doc/changelogs/changes-6.2.1 b/doc/changelogs/changes-6.2.1 new file mode 100644 index 000000000..227ac8120 --- /dev/null +++ b/doc/changelogs/changes-6.2.1 @@ -0,0 +1,45 @@ +Qt for Python 6.2.1 is a bug-fix release. + +For more details, refer to the online documentation included in this +distribution. The documentation is also available online: + +https://doc.qt.io/qtforpython/ + +Some of the changes listed in this file include issue tracking numbers +corresponding to tasks in the Qt Bug Tracker: + +https://bugreports.qt.io/ + +Each of these identifiers can be entered in the bug tracker to obtain more +information about a particular change. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - [PYSIDE-610] Enable the SSL methods of QWebSockets + - [PYSIDE-841] Add a signals and slots tutorial + - [PYSIDE-841] Add examples: barchart, areachart, tab dialog, screenshot + relational table model, btscanner, rendercontrol_opengl, + and the 'adding' from the QML reference. + - [PYSIDE-1631] Add qmlRegister functions taking a library URL + - [PYSIDE-1673] Fix QObject.property() for QFlag types + - [PYSIDE-1674] Expose QVideoFrame::bits(int) + - [PYSIDE-1681] Fix hang in QQmlApplicationEngine functions with message + handler + - [PYSIDE-1685] Fix constructing a QFont from a family string + - [PYSIDE-1691] Add QCborTag + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-656] Overridden virtual methods are now always correctly + finalized, regardless of errors. + - [PYSIDE-1669] An option to disable implicit conversions has been added. + - [PYSIDE-1605] Getters returning containers by reference can now be modified + to return an opaque container by modifying the return type + accordingly. + - [PYSIDE-1660] Document builtin custom types + - [PYSIDE-1686] Adapt to LLVM 12.01 + - [PYSIDE-1691] Handle enums without values |