gnucash maint: Multiple changes pushed

Robert Fewell bobit at code.gnucash.org
Fri Apr 26 07:09:42 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/d1ee651b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b87ba7ae (commit)
	 via  https://github.com/Gnucash/gnucash/commit/701974b2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4368e18a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9f0558ff (commit)
	 via  https://github.com/Gnucash/gnucash/commit/af96c746 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ede281e2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/93c8535e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/397c5d13 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2262142b (commit)
	from  https://github.com/Gnucash/gnucash/commit/82a2fca2 (commit)



commit d1ee651bbc749d58b9441bc725dbd422c2eb0fcc
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 24 17:02:01 2019 +0100

    Modify the qof log format based on max logger name from log.conf
    
    When you have multiple loggers enabled, the log file indentations are
    partly based on logger name length and so you can have false
    indentations which can cause confusion. This change gets the maximum
    name logger length and uses this for all with a minimum default length
    of 12 characters.

commit b87ba7ae917aae30d2eff580740d8fe1bc66b7de
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Apr 24 15:40:06 2019 +0100

    Bug 797051 - Overwrite prices without warning
    
    Currently if you add a price and a price already exists for that
    commodity/currency/day combination it will silently replace that price.
    The same is also true for editing a prices if you decide to change the
    date. To overcome this add a gnc-warning which allows the response to
    be saved temporary or permanently.

commit 701974b2c06cf88af555f44fcc910299a2b3e14c
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 15:30:39 2019 +0100

    Change the sensitivity of Add price button
    
    Enable the Add price button based on the number of rows selected as it
    does not make sense for it to be enabled with more than one row.

commit 4368e18ac570f308a020f9fa06ac60a09af87f77
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 15:21:49 2019 +0100

    Bug 797165 - Crash on price deletion.
    
    Caused by the introduction of caching used in gnc_pricedb_nth_price,
    when prices were deleted, the cached list was never updated and so the
    tree model could reference a deleted price and hence crash. This also
    affected adding prices as the new prices would not show due to the
    cache not being updated. To fix this a function was added to reset the
    cache when prices are updated from the model.

commit 9f0558ffb53061b5ca62a105273a173741fc1539
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 13:48:21 2019 +0100

    Add some missing log Macros for the price model
    
    Add some missing LEAVE macro statements so the log entries do not get
    longer and longer.

commit af96c746a1c5260f29f96e5398c78f1ae9a5687d
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 13:47:19 2019 +0100

    Improve setting up the price tree views
    
    Before setting up the price tree view filters, disconnect the model
    from the tree view and then connect them after the re-filter.

commit ede281e2a8bc2786e0b5b08f2376465c0a87a387
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 13:46:06 2019 +0100

    Change the Prices dialogue to a GtkWindow.
    
    This removes the need for setting the transient parent which allows the
    dialogue to be placed behind the main application.

commit 93c8535ea9eaca5e22349096795accaac2b5c7df
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 11:56:35 2019 +0100

    Improve setting up the commodity tree view filters
    
    Before setting up the commodity tree view filters, disconnect the model
    from the tree view and then connect them after the re-filter.

commit 397c5d13583d8499eacb42d6e75c86c806e37e27
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 11:55:03 2019 +0100

    Keep selection on commodity after updates and adding
    
    After a commodity is updated or added, another row will be selected so
    add function to select a given commodity and call this after the
    changes so the selection can be maintained. For removal the selection
    is cleared so it is consistent.

commit 2262142b6a72023c60625b33e0df9bcd4855ffb7
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Apr 23 11:42:38 2019 +0100

    Change the Securities dialogue to use GtkWindow
    
    Change the Securities dialogue from a GtkDialog to GtkWindow. This
    removes the need for setting the transient parent which allows the
    dialogue to be placed behind the main application.



Summary of changes:
 gnucash/gnome-utils/gnc-tree-model-price.c         |  27 ++-
 gnucash/gnome-utils/gnc-tree-view-commodity.c      |  48 ++++
 gnucash/gnome-utils/gnc-tree-view-commodity.h      |  10 +
 gnucash/gnome-utils/gnc-tree-view-price.c          |  10 +
 gnucash/gnome/dialog-commodities.c                 | 135 +++++------
 gnucash/gnome/dialog-price-edit-db.c               |  73 +++---
 gnucash/gnome/dialog-price-editor.c                | 115 +++++++--
 .../gschemas/org.gnucash.warnings.gschema.xml.in   |  10 +
 gnucash/gtkbuilder/dialog-commodities.glade        | 198 ++++++++--------
 gnucash/gtkbuilder/dialog-price.glade              | 259 +++++++++++----------
 libgnucash/engine/gnc-pricedb-p.h                  |   1 +
 libgnucash/engine/gnc-pricedb.c                    |  32 ++-
 libgnucash/engine/gnc-pricedb.h                    |   2 +
 libgnucash/engine/qoflog.cpp                       |  25 +-
 14 files changed, 570 insertions(+), 375 deletions(-)



More information about the gnucash-patches mailing list