- Update to version 0.8.2:

* kde#388892: Formatting error when saving file ( switching " and 
    } )
  * kde#394659: Crash after compilation 
  * kde#396343: When saving the file, I am always warned that file 
    has changed in disk 
  * kde#396598: Bibliography system options contains duplicates 
  * kde#397027: ScienceDirect search broken 
  * kde#397604: Untranslated strings from bibtexfields.cpp and 
    bibtexentries.cpp 
  * kde#398136: KBibTeX crashes when editing element 
  * kde#401470: Don't remove leading whitespace in macros
  * Using official APIs for IEEE Xplore and ScienceDirect
  * Fixing resource leakage as identified by Coverity Scan:
    CID 287670, 287669
  * Fixing issues as identified by clazy
  * Migrating from HTTP to HTTPS protocol in various places
  * In encoder classes, migrating away from raw char and char* to Qt 
    classes
  * Various smaller fixes
- Removed now included kde398136.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kbibtex?expand=0&rev=46
This commit is contained in:
Cor Blom 2019-01-05 08:24:30 +00:00 committed by Git OBS Bridge
parent 34809f8b44
commit 9710d9b23d
5 changed files with 31 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6511a912925c628b7d175b0ef98ba98b1b8eb61e457d621ea0963d29b1fd21d2
size 4060484

3
kbibtex-0.8.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:081c61c4bb55cf3c88d59877684956df7a235fe80a40a37af92224cdf5d677d6
size 4065904

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sat Jan 5 08:19:43 UTC 2019 - Cor Blom <cornelis@solcon.nl>
- Update to version 0.8.2:
* kde#388892: Formatting error when saving file ( switching " and
} )
* kde#394659: Crash after compilation
* kde#396343: When saving the file, I am always warned that file
has changed in disk
* kde#396598: Bibliography system options contains duplicates
* kde#397027: ScienceDirect search broken
* kde#397604: Untranslated strings from bibtexfields.cpp and
bibtexentries.cpp
* kde#398136: KBibTeX crashes when editing element
* kde#401470: Don't remove leading whitespace in macros
* Using official APIs for IEEE Xplore and ScienceDirect
* Fixing resource leakage as identified by Coverity Scan:
CID 287670, 287669
* Fixing issues as identified by clazy
* Migrating from HTTP to HTTPS protocol in various places
* In encoder classes, migrating away from raw char and char* to Qt
classes
* Various smaller fixes
- Removed now included kde398136.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 18 16:45:13 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de> Sun Nov 18 16:45:13 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package kbibtex # spec file for package kbibtex
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,15 +19,13 @@
%bcond_without lang %bcond_without lang
Name: kbibtex Name: kbibtex
Version: 0.8.1 Version: 0.8.2
Release: 0 Release: 0
Summary: The BibTeX (Latex) bibliography manager by KDE Summary: The BibTeX (Latex) bibliography manager by KDE
License: GPL-2.0-only License: GPL-2.0-only
Group: Productivity/Publishing/TeX/Utilities Group: Productivity/Publishing/TeX/Utilities
URL: https://userbase.kde.org/KBibTeX/ URL: https://userbase.kde.org/KBibTeX/
Source: http://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz Source: http://download.kde.org/stable/KBibTeX/%{version}/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM: backported fix for kde#398136
Patch1: kde398136.patch
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kcompletion-devel BuildRequires: kcompletion-devel
BuildRequires: kcoreaddons-devel BuildRequires: kcoreaddons-devel
@ -83,7 +81,7 @@ This package contains the devel files for %{name}.
%lang_package %lang_package
%prep %prep
%autosetup -p1 -n %{name}-%{version} %autosetup -n %{name}-%{version}
%build %build
%cmake_kf5 -d build %cmake_kf5 -d build

View File

@ -1,18 +0,0 @@
diff -ur a/src/data/entry.cpp b/src/data/entry.cpp
--- a/src/data/entry.cpp 2018-06-21 22:00:30.000000000 +0200
+++ b/src/data/entry.cpp 2018-09-12 00:17:36.471388501 +0200
@@ -169,9 +169,11 @@
int Entry::remove(const QString &key)
{
const QString lcKey = key.toLower();
- for (Entry::ConstIterator it = constBegin(); it != constEnd(); ++it)
- if (it.key().toLower() == lcKey)
- return QMap<QString, Value>::remove(it.key());
+ for (Entry::Iterator it = begin(); it != end(); ++it)
+ if (it.key().toLower() == lcKey) {
+ QMap<QString, Value>::erase(it);
+ return 1;
+ }
return QMap<QString, Value>::remove(key);
}