gnucash unstable: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Tue Nov 21 12:47:28 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/cdb764fe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/169677a8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/179d022d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1f4a2e36 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/54b492ee (commit)
	 via  https://github.com/Gnucash/gnucash/commit/45585219 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9c3247d5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9253b502 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ed3de42c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6228881d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/98d8696b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7a2c1492 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/45116183 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c5fb0d6d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/55002113 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0c443836 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2a938425 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a278bcc0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0ba9b768 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/70ad2c3b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bb16e07d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9f76441d (commit)
	from  https://github.com/Gnucash/gnucash/commit/d44f6bc9 (commit)



commit cdb764fec525642bbe85dd5a0a49ec967c55f089
Merge: 169677a ed3de42
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Nov 21 18:30:09 2017 +0100

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

commit 169677a8d753ba26a447d22d2b2ec565bfe4798b
Merge: d44f6bc 179d022
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Nov 21 17:04:27 2017 +0100

    Merge branch 'gtk3-update9' of https://github.com/Bob-IT/gnucash into unstable
    
    This branch has several improvements in the dense calendar code. The most
    important of these is to fix a crash on Windows.

commit 179d022d1a74cd77c5a9e1dac156d0fb9b8ffa0f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 9 11:29:39 2017 +0000

    Prevent the rename popup from appearing in the dense calendar
    
    If you right mouse on the dense calendar, the treeview pops but also
    the rename page popup. So stop the cascade of the button press event
    when on the dense calendar.

commit 1f4a2e36db04638930f327c0a1783cd58ea2d32f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 9 11:28:09 2017 +0000

    Dense calendar popup window of screen at bottom
    
    The get_allocation function was in the wrong place for the button press

commit 54b492ee83affd27896da099bca04994559ddc14
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 9 10:48:59 2017 +0000

    Add a margin to the Date label

commit 4558521980d7d241c68a9af189fe23feb0d96e7e
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 9 10:39:36 2017 +0000

    Don't re-populate dense calendar treeview on every mouse move
    
    The treeview only needs to be re-populated when the mouse moves to a
    different day so test for this.

commit 9c3247d5ccfbcab4e360fbb0dc967b7ab800a22e
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 9 10:32:10 2017 +0000

    Save the screen dimensions on button click
    
    Instead of getting the dimensions on every mouse move, just save them
    on button click and use the saved values.

commit 9253b5021016bb2e964dc65c5228020e9ac2c77e
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Thu Nov 9 10:12:52 2017 +0000

    If there are no marked days on Windows the dense calendar crashes
    
    If there are no marked days in the dense calendar add a blank one. Also
    make sure all pending events are processed be fore returning as the
    treeview did not always populate correctly.

commit ed3de42c96d4cc0032eb624dc356de05acaa93d0
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:30:03 2017 +0000

    Update the register for the change in RegisterColor enums
    
    Change the map of RegisterColors to CSS style classes to reflect the
    changes and reduce the get colour type to one call per class

commit 6228881d6a23753ada928eb27fdd2a43963a3fbc
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:25:55 2017 +0000

    Change the split and entry models to reflect the colour changes

commit 98d8696b1a223c792dcd029149127c6a17d4e4c6
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:23:17 2017 +0000

    Reduce the RegisterColor enums so there is one for each type
    
    Combine the foreground and background colour enums so there are only
    eight and change the access function to gnc_table_get_color

commit 7a2c1492fd05691db88c7fb0cb10572cf0b786d1
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:20:35 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.

commit 451161837d7d6d51a4775298e4a9ea671fc4724f
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 c5fb0d6dce7731e040e5c6f8ae811b0a77c2f0cd
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:14:51 2017 +0000

    Change the look of the toggle button
    
    With these changes the button image is removed and you are left with
    the arrow and frame on the yellow background. This can be dropped or
    adjusted if it was deemed a good idea.

commit 550021130522b2fb4117bc75879e9cdda7d3866f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:12:01 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 0c443836966fa9fcc93c9510d93c7229515e049e
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:09:37 2017 +0000

    Move the double line to be inside the cursor cell

commit 2a938425748d73f72aa76849544942869f908fda
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:08:02 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 a278bcc05221e33409248b35e4c0c452f4b1d824
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:05:46 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 0ba9b768996e3214d66d37b8b5a46d71ba4fb74d
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 12:01:54 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 70ad2c3bc4f035512605154724228c90d90baa75
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 11:57:58 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 it is
    square, just use the row height instead and the user will no doubt set
    there own widths any way.

commit bb16e07d8f41e04f003ff6b18ad57cec907d5dff
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 11:56:12 2017 +0000

    Adjust the sheet to get its spacings from the item_edit CSS

commit 9f76441d5098b648baad60a5e51c41f571b72d48
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Nov 1 11:54:05 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.



Summary of changes:
 gnucash/gnome-utils/gnc-dense-cal.c                |  95 ++++---
 gnucash/gnome-utils/gnc-dense-cal.h                |   3 +
 gnucash/gnucash-310.css                            |  13 +-
 gnucash/gnucash-320.css                            |  11 +-
 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    | 308 ++++++++++++++++++---
 .../register/register-gnome/gnucash-item-edit.h    |  39 ++-
 .../register-gnome/gnucash-sheet-private.c         |  49 +---
 gnucash/register/register-gnome/gnucash-sheet.c    | 113 ++++----
 gnucash/register/register-gnome/gnucash-sheet.h    |  10 +-
 gnucash/register/register-gnome/gnucash-style.c    |  20 +-
 17 files changed, 664 insertions(+), 521 deletions(-)



More information about the gnucash-patches mailing list