gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Mar 29 19:52:10 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/4e4a0326 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/329f3079 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9786845e (commit)
	from  https://github.com/Gnucash/gnucash/commit/4e5e0621 (commit)



commit 4e4a0326771a1a48e6743409da0bbb148f7fccb9
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Mar 29 16:47:17 2014 -0700

    Release 2.6.3

diff --git a/ChangeLog b/ChangeLog
index 4d2cb88..641abdd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,122 @@
+2014-03-29 John Ralls 
+
+	* Work around some test issues. (HEAD, master)
+
+2014-03-29 John Ralls 
+
+	* Better error message for split value conversion
+
+2014-03-28 John Ralls 
+
+	* Win32: Roll back Gwenhywfar to 4.9.0 to resolve broken build. (origin/trunk, origin/master, origin/HEAD)
+
+2014-03-28 John Ralls 
+
+	* Ensure that the autoconf and automake checked are the ones we install
+
+2014-03-28 John Ralls 
+
+	* Update Active Perl version to the one current "community edition".
+
+2014-03-28 John Ralls 
+
+	* Bug 724995 - Gnucash crashes due to assertion failed when opening sqlite file
+
+2014-03-28 John Ralls 
+
+	* Set Gnucash version and GNUCASH_RESAVE_VERSION in init_version_info
+
+2014-03-26 Geert Janssens 
+
+	* Improve preference name
+
+2014-03-25 Geert Janssens 
+
+	* Fix guile 2 stack overflow errors for large reports
+
+2014-03-24 Mike Alexander 
+
+	* Fix basis calculation for FIFO or LIFO when less than one lot is sold.
+
+2014-03-24 John Ralls 
+
+	* Bug 726891 - segmentation fault on session.end()
+
+2014-03-24 John Ralls 
+
+	* Fix dumb typo detected by a new Clang warning.
+
+2014-03-19 Geert Janssens 
+
+	* Bug 726430 - Python: account.getName() raises TypeError
+
+2014-03-16 Mike Evans 
+
+	* Bug 721196 - Cannot import lines with empty fields for deposit or withdrawal in bank transaction download.
+
+2014-03-14 Cristian Marchi 
+
+	* Update Italian translation.
+
+2014-03-14 Cristian Marchi 
+
+	* Updated Danish translation from the translation project.
+
+2014-03-14 Cristian Marchi 
+
+	* Updated Catalan translation from the translation project.
+
+2014-03-12 Derek Atkins 
+
+	* Don't hardcode 'swig' in the Makefile (based on suggested patch by "Erik Johansson" <erik at ejohansson.se>
+
+2014-03-10 Geert Janssens 
+
+	* Bug 723975 - Dialog box displayed during QIF import has placeholder text
+
+2014-03-09 Erik Johansson 
+
+	* Fix resizing of columns in budget view
+
+2014-03-10 Geert Janssens 
+
+	* Saved report configuration ui tuning
+
+2014-02-28 Carsten Rinke 
+
+	* Update Window and Menu item from "Preconfigured-" to "Saved-" Report and add lables to the dialog with help texts
+
+2014-03-10 Geert Janssens 
+
+	* Fix crash as reported in bug 711567
+
+2014-03-09 Geert Janssens 
+
+	* Bug 721654 - Style sheet preference is not saved for a Preconfigured Report
+
+2014-03-08 Geert Janssens 
+
+	* Bug 725534 - Scheduled transactions columns widths not retrieved
+
+2014-03-08 Geert Janssens 
+
+	* Refactor state saving function out of widget destruction
+
+2014-03-06 Christian Stimming 
+
+	* Aqbanking: SEPA transfer improvements - fix origin labels and add possibility to edit sender's name. (trunk, master)
+
+2014-03-06 Christian Stimming 
+
+	* Win32 build: Update aqbanking version numbers
+
+2014-03-01 John Ralls 
+
+	* Release GnuCash 2.6.2 (2.6.2)
+
 2014-03-01 John Ralls 
 
-	* Bug 723216 - Cannot change the accounting period using the pop-up calendar (HEAD, origin/trunk, origin/master, origin/HEAD, master)
+	* Bug 723216 - Cannot change the accounting period using the pop-up calendar
 
 2014-02-28 John Ralls 
 
diff --git a/NEWS b/NEWS
index 582bce9..8adb66d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,17 +1,41 @@
 Version history:
 ------- -------
+2.6.3 - 30 March 2014
+       The GnuCash development team proudly announces GnuCash 2.6.1,
+       the latest stable release of the GnuCash Free Accounting
+       Software.
+
+       Bugs Fixed:
+       721196 - Cannot import lines with empty fields for deposit or withdrawal
+       	       in bank transaction download.
+       721654 - Style sheet preference is not saved for a Preconfigured Report
+       723975 - Dialog box displayed during QIF import has placeholder text
+       724995 - Gnucash crashes due to assertion failed when opening sqlite file
+       711567 - Cannot save a custom report if a path contain diacritic chars
+       726430 - Python: account.getName() raises TypeError
+       726891 - segmentation fault on session.end()
+
+       Other Changes:
+       Fix resizing of columns in budget view
+       Fix guile 2 stack overflow errors for large reports
+       Fix basis calculation for FIFO or LIFO when less than one lot is sold.
+       Update Window and Menu item from "Preconfigured-" to "Saved-" Report
+       	      and add lables to the dialog with help texts
+       Aqbanking: SEPA transfer improvements - fix origin labels and add
+       	      possibility to edit sender's name.
+       Prevent crash reported in Bug 711567.
+
+       Translations Updated: Catalan, Danish, Italian
+
 2.6.2 - 2 March 2014
        The GnuCash development team proudly announces GnuCash 2.6.1,
        the latest stable release of the GnuCash Free Accounting
-       Software. 
-       
+       Software.
+
        This is a maintenance release; there are no new features, but
        Mike Alexander has extensively reworked the Advanced Portfolio
        Report.
 
-       Mike Alexander has completed his extensive reworking of the
-       Advanced Portfolio Report.
-
        Bugs Fixed:
        497831 - Can't change the date of a transaction with certain locales
        721472 - Fix Reconcile description column.
@@ -36,8 +60,8 @@ Version history:
 2.6.1 - 1 January 2014
        The GnuCash development team proudly announces GnuCash 2.6.1,
        the latest stable release of the GnuCash Free Accounting
-       Software. 
-       
+       Software.
+
        This is a maintenance release; there are no new features, but
        Mike Alexander has extensively reworked the Advanced Portfolio
        Report.
@@ -74,7 +98,7 @@ Version history:
        721966 - --add-price-quotes ignoring compress files preference
        722035 - Missing space in the Spanish translation of msgid "Total For "
        722123 - Zero price entry added to price database on stock purchase
-  
+
        Translations updated: Catalan, Danish, German, Italian
 
 2.6.0 - 29 Dec 2013
diff --git a/configure.ac b/configure.ac
index 01e65a7..76049b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ dnl Process this file with autoconf to produce a configure script.
 
 # Autoconf initialization
 AC_PREREQ(2.60)
-AC_INIT([GnuCash], [2.6.2], [gnucash-devel at gnucash.org])
+AC_INIT([GnuCash], [2.6.3], [gnucash-devel at gnucash.org])
 AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_SRCDIR(src/engine/Transaction.h)
 AC_CONFIG_MACRO_DIR([macros])

commit 329f3079e07b32f1e347df699757097f13f6075f
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Mar 29 16:02:50 2014 -0700

    Work around some test issues.
    
    Lower the random gnc_numeric clamp to 44 bits; got an overflow at 48.
    Prevent random query strings from including '\'; The sequence '\ ' causes an
    error when passed to Scheme. See http://savannah.gnu.org/bugs/?31680.

diff --git a/src/engine/test-core/test-engine-stuff.c b/src/engine/test-core/test-engine-stuff.c
index 71428c1..ad35d9b 100644
--- a/src/engine/test-core/test-engine-stuff.c
+++ b/src/engine/test-core/test-engine-stuff.c
@@ -462,12 +462,12 @@ get_random_gnc_numeric(void)
 
     /* Arbitrary random numbers can cause pointless overflow
      * during calculations.  Limit dynamic range in hopes
-     * of avoiding overflow. Right now limit it to approx 2^48.
+     * of avoiding overflow. Right now limit it to approx 2^44.
      * The initial division is to help us down towards the range.
      * The loop is to "make sure" we get there.  We might
      * want to make this dependent on "deno" in the future.
      */
-    numer = get_random_gint64 () % (2ULL << 48);
+    numer = get_random_gint64 () % (2ULL << 44);
     if (0 == numer) numer = 1;
     /* Make sure we have a non-zero denominator */
     if (0 == deno) deno = 1;
@@ -1603,7 +1603,7 @@ get_random_kvp_path (void)
     len = get_random_int_in_range (1, kvp_max_depth);
 
     while (len--)
-        path = g_slist_prepend (path, get_random_string ());
+        path = g_slist_prepend (path, get_random_string_without ("\n\\"));
 
     return g_slist_reverse (path);
 }
@@ -1631,7 +1631,7 @@ get_random_id_type (void)
     case 3:
         return GNC_ID_ACCOUNT;
     default:
-        return get_random_string ();
+         return get_random_string ();
     }
 }
 
@@ -1743,7 +1743,7 @@ get_random_query(void)
             break;
 
         case 2: /*PR_ACTION */
-            string = get_random_string ();
+            string = get_random_string_without ("\\");
             xaccQueryAddActionMatch (q,
                                      string,
                                      get_random_boolean (),
@@ -1785,7 +1785,7 @@ get_random_query(void)
             break;
 
         case 6: /* PR_DESC */
-            string = get_random_string ();
+            string = get_random_string_without ("\\");
             xaccQueryAddDescriptionMatch (q,
                                           string,
                                           get_random_boolean (),
@@ -1821,7 +1821,7 @@ get_random_query(void)
             break;
 
         case 9: /* PR_MEMO */
-            string = get_random_string ();
+            string = get_random_string_without ("\\");
             xaccQueryAddMemoMatch (q,
                                    string,
                                    get_random_boolean (),
@@ -1831,7 +1831,7 @@ get_random_query(void)
             break;
 
         case 10: /* PR_NUM */
-            string = get_random_string ();
+            string = get_random_string_without ("\\");
             xaccQueryAddNumberMatch (q,
                                      string,
                                      get_random_boolean (),

commit 9786845e44ca20e86753e90c990fb85808384e57
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Mar 29 16:02:26 2014 -0700

    Better error message for split value conversion

diff --git a/src/engine/Split.c b/src/engine/Split.c
index 39c246f..b49389f 100644
--- a/src/engine/Split.c
+++ b/src/engine/Split.c
@@ -1087,7 +1087,7 @@ xaccSplitSetValue (Split *s, gnc_numeric amt)
                                   GNC_HOW_RND_ROUND_HALF_UP);
     if (gnc_numeric_check(new_val) == GNC_ERROR_OK)
         s->value = new_val;
-    else PERR("numeric error in converting the split value's denominator");
+    else PERR("numeric error %s in converting the split value's denominator with amount %s and denom  %d", gnc_numeric_errorCode_to_string(gnc_numeric_check(new_val)), gnc_numeric_to_string(amt), get_currency_denom(s));
 
     SET_GAINS_VDIRTY(s);
     mark_split (s);



Summary of changes:
 ChangeLog                                | 118 ++++++++++++++++++++++++++++++-
 NEWS                                     |  40 ++++++++---
 configure.ac                             |   2 +-
 src/engine/Split.c                       |   2 +-
 src/engine/test-core/test-engine-stuff.c |  16 ++---
 5 files changed, 159 insertions(+), 19 deletions(-)



More information about the gnucash-changes mailing list