kbibtex.git
2 years agoFixing crash when opening .bib file
Thomas Fischer [Fri, 30 Dec 2022 23:00:04 +0000 (00:00 +0100)]
Fixing crash when opening .bib file

In certain situations, also depending on Linux distributions (varying Qt
and KDE Frameworks versions), opening a bibliography file can cause
crashes (segmentation faults) due to an invalid model or its underlying
data.

This commit changes the order of two instructions. Now first an internal
variable is properly set. Only then an update on the model is applied.

The largest part of this commit is a new test that reproducibly crashes
without the changed order of two instructions, but passes after the fix
has been applied.

This commit is a forward-port of commit 4aea6ed35b1629b3dba65a44 from
branch 'kbibtex/0.10'.

CCBUG: 433084
CCBUG: 453455

Gbp-Pq: Name 0001-Fixing-crash-when-opening-.bib-file.patch

2 years agoFix crash with newer Qt versions
Albert Astals Cid [Thu, 8 Apr 2021 20:07:15 +0000 (22:07 +0200)]
Fix crash with newer Qt versions

Assign m_internalModel before calling into
QSortFilterProxyModel::setSourceModel since that can end up calling filterAcceptsRow

Gbp-Pq: Name 0001-Fix-crash-with-newer-Qt-versions.patch

2 years agokbibtex (0.9.90-1.1) unstable; urgency=medium
Adrian Bunk [Tue, 7 Feb 2023 16:22:51 +0000 (16:22 +0000)]
kbibtex (0.9.90-1.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Add upstream fixes for crashes with newer Qt versions.
    (Closes: #1018922)

[dgit import unpatched kbibtex 0.9.90-1.1]

2 years agoImport kbibtex_0.9.90-1.1.debian.tar.xz
Adrian Bunk [Tue, 7 Feb 2023 16:22:51 +0000 (16:22 +0000)]
Import kbibtex_0.9.90-1.1.debian.tar.xz

[dgit import tarball kbibtex 0.9.90-1.1 kbibtex_0.9.90-1.1.debian.tar.xz]

4 years agoImport kbibtex_0.9.90.orig.tar.xz
Pino Toscano [Tue, 12 Jan 2021 00:04:01 +0000 (00:04 +0000)]
Import kbibtex_0.9.90.orig.tar.xz

[dgit import orig kbibtex_0.9.90.orig.tar.xz]