diff options
Diffstat (limited to 'doc')
52 files changed, 3553 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 diff --git a/doc/changelogs/changes-6.2.2 b/doc/changelogs/changes-6.2.2 new file mode 100644 index 000000000..58d13d547 --- /dev/null +++ b/doc/changelogs/changes-6.2.2 @@ -0,0 +1,76 @@ +Qt for Python 6.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. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - pyside.h no longer includes QML headers. + - [PYSIDE-1666] sets are now supported for functions taking a QSet. + - [PYSIDE-1670] When a property would override an existing function with + multiple arity or parameters, append an underscore to the property name. + - [PYSIDE-1675] Error message are more correct now when indexed generic + types are involved like Union, Sequence and Iterable. + - [PYSIDE-535] PyPySide: fix tests and improvements. + - [PYSIDE-802] coin: Don't prepend /bin: to PATH on Linux hosts + - [PYSIDE-803] Allow threads in QtGui.QTextDocument.print_ + - [PYSIDE-841] Add new QML examples: 'properties', 'coercion', 'methods', 'default' + - [PYSIDE-841] Add new widgets examples: 'blurpicker', and 'dragable icons' + - [PYSIDE-1033] setup.py: Don't add the Qt prefix dir to PATH env var before + building + - [PYSIDE-1431] Fix equality test for inherited signals + - [PYSIDE-1520] mypy-support: Improve handling of slots, enum and PathLike + - [PYSIDE-1547] Use legacy OpenGL option to build on linux + - [PYSIDE-1669] Fix QIcon.addPixmap() to accept a PyPathLike argument + - [PYSIDE-1670] __feature__: handle properties with function overloads + - [PYSIDE-1675] Signature: re-implement error messages for generic types + - [PYSIDE-1675] signature: avoid false positives in .pyi import + - [PYSIDE-1696] Fix QFlags comparison to self + - [PYSIDE-1701] Fix invalid drawing of horizontal lines in the Qt Designer + taskmenu example + - [PYSIDE-1703] Fix build with MSVC 19.29.30136 + - [PYSIDE-1708] Add QtQuick3D module + - [PYSIDE-1709] Add a QmlUncreatable and QmlSingleton decorators + - [PYSIDE-1710] signature: improve error handling for embedded applications + - [PYSIDE-1714] Add a sequence protocol for QRegion + - [PYSIDE-1715] Fix crash when connecting slot after disconnecting non- + existent connection to same slot + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-454] Add further methods to smart pointers: reset() and null-check, + tests for operator nb_bool, and handling None parameter. + - [PYSIDE-535] Remove type patching of PyType_Type and fix the meta type of + enum. + - [PYSIDE-1499] The implicit conversion of icon.addPixmap(str) was replaced + by an explicit version which takes PyPathLike. + - [PYSIDE-1675] The .pyi file generation was improved to have correct + slot(), PathLike and better enum handling. + - [PYSIDE-1691] When qualifying function argument default values for the + generated code, shiboken no longer considers each identifier it cannot + otherwise find as an enum value and no longer adds the class scope to it. + This may require manually adding some replace-default-expression + modifications. + - [PYSIDE-1710] Error handling was improved for embedded applications and + builtin modules are trusted as valid modules. + - [PYSIDE-1666] Handle PySets as function parameters + - [PYSIDE-1684] Do not crash when class cannot be found in the overload + sorter + - [PYSIDE-1691] Added CborTag: improvements were included in shiboken + to support this class. + - [PYSIDE-1697] Fix a leak in keyword arguments handling + - [PYSIDE-1703] Fix some integer types in test type systems diff --git a/doc/changelogs/changes-6.2.3 b/doc/changelogs/changes-6.2.3 new file mode 100644 index 000000000..d54c964be --- /dev/null +++ b/doc/changelogs/changes-6.2.3 @@ -0,0 +1,56 @@ +Qt for Python 6.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. + +**************************************************************************** +* PySide6 * +**************************************************************************** + + - __repr__ functions for QEvent-derived classes were added. + - audio source, mimetype browser, borderlayout, threadedqopenglwidget and + regular expression examples were added. + - A debugging tutorial was added. + - [PYSIDE-1318] The MyPy display of `Signal` was corrected so that the + relationship of `Signal` and `SignalInstance` is reflected. + - [PYSIDE-1431] Signal instances allow pass-through of methods with the same + name, explicitly and with multiple inheritance. + - [PYSIDE-1675] A crash when inserting a signal into a non-QObject was fixed. + - [PYSIDE-1675] A bug fix in Slot.__call__ was fixed. + - [PYSIDE-1675] A segfault when a signal is applied to a non-QObject was + fixed. + - [PYSIDE-1725] Documentation: classes in inheritance diagrams are now + clickable (within one module). + - [PYSIDE-1726] The build for the case when no Vulkan is installed was fixed. + - [PYSIDE-1727] The signature and __doc__ attribute of classes issue was + fixed. + - [PYSIDE-1730] A pass-through for signals in case of multiple inheritance + was added. + - [PYSIDE-1736 QQmlApplicationEngine.load(str) was fixed. + - [PYSIDE-1755] __code__ inspection on slot connections was fixed. + - [PYSIDE-1757] The error handling of true_property was improved. + - [PYSIDE-1769] A crash in WebEngine signal emissions was fixed. + - [PYSIDE-1770] Enum QXYSeries.PointConfiguration was added. + - [PYSIDE-1792] allow threads was added to QFileDialog's static functions + (getSaveFileName(), etc.). + - [QTBUG-95010] New Multimedia functions were added + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1605] Bindings for reserve()/capacity() were added to contiguous + opaque containers. + - [PYSIDE-1766] The documentation on the conversion-rule tag was updated + and native-to-target/target-to-native can now be used in argument + conversion rules. diff --git a/doc/changelogs/changes-6.2.4 b/doc/changelogs/changes-6.2.4 new file mode 100644 index 000000000..dff01c3a7 --- /dev/null +++ b/doc/changelogs/changes-6.2.4 @@ -0,0 +1,42 @@ +Qt for Python 6.2.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-1702] snake_case handling now does explicitly not touch user + defined classes. + - [PYSIDE-1705] Properties are now usable in constructors of classes in any + combination of snake_case and true_property. + - [PYSIDE-1765] The snake_case feature is now more complete since it renames + hidden methods, too. Overriding was enabled. + - [PYSIDE-1252] The entry points for UI tools on macOS have been fixed. + - [PYSIDE-1798] QVariant can now be converted to Enum types. + - [PYSIDE-1804] A bug in QByteArray::__msetitem__() on big + endian architectures has been fixed. + - [PYSIDE-1815] QAbstractOAuth.setModifyParametersFunction() has been added + - [PYSIDE-1824] QLowEnergyServiceData.characteristics() has been fixed. + - [PYSIDE-1826] A life cycle issue with + QQuickAsyncImageProvider.requestImageResponse() + has been fixed. + - [PYSIDE-1827] Signals/slots with non-QObject object types have been + fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1806] A configure check for the clang version has been added. diff --git a/doc/changelogs/changes-6.3.0 b/doc/changelogs/changes-6.3.0 new file mode 100644 index 000000000..8114ce9f5 --- /dev/null +++ b/doc/changelogs/changes-6.3.0 @@ -0,0 +1,214 @@ +Qt for Python 6.3 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 * +**************************************************************************** + + - The PySide wheels have been split. There is now a PySide6-Essentials + and a PySide6-Addons wheel. The PySide6 wheel has been kept as a convenience + to install all modules. + - The QtNfc module has been added. + - New QML tools have been added: pyside6-metaobjectdump, pyside6-qmltyperegistrar + and pyside6-qmllint. + - Several class decorators have been added for QML: QmlAttached, + QmlExtended, QmlForeign, QmlNamedElement, QmlSingleton and QmlUncreatable. + - class QPyQmlPropertyValueSource for implementing QML value + property sources has been added. + - QML code has been split out from libpyside into a new library libpysideqml. + libpyside thus no longer depends on QtQml and pyside.h no longer includes QML + headers. pyside.h has been split into smaller headers. + - The setup.py --qmake option is deprecated starting with Qt 6.3. Use the + --qtpaths option instead. + - Build directories are now created inside the root ./build directory, + rather than directly under the root of the project. + - A context manager for override cursors has been added. It is now possible + to write code like: with QApplication.setOverrideCursor(Qt.WaitCursor):... + - A completely new development was done to support the fast PyPy implementation. + A listing of all the necessary steps can be found in the extra documentation + for PyPy with PySide in ./doc/pypyside.rst . + + - [PYSIDE-535] Support for PyPy was added. Examples were fixed and adapted to + use context managers, for example for QPainter, to ensure + proper deletion. + - [PYSIDE-535] QPainter has become a context manager. Using a with statement + saves the need to call painter.end() . + - [PYSIDE-610] The SSL methods of QWebSockets were enabled. + - [PYSIDE-802] Support for cross-building was added. + - [PYSIDE-841] New tutorials were added: Debugging Tutorial and Signals + and slots. + - [PYSIDE-841] New examples were added: areachart, audiosource, barchart, + blurpicker, borderlayout, btscanner, dragable icons, + mimetypebrowser, relational table model, rendercontrol_opengl, + screenshot, tab dialog and threadedqopenglwidget. + - [PYSIDE-841] Further QML reference examples were added: binding, coercion, + default, extended, grouped, methods, properties and + valuesource. + - [PYSIDE-1318] The MyPy display of `Signal` was corrected so that the + relationship of `Signal` and `SignalInstance` is reflected. + - [PYSIDE-1431] Signal instances allow pass-through of methods with the same + name, explicitly and with multiple inheritance. + - [PYSIDE-1431] Signal initialization now respects the order of subclasses + in the mro(). + - [PYSIDE-1670] When a property overrides an existing function with + multiple arity or parameters, an underscore is appended to + the property name. + - [PYSIDE-1675] Error message are more correct now when indexed generic + types are involved like Union, Sequence and Iterable. + - [PYSIDE-1675] A crash when inserting a signal into a non-QObject was + fixed. + - [PYSIDE-1702] snake_case handling now does explicitly not touch user + defined classes. + - [PYSIDE-1705] Properties are now usable in constructors of classes in any + combination of snake_case and true_property. + - [PYSIDE-1746] The byte-compiling of example files is now suppressed to + reduce wheel size. + - [PYSIDE-1758] A left-over replacement of the interactive underscore + variable when QApplication is created was removed. + - [PYSIDE-1760] A race condition caused by the move from distutils to + setuptools with certain Python builds was fixed. + - [PYSIDE-1765] true_property overriding was enabled. + - [PYSIDE-1765] The snake_case feature is now more complete since it renames + hidden methods, too. + - [PYSIDE-1788] __repr__ functions for some QEvent-derived classes were + added. + - [PYSIDE-1252] Entry points for UI tools on macOS were fixed. + - [PYSIDE-1318] mypy-support: The handling of `Signal` was improved. + - [PYSIDE-1431] The equality test for inherited signals was fixed. + - [PYSIDE-1499] The implicit conversion of icon.addPixmap(str) was replaced + by an explicit version which takes PyPathLike. + - [PYSIDE-1520] mypy-support: The handling of slots, enum and PathLike + was improved. + - [PYSIDE-1547] The legacy OpenGL option is now used to build on linux, + removing a dependency to vendor-specific OpenGL libraries. + - [PYSIDE-1605] An opaque container are now used for OpenGL in the + hellogl2 example. + - [PYSIDE-1631] The qmlRegisterType() overload taking a library URL was + added. + - [PYSIDE-1673] QObject.property() was fixed for QFlag types. + - [PYSIDE-1674] QVideoFrame::bits(int) was added. + - [PYSIDE-1675] MyPy support has been improved. + - [PYSIDE-1675] A bug in Slot.__call__ was fixed. + - [PYSIDE-1675] A segfault when signal was applied to non-QObject was fixed. + - [PYSIDE-1681] A hang in QQmlApplicationEngine functions with message + handlers was fixed. + - [PYSIDE-1685] Constructing a QFont from a family string was fixed. + - [PYSIDE-1691] Class QCborTag was added. + - [PYSIDE-1696] QFlags comparison to self was fixed. + - [PYSIDE-1701] A bug in the TicTacToe Qt Designer taskmenu example was fixed. + - [PYSIDE-1702] __feature__: snake_case handling on user defined classes was + fixed. + - [PYSIDE-1703] The build with MSVC 19.29.30136 was fixed. + - [PYSIDE-1708] The QtQuick3D module was added. + - [PYSIDE-1709] A __repr__ function for QMetaObject was added. + - [PYSIDE-1709] The QML metatype json files of Qt are now shipped for usage + by pyside6-qmllint. + - [PYSIDE-1714] The sequence protocol has been implemented for QRegion. + - [PYSIDE-1715] A crash when connecting a slot after disconnecting non- + existent connection to same slot was fixed. + - [PYSIDE-1721] The documentation generation process has been + streamlined and the snippets conversion tool has been improved. + - [PYSIDE-1725] URLs in class inheritance diagrams have been made clickable + (within same module). + - [PYSIDE-1726] The build in case Vulkan is not installed was fixed. + - [PYSIDE-1727] Signature: The __doc__ attribute of classes was fixed. + - [PYSIDE-1730] Name clashes of signals and inherited methods were fixed. + - [PYSIDE-1736] QQmlApplicationEngine.load(str) was fixed. + - [PYSIDE-1755] Nuitka compiled methods are now safely distinguished. + - [PYSIDE-1757] __feature__: A bug in true_property was fixed. + - [PYSIDE-1758] QApplication no longer touches the underscore variable. + - [PYSIDE-1769] Crashes in WebEngine signal emissions were fixed. + - [PYSIDE-1770] Enum QXYSeries.PointConfiguration enum was added. + - [PYSIDE-1798] QVariant can now be converted to enum types. + - [PYSIDE-1804] QByteArray::__msetitem__() was fixed for big endian + architectures. + - [PYSIDE-1815] QAbstractOAuth.setModifyParametersFunction was added. + - [PYSIDE-1824] QLowEnergyServiceData.characteristics() was fixed. + - [PYSIDE-1826] A crash when implementing + QQuickAsyncImageProvider.requestImageResponse() was fixed. + - [PYSIDE-1827] Signals/slots with non-QObject object type parameters were + fixed. + - [PYSIDE-1840] The qFuzzyCompare() overloads for the classes in QtGui were + added. + - [PYSIDE-1845] Properties of type QQmlPropertyMap * were fixed. + - [PYSIDE-1876] Class QPyQmlParserStatus for handling QML parser status + changes has been added. + - [QTBUG-95010] The new Multimedia-API was adopted. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - A fast path for converting Python strings to UTF-8 has been added to the + limited API. + - [PYSIDE-454] Attributes for reset() and null-check of smart pointers have + been added. + - [PYSIDE-454] None is now accepted as a shared pointer parameter + and nb_bool was added to shared pointers. + - [PYSIDE-454] Using std::shared_ptr has been simplified; it no longer + requires specifying all implementation headers for the class + declaration to be fully visible. + - [PYSIDE-535] The generated code can now be used with PyPy. + - [PYSIDE-656] The error state is now correctly handled in overridden virtual + methods. + - [PYSIDE-1605] Getters returning containers by reference can now be + modified to return an opaque container by modifying the + return type accordingly. + - [PYSIDE-1605] Bindings for reserve()/capacity() were added to contiguous + opaque containers. + - [PYSIDE-1605] Code generation for functions taking a pointer to a container + has been fixed. + - [PYSIDE-1660] Primitive types are now built-in + unless they are present in type system file. + - [PYSIDE-1660] The macro PyObject_Check() has been removed from libshiboken. + - [PYSIDE-1666] Support for std::wstring has been added. + - [PYSIDE-1666] Pre-defined XML templates for standard container type + conversion have been added. + - [PYSIDE-1666] Common standard containers (std::list, std::vector, + std::pair, std::map, std::unordered_map) are now built-in + unless they were present in type system file. + - [PYSIDE-1666] Predefined templates for standard container types have been + added. + - [PYSIDE-1666] sets are now supported for functions taking C++ sets. + On return, C++ set instances will be converted to PySets + instead of PyLists. + - [PYSIDE-1669] An option to disable implicit conversions has been added. + - [PYSIDE-1675] The .pyi file generation was improved to have correct + slot(), PathLike and better enum handling. + - [PYSIDE-1691] When qualifying function argument default values for the + generated code, shiboken no longer considers each identifier + it cannot otherwise find as an enum value and no longer adds + the class scope to it. This may require manually adding some + replace-default-expression modifications. + - [PYSIDE-1691] Determining the scoped of enum default values of function + arguments has been improved. nullptr is now handled correctly. + - [PYSIDE-1684] A crash when a class cannot be found in the overload + sorter has been fixed. + - [PYSIDE-1697] A memory leak in generated code for keyword arguments was fixed. + supported in argument conversion rules. + - [PYSIDE-1710] Error handling was improved for embedded applications and + builtin modules are trusted as valid modules. + - [PYSIDE-1711] Comparison operators for pointees of smart pointers are now + generated. + - [PYSIDE-1766] XML elements native-to-target and target-to-native are now + - [PYSIDE-1790] Classes marked as final in C++ are now created as final + Python classes. + - [PYSIDE-1790] Bindings for data()/constData() were added to contiguous + opaque containers. + - [PYSIDE-1790] Opaque containers are now always generated for + the specified types regardless of whether instantiations + exist. + - [PYSIDE-1802] The code model parser was adapted to consider .h files as C++. + - [PYSIDE-1806] A configure check for the clang version was added. diff --git a/doc/changelogs/changes-6.3.1 b/doc/changelogs/changes-6.3.1 new file mode 100644 index 000000000..fec3bf96a --- /dev/null +++ b/doc/changelogs/changes-6.3.1 @@ -0,0 +1,67 @@ +Qt for Python 6.3.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-1019] Feature switching was improved by avoiding cross-talk + to enable for example tests using PyTest. + - [PYSIDE-353] PySide now builds with PyPy 3.9. + - [PYSIDE-1735] New Pythons Enums were added as an optional feature, which + can be activated bv setting the environment variable + PYSIDE63_OPTION_PYTHON_ENUM. + - [PYSIDE-1797] An issue preventing using PySide with Python 3.6 or 3.7 + related to symbol PyIndex_Check was fixed. + - [PYSIDE-1859] Windows handle types HBITMAP, HICON, HRGN are now supported + (as int types). + - [PYSIDE-1880] The QtDataVisualization surface examples have been extended and + improved. + - [PYSIDE-1883] QTest.qWait() and QTest.qSleep() have been added. + - [PYSIDE-1887] Overriding QGraphicsItem::itemChange() has been fixed. + - [PYSIDE-1893] A crash with error "Internal C++ object already deleted." when + using QWidget.nativeParentWidget() has been fixed. + - [PYSIDE-1895] Embedded 0 characters in UNICODE strings are now handled + correctly. + - [PYSIDE-1899] QLoggingCategory, qCDebug, qCInfo, qCWarning and qCCritical + have been added. + - [PYSIDE-1901] String conversion for non-compact strings when + using Limited API has been fixed. + - [PYSIDE-1905] Overloads with more parameters have been added to + QDBusAbstractInterface.call() + - [PYSIDE-1909] qstyleoption_cast<> has been implemented in order + to be able to handle QStyleOption-derived classes. + - [PYSIDE-1911] PySideSignalInstance has now a __repr__. + - [PYSIDE-1912] QWebEngineCookieStore.setCookieFilter and + QtWebEngineProfile.setNotificationPresenter have been added. + - [PYSIDE-1919] A GIL state crash when collecting QObjects with signals + in Python 3.10 has been fixed. + - [PYSIDE-1921] QQmlContext::setContextProperties() has been added. + - [PYSIDE-1939] A crash in QTextBlock.layout() has been fixed. + - [PYSIDE-1947] QAudioBuffer.data()/constData() have been added. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1932] The Q_ENUM helper functions qt_getEnumMetaObject() and + qt_getEnumName() are now automatically rejected when PySide + extensions are enabled. + - [PYSIDE-1909] It is now possible to inject a function that retrieves the + type name of a polymorphic class. + - [PYSIDE-1909] Type discovery code is now generated for all classes that + have an id expression set. + - [PYSIDE-1933] Converters for all smart pointee base classes are now + generated. diff --git a/doc/changelogs/changes-6.3.2 b/doc/changelogs/changes-6.3.2 new file mode 100644 index 000000000..c2a40a854 --- /dev/null +++ b/doc/changelogs/changes-6.3.2 @@ -0,0 +1,72 @@ +Qt for Python 6.3.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-841] New examples have been added (SpinBoxDelegate, + Bluetooth heart rate). + - [PYSIDE-1312] QFormLayout::takeRow() has been added. + - [PYSIDE-1735] The duplication of enum values into the enclosing scope, + allowing to write Qt.AlignLeft instead of Qt.Alignment.AlignLeft, + is now implemented differently and no longer advertized in PYI + files or line completion. + - [PYSIDE-1735] The new Python enums are made as compatible to the old ones + as possible. It is again allowed to use Qt.Alignment() + instead of Qt.AlignmentFlag(0), and a default of 0 is + always allowed but also not advertized. + Qt.Modifiers/Qt.KeyboardModifierflags can also still be used + interchangeably. + - [PYSIDE-1735] Most former IntEnum/IntFlag are replaced by pure Enum/Flag + classes in a generally compatible way to other implementations. + - [PYSIDE-1735] PyEnum handles QKeyCombination correctly with "|" or (deprecated) + "+" operators, without falling back to using IntEnum. + - [PYSIDE-1735] Python Enums use the newest implementation for Python (3.10) + for compatibility and speed. + - [PYSIDE-1735] A weird build problem on macOS and other platforms was fixed. + - [PYSide-1735] The cleanup calls by were sped up by using PyName for + staticMetaObject. + - [PYSIDE-1984] The code snippets in the modelview tutorial have been + improved. + - [PYSIDE-1930] Returning enums from QAbstractItemModel.flags() and + QAbstractItemModel.data() has been fixed. + - [PYSIDE-1934] The type hinting for the return value of + QListWidget.selected_indexes() has been fixed. + - [PYSIDE-1960] Initial support for Python 3.11 has been added. + - [PYSIDE-1968] The signature of QPixmap.save() has been fixed. + - [PYSIDE-1978] The signal + QAbstractItemModel.layoutAboutToBeChanged(QList<QPersistentModelIndex>) + has been fixed. + Also, the error message about using the wrong signal overload + has been improved. + - [PYSIDE-2030] The converter tools for Python code snippets for the + documentation has been improved. + - [PYSIDE-2019] Crashes related to QtDataVisualization'QValue3DAxisFormatter + have been fixed. + - [PYSIDE-2034] The static functions of QMessageBox have been fixed to not + block threads. + - [PYSIDE-2039] A regression affecting setting override cursors without + context manager has been fixed. + + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1964] The error message about mistakenly using keyword arguments + has been improved. + - [PYSIDE-1988] Fixed a mistaken PySequence_Check() type check to be + PyTuple_Check(), which only showed in Python 3.11. diff --git a/doc/changelogs/changes-6.4.0 b/doc/changelogs/changes-6.4.0 new file mode 100644 index 000000000..e2f7df1c3 --- /dev/null +++ b/doc/changelogs/changes-6.4.0 @@ -0,0 +1,187 @@ +Qt for Python 6.4.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 * +**************************************************************************** + + - Modules QtPdf, QtPdfWidgets and QtSpatialAudio have been added. + - [PYSIDE-353] PySide builds with PyPy 3.9. + - [PYSIDE-769] Examples that demonstrate usage of Trio async package with Qt + have been added. + - [PYSIDE-841] Examples surface_numpy, minimal surface (QtDataVisualization), + dropsite, dirview, Google suggest license wizard, QtBluetooth + heart rate server and client, QML window, QML Plugins, + analog clock (QtGui), digital clock (QtWidgets), spreadsheet, + terminal (QtSerialPort) and character map, have been added. + - [PYSIDE-962] Errors message about test-configuring projects + with cmake have been improved. + - [PYSIDE-1019] The feature module has been improved by a reset function. + - [PYSIDE-1106] The documentation build process has been improved; it no + longer requires a complete PySide6 build. + - [PYSIDE-1312] Support for QFormLayout::TakeRowResult has been added. + - [PYSIDE-1612] A tool for deployment, pyside6-deploy, has been added. + - [PYSIDE-1721] The C++ to Python code snippet translation has been + much improved. + - [PYSIDE-1731] PyEnum: Fix the old Enums to produce correct .pyi files, + again. + - [PYSIDE-1735] The new forgiveness mode of Python enums allows to use old + enum code, most of the time. + - [PYSIDE-1735] PyEnum: Most IntEnum/IntFlag classes were modified to Enum/Flag + - [PYSIDE-1735] PyEnum: QKeyCombination was improved to also work after the change + from IntEnum to Enum. + - [PYSIDE-1735] PyEnum can now be fully configured by flags at startup for internal + use. The default is unchanged and enables everything as before. + - [PYSIDE-1797] Link errors about PyIndex_Check() when using Limited_API have + been fixed. + - [PYSIDE-1860] Modules are now optimized for size. + - [PYSIDE-1878] The tool pyside6-qml has been added. + - [PYSIDE-1880] A numpy overload for QSurfaceDataProxy.resetArray() has + been added. + - [PYSIDE-1883] Test::qWait()/qSleep() have been added. + - [PYSIDE-1887] Overriding QGraphicsItem::itemChange() has been fixed. + - [PYSIDE-1887] Specify meta type registration for some class hierarchies + - [PYSIDE-1893] Error "Internal C++ object already deleted." when using + QWidget.nativeParentWidget() has been fixed. + - [PYSIDE-1895] '\0' can now be embedded in 1 byte strings. + - [PYSIDE-1898] Q_ARG/Q_RETURN_ARG have been implemented for + QMetaObject.invokeMethod() with arguments. + - [PYSIDE-1898] qMetaTypeFromPyType() has been fixed for for wrapped types. + - [PYSIDE-1898] QMetaType: a constructor taking a PyTypeObject has been added. + - [PYSIDE-1899] Class QLoggingCategory and functions qCDebug(), qCInfo(), + qCWarning() and qCCritical() has been added. + - [PYSIDE-1859] The Microsoft Windows handle types HBITMAP, HICON and HRGN + have been added. + - [PYSIDE-1906] All qHash() functions are now exposed to Python. + - [PYSIDE-1913] The bool cast for QByteArray has been changed to return + False for empty byte arrays to match the expected behavior. + - [PYSIDE-1924] Numpy support is now enabled by default. + - [PYSIDE-1945] pyside6-qtpy2cpp.py, a Qt-specific, simple tool for + converting Python code to C++ has been added. + - [PYSIDE-1957] The Qt5Compat QML imports have been added + (QtGraphicalEffects). + - [PYSIDE-1901] The broken string conversion for non-compact + strings when using Limited API has been fixed. + - [PYSIDE-1905] Overloads with more parameters have been added to + QDBusAbstractInterface::call(). + - [PYSIDE-1906] qHash() functions are now automatically exposed as tp_hash. + - [PYSIDE-1909] Type discovery for QStyleOption-derived classes + has been fixed. + - [PYSIDE-1911] A __repr__ function for PySideSignalInstance has been added. + - [PYSIDE-1912] QWebEngineCookieStore.setCookieFilter() and + QtWebEngineProfile.setNotificationPresenter() have been added. + - [PYSIDE-1919] A GIL state crash when collecting QObjects + with signals occurring in Python 3.10 has been fixed. + - [PYSIDE-1921] QQmlContext.setContextProperties() has been added. + - [PYSIDE-1930] Returning enums from QAbstractListModel.data() has been fixed. + - [PYSIDE-1934] Type hinting for QListWidget.selected_indexes() has been + fixed. + - [PYSIDE-1939] A crash in QTextBlock.layout() has been fixed. + - [PYSIDE-1947] QAudioBuffer.data()/constData() has been added. + - [PYSIDE-1957] Add Qt5Compat.GraphicalEffects + - [PYSIDE-1960] Support for Python 3.11 has been added. + - [PYSIDE-1968] Type hinting for QPixmap.save() has been fixed. + - [PYSIDE-1974] Returning flags from QAbstractTableModel and other + models has been fixed. + - [PYSIDE-1978] Signal + QAbstractItemModel::layoutAboutToBeChanged(QList<QPersistentModelIndex>) + has been fixed. + - [PYSIDE-1984] The snippets of the model view tutorials have been fixed. + - [PYSIDE-1986] Setting properties by named arguments for Q[VH]BoxLayout + has been fixed. + - [PYSIDE-2000] The VS Code debugging tutorial for Windows has been updated. + - [PYSIDE-2004] The tools qmlformat and qmlls have been added. + - [PYSIDE-2005] A documentation section for cmake-only build has been added. + - [PYSIDE-2017] The functions glGet(Boolean|Double|Float|Integer)v() + and glGet(Boolean|Double|Float|Integer)i_v() have been added. + - [PYSIDE-2019] Issues with QtDataVisualization's QValue3DAxisFormatter + have been fixed. + - [PYSIDE-2021] The index operator of QKeySequence now returns QKeyCombination + when the new PyEnums are used. + - [PYSIDE-2025] Setters for the the lists in + QtDataVisualization's QValue3DAxisFormatter + have been fixed added. + - [PYSIDE-2033] A logging category "qt.pyside.libpyside" with useful warnings + has been added to libpyside. + - [PYSIDE-2034] Blocking threads in static functions of QMessageBox + have been fixed. + - [PYSIDE-2038] Documentation: Improve module pages title + - [PYSIDE-2039] A regression bug when setting override cursors without context + manager has been fixed. + - [PYSIDE-2048] A TypeError when comparing Qt.Flags and objects has been + fixed. + - [PYSIDE-2059] Function qt_set_sequence_auto_mnemonic() has been added to + QtGui. + - [PYSIDE-2060] Cross-compilation to Raspberry Pi 4 has been fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - When using C++ 20, the spaceship comparison operator is + now recognized. + - The signatures for function modifications now also allow for + specifying unresolved types. + - [PYSIDE-454] Support for std::unique_ptr pointer has been added. + - [PYSIDE-1735] Python Enums use the newest implementation for Python (3.10) + for compatibility and speed. + - [PYSIDE-1735] The initialization of the signature module was moved into + Shiboken and rearranged. This was necessary for the new + backward-compatible PyEnum module. + - [PYSIDE-1735] The new Python enums are made as compatible to the old ones + as possible. It is again allowed to use Qt.Alignment() instead + of Qt.AlignmentFlag(0), and a default of 0 is always allowed. + - [PYSIDE-1735] Most former IntEnum/IntFlag are replaced by pure Enum/Flag + classes in a generally compatible way to other implementations. + - [PYSIDE-1735] Shiboken now generates warnings about using deprecated + enumerations and deprecated enumeration values. + - [PYSIDE-1764] It is now possible to specify a list of functions to be + generated instead of removing undesired functions. + - [PYSIDE-1932] The Q_ENUM helper functions qt_getEnumMetaObject() and + qt_getEnumName() are now automatically rejected when + PySide extensions are enabled. + - [PYSIDE-1939] An type system attribute for restricting the parent + ownership heuristics to relevant classes has been introduced. + - [PYSIDE-454] The types "handle" and "value-handle" have been added + to the smart pointers typesystem element. + - [PYSIDE-661] Generated error messages habe been moved into the library, + significantly reducing the module size. + - [PYSIDE-1735] Propagate C++ enum deprecation + - [PYSIDE-1735] shiboken 6: Generate warnings about deprecated enum/values + - [PYSIDE-1812] Command line options for compiler, path and platform + have been added. + - [PYSIDE-1887] Meta type registration is now configureable in the type + system. + - [PYSIDE-1905] A way to specify free functions with complete custom + implementations has been added (bypassing the generated + argument conversion and overload decisor code). + - [PYSIDE-1909] A function to get the type name of a polymorphic class + can now be specified. + - [PYSIDE-1909] Type discovery for classes that with an id expression + has been fixed. + - [PYSIDE-1933] Converters for all smart pointee base classes are now + generated. + - [PYSIDE-1939] Heuristics for for parent ownership can now be specified + by an attribute. + - [PYSIDE-1995] Exceptions are now propagated through return value ownership + modifications. + - [PYSIDE-2017] The modified pyi return types of functions are now used + for signatures. Signatures also no longer contain + removed arguments. + - [PYSIDE-2025] Documentation injection for added functions with + parameter names has been fixed. + - [PYSIDE-2040] The full path of libdir is now used in the pkg-config file. + - [PYSIDE-2046] A crash caused by invalid return types of added + functions has been fixed. diff --git a/doc/changelogs/changes-6.4.0.1 b/doc/changelogs/changes-6.4.0.1 new file mode 100644 index 000000000..890c174fd --- /dev/null +++ b/doc/changelogs/changes-6.4.0.1 @@ -0,0 +1,35 @@ +Qt for Python 6.4.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-1106] Fix modules being omitted from the documentation + - [PYSIDE-1612] wheels: Add pyside6-qtpy2cpp entry point + - [PYSIDE-1912] Deploy Tool : refactoring + - [PYSIDE-1957] Include Qt5Compat.GraphicalEffects QML files + - [PYSIDE-2063] PyEnum: Drop the Embedding of the Enum Module + - [PYSIDE-2081] Fix type annotations for static functions of QInputDialog + - [PYSIDE-2084] Fix build with OpenGLES + - [PYSIDE-2085] Remove mentions to Python 3.6 + - [PYSIDE-2086] Make wheels compatible with Python 3.11 + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-2088] Add a way of specifying types for casting enum values + - [PYSIDE-2088] libshiboken: Fix enum value overflow diff --git a/doc/changelogs/changes-6.4.1 b/doc/changelogs/changes-6.4.1 new file mode 100644 index 000000000..35cb83a1f --- /dev/null +++ b/doc/changelogs/changes-6.4.1 @@ -0,0 +1,78 @@ +Qt for Python 6.4.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 context manager for QOpenGLVertexArrayObject.Binder has been added. + + - [PYSIDE-1970] The long missing support for __slots__ was finally added. + - [PYSIDE-841] networkx graph viewer, charts lightMarker and selection + examples have been added. + - [PYSIDE-1106] Documentation builds have been fixed to work with + system-installed versions of Qt 6. + - [PYSIDE-1603] A bug when passing wrong keyword args to signals has been + fixed. + - [PYSIDE-1612] The missing entry point for pyside6-qtpy2cpp has been + added. + - [PYSIDE-1713] A `signatures` attribute has been added to the Signal type in + order to increase compatibility with other implementations. + - [PYSIDE-1735] Developer documentation about enum features has been added. + - [PYSIDE-1735] Some enums have been changed to be IntEnum-based. + - [PYSIDE-1844] Build system: It is no longer required to have Qt in PATH + (tough recommended). + - [PYSIDE-1957] The missing Qt5Compat.GraphicalEffects has been added + to the wheel. + - [PYSIDE-2074] Build system: Overriding of PYTHON_SITE_PACKAGES + has been enabled. + - [PYSIDE-2081] Type annotations for the static functions of QInputDialog + have been fixed. + - [PYSIDE-2084] The build with OpenGLES has been fixed. + - [PYSIDE-2087] It is now possible to build QtUiTools without Qt Designer. + - [PYSIDE-2089] Crashes when not implementing abstract methods have been + fixed. + - [PYSIDE-2091] Build system: The check for FORCE_LIMITED_API has been fixed. + - [PYSIDE-2091] Build system: The minimum required CMake version has + been bumped to CMake 3.18+ (matching Qt). + - [PYSIDE-2095] A bug when using signals with new enums on Python 3.11 + has been fixed. + - [PYSIDE-2101] Python 3.10 and higher are not compatible to the __signature__ + attribute. This has been fixed by a temporary patch + until the final removal of that attribute. + - [PYSIDE-2106] A bug resulting in duplication of values in QML properties + of type QVariantList has been fixed. + - [PYSIDE-2121] A deadlock when using + QMetaObject.invokeMethod(BlockingQueuedConnection) + has been fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-2099] The option --lean-header to generate forward declarations + instead of includes into the module header has been added. + This considerably reduces the dependencies but may require + additional includes to be specified for injected code. + - [PYSIDE-1106] The documentation of signals (including private signals) + has been fixed. + - [PYSIDE-1106] Documentation now uses py:method directives with markup + for abstract methods. + - [PYSIDE-1844] Build system: On Windows, shiboken is now executed by a + wrapper providing the appropriate PATH containing Qt and + libclang, removing the need to set the PATH. + - [PYSIDE-2088] A way of specifying types for casting enum values has been + added, fixing an overflow occurring for + TextOption.IncludeTrailingSpaces. diff --git a/doc/changelogs/changes-6.4.2 b/doc/changelogs/changes-6.4.2 new file mode 100644 index 000000000..475e1283b --- /dev/null +++ b/doc/changelogs/changes-6.4.2 @@ -0,0 +1,47 @@ +Qt for Python 6.4.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-769] asyncio versions of the async examples have been added. + - [PYSIDE-1019] A callback error when using true_property has been fixed. + - [PYSIDE-1106] Documentation: The automatic code snippet conversion + has been improved. + - [PYSIDE-1889] __feature__: A weird case of false metafunction lookup + has been fixed. + - [PYSIDE-2029] __feature__ switching now works even with recursive + imports like in the qasync module. It also has been + optimized and simplified in preparation for eventual + PyPy support. + - [PYSIDE-2042] true_property was fixed to work with inherited properties + as well. + - [PYSIDE-2128] An issue affecting CMake-only builds has been fixed. + - [PYSIDE-2133] The float type overload of QLocale.toCurrencyString() + has been fixed. + - [PYSIDE-2136] Errors when calling deprecated functions with + warning-as-error set have been fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-74] A warning about nonreachable code in generated rich + comparison code has been fixed. + - [PYSIDE-1012] Missing g++ includes for g++ 11.3 have been added. + - [PYSIDE-1019] Parse the notify specification from Q_PROPERTY + - [PYSIDE-1019] Documentation: QObject properties are now documented + similar to the C++ documentation. diff --git a/doc/changelogs/changes-6.4.3 b/doc/changelogs/changes-6.4.3 new file mode 100644 index 000000000..426325b26 --- /dev/null +++ b/doc/changelogs/changes-6.4.3 @@ -0,0 +1,53 @@ +Qt for Python 6.4.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 * +**************************************************************************** + + - A requirements file for documentation builds (requirements-doc.txt) has + been added. + - A workaround has been implemented for Qt version conflicts when installing + PySide6 in an Anaconda environment. + - [PYSIDE-0079] signals: An old refcounting error has been fixed which was + introduced by the PYSIDE-68 fix. + - [PYSIDE-1014] Sorting overriding QStandardItem::operator<() has been + enabled. + - [PYSIDE-1402] QtCore.Property: An old refcounting error has been fixed. + - [PYSIDE-1931] A hang in QSqlQueryModel.setQuery() (PostGres with SSH + tunnel) has been fixed. + - [PYSIDE-2168] QLocale.toString() has been fixed to handle negative values + correctly. + - [PYSIDE-2169] Fixed a leak in the Python enum "forgiveness mode". + - [PYSIDE-2189] feature switching: _mod_uses_pyside has been made safe + against binary modules. + - [PYSIDE-2197] Signals are now generated into pyi files as attributes. + - [PYSIDE-2199] The --binary option of pyside6-rcc has been fixed. + - [PYSIDE-2201] Crashes caused by temporary instances of signals have been + fixed by introducing a weak reference. + - [PYSIDE-2202] pyside6-metaobjectdump: Parse failures caused by call + operators in base class specifications have been fixed. + - [PYSIDE-2203] pyside6-metaobjectdump: Parse failures caused by + complex function decorators have been fixed. + - [PYSIDE-2204] The encoding of hte prefix path in the embedded + :/qt/etc/qt.conf resource has been fixed to be UTF-8. + - [PYSIDE-2222] An exit crash when loading Python custom widget + plugins by QUiLoader has been fixed. + - [PYSIDE-2229] Fixed an error when building commercial wheels from source. + - [PYSIDE-2237] Fields named "from" are now exposed as "from_" to avoid + using the reserved word (occurs in + "QtGui.QPageRanges.Range.from"). + - [PYSIDE-2239] Opaque containers now have correct __module__ names. + diff --git a/doc/changelogs/changes-6.5.0 b/doc/changelogs/changes-6.5.0 new file mode 100644 index 000000000..b92f1f2fc --- /dev/null +++ b/doc/changelogs/changes-6.5.0 @@ -0,0 +1,111 @@ +Qt for Python 6.5.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 * +**************************************************************************** + + - pyside6-project can now generate simple project templates. + - QtSerialBus has been added. + - Class QHashSeed has been added. + - [PYSIDE-510] The non-standard __signature__ attribute of functions and + classes has been removed in favor of get_signature(). + - [PYSIDE-1019] A callback error when using true_property has been fixed. + - [PYSIDE-1713] A `signatures` attribute has been added to the Signal type + in order to increase compatibility with other + implementations. + - [PYSIDE-2029] __feature__ switching now works even with recursive imports + like in the qasync module. In addition, a new efficient + optimization has been implemented for __feature__ switching. + Initial work towards PyPy support for __feature__ switching + has been done. + - [PYSIDE-2101] Python 3.10 and up have an incompatibility to the + __signature__ attribute. This is fixed by a temporary patch + until the final removal of that attribute. + - [PYSIDE-753] The shared pointer types of Qt 3D have been added. + - [PYSIDE-769] asyncio versions of the async examples + have been added. + - [PYSIDE-841] Examples networkx graph viewer, can bus, modbus client, + charts lightMarker and selection, charts selected point + configuration, graphgallery, qmlsurfacegallery, + map view (QtLocation) and and Qt Quick custom geometry + have been added. + - [PYSIDE-971] QOpenGLContext.getProcAddress() has been added. + - [PYSIDE-1019] libpyside: The function `getMetaDataFromQObject` + has been removed. + - [PYSIDE-1106] The documentation code snippet conversion has been + improved. + - [PYSIDE-1295] QObject::sender() has been implemented for non-C++ slots. + - [PYSIDE-1345] QSGGeometry.vertexDataAsPoint2D()/setVertexDataAsPoint2D() + has been added. + - [PYSIDE-1564] Cooperative multiple inheritance is now implemented for all + __init__ methods. + - [PYSIDE-1603] Signals are now listed in the typing hints. + - [PYSIDE-1612] Initial support for Android Deployment has been added. + - [PYSIDE-1713] Compatibility of Qt signals has been improved + by providing a signatures attribute. + - [PYSIDE-1735] Documentation: enum types are now indicated. + - [PYSIDE-2079] setuptools are now used instead of distutils. + - [PYSIDE-2098] dicts can now be passed as QVariantMap to QML. + - [PYSIDE-2136] An error calling deprecated functions with + warning-as-error set has been fixed. + - [PYSIDE-2141] A crash when deleting QObject instances with connections + in threads has been fixed. + - [PYSIDE-2155] CMake UNITY_BUILD (jumbo) builds are now supported, speeding + up building. Pass --unity to setup.py. + - [PYSIDE-2160] The formatting of delayed errors in Python 3.11 + has been improved. + - [PYSIDE-2221] First changes for NoGIL support have been added. + - [PYSIDE-2206] Some examples have been updated. + - [PYSIDE-2230] First changes for Python 3.12 have been added. + - [PYSIDE-2234] QRunnable.create() has been added. + - [PYSIDE-2236] QMetaMethod.fromSignal() has been added. + - [PYSIDE-2247] Examples are not included in the wheels any more and the + setup.py option --no-example was removed. Examples can now + be downloaded as .zip files from the documentation. + - [PYSIDE-2251] Qt Designer Python plugins now work with non- + activated virtual environments. + - [PYSIDE-2259] QtTextToSpeech has been added. + - [PYSIDE-2252] QAbstractTextDocumentLayout::PaintContext has been added. + - [PYSIDE-2169] A leak in Enum forgiveness mode has been fixed. + - [PYSIDE-2260] A QML deployment issue with Nuitka has been fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - shiboken6 now generates new calls to the new functions PyObject_Vectorcall() + or PyObject_CallNoArgs() for overridden virtual methods for newer Python + versions (not for Limited API). + - shiboken6 can now generate exclusions for classes based on preprocessor + conditions, for example by the Qt configure system. + - [PYSIDE-454] It is now possible to specify names and namespaces for smart + pointer instantiations. + - [PYSIDE-1019] Documentation for Qt properties is now generated. + - [PYSIDE-1106] Documentation for Qt signals is now generated. + - [PYSIDE-1106] shiboken6/Documentation: Use the py:method directives + - [PYSIDE-2088] An overflow of 64bit enumerations has been fixed. + - [PYSIDE-2099] An option --lean-header to generate forward declarations + instead of includes into the module header has been added. + This considerably reduces the dependencies but may require + additional includes to be specified for injected code. + - [PYSIDE-2133] The sorting of overloads for integer/float types has been + improved to avoid overflows. + - [PYSIDE-2256] The code generator no longer generates goto's. + - [PYSIDE-2174] A typesystem XML element for opaque containers has been + added, removing the need repeat the container element. + - [PYSIDE-2174] Support for std::array (C++ 11) and std::span has been added. + - [PYSIDE-2255] Overriding abstract private virtual methods is now possible. + - [PYSIDE-2264] A PyPy problem with version 7.3.10 and up was fixed. diff --git a/doc/changelogs/changes-6.5.1 b/doc/changelogs/changes-6.5.1 new file mode 100644 index 000000000..cffe65dea --- /dev/null +++ b/doc/changelogs/changes-6.5.1 @@ -0,0 +1,63 @@ +Qt for Python 6.5.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 * +**************************************************************************** + + - pyside6-qmlcachegen has been added. + - The qmllint target of pyside6-project has been fixed to work on Windows. + - [PYSIDE-1106] The example documentation has been improved. + - [PYSIDE-2206] Many examples and tutorials have been revamped. + - [PYSIDE-2278] Type hints: Checks for None with pyright have been fixed. + - [PYSIDE-2283] Qt platform dependencies have been linked to the + documentation. + - [PYSIDE-2284] Type hints: The missing NoneType import has been added. + - [PYSIDE-2285] Type hints for return values modified to Tuple[] have + been added. + - [PYSIDE-2289] opengl32sw.dll is now again shipped. + - [PYSIDE-2293] The deployment tool has been fixed to keep structure of QML + files. + - [PYSIDE-2294] A regression bug in handling multiple inheritance has been + fixed. + - [PYSIDE-2298] QTimeZone::Initialization has been added. + - [PYSIDE-2299] A leak connecting signals to anonymous functions has been + fixed. + - [PYSIDE-2300] QSqlQueryModel::query() has been re-added. + - [PYSIDE-2302] A bug blocking the UI when loading images from a thread has + been fixed. + - [PYSIDE-2310] The delayed reporting of exceptions in reimplemented + - [PYSIDE-2321] virtual functions introduced in 6.4.3 has been reverted + to the original state. + - [PYSIDE-2318] Type hints: Signatures for QDBusAbstractInterfaceBase + functions have been fixed. + - [PYSIDE-2325] Missing OpenGL type system files have been added. + - [PYSIDE-2328] A crash when connecting to temporary signal sources + has been fixed. + - [PYSIDE-2329] Signals with parameters can now be connected by passing + keyword arguments to constructor. + - [PYSIDE-2334] Some missing libraries (QtPdfQuick/QtQuickEffects) + have been added. + - [QTBUG-112708] Building with QT_FEATURE_opengles2 has been fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-2313] numpy support has been extended to handle short/long long + integer types. + - [PYSIDE-1106] The sample binding example documentation has been improved. + - [PYSIDE-2288] Clang 16 is now supported. + - [PYSIDE-2316] Smart pointer signatures are now correctly registered. diff --git a/doc/changelogs/changes-6.5.2 b/doc/changelogs/changes-6.5.2 new file mode 100644 index 000000000..2da156069 --- /dev/null +++ b/doc/changelogs/changes-6.5.2 @@ -0,0 +1,48 @@ +Qt for Python 6.5.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-2184] .pyi files are now installed by CMake. + - [PYSIDE-2206] The QtStateMachine moveblocks example has been added. + - [PYSIDE-2206] The QtLocation mapviewer example has been revamped. + - [PYSIDE-2331] Type hints of several functions taking a str have been fixed. + - [PYSIDE-2339] Enumeration types are now kept when passed through the + QVariant APIs of QAbstractItemModel, and a conversion + to int takes place when required (Qt.CheckState and similar). + - [PYSIDE-2340] A crash when using QScxmlStateMachine::connectToEvent() + has been fixed. + - [PYSIDE-2347] Output of QObject slots has been added to the + metaobjectdump.py tool as an input of qmllint. + - [PYSIDE-2364] The type hint for QQmlExpression.evaluate() has been fixed. + - [PYSIDE-2299] A memory leak connecting free methods/lambdas has been + - [PYSIDE-2371] Fixed regression related to memory leak when connecting + signal to local function. + - [PYSIDE-2381] Fixed issue qith QSetting list of strings and value() + - [PYSIDE-2384] Fixed QWizardPage.registerField signature + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1735] The detection of signedness for enums with typedefs + as underlying types has been fixed. + - [PYSIDE-2335] The raising of unraisable exceptions from virtual methods + overwritten in Python has been implemented. + They are now handled by a handler on the stack if possible + or otherwise printed. + - [PYSIDE-1669] Fixed option --no-implicit-conversions diff --git a/doc/changelogs/changes-6.5.3 b/doc/changelogs/changes-6.5.3 new file mode 100644 index 000000000..20ce49dc7 --- /dev/null +++ b/doc/changelogs/changes-6.5.3 @@ -0,0 +1,65 @@ +Qt for Python 6.5.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-1884] The __doc__ attribute is now used for signatures when + provided. + - [PYSIDE-2235] Type hints: setParent() now accepts an Optional object. + - [PYSIDE-2272] The signatures of the qmlRegister() functions have been + fixed. + - [PYSIDE-2387] The signature of qVersion() has been fixed. + - [PYSIDE-2394] A deprecation warning for QSqlQueryModel.setQuery(QSqlQuery) + has been removed. + - [PYSIDE-2395] The signatures for QClipboard.setPixmap() and + QClipboard.setImage() have been fixed. + - [PYSIDE-2402] The modules QtDBus and QtHttpServer have been enabled + on Windows. + - [PYSIDE-2411] The documentation for QPainter.drawText() has been fixed. + - [PYSIDE-2412] A bug removing rows in the Tetrix example has been fixed. + - [PYSIDE-2415] Support for QQmlComponent in Property has been added. + - [PYSIDE-2417] Overflows when passing int to functions taking floats + have been fixed. + - [PYSIDE-2418] Connections to base class slots incorrectly falling back to + the global receiver have been fixed. + - [PYSIDE-2425] Theme switching of the chart theme example has been fixed. + - [PYSIDE-2368] The signature of PySide6.QtCore.Signal has been fixed. + - [PYSIDE-2393] A recursion occurring with pytest-forked has been fixed. + - [PYSIDE-2419] QLocale::system() on macOS has been fixed. + - [PYSIDE-2422] A crash occurring when passing None to + QGridLayout.removeItem() has been turned into a warning. + - [PYSIDE-2433] Crashes related to enums in QML singletons have been fixed. + - [PYSIDE-2444] Incorrect signatures in class QState have been fixed. + - [PYSIDE-2454] Default parameters for containers without indirections + have been fixed. + - [PYSIDE-2461] Build system: The "modules" is now correctly resolved + relative to archdata. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - The generator progress messages have been changed to avoid losing warnings + with ninja. + - [PYSIDE-2174] The include of <span> is no longer generated when using + C++ 17. + - [PYSIDE-2394] It is now possible to override a C++ deprecation attribute. + - [PYSIDE-2411] Modified return types of void functions are now properly + documented. + - [PYSIDE-2446] It is now possible to use remove-modifications for numerical + operators. + - [PYSIDE-2465] A test failure occurring with Python 3.11.5 has been fixed. diff --git a/doc/changelogs/changes-6.6.0 b/doc/changelogs/changes-6.6.0 new file mode 100644 index 000000000..62486661e --- /dev/null +++ b/doc/changelogs/changes-6.6.0 @@ -0,0 +1,88 @@ +Qt for Python 6.6.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 * +**************************************************************************** + + - The module QtGraphs has been added. + - [PYSIDE-769] A custom asyncio event loop based on Qt has been implemented. + - [PYSIDE-1106] Documentation: The translation of code snippets from C++ to + Python has been improved. + - [PYSIDE-1106] Documentation: The example gallery has been improved. + - [PYSIDE-1106] Documentation: Markdown is now also supported for + example documentation. + - [PYSIDE-1612] Android: Unity build is now enabled by default. + Qt Permissions API has been added for Android. + Auto download of Android NDK and SDK now possible with Android + wheel cross-compilation tool. + Full support for Qt modules now available on Android. + .js files are now supported when QML/Quick application + deployed to Android. + - [PYSIDE-1735] The old enumerations have been removed. + - [PYSIDE-1884] The __doc__ attribute is now used for signatures when + provided. + - [PYSIDE-2206] Example improvements: removed macpasteboardmime, tabbed + browser and old statemachine examples; + updated camera, chart theme, DOM bookmarks, Bluetooth + heartrate game, Bluetooth lowenergyscanner, markdowneditor, + mapviewer, mdi, QML reference examples, quicknanobrowser + and scriptableapplication; + added document viewer, filesystemexplorer, + simplebrowser, statemachine moveblocks, screencapture, + Qt Graphs widgetgallery and widgetsnanobrowser. + - [PYSIDE-2226] QLocale.toLong() has been fixed to properly return + a tuple (int, bool) rather than only int. + - [PYSIDE-2235] Type hints: QObject.setParent() now accepts an Optional + object. + - [PYSIDE-2272] Type hints: The signatures of the qmlRegister() functions + have been fixed. + - [PYSIDE-2384] QWizardPage::registerField() taking a Signal instance + has been added. + - [PYSIDE-2394] A deprecation warning about + QSqlQueryModel::setQuery(const QSqlQuery &) originating + from Qt / C++ has been removed. + - [PYSIDE-2395] The signatures of QClipboard.setPixmap() and setImage() + have been fixed. + - [PYSIDE-2402] Modules QtDBus and QtHttpServer have been enabled on Windows. + - [PYSIDE-2415] QQmlComponent is now supported as a Property. + - [PYSIDE-2417] Overflows when passing int to functions taking floats + have been fixed. + - [PYSIDE-2442] QDataStream.writeRawData() now also takes bytes. + - [PYSIDE-2471] The pyside6-project now also recognizes .pyw files as + Python files on Windows. + - [PYSIDE-2473] Feature switching has been fixed to work with + unittest.mock.patch.dict. + + *************************************************************************** +* Shiboken6 * +**************************************************************************** + + - Typesystem syntax: The attributes "allow-thread", "exception-handling" + and "snake-case" can now be specified on <declare-function> and + <function>. +- The cast operators of libshiboken's class AutoDecRef have been + deprecated and the class is now movable. + - [PYSIDE-1790] Experimental support for rvalue references has been added. + - [PYSIDE-2230] Initial support for Python 3.12 has been added. + - [PYSIDE-2316] Correctly register smartpointer signatures + - [PYSIDE-2394] It is now possible to override a C++ deprecation attribute + in the typesystem. + - [PYSIDE-2446] More special functions of the number protocol have been + added, for example __int__, __float__ using operator int(), + operator double() as well as and __abs__ and __pow__. + - [PYSIDE-2462] The __repr__ function of smart pointers has been improved + to show information on the pointee. Similarly, the dir() + of smart pointers now includes the entries of the pointee. diff --git a/doc/changelogs/changes-6.6.1 b/doc/changelogs/changes-6.6.1 new file mode 100644 index 000000000..64058de7a --- /dev/null +++ b/doc/changelogs/changes-6.6.1 @@ -0,0 +1,53 @@ +Qt for Python 6.6.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 * +**************************************************************************** + + - PySide6 examples are now also available as a separate wheel + (PySide6_Examples). + - [PYSIDE-748] An optional parameter "tag" has been added to @Slot, allowing + to set QMetaMethod.tag(). + - [PYSIDE-769] QtAsyncio: Support for ThreadPoolExecutor has been added. + - [PYSIDE-841] QtQuick3D procedural texture and QRhi window examples have + been added. + - [PYSIDE-2230] Support for Python 3.12 has been added. + - [PYSIDE-2367] Threading deadlocks of QObject::(dis)connect() with + (dis)connectNotify() have been fixed. + - [PYSIDE-2485] A QLocale-related crash on macOS has been fixed. + - [PYSIDE-2487] Error messages around signal/slot connections have been improved. + - [PYSIDE-2494] The install location of QtAsyncio for CMake builds has been fixed. + - [PYSIDE-2500] QMetaMethod.invoke() has been added. The invocation functions + of QMetaObject now accept up to 10 arguments. + - [PYSIDE-2509] The signature of SignalInstance.connect() has been fixed. + - [PYSIDE-2510] An error is now set when instantiating a Signal on a non-QObject. + - [PYSIDE-2514] The type hints of QAbstractItemView.setModel()/QGraphicsView.setScene() + now accept None. + - [QTBUG-113331] QRhi and related classes have been added. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1958] Cross building support: Additional debug statements regarding + include parsing (depending on verboseness) have been added. + shiboken can now also process Qt headers inside system include + directories. Extra generator flags can now be passed via a CMake + variable. + - [PYSIDE-2505] The error handling in API extractor command line arguments parsing + has been improved. + - [PYSIDE-2506] Generated code doing multiple inheritance offset calculation + has been streamlined. diff --git a/doc/changelogs/changes-6.6.2 b/doc/changelogs/changes-6.6.2 new file mode 100644 index 000000000..41ee1f164 --- /dev/null +++ b/doc/changelogs/changes-6.6.2 @@ -0,0 +1,66 @@ +Qt for Python 6.6.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-535] PyPySide has been updated to Python 3.10 + - [PYSIDE-769] QtAsyncio: call_soon_threadsafe() and QtAsyncio.run() (with + [PYSIDE-1112] keep_running and quit_qapp arguments) have been implemented. + [PYSIDE-2561] A bug with Python 3.12 has been fixed. Documentation has + [PYSIDE-2575] been added. Keyboard interrupts are now caught. Cancelling + waiting tasks has been fixed. Tasks are now awaitable. + - [PYSIDE-1106] Documentation: The generation process has been optimized + and warnings have been reduced. + - [PYSIDE-1586] Qt Charts: class QColorAxis has been added. + - [PYSIDE-1612] Android Deployment: The QtQuick dependency is now added + when present. + - [PYSIDE-1612] Deployment problems when using pyenv have been fixed. + - [PYSIDE-1612] Nuitka has been upgraded to 1.8.0 + - [PYSIDE-1612] Deployment: An icon for the application has been added. + - [PYSIDE-1612] A separate requirements.txt for Android deployment has been + added. + - [PYSIDE-1612] Android Deployment: `buildozer` is now installed with the + --init cli argument + - [PYSIDE-1931] Further hangs in QSql(Relational)TableModel.select() (PostGres + with SSH tunnel) have been fixed. + - [PYSIDE-2206] Examples quick3d/proceduraltexture, sql/books have been + updated. The contactslist has been added. Examples supported + on Android are tagged as `Android`. + - [PYSIDE-2439] FindPython is now used instead of the deprecated + FindPythonInterp and FindPythonLibs CMake modules. + - [PYSIDE-2539] Documentation: The enum name is now generated for flags. + - [PYSIDE-2544] A crash accessing QDBusVariant.variant() has been fixed. + - [PYSIDE-2547] A hang in QDBusConnection.connect() has been fixed. + - [PYSIDE-2558] Documentation: the differences between commercial and lts + releases have been clarified. + - [PYSIDE-2568] A crash of pyside6-designer with pyenv on Unix has been + fixed. + - [PYSIDE-2574] Documentation: A favicon for browser tabs has been added. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-1106] Documentation: An option to disable the inheritance diagram + has been added. + - [PYSIDE-1735] An error in the generated code when all enum values are + deprecated has been fixed. + - [PYSIDE-2404] pyi file generation can now be disabled for debugging. + - [PYSIDE-2530] yocto cross builds have been fixed to find + shiboken_wrapper.sh. + - [PYSIDE-2577] Documentation/doxygen: A bug querying const functions + has been fixed. diff --git a/doc/changelogs/changes-6.6.3 b/doc/changelogs/changes-6.6.3 new file mode 100644 index 000000000..88756492f --- /dev/null +++ b/doc/changelogs/changes-6.6.3 @@ -0,0 +1,60 @@ +Qt for Python 6.6.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 * +**************************************************************************** + + - pyside6-project now also builds translation (.qm) files. + - [PYSIDE-769] QtAsyncio: Fix a missing attribute error on Windows. Fix + - [PYSIDE-2641] QtAsyncio.run() not returning the result of a coroutine. It + is now possible to disable the signal handler for SIGINT by + passing a parameter to run(). The loop policy is reset after + run() finishes. + - [PYSIDE-1112] Documentation: The list of tools has been updated. + - [PYSIDE-1112] Documentation: A page on the pyside6-project tool + has been added. + - [PYSIDE-1955] Type hints: Add support for classmethods + - [PYSIDE-2206] An exit crash of the audiooutput example has been fixed. + - [PYSIDE-2263] Type hints: Support for class attributes has been added. + - [PYSIDE-2468] Documentation on the PySide6 Permission API has been added. + - [PYSIDE-2590] Some fixes have been made be able to cope with namespaced Qt + builds. + - [PYSIDE-2599] The conversion of QVariant<->QMatrix<n>x<m> has been fixed. + - [PYSIDE-2603] Documentation: A broken link to the widget styling tutorial + has been fixed. + - [PYSIDE-2610] Inheritance from QAbstractTextureImage/ + QTextureImageDataGenerator has been fixed. + - [PYSIDE-2612] Plain CMake builds with Limited API on Windows have been + fixed. + - [PYSIDE-2613] Connecting to signals with QFlags<> arguments has been fixed. + - [PYSIDE-2627] A regression breaking calling Signal.connect() with + QObject-derived callables has been fixed. + - [PYSIDE-2628] A crash using struct.unpack() on a QByteArray with + Limited API has been fixed. + - [PYSIDE-2638] A crash when adding None to a QLayout has been fixed. + - [PYSIDE-2639] macOS: A segmentation fault in QLocale.system() has been + fixed. + - [PYSIDE-2640] pyside6-qml now uses a QQuickView when the rootobject is a + QQuickItem. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-2505] Command line option parsing has been improved to skip empty + tokens when in include paths. + - [PYSIDE-2619] An ODR violation in shibobken code has been fixed, enabling + LTO. diff --git a/doc/changelogs/changes-6.7.0 b/doc/changelogs/changes-6.7.0 new file mode 100644 index 000000000..cf5157166 --- /dev/null +++ b/doc/changelogs/changes-6.7.0 @@ -0,0 +1,127 @@ +Qt for Python 6.7.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 * +**************************************************************************** + + - setup.py now uses CMake Unity Build Mode by default. + - The namespace QAudio has been renamed to QtAudio in Qt 6.7. An alias + has been created, but it may not work in all cases. + - pyside6-project now has an lupdate mode updating translation files (.ts) + from the sources. + - Python code has been updated to be free of flake8 warnings using + a custom configuration. + - For deployment, the supported version of Nuitka has been raised to 2.1.0. + - singleShot timers with a timeout of 0 now call the C++ function (which + directly calls QMetaObject::invokeMethod) instead of manually creating and + starting a timer object, slightly improving performance. + - [PYSIDE-769] QtAsyncio: Fix a missing attribute error on Windows. Fix + - [PYSIDE-2641] QtAsyncio.run() not returning the result of a coroutine. It + is now possible to disable the signal handler for SIGINT by + passing a parameter to run(). The loop policy is reset after + run() finishes. + - [PYSIDE-838] Functions qCompress/qUncompress() taking a PyBuffer/len + arguments have been fixed. + - [PYSIDE-1106] Documentation: Decorators, global functions and enumerations + are now documented add indexed from the module page. The class + documentation now uses more sphinx domain directives. + Pages for all tools have been added. The order of the examples + list has been changed to show relevant examples first. + - [PYSIDE-1275] QObject.disconnect() now returns False with a warning instead + of raising an exception for non-fatal cases. + - [PYSIDE-1612] Deployment: Issues when using pyenv have been fixed. The + finding of dependent modules has been improved. On Windows, + this now requires the dumpbin tool, which is added to the path + by calling the vcvarsall.bat script of Microsoft Visual + Studio. + - [PYSIDE-1612] Android Deployment: The NDK version in the tool has been + updated. Python has been updated to 3.11. CMake version 3.23 + is now required. The wheels are no longer built with + --limited-api. The generated pysidedeploy.spec has an explicit + group called `android` which stores the wheels and plugins. + - [PYSIDE-1906] Hash value calculation has been optimized. + - [PYSIDE-2206] The colorpaletteclient demo as well as the hellographs and + simplerhiwidget examples have been added. + - [PYSIDE-2215] Intersphinx support has been improved. + - [PYSIDE-2280] A type for os.PathLike type hints has been added. + - [PYSIDE-2404] Application startup time has been significantly decreased + by creating the types on demand. The importing of numpy + has also been deferred since it caused quite some delay. + - [PYSIDE-2432] A static create() function for decorated QML singletons + has been added. + - [PYSIDE-2484] The QML type registration code has been ported to use + RegisterTypeAndRevisions. + - [PYSIDE-2535] Obtaining DBUS properties from QDBusInterface has been fixed. + As a consequence though, it is no longer possible to derive a + Python class with signals/slots from QDBusInterface. + - [PYSIDE-2504] Documentation: Option 'build_rst_docs' has been deprecated in + favor of 'build_base_docs'. + - [PYSIDE-2524] It is now possible to connect signals to slots/lambdas with + more arguments provided they have default parameters. + - [PYSIDE-2524] The signal connection code has been optimized. + - [PYSIDE-2543] QtQuickTest has been added. + - [PYSIDE-2576] Documentation: The extendedexplorer tutorial has been improved. + - [PYSIDE-2590] Some fixes have been made be able to cope with namespaced Qt + builds. + - [PYSIDE-2610] The QTextureImageData methods returning an enumeration of + QOpenGLTexture have been added. + - [PYSIDE-2605] An error about the C++ object being deleted when calling + QWidget.style() in an embedded application has been fixed. + - [PYSIDE-2468] Deployment: Support for the Qt permission API has been added. + macOS bundle applications are now created. + - [PYSIDE-2597] Desktop Deployment: The the plugins included have been + optimized. + - [PYSIDE-2633] C++ typedefs of container instantiations are now + registered in Python under their name, making possible + to decorate slots with those names (for example, + "QRemoteObjectSourceLocation"). + - [PYSIDE-2639] Segmentation fault with QLocale.system() has been fixed. + - [PYSIDE-2652] A bug when passing values of unsigned long long type + exceeding the long long maximum value to float + parameters has been fixed. + - [PYSIDE-2663] A crash in QtWebEngine browsing https://outlook.com has been + fixed. + - [PYSIDE-2668] A bug when comparing QOperatingSystemVersion::OSType + has been fixed. + - [QTBUG-119785] The Filesystemexplorer-example has been updated. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-31] Shiboken.wrapInstance() now returns existing instances + (preserving ids). + - [PYSIDE-560] libshiboken/Limited API: No longer needed PyTypeObject slots + have been disabled in the PyTypeObject helper struct. + - [PYSIDE-1106] A typesystem attribute providing a hint to a documentation + file has been added to function/enum type entries + (for globals). + - [PYSIDE-1106] Documentation can now be injected from separate .rst files. + - [PYSIDE-1106] Documentation injected into classes with "append" will now + be appended to the class description instead of being written + at the end of the page. + - [PYSIDE-1106] Documentation: It is now possible to inject documentation + for parameters of added functions. + - [PYSIDE-2230] Python 3.12: Hidden Type Extensions according to PEP 697 + are now used instead of shadow dictionaries. + - [PYSIDE-2404] The generated type index constants are no longer in + uppercase. Uppercase is retained until deprecation in + PySide7. + - [PYSIDE-2447] A typesystem attribute to generate submodules has been added. + - [PYSIDE-2535] Generating the Qt meta object functions handling the PySide6 + signals can now be disabled by a typesystem attribute. This + is useful for classes using dynamic meta objects, for + example QDBusInterface. diff --git a/doc/changelogs/changes-6.7.1 b/doc/changelogs/changes-6.7.1 new file mode 100644 index 000000000..66263ed80 --- /dev/null +++ b/doc/changelogs/changes-6.7.1 @@ -0,0 +1,61 @@ +Qt for Python 6.7.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-487] A number of missing classes have been added. + - [PYSIDE-2629] Tooling: pyside6-qsb, pyside6-balsam and pyside6-balsamui + have been added. + - [PYSIDE-2644] QtAsyncio: An issue with tasks with loop not cancelling + has been fixed. + - [PYSIDE-2663] A crash when browsing https://outlook.com has been fixed. + - [PYSIDE-2665] A syntax error in the pyi-files has been fixed. + - [PYSIDE-2668] The comparison of QOperatingSystemVersion.OSType has been + fixed. + - [PYSIDE-2675] Lazy Load: An issue with polymorphic classes has been + fixed. + - [PYSIDE-2676] A crash with Python 3.12 when creating classes from + meta classes has been fixed. + - [PYSIDE-2685] An error in the pyi-files related to the import of + NoneType has been fixed. + - [PYSIDE-2686] Missing imports for types of return values + have been added to the pyi-files. + - [PYSIDE-2698] A crash when querying the size of QtQml.ListProperty + has been fixed and documentation for QtQml.ListProperty + has been added. + - [PYSIDE-2705] Warnings about failures of QObject.disconnect() can + now be suppressed. + - [PYSIDE-2709] A bug using legacy qmlRegisterType() for class hierarchies + has been fixed. + - [QTBUG-123997] Multimedia: The renaming of the namespace QAudio to + QtAudio has been undone following a revert in Qt. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-2590] An attribute for global inline namespace scopes has been + added. + - [PYSIDE-2602] Generate Python override code for added virtuals + - [PYSIDE-2602] Support for virtual functions with return type + modifications has been added and the function + QWebEnginePage.javaScriptPrompt() + has been fixed accordingly. + - [PYSIDE-2675] A code snippet placeholder for the base class for + polymorphic-id-expressions has been added, fixing + a potentially undefined behavior when using the + derived classes. diff --git a/doc/changelogs/changes-6.7.2 b/doc/changelogs/changes-6.7.2 new file mode 100644 index 000000000..44015f2c5 --- /dev/null +++ b/doc/changelogs/changes-6.7.2 @@ -0,0 +1,50 @@ +Qt for Python 6.7.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-1612] Android Deployment now used the development branch of p4a. + - [PYSIDE-2712] Type hints: Modified types are no longer considered + as eligible implicit conversions. + - [PYSIDE-2745] Exceptions occurring in a slot connected to a + 0-delay singleShot timer signal are no longer suppressed. + - [PYSIDE-2747] Running on Fedora 40 with Python 3.12.3-2 has been fixed. + - [PYSIDE-2748] Type hints: QTranslator.translate() has been fixed. + - [PYSIDE-2749] Lazy Load: A performance regression showing in Qt event + filters has been fixed. + - [PYSIDE-2750] Qt6VirtualKeyboardSettings have been added to the wheel. + - [PYSIDE-2756] Type hints: The return type of QItemSelection.__init__() + has been fixed. + - [PYSIDE-2758] QQuickWebEngineProfile.setUrlRequestInterceptor() + has been added. + - [PYSIDE-2759] The ownership of cache object passed to + QNetworkAccessManager.setCache() has been fixed. + - [PYSIDE-2762] Type hints: The return type of + QModelIndex.internalPointer() has been fixed. + - [PYSIDE-2767] Type hints: An error checking the property decorator + has been fixed. + - [PYSIDE-2768] Type hints: smart pointer signatures have been fixed. + +**************************************************************************** +* Shiboken6 * +**************************************************************************** + + - [PYSIDE-2764] The missing declaration of the deprecated variable + cppApiVariableNameOld has been added to the generated + headers. + - [PYSIDE-2769] Finding the clang include directories on + manylinux_2_28_x86_64 has been fixed. |