Hello community, here is the log from the commit of package gwenhywfar for openSUSE:Factory checked in at 2014-04-26 10:02:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gwenhywfar (Old) and /work/SRC/openSUSE:Factory/.gwenhywfar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gwenhywfar" Changes: -------- --- /work/SRC/openSUSE:Factory/gwenhywfar/gwenhywfar.changes 2014-03-04 13:26:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gwenhywfar.new/gwenhywfar.changes 2014-04-26 10:02:22.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Apr 18 22:05:36 UTC 2014 - jcnengel@gmail.com + +- Update to version 4.12.0beta + + Fixes a bug in calculating quarter's beginning and end + +------------------------------------------------------------------- Old: ---- gwenhywfar-4.11.0beta.tar.gz New: ---- gwenhywfar-4.12.0beta.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gwenhywfar.spec ++++++ --- /var/tmp/diff_new_pack.840pf9/_old 2014-04-26 10:02:23.000000000 +0200 +++ /var/tmp/diff_new_pack.840pf9/_new 2014-04-26 10:02:23.000000000 +0200 @@ -18,7 +18,7 @@ %define libversion 60 Name: gwenhywfar -Version: 4.11.0beta +Version: 4.12.0beta Release: 0 Summary: Multiplatform helper library for other libraries License: GPL-2.0+ and LGPL-2.1+ ++++++ gwenhywfar-4.11.0beta.tar.gz -> gwenhywfar-4.12.0beta.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/ChangeLog new/gwenhywfar-4.12.0beta/ChangeLog --- old/gwenhywfar-4.11.0beta/ChangeLog 2014-03-02 15:52:43.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/ChangeLog 2014-04-17 21:58:20.000000000 +0200 @@ -1,6 +1,43 @@ ------------------------------------------------------------------ -2014-03-02 15:52:35 +0100 Martin Preuss +2014-04-17 21:58:14 +0200 Martin Preuss +Prepared release 4.12.0beta. + +------------------------------------------------------------------ +2014-04-17 21:58:03 +0200 Martin Preuss +Added function GWEN_Url_toUiShortString(). + +------------------------------------------------------------------ +2014-04-15 21:42:11 +0000 martin +Fixed a bug in quarter year calculations. +git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2308 70169cfe-8b10-0410-8925-dcb4b91034d8 + +------------------------------------------------------------------ +2014-04-07 18:08:31 +0000 martin +Prepared release 4.11.1beta. +git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2307 70169cfe-8b10-0410-8925-dcb4b91034d8 + +------------------------------------------------------------------ +2014-04-06 08:40:58 +0000 christian +Fix GWEN_FORMAT macro: Empty macro must still consume the arguments, otherwise we get a syntax error. +git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2306 70169cfe-8b10-0410-8925-dcb4b91034d8 + +------------------------------------------------------------------ +2014-04-06 08:25:06 +0000 christian +Disable the __attribut__ format for mingw32 build. +This broke the gnucash native mingw32 build, see +https://github.com/Gnucash/gnucash/commit/4e5e0621322147ff6ada9d72ace36e213d... + +git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2305 70169cfe-8b10-0410-8925-dcb4b91034d8 + +------------------------------------------------------------------ +2014-03-31 21:52:44 +0000 martin +Fixed a memory leak. +git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2304 70169cfe-8b10-0410-8925-dcb4b91034d8 + +------------------------------------------------------------------ +2014-03-31 21:52:22 +0000 martin Prepared release 4.11.0beta. +git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2303 70169cfe-8b10-0410-8925-dcb4b91034d8 ------------------------------------------------------------------ 2014-03-01 19:12:49 +0000 martin @@ -644,40 +681,3 @@ 2013-05-08 22:20:59 +0000 martin Added callback functions for GWEN_MULTICACHE to GWEN_BUFFER. git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2211 70169cfe-8b10-0410-8925-dcb4b91034d8 - ------------------------------------------------------------------- -2013-05-08 22:20:54 +0000 martin -Only not to forget this... -git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2210 70169cfe-8b10-0410-8925-dcb4b91034d8 - ------------------------------------------------------------------- -2013-05-08 20:50:05 +0000 martin -Started working on GWEN_MULTICACHE. -git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2209 70169cfe-8b10-0410-8925-dcb4b91034d8 - ------------------------------------------------------------------- -2013-05-08 20:49:59 +0000 martin -GWEN_SLOT: Added attribute GWENHYWFAR_CB to slot callback. -Adapted typemaker2 to reflect that change. - -git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2208 70169cfe-8b10-0410-8925-dcb4b91034d8 - ------------------------------------------------------------------- -2013-05-08 20:49:54 +0000 martin -GWEN_BUFFER: Added reference counter. -git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2207 70169cfe-8b10-0410-8925-dcb4b91034d8 - ------------------------------------------------------------------- -2013-05-07 19:25:36 +0000 martin -Fixed constness of generated code. -git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2206 70169cfe-8b10-0410-8925-dcb4b91034d8 - ------------------------------------------------------------------- -2013-05-07 19:21:37 +0000 martin -Minor fixes, again. Mostly beautifications of generated code. -git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2205 70169cfe-8b10-0410-8925-dcb4b91034d8 - ------------------------------------------------------------------- -2013-05-07 18:50:44 +0000 martin -Minor fixes. -git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2204 70169cfe-8b10-0410-8925-dcb4b91034d8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/configure new/gwenhywfar-4.12.0beta/configure --- old/gwenhywfar-4.11.0beta/configure 2014-03-02 15:51:24.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/configure 2014-04-17 21:56:55.000000000 +0200 @@ -2765,7 +2765,7 @@ # versions # GWENHYWFAR_VERSION_MAJOR=4 -GWENHYWFAR_VERSION_MINOR=11 +GWENHYWFAR_VERSION_MINOR=12 GWENHYWFAR_VERSION_PATCHLEVEL=0 GWENHYWFAR_VERSION_BUILD=0 GWENHYWFAR_VERSION_TAG="beta" @@ -2776,8 +2776,8 @@ # # SO version for Gwenhywfar # -GWENHYWFAR_SO_CURRENT="71" -GWENHYWFAR_SO_AGE="11" +GWENHYWFAR_SO_CURRENT="72" +GWENHYWFAR_SO_AGE="12" GWENHYWFAR_SO_REVISION="0" GWENHYWFAR_SO_EFFECTIVE="`echo \$(($GWENHYWFAR_SO_CURRENT-$GWENHYWFAR_SO_AGE))`" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/configure.ac new/gwenhywfar-4.12.0beta/configure.ac --- old/gwenhywfar-4.11.0beta/configure.ac 2014-03-02 15:50:57.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/configure.ac 2014-04-17 21:56:41.000000000 +0200 @@ -28,7 +28,7 @@ # versions # GWENHYWFAR_VERSION_MAJOR=4 -GWENHYWFAR_VERSION_MINOR=11 +GWENHYWFAR_VERSION_MINOR=12 GWENHYWFAR_VERSION_PATCHLEVEL=0 GWENHYWFAR_VERSION_BUILD=0 dnl "stable", "rcX", "betaX", "cvs" @@ -40,8 +40,8 @@ # # SO version for Gwenhywfar # -GWENHYWFAR_SO_CURRENT="71" -GWENHYWFAR_SO_AGE="11" +GWENHYWFAR_SO_CURRENT="72" +GWENHYWFAR_SO_AGE="12" GWENHYWFAR_SO_REVISION="0" GWENHYWFAR_SO_EFFECTIVE="`echo \$(($GWENHYWFAR_SO_CURRENT-$GWENHYWFAR_SO_AGE))`" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/gwenhywfar.spec new/gwenhywfar-4.12.0beta/gwenhywfar.spec --- old/gwenhywfar-4.11.0beta/gwenhywfar.spec 2014-03-02 15:51:30.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/gwenhywfar.spec 2014-04-17 21:57:01.000000000 +0200 @@ -3,7 +3,7 @@ %define name gwenhywfar -%define version 4.11.0beta +%define version 4.12.0beta %define rpm_cxxflags \"-O2 -march=i486 -mcpu=i586\" %define rpm_cflags \"-O2 -march=i486 -mcpu=i586\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/src/gwenhywfarapi.h new/gwenhywfar-4.12.0beta/src/gwenhywfarapi.h --- old/gwenhywfar-4.11.0beta/src/gwenhywfarapi.h 2014-03-01 20:09:00.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/src/gwenhywfarapi.h 2014-04-07 20:04:05.000000000 +0200 @@ -148,11 +148,11 @@ #endif /* __GNUC__ */ -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__MINGW32__) # define GWEN_FORMAT(fmt, pos, argstart) \ __attribute__ ((format (fmt, pos, argstart))) #else -# define GWEN_FORMAT +# define GWEN_FORMAT(fmt, pos, argstart) #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/src/os/gwendate.c new/gwenhywfar-4.12.0beta/src/os/gwendate.c --- old/gwenhywfar-4.11.0beta/src/os/gwendate.c 2014-03-01 20:08:10.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/src/os/gwendate.c 2014-04-15 23:38:56.000000000 +0200 @@ -656,7 +656,7 @@ GWEN_DATE *GWEN_Date_GetThisQuarterYearStart(const GWEN_DATE *dt) { int m; - m=(GWEN_Date_GetMonth(dt)-1)>>2; + m=GWEN_Date_GetMonth(dt)>>2; switch(m) { case 0: return GWEN_Date_fromGregorian(GWEN_Date_GetYear(dt), 1, 1); @@ -676,7 +676,7 @@ GWEN_DATE *GWEN_Date_GetThisQuarterYearEnd(const GWEN_DATE *dt) { int m; - m=(GWEN_Date_GetMonth(dt)-1)>>2; + m=GWEN_Date_GetMonth(dt)>>2; switch(m) { case 0: return GWEN_Date_fromGregorian(GWEN_Date_GetYear(dt), 3, 31); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/src/os/posix/mutex.c new/gwenhywfar-4.12.0beta/src/os/posix/mutex.c --- old/gwenhywfar-4.11.0beta/src/os/posix/mutex.c 2011-06-13 17:45:06.000000000 +0200 +++ new/gwenhywfar-4.12.0beta/src/os/posix/mutex.c 2014-03-05 21:38:52.000000000 +0100 @@ -48,6 +48,9 @@ void GWEN_Mutex_free(GWEN_UNUSED GWEN_MUTEX *mtx) { + if (mtx) { + pthread_mutex_destroy(&(mtx->mutex)); + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/src/parser/urlfns.c new/gwenhywfar-4.12.0beta/src/parser/urlfns.c --- old/gwenhywfar-4.11.0beta/src/parser/urlfns.c 2010-04-10 20:02:05.000000000 +0200 +++ new/gwenhywfar-4.12.0beta/src/parser/urlfns.c 2014-04-17 21:47:42.000000000 +0200 @@ -277,6 +277,32 @@ +void GWEN_Url_toUiShortString(const GWEN_URL *url, GWEN_BUFFER *buf) { + GWEN_DB_NODE *dbV; + + assert(url); + + if (url->protocol) { + GWEN_Buffer_AppendString(buf, url->protocol); + GWEN_Buffer_AppendString(buf, "://"); + } + if (url->server) { + GWEN_Buffer_AppendString(buf, url->server); + } + if (url->port) { + char numbuf[32]; + + snprintf(numbuf, sizeof(numbuf), "%d", url->port); + GWEN_Buffer_AppendString(buf, ":"); + GWEN_Buffer_AppendString(buf, numbuf); + } + if (url->path) { + GWEN_Buffer_AppendString(buf, url->path); + } +} + + + GWEN_URL *GWEN_Url_fromCommandString(const char *str) { GWEN_URL *url; GWEN_DB_NODE *dbVars; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/src/parser/urlfns.h new/gwenhywfar-4.12.0beta/src/parser/urlfns.h --- old/gwenhywfar-4.11.0beta/src/parser/urlfns.h 2008-07-31 19:56:06.000000000 +0200 +++ new/gwenhywfar-4.12.0beta/src/parser/urlfns.h 2014-04-17 21:49:10.000000000 +0200 @@ -26,14 +26,25 @@ */ GWENHYWFAR_API GWEN_URL *GWEN_Url_fromString(const char *str); + GWENHYWFAR_API int GWEN_Url_toString(const GWEN_URL *url, GWEN_BUFFER *buf); GWENHYWFAR_API GWEN_URL *GWEN_Url_fromCommandString(const char *str); + GWENHYWFAR_API int GWEN_Url_toCommandString(const GWEN_URL *url, GWEN_BUFFER *buf); + +/** + * Creates a short string for user interface output. This means no password or + * user id is shown, and no URL vars either. + */ +GWENHYWFAR_API +void GWEN_Url_toUiShortString(const GWEN_URL *url, GWEN_BUFFER *buf); + + #ifdef __cplusplus } /* __cplusplus */ #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/src/ressource.rc new/gwenhywfar-4.12.0beta/src/ressource.rc --- old/gwenhywfar-4.11.0beta/src/ressource.rc 2014-03-02 15:51:30.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/src/ressource.rc 2014-04-17 21:57:01.000000000 +0200 @@ -43,8 +43,8 @@ // Version VS_VERSION_INFO VERSIONINFO - FILEVERSION 4, 11, 0, 0 - PRODUCTVERSION 4, 11, 0, 0 + FILEVERSION 4, 12, 0, 0 + PRODUCTVERSION 4, 12, 0, 0 FILEFLAGSMASK 0x3fL FILEFLAGS 0x0L FILEOS 0x40004L // Windows NT @@ -58,14 +58,14 @@ //VALUE "Comments", "\0" VALUE "CompanyName", " Aquamaniac\0" VALUE "FileDescription", "Multi purpose library\0" - VALUE "FileVersion", "v4.11.0beta\0" + VALUE "FileVersion", "v4.12.0beta\0" VALUE "InternalName", "Gwenhywfar\0" VALUE "LegalCopyright", "Copyright � 2003 by Martin Preuss\0" VALUE "LegalTrademarks", "Aquamaniac\0" VALUE "OriginalFilename", "GWENHYWFAR32.DLL\0" //VALUE "PrivateBuild", "\0" VALUE "ProductName", "Gwenhywfar\0" - VALUE "ProductVersion", "v4.11.0beta-0\0" + VALUE "ProductVersion", "v4.12.0beta-0\0" VALUE "Author", "Martin Preuss\0" VALUE "Email", "martin@libchipcard.de\0" VALUE "Homepage", "http://gwenhywfar.sf.net/\0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gwenhywfar-4.11.0beta/src/version.h new/gwenhywfar-4.12.0beta/src/version.h --- old/gwenhywfar-4.11.0beta/src/version.h 2014-03-02 15:51:30.000000000 +0100 +++ new/gwenhywfar-4.12.0beta/src/version.h 2014-04-17 21:57:01.000000000 +0200 @@ -31,12 +31,12 @@ #define GWEN_VERSION_MAJOR 4 #define GWENHYWFAR_VERSION_MAJOR 4 -#define GWENHYWFAR_VERSION_MINOR 11 +#define GWENHYWFAR_VERSION_MINOR 12 #define GWENHYWFAR_VERSION_PATCHLEVEL 0 #define GWENHYWFAR_VERSION_BUILD 0 #define GWENHYWFAR_VERSION_TAG "beta" -#define GWENHYWFAR_VERSION_FULL_STRING "4.11.0beta-0" -#define GWENHYWFAR_VERSION_STRING "4.11.0" +#define GWENHYWFAR_VERSION_FULL_STRING "4.12.0beta-0" +#define GWENHYWFAR_VERSION_STRING "4.12.0" #define GWENHYWFAR_SO_EFFECTIVE 60 #define GWENHYWFAR_SO_EFFECTIVE_STR "60" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org