[neon/backports-focal/libaqbanking/Neon/release] /: New upstream version 6.2.9
Micha Lenk
null at kde.org
Wed Mar 24 09:53:24 GMT 2021
Git commit 89fe917d797dc66f34b5ce9593f5ca31899d4183 by Micha Lenk.
Committed on 23/02/2021 at 10:56.
Pushed by jriddell into branch 'Neon/release'.
New upstream version 6.2.9
M +37 -28 ChangeLog
M +1 -1 Makefile.in
M +4 -7 README
M +16 -3 TODO
M +3 -3 aqbanking.iss
M +1 -1 aqbanking.spec
M +2 -2 configure
M +2 -2 configure.ac
M +5 -5 src/libs/aqbanking/banking.h
M +2 -0 src/libs/aqbanking/gui/abgui.c
M +4 -4 src/libs/aqbanking/version.h
M +8 -0 src/libs/plugins/backends/aqhbci/tan/tan_image.c
https://invent.kde.org/neon/backports-focal/libaqbanking/commit/89fe917d797dc66f34b5ce9593f5ca31899d4183
diff --git a/ChangeLog b/ChangeLog
index a3f48e4..bcd011a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,40 @@
+------------------------------------------------------------------
+2021-02-20 16:42:43 +0100 Martin Preuss
+AqHBCI: Remove trailing blanks in mimetype.
+
+------------------------------------------------------------------
+2021-02-20 00:05:02 +0100 Martin Preuss
+AqBanking: Dont warn about our own use of deprecated functions.
+AB_GUI uses some of those functions and will continue to do so, however
+their definition will go into banking_be.h and no longer be exported for
+AqBanking7. So those functions will stay inside AqBanking and still used
+internally but no longer exported.
+
+------------------------------------------------------------------
+2021-02-20 00:03:39 +0100 Martin Preuss
+AqBanking: Mark some internal functions as deprecated.
+Only one of these functions is still used by Gnucash (AB_Banking_LoadSharedConfig)
+to get the previously shared certificate cache,
+and even that call doesn't do anything anymore since AqBanking stores the
+certificates inside the user configuration for some time now (the shared
+certificate cache isn't used anymore).
+
+------------------------------------------------------------------
+2021-02-20 00:00:39 +0100 Martin Preuss
+Updated TODO.
+
+------------------------------------------------------------------
+2021-02-19 19:02:56 +0100 Martin Preuss
+Updated README.
+
+------------------------------------------------------------------
+2021-02-19 18:42:25 +0100 Martin Preuss
+Released 6.2.8
+
+------------------------------------------------------------------
+2021-02-19 18:42:05 +0100 Martin Preuss
+Prepared release 6.2.8.
+
------------------------------------------------------------------
2021-02-19 14:26:44 +0100 Martin Preuss
AqHBCI: Increased verbosity for failed decryption.
@@ -420,31 +457,3 @@ AqHBCI: Fixed a bug spotted by Anselm Martin Hoffmeister. Thanks!
------------------------------------------------------------------
2020-11-08 21:36:04 +0100 Martin Preuss
OFX importer: Fixed some bugs, improved importing of OFX brokerage data.
-
-------------------------------------------------------------------
-2020-11-08 21:34:17 +0100 Martin Preuss
-aqbanking: Added transfer type "brokerage".
-
-------------------------------------------------------------------
-2020-10-05 22:01:19 +0200 Martin Preuss
-Merge branch 'rel-6.2.5'
-
-------------------------------------------------------------------
-2020-10-05 21:33:08 +0200 Martin Preuss
-Prepared release 6.2.5.
-
-------------------------------------------------------------------
-2020-10-05 18:21:49 +0200 Martin Preuss
-AqHBCI: Fixed a minor bug. Improved log messages.
-
-------------------------------------------------------------------
-2020-10-03 22:30:12 +0200 Martin Preuss
-Merge branch 'rel-6.2.4'
-
-------------------------------------------------------------------
-2020-10-03 22:29:45 +0200 Martin Preuss
-Prepared release 6.2.4beta.
-
-------------------------------------------------------------------
-2020-10-03 19:58:00 +0200 Martin Preuss
-Build: Changed astyle parameter "max-continuation-indent".
diff --git a/Makefile.in b/Makefile.in
index 03dd727..fc52fb4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1086,8 +1086,8 @@ maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
- at IF_MAKE_I18N_FILES_FALSE@install-data-local:
@IF_MAKE_I18N_FILES_FALSE at uninstall-local:
+ at IF_MAKE_I18N_FILES_FALSE@install-data-local:
clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
diff --git a/README b/README
index 0db964e..3886a2c 100644
--- a/README
+++ b/README
@@ -81,10 +81,12 @@ Currently there are plugins for the following formats:
- OpenHBCI1 transactions
- ERI
- Q43
+ - XML (various formats like SEPA-PAIN, CAMT, OFX)
- Exporters
- DTAUS (German financial format)
- CSV
+ - XML (various formats like SEPA-PAIN, CAMT, OFX)
1.3. Bank/Account Information
@@ -175,16 +177,11 @@ are not managed by any online banking backend.
AqBanking has several direct dependencies:
- "Gwenhywfar" >= 3.99.0, available from
-http://gwenhywfar.sf.net/, is absolutely required
+https://www.aqbanking.de/, is absolutely required
- "GMP", the GNU MP Bignum Library available from
https://gmplib.org/index.html is required for calculations
-- The python module "ctypes" https://sf.net/projects/ctypes is
-required for the python wrappers of aqbanking. The python wrappers
-are installed by default (to disable it, use --disable-python),
-but they cannot be used unless "ctypes" is installed.
-
4.2. Applications
-----------------
@@ -479,6 +476,6 @@ AqBanking6:
- Includes: - some header files have been moved to subfolders (e.g. aqbanking/value.h -> aqbanking/types/value.h>)
If your compiler complains about missing headers try "aqbanking/types/" instead of "aqbanking".
-Martin Preuss, Wilhelmshaven/Germany, 2019/03/05
+Martin Preuss, Hamburg/Germany, 2021/02/19
diff --git a/TODO b/TODO
index aaaba60..5b003f5 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,20 @@
Next:
=====
+
+- AqBanking
+ - remove AB_Gui_CheckCert()
+ - remove AB_Banking_MakeGermanIban()
+ - remove AB_ERROR
+ - mark following functions as deprecated:
+ - AB_Banking_LoadSharedConfig()
+ - AB_Banking_SaveSharedConfig()
+ - AB_Banking_LockSharedConfig()
+ - AB_Banking_UnlockSharedConfig()
+ - AB_Banking_GetAppName()
+ - AB_Banking_GetEscapedAppName()
+ - AB_Banking_GetUserDataDir()
+ - AB_Banking_GetSharedDataDir()
+
- HBCI:
- show name and number of segment a result segment refers to in log messages
- check BPD "StoreDays" for segment HKKAZ
@@ -30,8 +45,6 @@ Next:
- fix apidoc for provider.h
- create APIDOC for banking jobs
-- remove AB_ERROR
-- remove AB_Banking_MakeGermanIban()
- remove class aqhbci (move to ah_provider)
- sort "#include" directives in backends, make them more specific
@@ -49,7 +62,7 @@ Mid-term
Long-term
=========
-- remove message engine stuff, use gparser instead
+- remove message engine stuff, use parser from AqFints instead
diff --git a/aqbanking.iss b/aqbanking.iss
index 395f62f..30101ee 100644
--- a/aqbanking.iss
+++ b/aqbanking.iss
@@ -8,7 +8,7 @@
[Setup]
; Using the name here directly because we want it capitalized
AppName=AqBanking
-AppVerName=AqBanking 6.2.8
+AppVerName=AqBanking 6.2.9
AppPublisher=AqBanking Development Team
AppPublisherURL=http://sourceforge.net/projects/aqbanking
AppSupportURL=http://sourceforge.net/support/getsupport.php?group_id=115695
@@ -18,7 +18,7 @@ DefaultDirName={pf}\aqbanking
DirExistsWarning=no
InfoAfterFile=README
LicenseFile=COPYING
-OutputBaseFilename=aqbanking-6.2.8-setup
+OutputBaseFilename=aqbanking-6.2.9-setup
OutputDir=.
UninstallFilesDir={app}\uninstall\aqbanking
@@ -151,7 +151,7 @@ begin
StringChange(FileString, '@'+'aqbanking_pkgdatadir@', pkgdatadir);
StringChange(FileString, '@'+'AQBANKING_VERSION_MAJOR@', '6');
StringChange(FileString, '@'+'AQBANKING_VERSION_MINOR@', '2');
- StringChange(FileString, '@'+'AQBANKING_VERSION_PATCHLEVEL@', '8');
+ StringChange(FileString, '@'+'AQBANKING_VERSION_PATCHLEVEL@', '9');
StringChange(FileString, '@'+'AQBANKING_VERSION_BUILD@', '0');
StringChange(FileString, '@'+'AQBANKING_VERSION_TAG@', 'stable');
diff --git a/aqbanking.spec b/aqbanking.spec
index 383ebf6..7b842cd 100644
--- a/aqbanking.spec
+++ b/aqbanking.spec
@@ -2,7 +2,7 @@
# neededforbuild gwenhywfar gwenhywfar-devel python python-ctypes pyyxml libchipcard2-devel libchipcard2 pkgconfig gettext-devel libacl-devel libacl libattr-devel libattr
%define name aqbanking
-%define version 6.2.8
+%define version 6.2.9
%define dist Ubuntu
%define disttag ubuntu
diff --git a/configure b/configure
index 845ef0a..b130beb 100755
--- a/configure
+++ b/configure
@@ -2678,7 +2678,7 @@ ac_config_headers="$ac_config_headers config.h"
AQBANKING_VERSION_MAJOR=6
AQBANKING_VERSION_MINOR=2
-AQBANKING_VERSION_PATCHLEVEL=8
+AQBANKING_VERSION_PATCHLEVEL=9
AQBANKING_VERSION_BUILD=0
AQBANKING_VERSION_TAG="stable"
@@ -2695,7 +2695,7 @@ AQBANKING_VERSION_TAG="stable"
AQBANKING_SO_CURRENT=46
AQBANKING_SO_AGE=2
-AQBANKING_SO_REVISION=8
+AQBANKING_SO_REVISION=9
AQBANKING_SO_EFFECTIVE="`echo \$(($AQBANKING_SO_CURRENT-$AQBANKING_SO_AGE))`"
diff --git a/configure.ac b/configure.ac
index 0be64a3..8abdb35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ AC_CONFIG_HEADERS([config.h])
AQBANKING_VERSION_MAJOR=6
AQBANKING_VERSION_MINOR=2
-AQBANKING_VERSION_PATCHLEVEL=8
+AQBANKING_VERSION_PATCHLEVEL=9
AQBANKING_VERSION_BUILD=0
dnl "stable", "rcX", "betaX", "svn"
AQBANKING_VERSION_TAG="stable"
@@ -34,7 +34,7 @@ AQBANKING_VERSION_TAG="stable"
AQBANKING_SO_CURRENT=46
AQBANKING_SO_AGE=2
-AQBANKING_SO_REVISION=8
+AQBANKING_SO_REVISION=9
AQBANKING_SO_EFFECTIVE="`echo \$(($AQBANKING_SO_CURRENT-$AQBANKING_SO_AGE))`"
diff --git a/src/libs/aqbanking/banking.h b/src/libs/aqbanking/banking.h
index 4905101..51889f1 100644
--- a/src/libs/aqbanking/banking.h
+++ b/src/libs/aqbanking/banking.h
@@ -266,7 +266,7 @@ int AB_Banking_GetSharedDataDir(const AB_BANKING *ab,
* @param name name of the configuration subgroup
* @param pDb pointer to a variable to receive the configuration loaded
*/
-AQBANKING_API
+AQBANKING_API AQBANKING_DEPRECATED
int AB_Banking_LoadSharedConfig(AB_BANKING *ab, const char *name, GWEN_DB_NODE **pDb);
@@ -281,7 +281,7 @@ int AB_Banking_LoadSharedConfig(AB_BANKING *ab, const char *name, GWEN_DB_NODE *
* @param name name of the configuration subgroup
* @param db pointer to the configuration to store
*/
-AQBANKING_API
+AQBANKING_API AQBANKING_DEPRECATED
int AB_Banking_SaveSharedConfig(AB_BANKING *ab, const char *name, GWEN_DB_NODE *db);
@@ -295,7 +295,7 @@ int AB_Banking_SaveSharedConfig(AB_BANKING *ab, const char *name, GWEN_DB_NODE *
* @param ab pointer to the AB_BANKING object
* @param name name of the configuration subgroup
*/
-AQBANKING_API
+AQBANKING_API AQBANKING_DEPRECATED
int AB_Banking_LockSharedConfig(AB_BANKING *ab, const char *name);
@@ -309,7 +309,7 @@ int AB_Banking_LockSharedConfig(AB_BANKING *ab, const char *name);
* @param ab pointer to the AB_BANKING object
* @param name name of the configuration subgroup
*/
-AQBANKING_API
+AQBANKING_API AQBANKING_DEPRECATED
int AB_Banking_UnlockSharedConfig(AB_BANKING *ab, const char *name);
@@ -326,7 +326,7 @@ int AB_Banking_UnlockSharedConfig(AB_BANKING *ab, const char *name);
* Runtime configuration data can be set at any time after calling @ref AB_Banking_new() and remains available
* until @ref AB_Banking_free() is called, so it survives calls to @ref AB_Banking_Init() and @ref AB_Banking_Fini().
*
- * The following variables are recognized by AqBanking an the backends so far:
+ * The following variables are recognized by AqBanking and the backends so far:
* <ul>
* <li>fintsRegistrationKey (char): Registration key provided by the German ZKA to FinTS using applications
* (see https://www.hbci-zka.de/register/prod_register.htm)</li>
diff --git a/src/libs/aqbanking/gui/abgui.c b/src/libs/aqbanking/gui/abgui.c
index efc59e9..ff1a3ac 100644
--- a/src/libs/aqbanking/gui/abgui.c
+++ b/src/libs/aqbanking/gui/abgui.c
@@ -12,6 +12,8 @@
# include <config.h>
#endif
+#define AQBANKING_NOWARN_DEPRECATED
+
#include "abgui_p.h"
#include <gwenhywfar/mdigest.h>
diff --git a/src/libs/aqbanking/version.h b/src/libs/aqbanking/version.h
index e2699d4..ba1a131 100644
--- a/src/libs/aqbanking/version.h
+++ b/src/libs/aqbanking/version.h
@@ -13,15 +13,15 @@
#define AQBANKING_VERSION_MAJOR 6
#define AQBANKING_VERSION_MINOR 2
-#define AQBANKING_VERSION_PATCHLEVEL 8
+#define AQBANKING_VERSION_PATCHLEVEL 9
#define AQBANKING_VERSION_BUILD 0
#define AQBANKING_VERSION_TAG "stable"
-#define AQBANKING_VERSION_FULL_STRING "6.2.8.0stable"
-#define AQBANKING_VERSION_STRING "6.2.8"
+#define AQBANKING_VERSION_FULL_STRING "6.2.9.0stable"
+#define AQBANKING_VERSION_STRING "6.2.9"
#define AQBANKING_SO_CURRENT 46
-#define AQBANKING_SO_REVISION 8
+#define AQBANKING_SO_REVISION 9
#define AQBANKING_SO_AGE 2
#define AQBANKING_SO_EFFECTIVE 44
diff --git a/src/libs/plugins/backends/aqhbci/tan/tan_image.c b/src/libs/plugins/backends/aqhbci/tan/tan_image.c
index 10624fc..e229881 100644
--- a/src/libs/plugins/backends/aqhbci/tan/tan_image.c
+++ b/src/libs/plugins/backends/aqhbci/tan/tan_image.c
@@ -170,12 +170,20 @@ int _extractAndSetMimeTypeAndImageData(const uint8_t *challengePtr,
}
if (tagLen) {
char *mimeType;
+ int i;
mimeType=(char *) malloc(tagLen+1);
assert(mimeType);
memmove(mimeType, p, tagLen);
mimeType[tagLen]=0;
+ for (i=(tagLen-1); i>0; i--) {
+ if (mimeType[i]==32)
+ mimeType[i]=0;
+ else
+ break;
+ }
+
DBG_ERROR(AQHBCI_LOGDOMAIN, "Image mimetype: \"%s\"", mimeType);
GWEN_DB_SetCharValue(dbMethodParams, GWEN_DB_FLAGS_OVERWRITE_VARS, "mimeType", mimeType);
free(mimeType);
More information about the Neon-commits
mailing list