gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Oct 1 01:04:16 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/7706fff3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/65c8357f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b7be8d59 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8d909662 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c96fb620 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/406953c2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/26714d2e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/20942827 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b6f2b111 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/02e3a747 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3e014f18 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ed436f41 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9261cabf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c4b40dbf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9c9068cf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f7262388 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f89a40e3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3b416f07 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/26a17987 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1c5eb86d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9bec660f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/164f4847 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3991ccb9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/40bcd1e3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4fe12f54 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/87533fe4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6d2ef903 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/dd10ac8b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/80a45917 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/70bc472f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/39575f22 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/77fb01db (commit)
	 via  https://github.com/Gnucash/gnucash/commit/54cb3358 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2d565215 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/59a6ebc3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0cf42a75 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/10811b8a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a20a803c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/766dc9b2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/586cd704 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/395b42d6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ce585495 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ad361d1e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/941acee0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/77063afa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/984501e9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2832b8e6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/38129365 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9bba9474 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3e9cd1fc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/867aa78f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/83b1b8ad (commit)
	 via  https://github.com/Gnucash/gnucash/commit/162605f5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/06d836e6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5057703d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5775662b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/221c4658 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5609b704 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/62eb95c0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4e716299 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/33fae41a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ee77f38f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/10a21cbf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/48b29f5e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b866d7d9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/196decf6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4d57df22 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1117027f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f219bc45 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a19dcc7b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b2d99615 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d069b67d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3634e8f5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3845611f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4cc61463 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bfa6cd52 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ef56e7cc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f8a9be2c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f4c0544f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c76ea30f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/768ed099 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cb2fccf4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4f90663c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7a63fab0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0144055c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/512dd7c7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/18087033 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b85f54a2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b21874df (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cb01c93a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/89f8c8dc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/eac79bd5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/353eee58 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/83ad9e4b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f3100ddc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/51635416 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3e8acf29 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ec1536ad (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0b069900 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/125dcfb0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/88229370 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7e56a44f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b05082a0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1a7c5b9a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3ab66623 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/63848543 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0551ee36 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6e023755 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/74f285d7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/40cbcc11 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5811f7bf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0afec128 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/41b0e4eb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/62c9b4e0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e0b26628 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/900cd366 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f1ff608e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a30a5864 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b75de5de (commit)
	 via  https://github.com/Gnucash/gnucash/commit/dae877ca (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a0c5be2c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/15b62eea (commit)
	 via  https://github.com/Gnucash/gnucash/commit/74ebac46 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bfde5a17 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7ef4c005 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d6071020 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/996b94b1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ba000f71 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0198a8b8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/12253f3c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/30f14191 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0f505d13 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1afacb97 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cf3ccb9f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5467c475 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/874ed6ab (commit)
	from  https://github.com/Gnucash/gnucash/commit/61551526 (commit)



commit 7706fff3c94143f93030db167c5b51f146a09999
Merge: 6155152 65c8357
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 29 16:49:35 2018 -0700

    Merge branch 'maint'

commit 65c8357f53dfd59781ad5ba467577487f70b8513
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 29 16:05:55 2018 -0700

    Release 3.3

commit b7be8d59b7eee3a9c889378d1b7b70be2559c562
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 29 13:01:29 2018 -0700

    Remove engine-deprecated.i from CMakeLists.txt.
    
    It wasn't created in the timespec functions deprecation commit.

commit 8d90966251c64a836d481065dfea344562bdd26e
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 29 12:44:09 2018 -0700

    Update Farsi and Ukrainian translations from the Translation Project.
    
    Includes re-applying http://bugzilla.gnome.org -> https://bugs.gnucash.org.

commit c96fb6209c178a4ffacfe248d0426dd457496094
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 28 22:15:56 2018 +0200

    Bug 795821 - GnuCash could not obtain the lock for file://C:\Users\username\Documents\GnuCash\2.6.21\xxxx\xxxx.gnucash

commit 406953c2ae8ebc8bf034abcdeaf22757c61cedc2
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 28 14:51:40 2018 +0200

    Bug 796820 - References to 'Gnome Bugzilla' should be changed to 'GnuCash Bugzilla'
    
    Additionally use https everywhere to refer to bugs.gnucash.org or bugzilla.gnome.org

commit 26714d2e1715139efb273ace96ecfb6e1ef036b4
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 27 18:05:01 2018 -0700

    Bug 792446 - Mixed languages in error dialog.

commit 2094282790818a2a09bcce6d023f9a8abcfaa7c3
Merge: 02e3a74 b6f2b11
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Sep 27 21:57:39 2018 +0200

    Merge branch 'block-pref' of https://github.com/Bob-IT/gnucash into maint

commit b6f2b111bc2b9e701639eb4684bdbfe4bf4b97c9
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Sep 7 11:44:47 2018 +0100

    Block registered prefs when preference dialogue loaded
    
    When the preference dialogue is loaded and options are set, the ones
    with registered callbacks fire causing parts of Gnucash to be updated.
    This was observed with gnc_split_register_load being executed 5 times
    for each open register when the preference dialogue was loaded.
    
    To overcome this, a couple of functions have been created to block and
    unblock all registered prefs and used while the preference dialogue is
    loaded.

commit 02e3a747e431c01a7aa516260c98f4692880a0eb
Merge: ed436f4 3e014f1
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Wed Sep 26 09:57:12 2018 +0200

    Merge branch 'patch-1' of https://github.com/myaser/gnucash into maint

commit 3e014f189fdae13270d49dcb11490cdbca9dec34
Author: Mahmoud Yaser <me.MahmoudYaser at gmail.com>
Date:   Wed Sep 26 08:21:17 2018 +0200

    Update change_tax_code.py

commit ed436f4151e290f2e9814528dcbeecbbdf3b0567
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 24 23:05:59 2018 +0200

    Bug 796819 - bad icon with Spanish localization
    
    Drop translations of the 'gnucash-icon' string from our po files
    and add a note for translators to not translate this string or
    use the litteral 'gnucash-icon' as translation

commit 9261cabfbbfd1e391ae73672dc027fec9cbdd77c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 24 19:34:18 2018 +0200

    Bug 787439 - Segmentation Fault in Transfer dialog after clearing Date field and pressing escape
    
    Disconnect date edit's focus-out callback before destroying the transfer dialog widget.
    This should prevent the callback being triggered while the widget's internal state
    is being destroyed.

commit c4b40dbf468e78233104c69f4fc8716f88dd5346
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 24 18:35:10 2018 +0200

    Bug 796816 - Notes field in Duplicate Invoice dialogue is 'read-only'

commit 9c9068cf5a7bbfd86eacfd62fdfa515b533ae651
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 24 18:24:40 2018 +0200

    Use proper GtkAction function instead of generic g_object call

commit f726238865aec6890028894d6921afd20f7834d6
Author: Mahmoud Yaser <me.MahmoudYaser at gmail.com>
Date:   Mon Sep 24 17:21:16 2018 +0200

    Update change_tax_code.py

commit f89a40e3ebf7ffae2f59b352d5d2d2cbb00f1ab1
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 24 17:15:11 2018 +0200

    Fix gtk accelerator mixups by explicitly disabling actions that are not relevant
    
    The issue I found was with File->Print and its variants for various page types.
    They all use the same '<primary>p' as global accelerator. It was possible to
    have gnucash invoke the 'Print Report...' action instead of the 'Print Invoice...'
    action when hitting <primary>p on an invoice page. If no report page was
    open at this point, gnucash would crash. If a report was open, gnucash
    would invoke the print action on that report instead of opening an
    invoice report for the invoice. This looks like a bug internally in
    the gtkaction handling or our improper use of it. However I could
    work around it by disabling action groups before unmerging them.

commit 3b416f07bed535bf012a4058bfb6ede158c833b3
Author: Mahmoud Yaser <me.MahmoudYaser at gmail.com>
Date:   Mon Sep 24 11:12:16 2018 +0200

    Update change_tax_code.py

commit 26a179872ddce7fc490a30e0c6bd041d09e2b8c7
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 23 16:30:30 2018 -0700

    Don't create 2 new books for every new session.
    
    And don't ask to save a not-dirty or empty book, fixing
    Bug 794870 - If no book is opened, gnucash still asks if the user wants
    to save changes when opening a file

commit 1c5eb86d9023d0505ea86d78a57030c7e3ef463e
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 23 21:52:33 2018 +0200

    Simplify GNCQueryView's data model
    
    It was managing a number of redudant parameters which were leaking
    memory all over the place. The information that was tracked could
    easily be extracted from the underlying GtkTreeView, GtkTreeModel
    or GtkTreeSelection when needed.

commit 9bec660fba4ed92d86df05cf94501c6e3b7c1030
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 23 18:14:35 2018 +0200

    Revert "Fix memory leaks in GncQueryView"
    
    This reverts commit 5609b704c569975663d3bf3b85ea50965f602399.
    
    While it fixed the memory leaks it also caused gnucash to crash
    when trying to search for invoices. Will be redone differently
    in a follow-up commit.

commit 164f484718205d17499307cc804fc81dd574b607
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 23 17:35:29 2018 +0200

    Open customer/vendor/employee report when double-clicking an the respective owner the cust/vend/empl overview page
    
    Before this action would open the cust/vend/empl edit window. However opening the report is a much
    more common use case so it makes sense to make that one default.

commit 3991ccb9c2383f94315ec647e4250a408bc16ad4
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 23 15:59:27 2018 +0200

    Cache current owner balances
    
    These are queried continuously by the owner tree view (on Customer/Vendor/Employee
    Overview pages) and recalculating them is an expensive operation.
    The cache will be invalidated each time a lot reated to the owner
    changes (modify or delete). The net effect is a huge responsiveness
    improvement of said overviews in case of a large book.

commit 40bcd1e37779b2c6bcc1fc1cdb00aef8f28adb34
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 21 14:33:02 2018 -0700

    Bump the max_denom_mult to match the new GNC_COMMODITY_MAX_FRACTION.

commit 4fe12f54225938c9479f17c4f80ebe64762f1b19
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 21 14:32:03 2018 -0700

    Some more magic number replacements.

commit 87533fe4bcb659ebacec6f50ed68070175d4aeda
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 21 14:28:49 2018 -0700

    Catch std::underflow_error as well as std::overflow_error.
    
    Any operation that can overflow will throw an underflow if it's a
    negative number. The C interface needs to catch both to prevent
    unhandled exception crashes,

commit 6d2ef90313884672625a2641f9340f10211117de
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 21 13:00:34 2018 -0700

    Fix a magic number.

commit dd10ac8bc79430b1b6795c8b67bd013ae4fc0d79
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 21 13:00:19 2018 -0700

    Don't need NANOS_PER_SECOND anymore.

commit 80a4591736f7a3715a81f57ff37733e28af360e5
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 21 12:29:56 2018 -0700

    Bug 786708 - GnuCash won't load currency fractions larger than 1000000.
    
    Also create larger fractions for the account dialog.

commit 70bc472ffe93b80ad12db56e75332d09d3b0c1df
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 20 17:25:44 2018 -0700

    Revert "[net-charts] deoptimize accounts-list"
    
    This reverts commit 941acee04e3598c18eda8cb68c3b024da6f73ab1. It did
    indeed deoptimize creating a list of split-balances for time reports.

commit 39575f22727dcf1bfe5b5ffd56b28e855e551742
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 20 17:04:25 2018 -0700

    Bug 784420 - "Save changes on closing" window waits 2^32 seconds when...
    
    "Time to wait for answer" is set 0.
    
    Set minimum value of 1 for the save_on_close_adj.
    Disable the associated spinner if the timeout is disabled.
    Protect secs_to_save from rolling over if it's already 0.

commit 77fb01db82daef270fe0df81859d30cc7df10e8c
Merge: 2d56521 54cb335
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 20 10:56:01 2018 -0700

    Merge branch Christoph Holterman's 'python-query-test' into maint

commit 54cb3358ce0fd7f373684fcd64b4db7aba41a443
Author: Christoph Holtermann <c.holtermann at gmx.de>
Date:   Thu Sep 20 18:39:05 2018 +0200

    add basic test for python query
    
    add test for creating query object and setting search_for
    related to Bug 796137 and fix in commit 1a7c5b9a32df1d0ccd7e739a70b3d0f38e4dda36

commit 2d565215cd3306f477ef51b12cfae878438dde9b
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 18 16:08:48 2018 -0700

    Fix localedir relocation.
    
    Since LOCALEDIR is now always absolute we need to see if there's a
    prefix and if LOCALEDIR is a subdir of PREFIX instead.

commit 59a6ebc33a289de9f35a975feacfc91e09bb54e1
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 18 15:07:47 2018 -0700

    Fix TravisCI build failure.

commit 0cf42a75b338c003c4ff9d98f48dd71126bfa5e8
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 18 10:21:09 2018 -0700

    Bug 796858 - TypeError: in method 'qof_query_int32_predicate',...
    
    argument 2 of type 'gint32' on gnucash.gnucash_core.QueryInt32Predicate
    
    Add gint32 to typemap.
    Also replace a couple of PyString_ calls leftover from Py2.

commit 10811b8a43a80b46dd588a4d1f2dfac066adaa0c
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Tue Sep 18 12:31:44 2018 +0200

    Redo of commit 586cd70

commit a20a803c8e86fa2c936b96366c1dfd0c25af875a
Merge: 766dc9b 395b42d
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 17 17:46:28 2018 -0700

    Merge Chris Lam's 'maint-optimize-interval-charts' into maint.

commit 766dc9b2d5cee4810a2d3a3b85091e1934f3d19f
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 8 13:53:25 2018 -0700

    CMake: Test for & set WORDS_BIGENDIAN, set _GNU_SOURCE.
    
    Got lost in transition from autotools.

commit 586cd70432d4b9027a5e7f855ce6283c2098674f
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Mon Sep 17 22:18:00 2018 +0200

    Update Overview of README
    
    based on https://lists.gnucash.org/pipermail/gnucash-devel/2018-September/042748.html
    
    Additional changed "http" to "https", where available.

commit 395b42d620ae0136649d3e74b5eecf220f5550ef
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 19:29:06 2018 +0800

    [average-balance] add styling to data table

commit ce5854950666b43878b552f44971a36a57289f4b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 20:36:31 2018 +0800

    [invoice] mark strings in options as translatable

commit ad361d1e69edac8fb352c72305f723c81d9b354b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 19:24:12 2018 +0800

    [invoice] Add customer/vendor ID in client section
    
    This aims, but does not completely fixes bug 430259 or 742086 which
    would require data model changes. It upgrades invoice.scm to add the
    customer/vendor/employee internal ID. Job invoices will display the
    job owner's ID.

commit 941acee04e3598c18eda8cb68c3b024da6f73ab1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 17:28:26 2018 +0800

    [net-charts] deoptimize accounts-list
    
    This aims to partially undo commit 8aed5c3f660.

commit 77063afa735d30cb44a51b1a487056bb03f522b3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 09:18:32 2018 +0800

    [report-utilities] improve (gnc:account-get-comm-value-interval)
    
    This commit will marginally speed up this function when
    include-children? is #t. The original code would create a new query
    for each descendant. This commit will create one query only for all
    accounts when include-children? is #t. Unfortunately there is no
    actual live code whereby include-children? is enabled. Anyway this
    code is cleaned up.

commit 984501e95168726f9e86dbfa4c8fd21fe8fcd6e1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:26:48 2018 +0800

    [report-utilities] improve (gnc:account-get-comm-balance-at-date)
    
    This improves (gnc:account-get-comm-balance-at-date) to
    use (xaccAccountBalanceAsOfDate) instead of cycling through a split
    list.
    
    This function is used in numerous charts and should speed them up
    tremendously.

commit 2832b8e63c5218d630f6220ff5952785ec323608
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 17:08:11 2018 +0800

    [report-utilities] compact functions

commit 381293655ff60bde76698a58a7b588f1cd20efb1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:35:11 2018 +0800

    [test-charts] also test income-expense-barchart amounts

commit 9bba9474cbbc9c4702c06a7804f812e2e2acf41f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:19:43 2018 +0800

    [test-charts] add daily txns and test range
    
    This test (for net-worth-barchart only) adds daily transactions from
    1/1/70 for 100 days, and aims to test the date ranges for net-charts
    is accurate.

commit 3e9cd1fc1170165299a1fe30c434825444eeab2a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:11:06 2018 +0800

    [test-extras] augment (gnc:options->sxml) to allow tag stripping
    
    An html render containing a <script>...</script> tag will not
    typically be parsable by sxml. This augmentation will strip an html
    tag from the render. Therefore we can use
    
    (gnc:options->sxml ... #:strip-tag "script")
    
    which will strip off the whole <script> section from the render, which
    should usually then be parsable. Note: this is not foolproof, and does
    not support nested <script> tags, and it will strip quoted "</script>"
    tags too, but should cover common cases.

commit 867aa78f91274c759b0de9d63512af1ff09d6196
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:10:34 2018 +0800

    [test-charts] add SRFI-64 teardown function

commit 83b1b8adfc95f89df766d4a008c47a80e87df194
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 16 13:05:49 2018 -0700

    Fix typos.

commit 162605f505a255af7c4d50505d12d8b326b34bca
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 16 12:36:04 2018 -0700

    Fix Windows binreloc executable finding.
    
    Taking into account the behavior of
    g_win32_get_package_installation_directory_of_module when the last
    directory element either is or isn't "bin".

commit 06d836e66b149f70a37d8ec062c237b7d4f06d26
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 16 11:19:26 2018 -0700

    Fix cursor handling in the register.
    
    Broken by over-aggressively capturing the selection.

commit 5057703d30e1953b31587ca6c54f16c8faa983de
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Sep 15 17:48:37 2018 +0200

    Sql backend - show progress similar to how it's done for xml backend
    
    That is let the percentage increase gradually. The current granularity is still
    very rough, but at least it gives an indication of getting closer to fully
    loading the data. The previous configuration on the other hand only suggested
    something was happening but with no indication where in the load process
    gnucash was.

commit 5775662b52869604913a44972737cd8748945169
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Sep 15 16:41:37 2018 +0200

    Raise edit level of all accounts before loading transactions and splits
    
    This prevents calling xaccAccountRecomputeBalanceInCurrency on each split that gets added,
    which was exponentially increasing load times. On a huge test book the
    load time dropped from 53 minutes to 1m20s.

commit 221c46585c53ee7f0bdf388347f952426866149c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Sep 15 16:38:55 2018 +0200

    Sql backend - load transactions before business objects to reduce individual slot queries

commit 5609b704c569975663d3bf3b85ea50965f602399
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 14 11:51:25 2018 +0200

    Fix memory leaks in GncQueryView

commit 62eb95c05cbb9069706a53fd5e5d7057ec823b54
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 14 11:01:05 2018 +0200

    Fix memory leaks in gncOwnerGetBalanceInCurrency

commit 4e716299663482d9f53062e0fa7826ed91b4fddc
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 14 10:47:31 2018 +0200

    Fix memory leak in xaccTransRetDateDue

commit 33fae41aaacce4e021a3abef330fbd5340a900b6
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Sep 14 10:01:38 2018 +0200

    Fix 1-byte memory leak on first run

commit ee77f38f40f8b59a361a2e6f7024d8bac7b0c1d0
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Sep 13 21:13:20 2018 +0200

    Fix first run dialog not appearing

commit 10a21cbfacedb07a3a30d1a343902764ec395418
Merge: 48b29f5 f219bc4
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 11 10:46:02 2018 -0700

    Merge branch 'Bug794526' into maint

commit 48b29f5e91b6bce411a10505ad08b657967ec222
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 10 19:49:43 2018 +0200

    Fix memory leak in char* type KvpValue and fix improper uses
    
    The core issue was that the delete visitor was never called because its parameter
    type (char *) didn't match the boost::variant type (const char *).
    Fixing the visitor's parameter type also require a const_cast
    back to char * because that's what g_free takes as argument.
    
    The rest of this commit is merely fixing KvpValue instantiations that
    tried to create a char* KvpValue from a stack based const string instead
    of a heap allocated one. That would bomb out on calling the
    delete visitor.

commit b866d7d955f89d74ac31ea49167c95a9cdbc8899
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 10 18:57:39 2018 +0200

    Plug memory leak in xaccSplitDestroy
    
    Splits were not marked for deletion if the transaction is read-only
    and the account is not marked for deletion yet. The net result is
    that split will not be freed later on.
    However xaccSplitDestroy is also called from a Transaction's do_destroy.
    At that point accounts are not necessarily marked for deletion yet (like
    is the case when a datafile is closed). This turned out to be a problem
    for invoice post transactions (which are also read only) and hence
    would cause memory to leak.

commit 196decf64918fc5e6aabb2ddaf02e42271f21280
Merge: 1117027 4d57df2
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 10 14:48:04 2018 +0200

    Merge branch 'maint-fix-test-report-utilities' of https://github.com/christopherlam/gnucash into maint

commit 4d57df2293c28ee891408e8b703cd1b87ea806bb
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 10 20:05:21 2018 +0800

    [test-report-utilities] changes to make tests locale independent
    
    1. LC_ALL should set default-report-currency to USD
    2. change test monetary output from list-of-strings '("$25.00") to
    monetary pairs '(("USD" . 25)) which should be locale independent.

commit 1117027f72580d2628f084931deec96229a63317
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Sep 10 10:24:49 2018 +0200

    An empty GValue is interpreted as NULL reason, which is still a valid cache
    
    Ignoring this would make caching almost useless as there are typically
    only very few read-only transactions.

commit f219bc45aa355a9f194bcaedcd72f511eb22fbcf
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 16:24:26 2018 -0700

    Bug 794526 - Python bindings can't find loadable modules.
    
    Always use absolute paths for configured directories (BINDIR etc.)
    Abstract out the guts of gnc_gbr_find_foo_dir for foo in lib, bin, and data.
    etc requires special handling because of the way it's treated if prefix
    begins with /opt.
    
    Always fall back on the configured directory if binreloc is disabled and
    no default is passed in.

commit a19dcc7bd4b4c2a64f905968b8db523fee44c31d
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 15:02:53 2018 -0700

    Fix crash when there's no TRANS_READ_ONLY_REASON slot.
    
    Unsetting an empty g_value raises a fatal error, causing tests to fail
    in some environments.
    
    g_free() handles NULLs itself, no need to protect it.

commit b2d99615abbede6f863eec208a454a831a0a4dd8
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 9 23:36:41 2018 +0200

    Fix if clause
    
    Spotted by Kevin Hale Boyes

commit d069b67d48f99ef69d6a31c9dd428da67215b048
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 9 22:49:52 2018 +0200

    Fix memory leak in xaccTransGetReadOnly
    
    In addition implement a cache for this value as suggested in the comments
    as this function is called on every transaction commit.

commit 3634e8f59d576ce2c3b97fc6a817ada506d47989
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 9 17:43:05 2018 +0200

    Fix memory leak using qof_instance_get on a GncGUID
    
    The underlying boxed type will return a copy so we should free this
    when no longer needed.

commit 3845611f30848d6aca9b4764e24c050e801e0803
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 9 12:35:56 2018 +0200

    Plug memory leak in register code
    
    The table storing cell dimensions was never freed. The size of this table is
    directly proportional to the number of cells in the register. So the more
    transactions/splits in a register, the more memory was leaked - each time
    a register was opened and closed. With my huge test book I saw leaks of
    4Mb-10Mb per page that was opened/closed.

commit 4cc61463abd60848e14543ec22adb8364b5a6cda
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Sep 9 12:32:04 2018 +0200

    Remove unused variable

commit bfa6cd52e829cb50d8ad401528b7ca7daae0b26f
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 12:36:32 2018 -0700

    Make selection caching uniform across gnucash-sheet functions.
    
    Also make selection variable names consistent.

commit ef56e7cc76cb5504e1a67eb34d7c9f3afb0c5254
Merge: f8a9be2 6e02375
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 11:19:38 2018 -0700

    Merge Bob Fewell's 'Bug796839' into maint.

commit f8a9be2c7fa8b5af1e429d7dbb6202996ca50613
Merge: f4c0544 c76ea30
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 11:10:23 2018 -0700

    Merge Chris Lam's cleanup-report-utilities into maint.

commit f4c0544f1b8084553f010c821c55cde2b2d446ac
Merge: 7e56a44 3e8acf2
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 11:07:41 2018 -0700

    Merge Chris Lam's 'test-report-utilities' into maint

commit c76ea30f3a07f164d0cf9ce8c9561bf7386176f3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 9 18:41:13 2018 +0800

    [obsolete api] improve deprecation warnings

commit 768ed09977630bdfb4c23e01cc58900e7b318d1a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 21:20:21 2018 +0800

    [report-utilities] remove (gnc:value-collector-*) functions
    
    These functions are underused. Remove.

commit cb2fccf416ea5c5cb757764e62d9596f0b390e57
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 18:55:40 2018 +0800

    [report-utilities] remove (gnc-commodity-collector-*) functions
    
    These functions are not actually exported in report-system.scm so they
    are not generally available to external reports. It should mean
    they're safe to remove.

commit 4f90663c9a4db834f032a7757208802e50ab1aa4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 21:19:30 2018 +0800

    [report-utilities] rewrite list-set-safe! using named let
    
    This avoids some set! calls

commit 7a63fab04a01fd029a337cc0eb37a1e0e882d447
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 23:09:10 2018 +0800

    [report-utilities] convert functions to srfi-1

commit 0144055c4339c202e029ec0508fd5e5df69bfba0
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 23:08:43 2018 +0800

    [report-utilities] compact functions. no refactoring.

commit 512dd7c73cd86fe6f9beef71ee66f11b70c68846
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 22:29:55 2018 +0800

    [report-utilities] compact gnc:get-account-period-rolledup-budget-value

commit 18087033540662a34e6e95fe30d8c4e5795d2cdd
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 22:21:03 2018 +0800

    [report-utilities] compact gnc:account-get-total-flow
    
    This commit compacts function while maintaining legibility

commit b85f54a2874b036c84b6f69d1c49347779dacf78
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 17:05:40 2018 +0800

    [report-utilities] commodity-collector: simplify

commit b21874df0bc77ca3760cd45b139ddaf5d78730dd
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 23:19:12 2018 +0800

    [obsolete api] gnc-commodity-numeric->string to gnc:monetary->string

commit cb01c93a0fa7d43b670290fb5f0135f9ab9dd6a4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 23:16:41 2018 +0800

    [obsolete api] gnc-commodity-value->string to gnc:monetary->string

commit 89f8c8dc12d5b4a924a6dce69ee1ccb11753e5f3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 1 11:13:31 2018 +0800

    [commodity|report-utilities] simplify functions, convert to srfi-1
    
    these functions are not used elsewhere and should be inlined. however
    they are exported and must be retained for now.

commit eac79bd506395120fb986538ab4509e11ef2d365
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Aug 29 22:21:40 2018 +0800

    [commodity-utilities] simplify boolean functions
    
    (if a b #f) -> (and a b)
    (if a a b)  -> (or a b)

commit 353eee58cbf6510682cc511b651273a0d363220c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 20 10:34:39 2018 +0800

    [transaction] convert collector map to for-each
    
    collectors are accumulator-type objects, being mutated with each call,
    rather than functional objects. (map) is meant for functional
    constructs, returning a list to current continuation. We're not using
    the (map) output, so, change it to (for-each) to emphasise this.

commit 83ad9e4b89c597e2087e2353682bd5b376184cf6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 20 10:30:35 2018 +0800

    [transaction] convert add-split-row to functional style
    
    This commit removes need for row-contents, building a list of
    table-cells directly.

commit f3100ddc0a2c90e4a1f267715767d13aa886caf6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 20 10:16:01 2018 +0800

    [transaction] convert add-subheading to functional style
    
    This commit removes need for row-contents, building a list of
    subheadings directly.

commit 516354166643980a2a0c35ff50ce985e4988987e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 16 12:26:08 2018 +0800

    [report] remove test-report-system-flag
    
    This flag is not required if we test (gnucash-ui-is-running) instead.

commit 3e8acf293d26ac2dad59eaf1368e2cc3741a714f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 9 19:11:45 2018 +0800

    [test-report-utilities] structure must be retrieved dynamically

commit ec1536ad50a1e9cbcef5afa57e2b2bce32076978
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 23:05:05 2018 +0800

    [test-report-utilities] encapsulate old test with teardown
    
    Wrap old (test-account-get-trans-type-splits-interval) and clean up
    environment with (teardown).

commit 0b069900d03507ef455f19ccde650b7040d56bba
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 12:42:25 2018 +0800

    [test-report-utilities] test account balances

commit 125dcfb0ec8a50a02024486639a6e95279488824
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 11:36:41 2018 +0800

    [test-report-utilities] test list, monetary->str, commodity-collector
    
    - list-set-safe
    - gnc:monetary->string
    - commodity-collector

commit 88229370aa65f33a8865c9d65b7069498b2fdc26
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 10:56:43 2018 +0800

    [test-report-utilities] convert to srfi-64 and augment tests

commit 7e56a44f6644232f5b0bb8422c285b8578f7de83
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 8 15:08:39 2018 -0700

    Remove deleted files from POTFILES.in

commit b05082a09d916bec87e8608f16f5ba8f164bcc5d
Merge: 1a7c5b9 40cbcc1
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 8 14:43:33 2018 -0700

    Merge Chris Lam's consolidated invoice report into maint.

commit 1a7c5b9a32df1d0ccd7e739a70b3d0f38e4dda36
Merge: 148f241 3ab6662
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 8 13:20:51 2018 -0700

    Merge Christoff Holterman's Bug 796137 repair into maint.

commit 3ab66623cda4b65630e2c0902a231eb9c8a45624
Author: Christoph Holtermann <c.holtermann at gmx.de>
Date:   Fri Sep 7 00:09:47 2018 +0200

    Bug 796137 - implement search_for as method of Python Query
    
    The last three commits fix the main part of Bug 796137. An inconvenience
    with GSList remains as for the moment qof_query_add_boolean_match only
    accepts bytes as parameter and no strings. This still needs to be fixed.

commit 638485431910a314d9e174619bddd5c0e1b57144
Author: Christoph Holtermann <c.holtermann at gmx.de>
Date:   Fri Sep 7 15:06:22 2018 +0200

    Bug 796137 - Fix QofIdType and QofIdTypeConst to work with python3
    
    Patch by David Osguthorpe to provide typemaps so that SWIG doesn't
    free buffers mem when buffer is saved as part of query struct leading
    to garbage content. See https://bugs.gnucash.org/show_bug.cgi?id=796137

commit 0551ee36e8e87fac3cf6cbd3d614aa7fa2fc0ba0
Author: Christoph Holtermann <c.holtermann at gmx.de>
Date:   Fri Sep 7 00:07:29 2018 +0200

    add option to exclude specified methods
    
    an exclude option is being added to add_constructor_and_methods_with_prefix and
    add_methods_with_prefix

commit 6e023755dd5653031ddbc247c1736ac50167844f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Sep 7 20:05:16 2018 +0100

    Reduce the number of times the register loads - Update
    
    In the previous update the changes to 'double_line mode' and 'register
    style' were not catered for so this commit fixes that by using a stored
    value 'enable_refresh' in the GncPluginPageRegister. This value is used
    to enable/disable the triggering of gnc_ledger_display_refresh command
    instead of passing a parameter as these settings are triggered by call
    backs. The value is set to FALSE in ...recreate_page before restoring
    all settings and subsequently set to TRUE after so normal refreshing
    can occur. This reduces the potential number of refreshes on load from
    7 to 2.

commit 74f285d78c0849420dda814679359c0c054db28c
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Sep 7 19:32:43 2018 +0100

    Bug 796839 - Find transaction won't filter on Date Posted
    
    The results of the find are displayed in a search_ledger but with reset
    filter settings. As part of the initial setup of the filter, the
    SPLIT_RECONCILE and TRANS_DATE_POSTED parameters are purged from the
    query and so if 'Date Posted' was used, all transactions were displayed
    so this commit tests for a search_ledger and stops the purge along with
    saving the query for subsequent use in the filter dialogue.

commit 40cbcc11425ec961cd724182978d063aaff242fa
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jun 15 23:10:46 2018 +0800

    [invoice] move add-subtotal-row to simplify

commit 5811f7bfc204d99bfdae98ac6da721181065f569
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jun 15 23:08:09 2018 +0800

    [invoice] move add-entry-row to simplify

commit 0afec1288ed5cd5d6f6100970f711a932eb851a8
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jun 15 22:37:51 2018 +0800

    [invoice] improve num-columns-used
    
    This will never be perfect because Date/Description/Total can be
    switched on/off. But it is simpler.

commit 41b0e4eb453a56de6d68101d40f7e8d7cb6155e3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jun 15 15:35:14 2018 +0800

    [invoice] simplify single-use functions

commit 62c9b4e02b8b344a04028bc49f342e77e932a274
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 10 20:03:26 2018 +0800

    [invoice] [CSS] remove styles and replace with CSS

commit e0b26628f88d73779557c9c52c3c3e95f804acd3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 9 17:28:07 2018 +0800

    [test-invoice] all variants share same options and html structure
    
    Therefore test-invoice variants now all share the same tests.

commit 900cd3666786ace6255fed03b46d9a02b598d28f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 10 11:05:40 2018 +0800

    [invoice] add toggle for invoice title

commit f1ff608e3ce7a2cae8fd29898eca708c3a3ddf31
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 10 10:37:20 2018 +0800

    [invoice] enable displaying a picture eg company logo in layout

commit a30a58641d22a4b98fcd12ca7ae2ca9e83ef57f3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 10 09:53:23 2018 +0800

    [invoice] change do-rows-with-subtotals to named let
    
    This function is only defined once, and use named-let which imho is
    neater because it defines the init values explicitly.

commit b75de5de1f7de0c40cc638dd4595d3e267b979bc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 10 10:17:14 2018 +0800

    [invoice] refinements
    
    1. disable Display/My Company toggle - this is now in Layout
    2. streamline internal functions to reduce number of definitions
    3. company-details now right-align and add more fields.
       fields can be hidden via CSS. no need for further display options.

commit dae877cacf747e324d7dbc70470665e64a5f544c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 22 11:59:37 2018 +0800

    [invoice] now supports customized layout

commit a0c5be2c81694e6c2746b49ab6f11be3b8f9d12a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 9 14:38:33 2018 +0800

    [business-reports] delete redundant [fancy|easy]-invoice

commit 15b62eea6c4faf4da4ad49bc244b11ec7f6ccb8c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 9 10:33:24 2018 +0800

    [invoice+fancy-invoice] add option minimum # entries
    
    This is to enable compatibility with fancy-invoice feature.

commit 74ebac461b3a1a60459225b6887d50e1f94886a1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 9 00:46:38 2018 +0800

    [invoice+easy-invoice] invoice.scm can generate easy-invoice
    
    invoice.scm can now mimic easy-invoice.scm reports, including a
    greater number of options.

commit bfde5a17f7e15a53c6ab31c54a91c665e72fbd65
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jun 8 23:10:46 2018 +0800

    [invoice] add classes for invoice headers

commit 7ef4c00579bce385d1e31863136805f16f1d330e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jun 8 22:33:45 2018 +0800

    [easy-invoice] Display/Charge Type rename back to Display/Action
    
    This report had renamed "Action" to "Charge Type". For consistency,
    let's rename it back, and add migration path in options.scm for
    saved-options. 2 fewer strings for translation.

commit d6071020e15978675fd224d8bd2f919829263f69
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Jun 4 23:15:50 2018 +0800

    [invoice] more refactoring

commit 996b94b1efad7e2388fd848321e80695ec5fd9aa
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Jun 4 20:54:15 2018 +0800

    [invoice] move invoice-details-table to its own function

commit ba000f71bf9a81c6b234543a02c31fcc972e3d81
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Jun 4 13:58:00 2018 +0800

    [invoice] enable CSS class
    
    This commit will enables "class" attribute in the various html-table
    objects. The CSS string can be specified, eg.
    
    .entries-table tr, .entries-table td { etc }
    .date-table tr { etc }
    
    to provide styling etc.

commit 0198a8b831135360fab6040c526b4339e0349ac3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 3 15:27:56 2018 +0800

    [invoice] convert string-expand to sanitize html strings.
    
    string-expand was converting #\newline to <br/>. convert it to
    generate a gnc:make-html-text object with substrings and
    gnc:html-markup-br tags.

commit 12253f3c38a6e81167b4f7f03d71cca2841efca6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 3 14:14:32 2018 +0800

    [invoice] simplify num-columns-required to use SRFI-1

commit 30f14191e604b7364ed89689da22c48f3e565034
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 3 14:53:35 2018 +0800

    [invoice] *untabify*

commit 0f505d13890dea3f6555d8b51e71e263d61ce56f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 3 14:15:03 2018 +0800

    [invoice] entry-values are unused. remove and simplify.

commit 1afacb97ba7b6305fd19228b7a3369e62007611f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 2 22:35:09 2018 +0800

    [invoice] refactor gncOrder handling
    
    Previously the function addorder was being passed as an argument to
    add gncOrder references to a list, for later displaying in
    report. This commit will simplify it - instead of passing a function
    to make-entry-table, the report will query invoice orders directly
    when needed.

commit cf3ccb9f1e75d9ad4c95e3a44e448892cc0d4c91
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 2 22:04:55 2018 +0800

    [invoice] more mucho refactoring, no functional change.

commit 5467c47598a5e09054e1e9bff99b2014a9befd6d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 2 21:02:00 2018 +0800

    [invoice] mucho refactoring. no functional change.
    
    Refactor to use SRFI constructs, simplify logic, add comments. No
    functional change.

commit 874ed6ab0af81e7ab35c0808774eaf4924f4a4f8
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jun 2 17:05:39 2018 +0800

    [invoice] *reindent*



Summary of changes:
 .gitignore                                         |     1 +
 CMakeLists.txt                                     |    11 +-
 ChangeLog.2003                                     |     2 +-
 ChangeLog.2006                                     |     8 +-
 ChangeLog.2006-manual                              |     8 +-
 ChangeLog.2008                                     |     2 +-
 ChangeLog.2009                                     |     4 +-
 ChangeLog.2010                                     |     2 +-
 ChangeLog.2011                                     |     2 +-
 ChangeLog.2012                                     |     6 +-
 NEWS                                               |   176 +-
 README                                             |   118 +-
 bindings/python/example_scripts/change_tax_code.py |     2 +-
 bindings/python/function_class.py                  |    16 +-
 bindings/python/gnucash_core.py                    |    13 +-
 bindings/python/tests/CMakeLists.txt               |     3 +-
 bindings/python/tests/runTests.py.in               |     1 +
 bindings/python/tests/test_query.py                |    23 +
 common/base-typemaps.i                             |    28 +-
 doc/README-ca.win32-bin.txt                        |     2 +-
 doc/README-de.win32-bin.txt                        |     2 +-
 doc/README-fr.win32-bin.txt                        |     2 +-
 doc/README-it.win32-bin.txt                        |     2 +-
 doc/README-lv.win32-bin.txt                        |     2 +-
 doc/README-nl.win32-bin.txt                        |     2 +-
 doc/README-zh_CN.win32-bin.txt                     |     2 +-
 doc/README-zh_TW.win32-bin.txt                     |     2 +-
 doc/README.OFX                                     |     4 +-
 gnucash/gnome-search/dialog-search.c               |    51 +-
 gnucash/gnome-utils/dialog-options.c               |     4 +-
 gnucash/gnome-utils/dialog-preferences.c           |    32 +-
 gnucash/gnome-utils/dialog-transfer.c              |     7 +
 gnucash/gnome-utils/gnc-file.c                     |     6 +-
 gnucash/gnome-utils/gnc-main-window.c              |     8 +-
 gnucash/gnome-utils/gnc-main-window.h              |     2 +-
 gnucash/gnome-utils/gnc-plugin-page.c              |     2 +
 gnucash/gnome-utils/gnc-plugin.c                   |     3 +-
 gnucash/gnome-utils/gnc-query-view.c               |   125 +-
 gnucash/gnome-utils/gnc-query-view.h               |     5 +-
 gnucash/gnome-utils/gnc-tree-util-split-reg.c      |     1 +
 gnucash/gnome-utils/print-session.c                |     2 +-
 gnucash/gnome/dialog-invoice.c                     |     4 +-
 gnucash/gnome/dialog-payment.c                     |     1 +
 gnucash/gnome/dialog-print-check.c                 |     3 +-
 gnucash/gnome/dialog-sx-editor.c                   |     1 +
 gnucash/gnome/dialog-sx-editor2.c                  |     1 +
 gnucash/gnome/gnc-plugin-page-owner-tree.c         |     8 +-
 gnucash/gnome/gnc-plugin-page-register.c           |   135 +-
 gnucash/gnome/gnc-plugin-page-register2.c          |     1 +
 gnucash/gnome/gnc-split-reg.c                      |    35 +-
 gnucash/gnome/gnc-split-reg.h                      |     6 +-
 gnucash/gnome/gnucash.desktop.in.in                |     1 +
 gnucash/gnucash-bin.c                              |     8 +-
 gnucash/gtkbuilder/dialog-account.glade            |     9 +
 gnucash/gtkbuilder/dialog-commodity.glade          |     2 +-
 gnucash/gtkbuilder/dialog-preferences.glade        |     2 +
 gnucash/import-export/ofx/gnc-ofx-import.c         |    13 +-
 gnucash/register/ledger-core/gncEntryLedger.c      |     8 +-
 .../register/ledger-core/split-register-model.c    |     2 +-
 gnucash/register/ledger-core/split-register-util.c |     2 +-
 gnucash/register/ledger-core/split-register.c      |     7 +-
 gnucash/register/register-gnome/gnucash-sheet.c    |    37 +-
 gnucash/register/register-gnome/gnucash-style.c    |    25 +-
 gnucash/register/register-gnome/gnucash-style.h    |     4 +-
 gnucash/report/business-reports/CMakeLists.txt     |     2 -
 .../report/business-reports/business-reports.scm   |     2 -
 gnucash/report/business-reports/easy-invoice.scm   |   811 -
 gnucash/report/business-reports/fancy-invoice.scm  |   943 -
 gnucash/report/business-reports/invoice.scm        |  1278 +-
 gnucash/report/business-reports/receipt.eguile.scm |     2 +-
 .../report/business-reports/test/test-invoice.scm  |   178 +-
 .../report/report-system/commodity-utilities.scm   |   354 +-
 gnucash/report/report-system/html-acct-table.scm   |    23 +-
 gnucash/report/report-system/html-utilities.scm    |    24 +-
 gnucash/report/report-system/report-utilities.scm  |   591 +-
 gnucash/report/report-system/report.scm            |     9 +-
 gnucash/report/report-system/test/CMakeLists.txt   |     2 +-
 gnucash/report/report-system/test/test-extras.scm  |    19 +-
 .../report-system/test/test-report-system.scm      |     2 -
 .../report-system/test/test-report-utilities.scm   |   408 +-
 .../report/standard-reports/advanced-portfolio.scm |    11 +-
 .../report/standard-reports/average-balance.scm    |    18 +-
 .../report/standard-reports/test/test-charts.scm   |    64 +-
 gnucash/report/standard-reports/transaction.scm    |   186 +-
 libgnucash/app-utils/gnc-gsettings.c               |    76 +-
 libgnucash/app-utils/gnc-gsettings.h               |    10 +
 libgnucash/app-utils/gnc-state.c                   |     3 +-
 libgnucash/app-utils/gnc-sx-instance-model.c       |     7 +-
 libgnucash/app-utils/gnc-ui-util.c                 |     7 +-
 libgnucash/app-utils/options.scm                   |     1 +
 libgnucash/app-utils/test/test-exp-parser.c        |     4 +-
 libgnucash/app-utils/test/test-option-util.cpp     |     2 +-
 libgnucash/backend/dbi/gnc-dbisqlresult.cpp        |     3 +-
 .../backend/dbi/test/test-backend-dbi-basic.cpp    |     2 +-
 libgnucash/backend/sql/gnc-sql-backend.cpp         |    38 +-
 libgnucash/backend/sql/gnc-sql-backend.hpp         |     3 +-
 libgnucash/backend/sql/gnc-transaction-sql.cpp     |     6 +
 .../backend/sql/test/utest-gnc-backend-sql.cpp     |     1 +
 libgnucash/backend/xml/io-gncxml-v2.cpp            |     2 +-
 libgnucash/backend/xml/sixtp-dom-parsers.cpp       |     2 +-
 libgnucash/core-utils/CMakeLists.txt               |    18 +-
 libgnucash/core-utils/binreloc.c                   |   147 +-
 libgnucash/core-utils/binreloc.h                   |     4 +-
 libgnucash/core-utils/gnc-environment.c            |     7 +-
 libgnucash/core-utils/gnc-gkeyfile-utils.c         |     2 +-
 libgnucash/core-utils/gnc-path.c                   |    15 +-
 libgnucash/core-utils/gnc-prefs-p.h                |     4 +
 libgnucash/core-utils/gnc-prefs.c                  |    11 +
 libgnucash/core-utils/gnc-prefs.h                  |     8 +
 libgnucash/doc/sx.rst                              |     4 +-
 libgnucash/engine/Account.cpp                      |     2 +-
 libgnucash/engine/CMakeLists.txt                   |     1 -
 libgnucash/engine/SX-book.c                        |     4 +-
 libgnucash/engine/Split.c                          |     5 +-
 libgnucash/engine/Transaction.c                    |    50 +-
 libgnucash/engine/Transaction.h                    |     2 +-
 libgnucash/engine/TransactionP.h                   |     9 +
 libgnucash/engine/cap-gains.c                      |     2 +
 libgnucash/engine/gnc-aqbanking-templates.cpp      |    12 +-
 libgnucash/engine/gnc-budget.c                     |     5 +-
 libgnucash/engine/gnc-commodity.c                  |     2 +-
 libgnucash/engine/gnc-commodity.h                  |     5 +
 libgnucash/engine/gnc-date-p.h                     |     2 -
 libgnucash/engine/gnc-numeric.cpp                  |    11 +
 libgnucash/engine/gncCustomer.c                    |    93 +-
 libgnucash/engine/gncCustomerP.h                   |     2 +
 libgnucash/engine/gncEmployee.c                    |    93 +-
 libgnucash/engine/gncEmployeeP.h                   |     2 +
 libgnucash/engine/gncInvoice.c                     |    14 +-
 libgnucash/engine/gncOwner.c                       |    93 +-
 libgnucash/engine/gncOwnerP.h                      |     2 +
 libgnucash/engine/gncVendor.c                      |    93 +-
 libgnucash/engine/gncVendorP.h                     |     2 +
 libgnucash/engine/kvp-value.cpp                    |     6 +-
 libgnucash/engine/kvp-value.hpp                    |     2 +-
 libgnucash/engine/qofbook.cpp                      |    17 +-
 libgnucash/engine/qofbook.h                        |     5 +-
 libgnucash/engine/qofsession.cpp                   |    41 +-
 libgnucash/engine/test-core/test-engine-stuff.cpp  |     4 +-
 .../engine/test/test-engine-kvp-properties.c       |     3 +
 libgnucash/engine/test/test-kvp-frame.cpp          |     2 +-
 libgnucash/engine/test/test-numeric.cpp            |     2 +-
 libgnucash/engine/test/test-qofbook.c              |     5 +
 libgnucash/engine/test/test-qofsession.cpp         |    18 +-
 libgnucash/engine/test/utest-Split.cpp             |     6 +-
 libgnucash/engine/test/utest-Transaction.cpp       |     4 +-
 po/POTFILES.in                                     |     2 -
 po/ar.po                                           |     4 +-
 po/as.po                                           |     4 +-
 po/az.po                                           |     2 +-
 po/bg.po                                           |     2 +-
 po/brx.po                                          |     4 +-
 po/ca.po                                           |     4 +-
 po/cs.po                                           |     2 +-
 po/da.po                                           |     4 +-
 po/de.po                                           |     4 +-
 po/doi.po                                          |     4 +-
 po/el.po                                           |     2 +-
 po/en_GB.po                                        |     4 +-
 po/es.po                                           |     6 +-
 po/es_NI.po                                        |     2 +-
 po/eu.po                                           |     4 +-
 po/fa.po                                           | 33168 +++++++-------
 po/fi.po                                           |     2 +-
 po/fr.po                                           |     4 +-
 po/gu.po                                           |     4 +-
 po/he.po                                           |     4 +-
 po/hi.po                                           |     4 +-
 po/hu.po                                           |     4 +-
 po/it.po                                           |     2 +-
 po/ja.po                                           |     4 +-
 po/kn.po                                           |     4 +-
 po/ko.po                                           |     4 +-
 po/kok.po                                          |     4 +-
 po/kok at latin.po                                    |     2 +-
 po/ks.po                                           |     4 +-
 po/lt.po                                           |     4 +-
 po/lv.po                                           |     4 +-
 po/mai.po                                          |     4 +-
 po/mni.po                                          |     4 +-
 po/mni at bengali.po                                  |     4 +-
 po/mr.po                                           |     4 +-
 po/nb.po                                           |     2 +-
 po/ne.po                                           |     4 +-
 po/nl.po                                           |     6 +-
 po/pl.po                                           |     2 +-
 po/pt.po                                           |     4 +-
 po/pt_BR.po                                        |     2 +-
 po/ro.po                                           |     4 +-
 po/ru.po                                           |     2 +-
 po/rw.po                                           |     2 +-
 po/sk.po                                           |     6 +-
 po/sr.po                                           |     2 +-
 po/sv.po                                           |     4 +-
 po/ta.po                                           |     4 +-
 po/te.po                                           |     4 +-
 po/tr.po                                           |     4 +-
 po/uk.po                                           | 43276 +++++++++----------
 po/ur.po                                           |     4 +-
 po/vi.po                                           |     4 +-
 po/zh_CN.po                                        |     4 +-
 po/zh_TW.po                                        |     4 +-
 202 files changed, 40204 insertions(+), 43376 deletions(-)
 create mode 100644 bindings/python/tests/test_query.py
 delete mode 100644 gnucash/report/business-reports/easy-invoice.scm
 delete mode 100644 gnucash/report/business-reports/fancy-invoice.scm



More information about the gnucash-patches mailing list