summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqscriptengine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix infinite looping in TQTextEngine::shape()Alexander Golubev5 days1-3/+3
| | | | | | | | | | | | | | | | | | With certain characters a loop inside TQTextEngine::shape() could repeat forever because some script engines were requesting more memory because of a mistake. In particular this were observed with at least letters "ई" (U+0908, DEVANAGARI LETTER II) and "ༀ" (U+0F00, TIBETAN SYLLABLE OM). The problem was already solved in Qt somewhere between last Qt3 release and first Qt4. But due to no public VCS is available it's impossible to pinpoint an exact commit. This patch is heavily based on the Qt-4.3.5 code. Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tqt/issues/270 Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/tdeutils/issues/93 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Remove usage of TQ_INLINE_TEMPLATES define. inline' is redundant in function ↵Michele Calgaro2025-12-311-1/+1
| | | | | | template definitions, except for specific template specialization Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace TRUE/FALSE with boolean values true/false - part 8Michele Calgaro2025-12-081-37/+37
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Extend work on supporting surrogate characters done in commit e0a38072Michele Calgaro2025-02-091-5/+16
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add support for Unicode surrogate characters and planes above zero.Michele Calgaro2025-01-121-5/+3
| | | | | | | | | If the selected font supports the required characters, the text will be displayed correctly. If the selected font does not support such characters, empty boxes will be displayed in place of the expected text. Part of the code changes comes from Qt4 code. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename private q* headers into equivalent tq*Michele Calgaro2024-09-131-0/+1622
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>