head 1.2; access; symbols pkgsrc-2022Q4:1.1.0.2 pkgsrc-2022Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2023.03.16.07.37.11; author wiz; state dead; branches; next 1.1; commitid i7yAif67K0gNUjhE; 1.1 date 2022.12.03.21.59.48; author wiz; state Exp; branches; next ; commitid 3Q6Q964G4SZYZ94E; desc @@ 1.2 log @Sigil: update to 1.9.30. Sigil-1.9.30 Bug Fixes - fix Checkpointing to work with dulwich version 0.20.46+ - fix css value parsing when !important is used - EmbeddedPython fixes to work with Python 3.11 and later (thank you sharkcz) - leave cursor position unchanged if nothing found when search groups of files - make all Numeric items in Reports align right - add support for thousands separator to Reports - allow blank dc:language values to prevent crashing (as Sigil-1.9.10 did) - allow unknown language codes to pass through MetaEditor - MetaEditor under epub2, allow custom opf scheme values - prevent duplicate spaces when reformatting CSS in import, charset and namespace - better prevent random OPF attribute order changes to simplify Checkpoint diffs - fixed file menu Print Preview for xhtml and image tabs - prevent plugins from crashing Sigil by deleting last xhtml file in epub - fix issue where images/css could not be properly added in an epub3 with no css files New Features - allow user to edit Checkpoint descriptions for clarity via Checkpoint menu - add ability to show the Checkpoint Change Log via Checkpoint menu - update to Hunspell 1.7.2 (released in December 2022) for spellchecking - update to latest zlib-1.2.13 for latest security fixes - move completely away from ever using OS system tmp folder for storing Sigil wip files instead create a new "workspace" folder inside Sigil Preferences folder - added ability to Print Preview and Print contents of Sigil's Preview window @ text @$NetBSD: patch-src_EmbedPython_EmbeddedPython.cpp,v 1.1 2022/12/03 21:59:48 wiz Exp $ Fix build with Python 3.11. https://github.com/Sigil-Ebook/Sigil/issues/703 --- src/EmbedPython/EmbeddedPython.cpp.orig 2022-08-31 15:13:03.000000000 +0000 +++ src/EmbedPython/EmbeddedPython.cpp @@@@ -480,7 +480,7 @@@@ QVariant EmbeddedPython::PyObjectToQVari if (kind == PyUnicode_1BYTE_KIND) { // latin 1 according to PEP 393 - res = QVariant(QString::fromLatin1(reinterpret_castPyUnicode_1BYTE_DATA(po), -1)); + res = QVariant(QString::fromLatin1(reinterpret_cast(PyUnicode_1BYTE_DATA(po), -1))); } else if (kind == PyUnicode_2BYTE_KIND) { #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) @ 1.1 log @Sigil: fix build with Python 3.11 @ text @d1 1 a1 1 $NetBSD$ @