gnucash unstable: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Fri Nov 24 11:28:35 EST 2017


Updated	 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/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)
	from  https://github.com/Gnucash/gnucash/commit/9c4635e3 (commit)



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 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.



Summary of changes:
 .../gtkbuilder/dialog-preferences.glade            |  15 +-
 .../gtkbuilder/gnc-plugin-page-register.glade      |  15 +-
 gnucash/gnucash-310.css                            |  13 +-
 gnucash/gnucash-320.css                            |   9 +-
 gnucash/html/gnc-html-webkit1.c                    |  15 +-
 .../import-export/aqb/assistant-ab-initial.glade   |  28 +-
 gnucash/import-export/aqb/dialog-ab-trans.c        |  22 +-
 gnucash/import-export/dialog-import.glade          |  20 +-
 gnucash/register/ledger-core/gncEntryLedgerModel.c |  49 ++--
 .../register/ledger-core/split-register-model.c    | 217 +++++++--------
 gnucash/register/register-core/table-allgui.c      |  57 +---
 gnucash/register/register-core/table-allgui.h      |  42 +--
 gnucash/register/register-core/table-model.c       |  72 ++---
 gnucash/register/register-core/table-model.h       |  29 +-
 gnucash/register/register-gnome/gnucash-header.c   |  58 ++--
 .../register/register-gnome/gnucash-item-edit.c    | 303 ++++++++++++++++++---
 .../register/register-gnome/gnucash-item-edit.h    |  39 ++-
 .../register-gnome/gnucash-sheet-private.c         |  47 +---
 gnucash/register/register-gnome/gnucash-sheet.c    | 113 ++++----
 gnucash/register/register-gnome/gnucash-sheet.h    |  10 +-
 gnucash/register/register-gnome/gnucash-style.c    |  20 +-
 gnucash/report/report-system/doc/report-html.txt   |   2 +-
 gnucash/report/standard-reports/price-scatter.scm  |   2 +-
 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 +-
 29 files changed, 696 insertions(+), 573 deletions(-)



More information about the gnucash-patches mailing list