gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Nov 28 18:15:22 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/5204100d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e92a1b37 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/831640b5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0afef080 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/13657ee1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/50874d89 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d8c2f524 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/037c93fa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1e81d3ac (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9c4635e3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0d8112bf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/22e7e1b4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/761d4091 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/baf7575f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a5d15de4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/99f2283d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c5f483d1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/78ec2e33 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/67e4b352 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8a6ce10a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1b52053d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ed4bad34 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2a476cb6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bbafb818 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9cd2c6d1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/937f8c50 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1674eb0b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2cbfc5bb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/af1bc450 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/23f25d74 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ff76db28 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/742064ee (commit)
	from  https://github.com/Gnucash/gnucash/commit/cdb764fe (commit)



commit 5204100d53b67fda3960f58568331d4822eab6bf
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Nov 28 14:25:35 2017 -0800

    Use GNUInstallDirs in CMake Builds
    
    Provides correct file layout when building distribution tarballs.
    Fixes Bugs 790840 and 790841.

commit e92a1b3723e7ddfa72d1fa40c6b3a79b7e1e19f7
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Nov 28 14:25:24 2017 -0800

    Fix python tests in tarball builds.

commit 831640b546805ce2896ee6a5df3df7af428bc3c9
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Nov 28 09:53:06 2017 -0800

    Remove common/test-core/unittest_support.py from git.
    
    It's a SWIG-generated file accidentally added during directory
    rearrangement.

commit 0afef080a7db47f1951cf1d49151546f7690de21
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Nov 25 16:33:30 2017 -0800

    Release 2.7.2

commit 13657ee1bb8f70db510b44c0d1b9e4843b2ee1eb
Merge: 50874d8 0d8112b
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Nov 25 15:35:24 2017 -0800

    Merge branch 'maint' into unstable

commit 50874d89daf42bea3f676bc5fa92e927375f10c0
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Nov 25 14:54:51 2017 -0800

    Correct GUILE_LOAD_COMPILE_PATH to include Guile's own modules as well as ours.

commit d8c2f5244755b8162268077335c78df1449e9a48
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Nov 24 16:53:58 2017 -0800

    Correct quoting for SQL backends.
    
    Only string values should be quoted in queries; in particular NULL
    isn't a string value and must not be quoted.
    Note that this is a less than perfect solution because it doesn't use
    the Database's quoting function and so doesn't escape quotes, linefeeds,
    or carriage returns inside the string. That's because the SQL generating
    logic is independent of the connection class and can't easily get to it.

commit 037c93faea77f51a36d7391d0f3ef403b5036843
Merge: 1e81d3a 22e7e1b
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Nov 24 17:24:52 2017 +0100

    Merge branch 'gtk3-update8' of https://github.com/Bob-IT/gnucash into unstable

commit 1e81d3ace27fd32f7a4b61ae2aaa45c7dfffa92e
Author: Jose Marino <jmarino at users.noreply.github.com>
Date:   Tue Nov 21 16:53:10 2017 -0700

    report: fix default colors incorrectly set to transparent
    
    The default color of a color option is set during a call to "gnc:make-color-option"
    as a list of rgba values. In all color option instances in the scheme code this
    default color is incorrectly set to transparent.
    For example, white color was being set with:
      (list #xff #xff #xff 0)
    The last value in the list is the value of the alpha channel, with 0 meaning
    transparent. When the color button is displayed in the gui it shows a checkerboard
    pattern instead of the intended color.
    
    This commit changes all default colors of color options to have alpha=#xff, i.e.,
    fully opaque.

commit 9c4635e3930f6026080cf18ea7ca92133733c944
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Nov 23 11:41:09 2017 -0800

    Bug 784623 - GNUCash does not work with sql backend.
    
    Wherin the problem is that MySQL's TIMESTAMP has a date range of
    1970-01-01 00:00:01 to 2038-01-19 03:14:07 and is unable to handle
    time_t of 0. MySQL's TIMESTAMP also assumes that input is in the server's
    timezone and adjusts it to UTC. GnuCash has already done that conversion.

commit 0d8112bfefdcd13134d6a70042d48806b59475f9
Author: Rob Gowin <robgowin at gmail.com>
Date:   Thu Nov 23 10:50:16 2017 -0500

    Bug 790620 - Failed to create file “/usr/share/glib-2.0/schemas/gschemas.compiled.XY789Y”
    
    Changed install rule for gschema.compiled to use a target.

commit 22e7e1b440bd9d6925ab545a6ad1128c25b13ffa
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:57:10 2017 +0000

    Fix some corrupted glade files

commit 761d40918df88556598f98c8f8c72984a533ddc5
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:56:36 2017 +0000

    Change assistant-ab-initial.glade to gtk3.10 version

commit baf7575f1d77198219bc6fc2bc0bcf1e18625f07
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:55:58 2017 +0000

    Replace deprecated GTK_STOCK_ macro identifiers

commit a5d15de4263e486031a1fa66efb6b3a1483d2fb4
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:55:19 2017 +0000

    Change a couple of deprecated functions in gnc-html-webkit1.c

commit 99f2283d83ffc7517b01f6c8d188fbbf2addc94c
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:54:40 2017 +0000

    Control the toggle button width
    
    There did not seem to be an easier way to control the toggle button
    width so created a custom one based on the GtkToggleButton. This
    allowed the use of the class function get_preferred_width which is set
    at two thirds the height.

commit c5f483d115c5ad81ce722eb300f669309037750b
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:54:03 2017 +0000

    Move the double line to be inside the cursor cell

commit 78ec2e339ebb6ec90de2ce7660b04ba4a9180df1
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:53:25 2017 +0000

    If a font size is specified for the sheet, popup size may be wrong
    
    When you specify a font size for the sheet, the popup will inherit this
    but when first popped it will use the minimum height value and so may
    be different resulting in not being in the right position. So check on
    allocation and if different remove and pop again.

commit 67e4b3529466b1dc1b90715853815889a1f19b42
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:52:43 2017 +0000

    Use previously created functions
    
    Use the previously created functions to reduce code and for conformity.
    As part of this some variables were renamed to be common.

commit 8a6ce10aa872533739264a0a2a386067e5f2def5
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:52:02 2017 +0000

    Provide two functions for common code
    
    These two sections of code appear in three separate files in slightly
    different versions so define them hear for conformity

commit 1b52053d2e253e0b2fb8e453a494e6e5d4aba5d1
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:51:25 2017 +0000

    This function doesn't do much and is only used for new account registers
    
    This function is used to get the width of the toggle button and add it
    to the sample text length to set the default column width. As the it is
    square, just use the row height instead and the user will no doubt set
    there own widths any way.

commit ed4bad34a7771ce7f287eb64f7001c307a3fe4ea
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:50:42 2017 +0000

    Adjust the sheet to get its spacings from the item_edit CSS

commit 2a476cb68a9b7a2edd4b2e399d38a61b6464b652
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:50:01 2017 +0000

    Get the item_edit cell padding from CSS instead of defines
    
    This commit sets up getting the vertical and horizontal item_edit cell
    margins, borders and padding from CSS. This increases the option to
    specify individual values for top, right, bottom and left instead of
    just specifying just two values.

commit bbafb8184e76609dad4f78a36601fcbe4c68359e
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 23 13:49:00 2017 +0000

    Replace the cell foreground and background colour handlers
    
    By using CSS classes, there is no need to have separate handlers for
    the foreground and background colours so replace them with one being of
    a similar format to that of cell_border_handlers. This also involves
    changing the map of RegisterColors to CSS style classes to reflect the
    changes and reduce the get colour type to one call per class

commit 9cd2c6d17fcac36941e189560d1a7c7de036cb1f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:17:19 2017 +0000

    Test the widget state to get the correct background colour.
    
    When the cell borders are not displayed, the border colour is set to
    the background colour so test for the widget being in an insensitive
    state to get the correct background colour.

commit 937f8c508301a26ede211ee4ed06ad7a91bd2198
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Nov 21 18:12:30 2017 -0800

    Set GncSqlObjectBackend::m_version to the appropriate TABLE_VERSION.
    
    For each subclass, getting rid of GNC_SQL_OBJECT_BACKEND_VERSION which
    was a bit misguided.
    
    Also remove the bogus test the skipped loading a table if its version
    didn't match GNC_SQL_OBJECT_BACKEND_VERSION which was even more misguided.

commit 1674eb0bd49d38ce9ddde059a59527d6f2400f8a
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Nov 21 13:30:17 2017 -0800

    Fix python build and test errors on Mac.

commit 2cbfc5bbac9bda4ef1206db5a437b45cb79bc373
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Nov 21 22:11:38 2017 +0100

    Revert "Merge branch 'gtk3-update8' of https://github.com/Bob-IT/gnucash into unstable"
    
    This reverts commit cdb764fec525642bbe85dd5a0a49ec967c55f089, reversing
    changes made to 169677a8d753ba26a447d22d2b2ec565bfe4798b.

commit af1bc45021aaa9c844a9e204ead402f155835e36
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Nov 19 09:36:44 2017 -0800

    A better way to handle MySQL's 0000-00-00 invalid date indicator.

commit 23f25d74d99c4f2b1b2371e1824fde93ef8127b4
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Nov 19 09:35:08 2017 -0800

    Don't try to unref a NULL GDateTime*.

commit ff76db28f5d6de298df29e390c59b2a7bddf6dfa
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Wed Nov 15 03:33:57 2017 +0100

    Add po/glossary/gnc-glossary.pot to .gitignore

commit 742064ee8752831003944fea62d01dfdd86bc4bd
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Wed Nov 15 00:36:41 2017 +0100

    Fix a few encodings and Content-* tags in glossary



Summary of changes:
 .gitignore                                         |   1 +
 CMakeLists.txt                                     |  35 +-
 ChangeLog                                          | 446 ++++++++++++++++++++-
 NEWS                                               |  97 +++++
 bindings/python/Makefile.am                        |  17 +-
 bindings/python/sqlite3test.c                      |   6 +-
 bindings/python/tests/CMakeLists.txt               |   1 +
 borrowed/goffice/CMakeLists.txt                    |   6 +-
 borrowed/gwengui-gtk3/CMakeLists.txt               |   6 +-
 cmake/CMakeLists.txt                               |  22 +-
 common/test-core/CMakeLists.txt                    |   3 +-
 common/test-core/unittest_support.py               | 166 --------
 configure.ac                                       |   2 +-
 data/accounts/CMakeLists.txt                       |   2 +-
 data/checks/CMakeLists.txt                         |   2 +-
 gnucash/CMakeLists.txt                             |  15 +-
 gnucash/environment.in                             |   5 +-
 gnucash/gnome-search/CMakeLists.txt                |  10 +-
 gnucash/gnome-utils/CMakeLists.txt                 |  10 +-
 .../gtkbuilder/dialog-preferences.glade            |  15 +-
 gnucash/gnome/CMakeLists.txt                       |   6 +-
 .../gtkbuilder/gnc-plugin-page-register.glade      |  15 +-
 gnucash/gnucash-310.css                            |   2 +-
 gnucash/gnucash-320.css                            |   2 +-
 gnucash/html/CMakeLists.txt                        |  10 +-
 gnucash/html/gnc-html-webkit1.c                    |  15 +-
 gnucash/import-export/CMakeLists.txt               |  10 +-
 gnucash/import-export/aqb/CMakeLists.txt           |   8 +-
 .../import-export/aqb/assistant-ab-initial.glade   |  28 +-
 gnucash/import-export/aqb/dialog-ab-trans.c        |  22 +-
 gnucash/import-export/bi-import/CMakeLists.txt     |   8 +-
 gnucash/import-export/csv-exp/CMakeLists.txt       |   8 +-
 gnucash/import-export/csv-imp/CMakeLists.txt       |   8 +-
 .../import-export/customer-import/CMakeLists.txt   |   8 +-
 gnucash/import-export/dialog-import.glade          |  20 +-
 gnucash/import-export/log-replay/CMakeLists.txt    |   8 +-
 gnucash/import-export/ofx/CMakeLists.txt           |   8 +-
 gnucash/import-export/qif-imp/CMakeLists.txt       |   8 +-
 gnucash/import-export/qif/CMakeLists.txt           |   8 +-
 gnucash/overrides/CMakeLists.txt                   |   2 +-
 gnucash/python/CMakeLists.txt                      |   6 +-
 gnucash/register/ledger-core/CMakeLists.txt        |   8 +-
 gnucash/register/register-core/CMakeLists.txt      |  10 +-
 gnucash/register/register-gnome/CMakeLists.txt     |   8 +-
 .../register/register-gnome/gnucash-item-edit.c    |   9 +-
 .../register-gnome/gnucash-sheet-private.c         |   6 +-
 gnucash/report/locale-specific/us/CMakeLists.txt   |   8 +-
 gnucash/report/report-gnome/CMakeLists.txt         |  10 +-
 gnucash/report/report-system/CMakeLists.txt        |  10 +-
 gnucash/report/report-system/doc/report-html.txt   |   2 +-
 gnucash/report/standard-reports/price-scatter.scm  |   2 +-
 gnucash/report/stylesheets/CMakeLists.txt          |   8 +-
 gnucash/report/stylesheets/stylesheet-easy.scm     |  16 +-
 gnucash/report/stylesheets/stylesheet-fancy.scm    |  16 +-
 gnucash/report/stylesheets/stylesheet-footer.scm   |  16 +-
 .../report/stylesheets/stylesheet-head-or-tail.scm |  16 +-
 gnucash/report/stylesheets/stylesheet-plain.scm    |   4 +-
 gnucash/report/utility-reports/hello-world.scm     |   4 +-
 libgnucash/app-utils/CMakeLists.txt                |  18 +-
 libgnucash/backend/dbi/CMakeLists.txt              |   8 +-
 libgnucash/backend/dbi/gnc-dbiproviderimpl.hpp     |   2 +-
 libgnucash/backend/dbi/gnc-dbisqlconnection.cpp    |   6 +-
 libgnucash/backend/dbi/gnc-dbisqlresult.cpp        |   2 +-
 libgnucash/backend/sql/CMakeLists.txt              |   6 +-
 libgnucash/backend/sql/gnc-account-sql.cpp         |   2 +-
 libgnucash/backend/sql/gnc-address-sql.cpp         |   2 +-
 libgnucash/backend/sql/gnc-bill-term-sql.cpp       |   4 +-
 libgnucash/backend/sql/gnc-book-sql.cpp            |   2 +-
 libgnucash/backend/sql/gnc-budget-sql.cpp          |   2 +-
 libgnucash/backend/sql/gnc-commodity-sql.cpp       |   2 +-
 libgnucash/backend/sql/gnc-customer-sql.cpp        |   4 +-
 libgnucash/backend/sql/gnc-employee-sql.cpp        |   4 +-
 libgnucash/backend/sql/gnc-entry-sql.cpp           |   5 +-
 libgnucash/backend/sql/gnc-invoice-sql.cpp         |   5 +-
 libgnucash/backend/sql/gnc-job-sql.cpp             |   2 +-
 libgnucash/backend/sql/gnc-lots-sql.cpp            |   4 +-
 libgnucash/backend/sql/gnc-order-sql.cpp           |   2 +-
 libgnucash/backend/sql/gnc-owner-sql.cpp           |   4 +-
 libgnucash/backend/sql/gnc-price-sql.cpp           |  11 +-
 libgnucash/backend/sql/gnc-recurrence-sql.cpp      |   4 +-
 libgnucash/backend/sql/gnc-schedxaction-sql.cpp    |   2 +-
 libgnucash/backend/sql/gnc-slots-sql.cpp           |  11 +-
 libgnucash/backend/sql/gnc-sql-backend.cpp         |   5 +-
 .../backend/sql/gnc-sql-column-table-entry.cpp     |  15 +-
 .../backend/sql/gnc-sql-column-table-entry.hpp     |  22 +
 libgnucash/backend/sql/gnc-sql-object-backend.hpp  |   1 -
 libgnucash/backend/sql/gnc-tax-table-sql.cpp       |   6 +-
 libgnucash/backend/sql/gnc-transaction-sql.cpp     |   7 +-
 libgnucash/backend/sql/gnc-vendor-sql.cpp          |   2 +-
 libgnucash/backend/xml/CMakeLists.txt              |  14 +-
 libgnucash/core-utils/CMakeLists.txt               |  12 +-
 libgnucash/engine/CMakeLists.txt                   |  12 +-
 libgnucash/engine/gnc-date.cpp                     |  18 +-
 libgnucash/engine/gnc-date.h                       |   2 +-
 libgnucash/engine/test/test-gnc-date.c             |  23 +-
 libgnucash/gnc-module/CMakeLists.txt               |   8 +-
 libgnucash/quotes/CMakeLists.txt                   |   2 +-
 libgnucash/scm/CMakeLists.txt                      |   2 +-
 libgnucash/tax/us/CMakeLists.txt                   |   8 +-
 po/glossary/ca.po                                  |   2 +-
 po/glossary/el.po                                  | 268 ++++++-------
 po/glossary/es.po                                  | 108 ++---
 po/glossary/es_NI-policy.txt                       |  40 +-
 po/glossary/it.po                                  |  24 +-
 po/glossary/lt.po                                  |   2 +-
 po/glossary/nb.po                                  |  58 +--
 106 files changed, 1190 insertions(+), 815 deletions(-)
 delete mode 100644 common/test-core/unittest_support.py



More information about the gnucash-patches mailing list