aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/libshiboken
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/libshiboken')
-rw-r--r--sources/shiboken6/libshiboken/embed/embedding_generator.py2
-rw-r--r--sources/shiboken6/libshiboken/embed/signature_bootstrap.py2
-rw-r--r--sources/shiboken6/libshiboken/signature/signature.cpp2
-rw-r--r--sources/shiboken6/libshiboken/signature/signature_doc.rst20
-rw-r--r--sources/shiboken6/libshiboken/signature/signature_extend.cpp2
-rw-r--r--sources/shiboken6/libshiboken/signature/signature_helper.cpp4
6 files changed, 16 insertions, 16 deletions
diff --git a/sources/shiboken6/libshiboken/embed/embedding_generator.py b/sources/shiboken6/libshiboken/embed/embedding_generator.py
index 1dd17e755..39aab10e4 100644
--- a/sources/shiboken6/libshiboken/embed/embedding_generator.py
+++ b/sources/shiboken6/libshiboken/embed/embedding_generator.py
@@ -3,7 +3,7 @@
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
-## This file is part of PySide2.
+## This file is part of PySide6.
##
## $QT_BEGIN_LICENSE:LGPL$
## Commercial License Usage
diff --git a/sources/shiboken6/libshiboken/embed/signature_bootstrap.py b/sources/shiboken6/libshiboken/embed/signature_bootstrap.py
index 08928e915..d56e16a4d 100644
--- a/sources/shiboken6/libshiboken/embed/signature_bootstrap.py
+++ b/sources/shiboken6/libshiboken/embed/signature_bootstrap.py
@@ -3,7 +3,7 @@
## Copyright (C) 2019 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
-## This file is part of PySide2.
+## This file is part of PySide6.
##
## $QT_BEGIN_LICENSE:LGPL$
## Commercial License Usage
diff --git a/sources/shiboken6/libshiboken/signature/signature.cpp b/sources/shiboken6/libshiboken/signature/signature.cpp
index 05d3cad2d..5ebb83fbb 100644
--- a/sources/shiboken6/libshiboken/signature/signature.cpp
+++ b/sources/shiboken6/libshiboken/signature/signature.cpp
@@ -384,7 +384,7 @@ static int PySide_FinishSignatures(PyObject *module, const char *signatures[])
// was not yet run. But that is ok, because the first import is always for
// the shiboken module (or a test module).
if (pyside_globals->finish_import_func == nullptr) {
- assert(strncmp(name, "PySide2.", 8) != 0);
+ assert(strncmp(name, "PySide6.", 8) != 0);
return 0;
}
AutoDecRef ret(PyObject_CallFunction(
diff --git a/sources/shiboken6/libshiboken/signature/signature_doc.rst b/sources/shiboken6/libshiboken/signature/signature_doc.rst
index 95f0b8b08..872ed024a 100644
--- a/sources/shiboken6/libshiboken/signature/signature_doc.rst
+++ b/sources/shiboken6/libshiboken/signature/signature_doc.rst
@@ -81,7 +81,7 @@ The normal case are only a few accesses, and these are working pretty fast.
The key to make this signature module fast is to avoid computation as much as
possible. When no signature objects are used, then almost no time is lost in
initialization. Only the above mentioned strings and some support modules are
-additionally loaded on ``import PySide2``.
+additionally loaded on ``import PySide6``.
When it comes to signature usage, then late initialization is used and cached.
This technique is also known as *full laziness* in haskell.
@@ -98,7 +98,7 @@ There are actually two locations where late initialization occurs:
The initialization that is always done is just two dictionary writes
per class, and we have about 1000 classes.
To measure the additional overhead, we have simulated what happens
-when ``from PySide2 import *`` is performed.
+when ``from PySide6 import *`` is performed.
It turned out that the overhead is below 0.5 ms.
@@ -172,7 +172,7 @@ classes and functions. In order to centralize this enumeration, the process has
been factored out as a context manager. The user has only to supply functions
that do the actual formatting.
-See for example the .pyi generator ``pyside2/PySide2/support/generate_pyi.py``.
+See for example the .pyi generator ``pyside6/PySide6/support/generate_pyi.py``.
layout.py
@@ -221,7 +221,7 @@ future:
existence_test.py
-----------------
-The file ``pyside2/tests/registry/existence_test.py`` was written using the
+The file ``pyside6/tests/registry/existence_test.py`` was written using the
signatures from the signatures module. The idea is that there are some 15000
functions with a certain signature.
@@ -280,7 +280,7 @@ init_platform.py
~~~~~~~~~~~~~~~~
For generating the ``exists_{platf}_{version}`` modules, the module
-``pyside2/tests/registry/init_platform.py`` was written. It can be used
+``pyside6/tests/registry/init_platform.py`` was written. It can be used
standalone from the commandline, to check the compatibility of some
changes, directly.
@@ -289,7 +289,7 @@ scrape_testresults.py
---------------------
To simplify and automate the process of extracting the ``exists_{platf}_{version}_ci.py``
-files, the script ``pyside2/tests/registry/scrape_testresults.py`` has been written.
+files, the script ``pyside6/tests/registry/scrape_testresults.py`` has been written.
This script scans the whole testresults website for PySide, that is::
@@ -297,24 +297,24 @@ This script scans the whole testresults website for PySide, that is::
On the first scan, the script runs less than 30 minutes. After that, a cache
is generated and the scan works *much* faster. The test results are placed
-into the folder ``pyside2/tests/registry/testresults/embedded/`` with a
+into the folder ``pyside6/tests/registry/testresults/embedded/`` with a
unique name that allows for easy sorting. Example::
testresults/embedded/2018_09_10_10_40_34-test_1536891759-exists_linux_5_11_2_ci.py
These files are created only once. If they already exist, they are not touched, again.
-The file `pyside2/tests/registry/known_urls.json`` holds all scanned URLs after
+The file `pyside6/tests/registry/known_urls.json`` holds all scanned URLs after
a successful scan. The ``testresults/embedded`` folder can be kept for reference
or can be removed. Important is only the json file.
-The result of a scan is then directly placed into the ``pyside2/tests/registry/``
+The result of a scan is then directly placed into the ``pyside6/tests/registry/``
folder. It should be reviewed and then eventually checked in.
generate_pyi.py
---------------
-``pyside2/PySide2/support/generate_pyi.py`` is still under development.
+``pyside6/PySide6/support/generate_pyi.py`` is still under development.
This module generates so-called hinting stubs for integration of PySide
with diverse *Python IDEs*.
diff --git a/sources/shiboken6/libshiboken/signature/signature_extend.cpp b/sources/shiboken6/libshiboken/signature/signature_extend.cpp
index 1490a6003..6f9dbe265 100644
--- a/sources/shiboken6/libshiboken/signature/signature_extend.cpp
+++ b/sources/shiboken6/libshiboken/signature/signature_extend.cpp
@@ -162,7 +162,7 @@ static PyObject *handle_doc(PyObject *ob, PyObject *old_descr)
else
name = reinterpret_cast<PyTypeObject *>(ob_type_mod.object())->tp_name;
if (handle_doc_in_progress || name == nullptr
- || strncmp(name, "PySide2.", 8) != 0)
+ || strncmp(name, "PySide6.", 8) != 0)
return PyObject_CallMethodObjArgs(old_descr,
PyMagicName::get(),
ob, nullptr);
diff --git a/sources/shiboken6/libshiboken/signature/signature_helper.cpp b/sources/shiboken6/libshiboken/signature/signature_helper.cpp
index 2b360c786..f38740254 100644
--- a/sources/shiboken6/libshiboken/signature/signature_helper.cpp
+++ b/sources/shiboken6/libshiboken/signature/signature_helper.cpp
@@ -357,10 +357,10 @@ static int _build_func_to_type(PyObject *obtype)
* It is possible that a method is overwritten by another
* attribute with the same name. This case was obviously provoked
* explicitly in "testbinding.TestObject.staticMethodDouble",
- * where instead of the method a "PySide2.QtCore.Signal" object
+ * where instead of the method a "PySide6.QtCore.Signal" object
* was in the dict.
* This overlap is also found in regular PySide under
- * "PySide2.QtCore.QProcess.error" where again a signal object is
+ * "PySide6.QtCore.QProcess.error" where again a signal object is
* returned. These hidden methods will be opened for the
* signature module by adding them under the name
* "{name}.overload".