aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debug_renamer.py
Commit message (Collapse)AuthorAgeFilesLines
* Python-3.10: Allow the new syntax for Python 3.9Christian Tismer2024-06-201-0/+1
| | | | | | | | Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-05-271-27/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I065150015bdb84a3096b5b39c061cf0a20ab637d Reviewed-by: Friedemann Kleint <[email protected]> Reviewed-by: Cristian Maureira-Fredes <[email protected]>
* flake8: fix styling issues in tools/Cristián Maureira-Fredes2022-04-021-7/+7
| | | | | | Change-Id: I8cbf5d521900df4f55abf8f68997f8a71437f722 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
* tools: improve and modernize debug_renamer.pyChristian Tismer2021-10-041-34/+50
| | | | | | | | | | | | | | | | This tool needed an enhancement for usage in PyPy debugging and dump comparison. - added argparse and options to use files for input/output - added option "-r" for renaming action - added option "-f" for hiding time output More actions can easily be added, feel free to add one. Task-number: PYSIDE-535 Pick-to: 6.2 Change-Id: I747f3eb9aad8f8d358af6f4d850d9750a7cff8ef Reviewed-by: Friedemann Kleint <[email protected]>
* debugging: Improve debug_renamerChristian Tismer2021-09-291-0/+3
| | | | | | | | | When dealing with NULL variables, don't rename the variable which would prevent locating an error. Task-number: PYSIDE-535 Change-Id: I48ae4bfd8d13a572c0c51d5af56dae87a765ee26 Reviewed-by: Friedemann Kleint <[email protected]>
* PySide: write a renamer script for debugging, improvedChristian Tismer2021-02-011-20/+17
| | | | | | | | | | | | | | | | | | Debug output is hard to read if there are many objects with the same type but different address. This script builds simple names instead of addresses which are easy to track. See the info at the beginning of the script. The improved version is more universal since it only requires a "0x..." word followed by some name. There is no other fixed formatting. Task-number: PYSIDE-79 Task-number: PYSIDE-1478 Change-Id: Iae4abd447dc14a67fe7cc212c1de337c70499ac1 Pick-to: 6.0 Pick-to: 5.15 Reviewed-by: Friedemann Kleint <[email protected]>
* PySide: write a renamer script for debuggingChristian Tismer2021-01-111-0/+122
Debug output is hard to read if there are many objects with the same type but different address. This script builds simple names instead of addresses which are easy to track. See the info at the beginning of the script. Change-Id: I51e08276d8ffc6d7365ce8620957e64769d7fd8c Task-number: PYSIDE-79 Task-number: PYSIDE-1470 Pick-to: 6.0 Pick-to: 5.15 Reviewed-by: Cristian Maureira-Fredes <[email protected]>