gnucash master: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Tue Sep 2 17:02:37 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/4ecc4cb7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/afa2cc4f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6114a960 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1015a430 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9ca4649e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/afc790d3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e44bb5ff (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7b642081 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ac55c953 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b5fa7ee3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/85b910ac (commit)
	 via  https://github.com/Gnucash/gnucash/commit/434b7f6e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/413eb697 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/da9071fe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/58b5a8e1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9cfc22f4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f8a27b71 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0e701166 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/87654e69 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ac1990fc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/61cd3f11 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/904afd8b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0a394c5b (commit)
	from  https://github.com/Gnucash/gnucash/commit/48c24d99 (commit)



commit 4ecc4cb7d08c5f7f87f996c59aef7ca15c7c6171
Merge: afa2cc4 6114a96
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Sep 2 22:59:41 2014 +0200

    Merge branch 'maint'
    
    * Bug 711440 - Tab labels have different background colour than containing gui element
    * Bug 434462 - register color don't work correct with system theme color
    * Add scrub function for (business) lots to eliminate unneeded lot links
    * Rewrite invoice payment logic to use lot links only when absolutely needed
    * Bug 684719 - Man pages for gnc-fq-* perl scripts

commit afa2cc4febb75b6bd59eee89f8e85277e46f1e2c
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Tue Sep 2 22:59:02 2014 +0200

    Bug 684719 - Man pages for gnc-fq-* perl scripts

commit 6114a960a93065c25352ad36befb5519c7179dc4
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Sep 2 22:45:12 2014 +0200

    Add business lot scrubbing to Check & Repair->All/This transaction(s)

commit 1015a4309092e09c00cb93d805c286c1904cd4c4
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Aug 28 17:29:49 2014 +0200

    Make scrub in lot viewer scrub business lots using the new scrub functions.

commit 9ca4649e6a60b0001b8ec67f3aba2f22883063cb
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Aug 27 15:59:00 2014 +0200

    Rewrite invoice payment logic to fix lot link proliferation
    
    - most payments will behave is it did in 2.4.x
    - when two or more documents are involved in the payment
      a lot link between those document lots will be created

commit afc790d3cfe5cc52c787db5949e5d4d73223829b
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Wed Aug 27 11:45:07 2014 +0200

    Refactor get_pay_split into gncOwnerFindOffsettingSplit
    
    In this form it can be used both for scrubbing lot links and for adding new payments

commit e44bb5ffac76beb3171bef310f600b4f3a8cfa9c
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Aug 26 19:24:56 2014 +0200

    Refactor gncOwnerReduceSplitTo out of reduce_biggest_split
    
    It can now be used both for scrubbing and when applying payments

commit 7b642081a371be82d4bcb48b2f08552e649e46ae
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Aug 26 19:00:41 2014 +0200

    Refactor gnc_doc_doc_link into gncOwnerSetLotLinkMemo and move it
    
    It can now be used both for scrubbing and when applying payments

commit ac55c953ad0866c4be5479d8fe0b5719e7519b03
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Aug 26 12:41:57 2014 +0200

    Handle the case of scrubbing a lot link between two non-document lots

commit b5fa7ee380082e11d278f72a9cdbfd4487583ab1
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Aug 26 12:19:16 2014 +0200

    Tweak the get_pay_split function to prefer the best possible match

commit 85b910acc37cff304e0caed289441cd3479b6958
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Aug 26 10:19:37 2014 +0200

    Refactor scrub_doc_pay_link into scrub_other_link and make it more generic
    
    It can now be used both to
    - move a payment to a document lot (its original use case)
    - move a refund to a payment lot or the other way around

commit 434b7f6ebb9d61a42d4b34a640a0e58721367b43
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 23 15:55:46 2014 +0200

    Add scrub function to reduce the amount of lot links used.
    
    Only lot links between two or more document lots must remain.
    All lot links between document and payment lots can be scrubbed.

commit 413eb69707b9f56043fddd867b79db452c4d6c7f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 23 15:20:13 2014 +0200

    Widen the scope of the subsplit merge scrub function
    
    When used in a strict sense it will only merge splits
    that are marked as subsplits of each other.
    In relaxed mode it will merge any split two splits that
    are both in the same lot and the same transaction.

commit da9071fe4989b63587d660daec3a3f682ec3fada
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 23 15:17:51 2014 +0200

    Move account type checking functions into the engine

commit 58b5a8e1f9349f1a571d49b786cbc1cc6845fae9
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 16 16:09:49 2014 +0200

    Remove superfluous include statements

commit 9cfc22f4f9983e52dd12894803152c0f66d9405d
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 16 15:52:43 2014 +0200

    Small corrections in doxygen comments

commit f8a27b714065c7307a6bf529678256e59f7862d0
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 23 16:02:11 2014 +0200

    More ENTER/LEAVE corrections at function exit points

commit 0e7011665a5f2a8a99d2110284d13439c980d6ce
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Jul 31 12:00:06 2014 -0700

    Balance ENTER with a LEAVE for all exit points.
    
    For xaccLotFill and xaccLotScrubDoubleBalance, anyway.

commit 87654e69f6ed4e13ffacce4348ccd2e814832636
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Sep 2 14:50:32 2014 +0200

    Bug 434462 - register color don't work correct with system theme color - Part 2
    
    This commit fixes this for (business) entry ledgers.

commit ac1990fc9d0f67beb03a8e132c65031d20a0138d
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 30 17:39:49 2014 +0200

    Bug 434462 - register color don't work correct with system theme color - Part 1
    
    This commit fixes this for ordinary registers. Entry ledgers (business) aren't handled yet.

commit 61cd3f1106c4549fcad404aa7eeef463a014a93e
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 30 16:09:01 2014 +0200

    Rename enum elements to make room for foreground equivalents

commit 904afd8bd517f20897883200feb0b821d0407b8f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 30 15:51:22 2014 +0200

    Refactor register color functions to reduce duplication

commit 0a394c5bba98b54011777668f3f8226b5962af6c
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Aug 30 12:24:32 2014 +0200

    Bug 711440 - Tab labels have different background colour than containing gui element



Summary of changes:
 src/business/business-gnome/dialog-payment.c       |  36 +-
 src/business/business-ledger/gncEntryLedger.h      |  11 -
 src/business/business-ledger/gncEntryLedgerModel.c |  94 +++-
 src/engine/Account.c                               |  24 +
 src/engine/Account.h                               |  10 +
 src/engine/Makefile.am                             |   2 +
 src/engine/Scrub.c                                 |   5 +-
 src/engine/Scrub2.c                                |   8 +-
 src/engine/Scrub2.h                                |  26 +-
 src/engine/Scrub3.c                                |   4 +-
 src/engine/Scrub3.h                                |   4 +-
 src/engine/ScrubBusiness.c                         | 333 +++++++++++++
 src/engine/{Scrub3.h => ScrubBusiness.h}           |  62 +--
 src/engine/Split.c                                 |   1 -
 src/engine/Transaction.h                           |   2 +-
 src/engine/gnc-lot.c                               |   3 +
 src/engine/gncOwner.c                              | 552 ++++++++++++++++-----
 src/engine/gncOwner.h                              |  28 ++
 src/gnome-utils/gnc-main-window.c                  | 155 +++---
 src/gnome-utils/gnc-plugin-page.c                  |   3 +-
 src/gnome-utils/gnc-tree-view.h                    |   2 +-
 src/gnome/assistant-acct-period.c                  |   1 -
 src/gnome/dialog-lot-viewer.c                      |  11 +-
 src/gnome/gnc-plugin-page-account-tree.c           |  14 +-
 src/gnome/gnc-plugin-page-register.c               |  13 +
 src/gnome/window-autoclear.c                       |   1 -
 src/quotes/Makefile.am                             |  10 +
 src/register/ledger-core/split-register-model.c    | 302 +++++------
 src/register/ledger-core/split-register-model.h    |  12 -
 src/register/ledger-core/split-register.h          |  16 +-
 src/register/register-core/table-allgui.c          |  59 ++-
 src/register/register-core/table-allgui.h          |  88 ++++
 src/register/register-gnome/gnucash-grid.c         |  24 +-
 src/register/register-gnome/gnucash-header.c       |  10 +-
 src/register/register-gnome/gnucash-item-edit.c    |   6 +-
 src/register/register-gnome/gnucash-sheet.c        |  61 ++-
 36 files changed, 1400 insertions(+), 593 deletions(-)
 create mode 100644 src/engine/ScrubBusiness.c
 copy src/engine/{Scrub3.h => ScrubBusiness.h} (52%)



More information about the gnucash-patches mailing list