summaryrefslogtreecommitdiffstats
path: root/util/locale_database/localetools.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update commercial license headers to /util files"v5.15.3-lts-lgplTarja Sundqvist2021-03-261-11/+11
| | | | | | | | | | | This reverts commit d7f95124da230cafe26896e537e3a3a1af1fd9bb. Revert of commercial license headers is required for Qt 5.15.3 opensource release. Task-number: QTBUG-91108 Change-Id: Ifad15cc26055eed6c82e30b5b68bb33d070bae0e Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
* Update commercial license headers to /util filesTarja Sundqvist2021-01-281-11/+11
| | | | | | | | | | | | | | | Updated header.COMM to files in tqtc-qtbase/util. The commercial license header may contain some additional lines so that its line count equals with the ealier license header. Reason for this is that some autotests use hard coded line numbers and changing the line count would cause failures in tests. Task-number: QTQAINFRA-4154 Change-Id: I866f60822b935add3153671d17ac6efd0d999b47 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Add tools to localetools to facilitate source file recreationEdward Welbourne2020-04-021-0/+99
| | | | | | | | | | For now unused; later commits shall put them to use. Transcriber -- base, takes care of tempfile and renaming. SourceFileEditor -- handles copying parts before and after a common delimiter. Task-number: QTBUG-81344 Change-Id: I28cf977d0a08825fbb873fb330da6823b88ad3ed Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Move some shared code to a localetools moduleEdward Welbourne2020-04-021-0/+65
The time-zone script was importing two functions from the locale data generation script. Move them to a separate module, to which I'll shortly add some more shared utilities. Cleaned up some imports in the process. Combined qlocalexml2cpp's and xpathlit's error classes into a new Error class in the new module and made it a bit more like a proper python error class. Task-number: QTBUG-81344 Change-Id: Idbe0139ba9aaa2f823b8f7216dee1d2539c18b75 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>