gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun Dec 8 07:40:58 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/279a5fcd (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6266ca2f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/17bbf870 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b5f9cd0b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/775200ef (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2cd69e8d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ded336f9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c06191a6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1c643856 (commit)
	from  https://github.com/Gnucash/gnucash/commit/3b1b78d5 (commit)



commit 279a5fcde88be559634ae36201befe8696272cd7
Merge: 3b1b78d54 6266ca2f1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Dec 8 20:34:49 2019 +0800

    Merge branch 'maint'

commit 6266ca2f12292836223a2cf74c9de7d97e8a258e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Nov 29 19:48:39 2019 +0800

    g_free() output of get_negative_color
    
    because gdk_rgba_to_string() returns a newly-allocated string
    
    * get_negative_color is gchar* instead of const gchar*
    * move to dialog-utils.c
    * rename get_negative_color() to get_negative_color_str() in
    window-main-summarybar.c
    * add g_free to gnc_tree_model_account_dispose ()
    * modify code to g_free () after use

commit 17bbf870e5bdacf96114a8ef2aa5a763bc880877
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Nov 29 21:50:47 2019 +0800

    Bug 797401 - Invoice Reports need an overall page width set
    
    Use html5 @media to set main-table to page width.

commit b5f9cd0b32398fe5668e4f140cc91a7324436e01
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 19 16:21:43 2019 +0800

    [budgets.scm] budget reports handle both natural & reversed budgets

commit 775200ef348f8579a3e0258988ae25a8026dbd6d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Oct 22 23:19:28 2019 +0800

    [gnc-budget-view.c] totals - 5 fundamental types
    
    previous showed income/expense/transfers/totals budget totals, of
    uncertain meaning. now shows income/expense/asset/liability/equity
    budget totals.
    
    the 5 lines also become sensitive to global sign-reverses property

commit 2cd69e8d85f8f1538409deeb657a379a0bc36c92
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 19 16:19:11 2019 +0800

    [budgets.c] handle both natural & reversed signs budgets
    
    introduce new API
    * gnc_using_unreversed_budgets - queries book's unreversed feature
    * gnc_reverse_budget_balance - check if book unreversal status matches
      2nd argument. if so, return account's reversal status. else, return
      FALSE.
    
    * gnome-budget-view can now show both natural and reversed budgets
    * gnome-plugin-page-budget will now read&write both natural and
      reversed budgets.

commit ded336f987ccd6b23c14d79a721ca115a4bb95dc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 19 16:06:20 2019 +0800

    [gnc-features] enable reading of unreversed budgets

commit c06191a6562d68a6151561936f487a6176d8045f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Dec 5 10:16:45 2019 +0800

    Transaction.c: avoid slow g_list_nth_data

commit 1c64385614ec8a14912b577fe6b2d4a4ba09627a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Dec 5 09:57:23 2019 +0800

    base-typemaps: avoid slow g_list_nth_data
    
    scan GList via glist pointer links rather than incrementing index.



Summary of changes:
 common/base-typemaps.i                             |   6 +-
 gnucash/gnome-utils/dialog-utils.c                 |  11 ++
 gnucash/gnome-utils/dialog-utils.h                 |   2 +
 gnucash/gnome-utils/gnc-tree-model-account.c       |  34 +++---
 gnucash/gnome-utils/window-main-summarybar.c       |   6 +-
 gnucash/gnome/gnc-budget-view.c                    | 116 ++++++++++++---------
 gnucash/gnome/gnc-plugin-page-budget.c             |  14 +--
 .../reports/standard/budget-balance-sheet.scm      |   3 +-
 .../reports/standard/budget-income-statement.scm   |   3 +-
 gnucash/report/reports/standard/budget.scm         |  33 ++++++
 gnucash/report/reports/standard/invoice.scm        |   1 +
 libgnucash/app-utils/app-utils.i                   |   2 +
 libgnucash/app-utils/gnc-ui-util.c                 |  18 ++++
 libgnucash/app-utils/gnc-ui-util.h                 |  10 ++
 libgnucash/engine/Transaction.c                    |  22 ++--
 libgnucash/engine/gnc-features.c                   |   1 +
 libgnucash/engine/gnc-features.h                   |   1 +
 17 files changed, 201 insertions(+), 82 deletions(-)



More information about the gnucash-patches mailing list