gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Tue Sep 2 16:13:11 EDT 2014


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



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.



Summary of changes:
 src/business/business-gnome/dialog-payment.c |  36 +-
 src/engine/Account.c                         |  24 ++
 src/engine/Account.h                         |  10 +
 src/engine/Makefile.am                       |   2 +
 src/engine/Scrub.c                           |   5 +-
 src/engine/Scrub2.c                          |  36 +-
 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-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/window-autoclear.c                 |   1 -
 src/register/ledger-core/split-register.h    |   2 +-
 22 files changed, 955 insertions(+), 204 deletions(-)
 create mode 100644 src/engine/ScrubBusiness.c
 copy src/engine/{Scrub3.h => ScrubBusiness.h} (52%)



More information about the gnucash-patches mailing list