gnucash unstable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Oct 17 14:13:33 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/5e7c2106 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b6d3c0e5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/25e3b22a (commit)



commit 5e7c2106eca8b299adfb86eb84b9b708344c6554
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Oct 15 16:11:57 2017 -0700

    Re-release 2.7.0

diff --git a/ChangeLog b/ChangeLog
index 591f74c..fc7d16b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,374 @@
+2017-10-15 John Ralls 
+
+	* Re-release 2.7.0 (HEAD -> unstable)
+
+2017-10-15 John Ralls 
+
+	* Disable inclusion of transaction text for OFX transactions in the description.
+
+2017-10-16 John Ralls 
+
+	* Use file:/// when constructing a tempdir uri on Windows. (origin/unstable)
+
+2017-10-16 John Ralls 
+
+	* Merge branch 'unstable-fix-spelling' of https://github.com/christopherlam/gnucash into unstable
+
+2017-10-16 John Ralls 
+
+	* Install libgwengui-gtk3.dll on Windows.
+
+2017-10-16 Christopher Lam 
+
+	* Fix spelling insensative->insensitive
+
+2017-10-15 John Ralls 
+
+	* [MacOS] Change CMake installed names to absolute paths from @rpath/...
+
+2017-10-14 John Ralls 
+
+	* Build Macs with WebKit1.
+
+2017-10-14 John Ralls 
+
+	* HTML: Connect to load-failed and resource-load signals.
+
+2017-10-13 John Ralls 
+
+	* Fix html temp-file URI.
+
+2017-10-11 fell 
+
+	* reapply commit 3cdac65 on the new dialog-ab-pref and remove obsolete section from dialog-ab.gade
+
+2017-10-06 fell 
+
+	* Merge branch 'maint' into unstable
+
+2017-10-06 fell 
+
+	* Use descriptions from gschema as tooltips in Preferences Aqbanking
+
+2017-10-05 Geert Janssens 
+
+	* Replace ambiguous 'scm' with 'vcs' in macro name (origin/master, origin/HEAD)
+
+2017-10-05 Geert Janssens 
+
+	* Use different format specifier to make older git versions happy
+
+2017-10-05 Geert Janssens 
+
+	* Merge branch maint into unstable
+
+2017-10-04 Geert Janssens 
+
+	* Additional changes to use commit date rather than build date
+
+2017-10-03 Geert Janssens 
+
+	* Fix gnucash.pot generation from cmake build.
+
+2017-10-03 Geert Janssens 
+
+	* Stop testing GObject's handling of invalid parameters
+
+2017-10-03 fell 
+
+	* Fix a typo in gir error message
+
+2017-10-02 fell 
+
+	* Readd the missing glade msgctx strings to ru.po (maint)
+
+2017-10-02 fell 
+
+	* ru.po: Minor improvements of the header after PR #209
+
+2017-10-01 ashed 
+
+	* Update Russian Translation with the 2.6.18 gnucash.pot.
+
+2017-09-07 Bernhard M. Wiedemann 
+
+	* Allow to export the last commit's date
+
+2017-09-29 Ashed 
+
+	* Updated and polished Russian Translation.
+
+2017-09-29 Robert Fewell 
+
+	* Change the item_edit blanking rectangle position and size
+
+2017-09-29 Robert Fewell 
+
+	* Change the position of the double row on the cursor
+
+2017-09-29 Robert Fewell 
+
+	* Instead of removing a css class, wrap the change in save/restore
+
+2017-09-29 Robert Fewell 
+
+	* Rename internal CSS class prefix for the register to 'register-'
+
+2017-09-29 Robert Fewell 
+
+	* Remove the CSS for a dark theme Register
+
+2017-09-29 Robert Fewell 
+
+	* Fix typo in comment
+
+2017-09-23 Robert Fewell 
+
+	* Make sure the sheet has focus at start
+
+2017-09-23 Robert Fewell 
+
+	* Fix problem with scrollbar sliders not tracking value
+
+2017-09-13 Robert Fewell 
+
+	* Fix missing hatchings when transaction unbalanced
+
+2017-09-13 Robert Fewell 
+
+	* When tabbing to the field, text should be highlighted only
+
+2017-09-13 Robert Fewell 
+
+	* Remove spaces from blank lines
+
+2017-09-13 Robert Fewell 
+
+	* Adjust text position to be the same as the item_edit entry
+
+2017-09-09 Robert Fewell 
+
+	* Make sure the cursor background is filled to start to hide whats below it
+
+2017-09-09 Robert Fewell 
+
+	* Add ability to draw a text cursor for the entry
+
+2017-09-09 Robert Fewell 
+
+	* Do not copy the colour and so prevent form having to free it
+
+2017-09-09 Robert Fewell 
+
+	* Allow the sheet to be scrolled with the mouse wheel
+
+2017-09-09 Robert Fewell 
+
+	* Rename a couple of functions to align with the format of the rest
+
+2017-09-09 Robert Fewell 
+
+	* Use a higher priority for the idle add when item edit updating
+
+2017-09-09 Robert Fewell 
+
+	* Fix problem when sheet first loaded in the register
+
+2017-09-09 Robert Fewell 
+
+	* Change the line position to make double thickness line on cursor
+
+2017-09-04 Robert Fewell 
+
+	* Use the background class for the dense-calendar
+
+2017-09-04 Robert Fewell 
+
+	* Change the way negative-numbers class was defined in CSS
+
+2017-09-04 Robert Fewell 
+
+	* Remove white space and tabs from split-register-model
+
+2017-09-04 Robert Fewell 
+
+	* Add a heading for the Rate column.
+
+2017-09-04 Robert Fewell 
+
+	* Register in journal mode with rate column, split columns loose alignment
+
+2017-09-04 Robert Fewell 
+
+	* Redraw the header after size allocation of the sheet.
+
+2017-09-04 Robert Fewell 
+
+	* Add redraw of the header when preference changes
+
+2017-09-04 Robert Fewell 
+
+	* Remove the no longer widgets for setting register colours
+
+2017-09-04 Robert Fewell 
+
+	* Change the register to be based on CSS
+
+2017-09-04 Robert Fewell 
+
+	* Change tabs to spaces in gnucash-style.c
+
+2017-09-04 Robert Fewell 
+
+	* Remove trailing white space from gnucash-sheet.c
+
+2017-09-04 Robert Fewell 
+
+	* Remove trailing white space from gnucash-item-edit.c
+
+2017-09-04 Robert Fewell 
+
+	* This dialog-invoice.glade file had missing changes, corrected.
+
+2017-09-01 Robert Fewell 
+
+	* This change is needed after all, used when header is resized
+
+2017-08-31 Robert Fewell 
+
+	* Remove white space and change tabs to spaces in gnucash-register.c
+
+2017-08-31 Robert Fewell 
+
+	* Rework the item-edit pop up to use sheet width and not move about
+
+2017-08-31 Robert Fewell 
+
+	* Change gnc_item_edit_update to be used in an idle add function
+
+2017-08-31 Robert Fewell 
+
+	* Move inline css for padding to gnucash.css
+
+2017-08-31 Robert Fewell 
+
+	* Remove an obsolete source comment in gnucash-item-list.c
+
+2017-08-31 Robert Fewell 
+
+	* Remove white space and change tabs to spaces in datecell-gnome.c
+
+2017-08-31 Robert Fewell 
+
+	* Rename various forms of Get Popup Height to Popup Get Height
+
+2017-09-21 christopherlam 
+
+	* Add missing export (gnc:date-get-week)
+
+2017-09-27 Geert Janssens 
+
+	* Merge branch 'maint' into unstable
+
+2017-09-27 Geert Janssens 
+
+	* Use the same bugzilla url in AC_INIT as on maint
+
+2017-09-27 Geert Janssens 
+
+	* Add Catalan README file to autotools based build
+
+2017-09-26 Geert Janssens 
+
+	* Fix build failures if userdata_home exists but gnc_userdata_home  doesn't (master)
+
+2017-09-26 Josep-Maria Prat 
+
+	* Readme translated into catalan
+
+2017-09-22 John Ralls 
+
+	* Release 2.6.18 (tag: 2.6.18)
+
+2017-09-22 John Ralls 
+
+	* Remove automake version check for make dist.
+
+2017-09-22 John Ralls 
+
+	* Fix typo in CA_DIST name.
+
+2017-09-21 John Ralls 
+
+	* Import latest Farsi and Srpska translations from the translation project.
+
+2017-09-21 Geert Janssens 
+
+	* Ignore softlink for new report
+
+2017-09-21 Geert Janssens 
+
+	* Revert "Ignore softlink for new report"
+
+2017-09-21 Geert Janssens 
+
+	* Ignore softlink for new report
+
+2017-09-21 Geert Janssens 
+
+	* Merge 'maint' into unstable
+
+2017-09-21 Geert Janssens 
+
+	* Add income-gst-statement.scm to POTFILES.in
+
+2017-09-21 christopherlam 
+
+	* Fix some (gnc:make-gnc-monetary) errors
+
+2017-09-17 christopherlam 
+
+	* Restore "sign reverses" option This was removed during development.
+
+2017-09-17 christopherlam 
+
+	* Initial commit income-gst-statement.scm
+
+2017-09-17 christopherlam 
+
+	* Reindent from transaction.scm
+
+2017-09-17 christopherlam 
+
+	* cp transaction.scm income-gst-statement.scm
+
+2017-09-21 Geert Janssens 
+
+	* Fixup for Catalan account charts
+
+2017-09-21 Geert Janssens 
+
+	* Add boilerplate to get Catalan account charts installed and added to the distribution
+
+2017-09-21 Josep-Maria Prat 
+
+	* Catalan accounts missing
+
+2017-09-20 Geert Janssens 
+
+	* Properly ignore internal report options that are not on invisible option pages when opening the report options dialog
+
 2017-09-16 John Ralls 
 
-	* Merge branch 'maint' (HEAD -> unstable, master)
+	* Release 2.7.0 (tag: 2.7.0)
 
 2017-09-16 John Ralls 
 
-	* Fix test-userdata-dir on Mac. (origin/master, origin/HEAD)
+	* Fix the fix from mac for test-userdata-dir.c
+
+2017-09-16 John Ralls 
+
+	* Fix test-userdata-dir on Mac.
 
 2017-09-16 Geert Janssens 
 
@@ -32,7 +396,7 @@
 
 2017-09-06 John Ralls 
 
-	* Install the current, 2015, and 2016 ChangeLogs. (origin/maint, maint)
+	* Install the current, 2015, and 2016 ChangeLogs.
 
 2017-09-16 Geert Janssens 
 
@@ -6086,3 +6450,7 @@
 
 	* Add a missing gettext in plugin page owner tree
 
+2016-01-01 fell 
+
+	* Bug 760052 - missing flag translatable in Custom Report
+
diff --git a/NEWS b/NEWS
index d878f87..67b09c7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,10 +1,17 @@
 Version history:
 ------- -------
-2.7.0  - 19 September 2017
+2.7.0  - 17 October 2017
        The Gnucash Development Team is pleased to release Gnucash 2.7.0,
        the first release of an unstable series leading to Gnucash 2.8.0.
 
        This release is UNSTABLE and SHOULD NOT BE USED in production.
+       See the KNOWN PROBLEMS list at the bottom of the announcement.
+
+       Note: Version information in the splash screen and About dialog
+       will now reflect the date of the last commit used to build
+       GnuCash rather than the date it was compiled. This is to assist
+       quality assurance and debugging efforts by Linux distribution
+       maintainers.
 
        The headline item for this release is that GnuCash now uses the
        Gtk+-3.0 Toolkit and the WebKit2Gtk API. This change was forced
@@ -13,66 +20,80 @@ Version history:
        support Microsoft Windows so that platform will continue to use
        the WebKit1 API, though with Gtk3. We've selected Gtk+-3.14.0
        as the minimum version because it fully supports CSS
-       theming. Geert Janssens did the original conversion and Bob
-       Fewell has contributed much UI polishing.
-
-       Geert Janssens has overhauled the CSV importer, rewriting the
-       bulk of it in C++, adding new features including the ability to
-       re-import CSV files exported from GnuCash.
-
-       Geert has also adjusted the data file directory so that it's
-       located appropriately to the operating system's conventions by
-       default. It's still possible to overried with the environment
-       variable GNC_DOC_PATH, which replaces GNC_DOT_DIR in earlier
-       versions of GnuCash.
-
-       Bob Fewell has converted the account representation in the
-       Bayes import map to GUID from strings so that the matcher won't
-       have to be retrained if you rename an account. THIS WILL MAKE
-       YOUR MAP UNREADABLE BY PREVIOUS VERSIONS OF GNUCASH.  Bob has
-       also implemented an editor to remove outdated or incorrect
-       match data from the import maps, added user interfacs for
-       managing files associated with transactions, improved the
-       facility for removing old prices from the price database, and
-       provided for removing deleted files from the history list in
-       the file menu.
-
-       John Ralls has rewritten the numerics to allow for more
-       significant digits. The old 6-digit-maximum fraction will be a
-       9-digit maximum by 2.8. there is still some cleanup required
-       before the limit can actually change.
-
-       Christopher Lam has contributed a new Income GST Report and
-       made some improvements to the Transaction report.
-
-       Carsten Rinke has improved the appearance of the chart reports.
-
-       John Ralls and Aaron Laws have rewritten several parts of the
-       engine and SQL backend in C++, an effort that will continue in
-       the next development cycle. KVP is now private to
-       libgncmod-engine and accessible outside via qof_instance_set
-       and qof_instance_get. Aaron has reimplemented KVP itself in C++
-       using boost::variant and GUID based on boost::UUID.
-
-       John rewrote the date implementation to boost::date-time,
+       theming. (Geert Janssens and Robert Fewell)
+
+       There's a new CSV importer largely rewritten in C++, adding new
+       features including the ability to re-import CSV files exported
+       from GnuCash. (Geert Janssens)
+
+       Data file directories are now located appropriately to the
+       operating system's conventions by default. It's still possible
+       to overried with the environment variable GNC_DOC_PATH, which
+       replaces GNC_DOT_DIR in earlier versions of GnuCash. (Geert
+       Janssens)
+
+       Accounts in the Bayes import map are now linked by GUID instead
+       of names so that the matcher won't have to be retrained if you
+       rename an account. THIS WILL MAKE YOUR FILE UNREADABLE BY
+       PREVIOUS VERSIONS OF GNUCASH. There's a new editor to remove
+       outdated or incorrect match data from the import maps, a new
+       user interfacs for managing files associated with transactions,
+       an improved facility for removing old prices from the price
+       database, and a way to remove deleted files from the history
+       list in the file menu. (All from Robert Fewell!)
+
+       Numerics are rewritten to allow for more significant
+       digits. The old 6-digit-maximum fraction will be a 9-digit
+       maximum by 2.8. there is still some cleanup required before the
+       limit can actually change. (John Ralls)
+
+       New Income GST Report and some improvements to the Transaction
+       report. (Christopher Lam)
+
+       Chart Reports appearance is improved (Carsten Rinke)
+
+       Several parts of the engine and the SQL backend are rewritten
+       in C++, an effort that will continue in the next development
+       cycle. KVP is now private to libgncmod-engine and accessible
+       outside via qof_instance_set and qof_instance_get. (John Ralls
+       and Aaron Laws)
+
+       KVP and GUID are reimplemnted in C++ using boost::variant and
+       boost::UUID respectively (Aaron Laws).
+
+       The date implementation is migrated to boost::date-time,
        replacing a Glib GDateTime implementation. This makes the
        earliest date recordable 1 January 1400CE instead of 1 January
-       1CE. We doubt any users will be affected.
+       1CE. We doubt any users will be affected. (John Ralls)
+
+       Distribution tarballs can now be built with CMake as well as
+       Autotools. (Rob Gowin)
 
        The CuteCash front end has been removed. The code we need from
        GOffice has been brought into the GnuCash code base so GOffice
        is no longer a dependency.
 
-       Rob Gowin, in addition to creating the CMake-based build system
-       partway through the 2.6 release cycle, has added to it a dist
-       function that allows us to distribute tarballs that will build
-       with either CMake or Autotools... but look for Autotools to be
-       dropped soon.
-
        Of interest mostly to developers, we've reorganized the code
        into a core library directory, libgnucash, and
        applications-specific directory, gnucash.
 
+       A new Russian translation of the Guide has been started by
+       Dmitriy Mandel. Downloads in the usual formats are available at
+       https://code.gnucash.org/docs/ru/; the HTML is at
+       https://code.gnucash.org/docs/ru/gnucash-guide/.
+
+       There will be no unstable documentation release at this
+       time. There have been very few relatively minor changes to the
+       master documentation branch; those documents may be viewed in
+       the nightly builds at https://www.gnucash.org/docs.phtml.
+
+       KNOWN PROBLEMS:
+
+       On Microsoft Windows starting the AQBanking Setup Wizard crashes GnuCash.
+
+       test-import-bayes built with autotools intermittently fails at
+       line 381, where the returned value is 1 instead of the expected
+       6.
 
 2.6.18 - 24 September 2017
 

commit b6d3c0e5818dd907fa963bcec30d586c5cc62dd5
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Oct 15 15:56:40 2017 -0700

    Disable inclusion of transaction text for OFX transactions in the description.
    
    OFX puts rather useless information in the transaction text that makes
    the description overly long with the important part at the end.

diff --git a/gnucash/import-export/aqb/dialog-ab-trans.c b/gnucash/import-export/aqb/dialog-ab-trans.c
index 718e530..1a45cca 100644
--- a/gnucash/import-export/aqb/dialog-ab-trans.c
+++ b/gnucash/import-export/aqb/dialog-ab-trans.c
@@ -688,8 +688,8 @@ gnc_ab_trans_dialog_verify_values(GncABTransDialog *td)
         gnc_ab_trans_dialog_entry_set (amount_entry, "", NULL);
     }
 
-    /* Check transaction purpose */
-    purpose = gnc_ab_get_purpose(td->ab_trans);
+    /* Check transaction purpose. OFX doesn't do transfers. */
+    purpose = gnc_ab_get_purpose(td->ab_trans, FALSE);
     if (!purpose || !strlen(purpose))
     {
         gnc_ab_trans_dialog_entry_set (td->purpose_entry,
diff --git a/gnucash/import-export/aqb/gnc-ab-transfer.c b/gnucash/import-export/aqb/gnc-ab-transfer.c
index ec21267..74f337c 100644
--- a/gnucash/import-export/aqb/gnc-ab-transfer.c
+++ b/gnucash/import-export/aqb/gnc-ab-transfer.c
@@ -238,7 +238,8 @@ gnc_ab_maketrans(GtkWidget *parent, Account *gnc_acc,
         gnc_xfer_dialog_set_amount_sensitive(xfer_dialog, FALSE);
         gnc_xfer_dialog_set_date_sensitive(xfer_dialog, FALSE);
 
-        description = gnc_ab_description_to_gnc(ab_trans);
+        /* OFX doesn't do transfers. */
+        description = gnc_ab_description_to_gnc(ab_trans, FALSE);
         gnc_xfer_dialog_set_description(xfer_dialog, description);
         g_free(description);
 
diff --git a/gnucash/import-export/aqb/gnc-ab-utils.c b/gnucash/import-export/aqb/gnc-ab-utils.c
index 131481c..bf04ea8 100644
--- a/gnucash/import-export/aqb/gnc-ab-utils.c
+++ b/gnucash/import-export/aqb/gnc-ab-utils.c
@@ -363,7 +363,7 @@ gnc_ab_get_remote_name(const AB_TRANSACTION *ab_trans)
 }
 
 gchar *
-gnc_ab_get_purpose(const AB_TRANSACTION *ab_trans)
+gnc_ab_get_purpose(const AB_TRANSACTION *ab_trans, gboolean is_ofx)
 {
     const GWEN_STRINGLIST *ab_purpose;
     const char *ab_transactionText = NULL;
@@ -371,7 +371,7 @@ gnc_ab_get_purpose(const AB_TRANSACTION *ab_trans)
 
     g_return_val_if_fail(ab_trans, g_strdup(""));
 
-    if (gnc_prefs_get_bool(GNC_PREFS_GROUP_AQBANKING, GNC_PREF_USE_TRANSACTION_TXT)) 
+    if (!is_ofx && gnc_prefs_get_bool(GNC_PREFS_GROUP_AQBANKING, GNC_PREF_USE_TRANSACTION_TXT)) 
     {
         /* According to AqBanking, some of the non-swift lines have a special
          * meaning. Some banks place valuable text into the transaction text,
@@ -393,10 +393,10 @@ gnc_ab_get_purpose(const AB_TRANSACTION *ab_trans)
 }
 
 gchar *
-gnc_ab_description_to_gnc(const AB_TRANSACTION *ab_trans)
+gnc_ab_description_to_gnc(const AB_TRANSACTION *ab_trans, gboolean is_ofx)
 {
     /* Description */
-    gchar *description = gnc_ab_get_purpose(ab_trans);
+    gchar *description = gnc_ab_get_purpose(ab_trans, is_ofx);
     gchar *other_name = gnc_ab_get_remote_name(ab_trans);
     gchar *retval;
 
@@ -527,8 +527,10 @@ gnc_ab_trans_to_gnc(const AB_TRANSACTION *ab_trans, Account *gnc_acc)
     /* Trans-Num or Split-Action set with gnc_set_num_action below per book
      * option */
 
+    fitid = AB_Transaction_GetFiId(ab_trans);
+
     /* Description */
-    description = gnc_ab_description_to_gnc(ab_trans);
+    description = gnc_ab_description_to_gnc(ab_trans, (fitid && *fitid));
     xaccTransSetDescription(gnc_trans, description);
     g_free(description);
 
@@ -549,10 +551,10 @@ gnc_ab_trans_to_gnc(const AB_TRANSACTION *ab_trans, Account *gnc_acc)
         gnc_set_num_action (gnc_trans, split, custref, NULL);
 
     /* Set OFX unique transaction ID */
-    fitid = AB_Transaction_GetFiId(ab_trans);
     if (fitid && *fitid)
         gnc_import_set_split_online_id(split, fitid);
 
+    /* FIXME: Extract function */
     {
         /* Amount into the split */
         const AB_VALUE *ab_value = AB_Transaction_GetValue(ab_trans);
diff --git a/gnucash/import-export/aqb/gnc-ab-utils.h b/gnucash/import-export/aqb/gnc-ab-utils.h
index ca7153d..3f3fc44 100644
--- a/gnucash/import-export/aqb/gnc-ab-utils.h
+++ b/gnucash/import-export/aqb/gnc-ab-utils.h
@@ -179,7 +179,7 @@ gchar *gnc_ab_get_remote_name(const AB_TRANSACTION *ab_trans);
  * @param ab_trans AqBanking transaction
  * @return A newly allocated string, may be ""
  */
-gchar *gnc_ab_get_purpose(const AB_TRANSACTION *ab_trans);
+gchar *gnc_ab_get_purpose(const AB_TRANSACTION *ab_trans, gboolean is_ofx);
 
 /**
  * Create the appropriate description field for a GnuCash Transaction by the
@@ -189,7 +189,7 @@ gchar *gnc_ab_get_purpose(const AB_TRANSACTION *ab_trans);
  * @param ab_trans AqBanking transaction
  * @return A newly allocated string, may be ""
  */
-gchar *gnc_ab_description_to_gnc(const AB_TRANSACTION *ab_trans);
+gchar *gnc_ab_description_to_gnc(const AB_TRANSACTION *ab_trans, gboolean is_ofx);
 
 /**
  * Create the appropriate memo field for a GnuCash Split by the information



Summary of changes:
 ChangeLog                                   | 374 +++++++++++++++++++++++++++-
 NEWS                                        | 121 +++++----
 gnucash/import-export/aqb/dialog-ab-trans.c |   4 +-
 gnucash/import-export/aqb/gnc-ab-transfer.c |   3 +-
 gnucash/import-export/aqb/gnc-ab-utils.c    |  14 +-
 gnucash/import-export/aqb/gnc-ab-utils.h    |   4 +-
 6 files changed, 456 insertions(+), 64 deletions(-)



More information about the gnucash-changes mailing list