gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sun Jul 3 12:06:29 EDT 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/5db6419c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a1b574af (commit)
	 via  https://github.com/Gnucash/gnucash/commit/344de4eb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/51e29e78 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6a81738e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/704bc835 (commit)
	from  https://github.com/Gnucash/gnucash/commit/cf735d73 (commit)



commit 5db6419cb6f4360e72a0b3bf8b201f1987eff3dd
Merge: 344de4e a1b574a
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jul 3 09:05:01 2016 -0700

    Merge branch 'maint'

commit a1b574af4f2d2357808534e8c3d6e3b83966d658
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jul 3 08:56:52 2016 -0700

    Clear the GDate before use.
    
    If the transaction doesn't have the gdate-posted slot and the random
    junk left on the stack where date lives happens to make a valid gdate
    then timespec_to_gdate won't be called and a bogus date will be returned.

commit 344de4eb378bd088488babd21398964ee25667f1
Merge: cf735d7 51e29e7
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jul 3 08:53:04 2016 -0700

    Merge branch 'maint'

commit 51e29e7836af814868f51161cb3263465a5e951f
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jul 2 16:03:55 2016 -0700

    Bug 137017 - date of transaction change with time zone change
    
    First step: Change the timestamp to 11:00 UTC instead of midnight local,
    adjusting by an hour or two if the local timezone is one near the
    International Date Line to keep the date from flipping around.
    
    Scrub all old entries to make current files correct.
    
    Note: This effectively disposes of the distinction of close-book transactions
    having a noon instead of midnight timestamp as a way to distinguish them
    from regular transactions, but that distinction doesn't seem to be used;
    xaccTransIsCloseBook() is used instead.

commit 6a81738e969cd56556f3dbaf1ee08521ee86a855
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jul 2 14:08:14 2016 -0700

    Don't override optimization flags in CMakeLists.txt.

commit 704bc8352dd2e9bf25e73fcecfd3710858cf609f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Jul 2 17:38:33 2016 +0200

    When default tax table is 'None', set a new invoice/bill entry as not taxabl by default as well.
    
    This slightly changes the semantics of a 'None' default tax table
    from 'taxable but no tax details given'
    to 'not taxable'.
    While not exactly the same the former is a highly unlikely
    situation, where the latter is more common and hence makes
    more sense. In the rare case a user does want to express
    the old semantics this is still possible by explicitly
    creating a tax table without any details.
    Note this only influences newly entered entries. It has
    no influence on existing ones.



Summary of changes:
 CMakeLists.txt                                    |  2 +-
 src/backend/sql/gnc-transaction-sql.cpp           |  2 ++
 src/backend/xml/io-gncxml-v2.cpp                  |  1 +
 src/business/business-ledger/gncEntryLedgerLoad.c |  2 ++
 src/engine/Scrub.c                                | 13 ++++++++
 src/engine/Scrub.h                                | 10 +++++++
 src/engine/Transaction.c                          |  5 +---
 src/libqof/qof/gnc-date.cpp                       | 29 +++++++++++++++---
 src/libqof/qof/gnc-date.h                         |  9 ++++++
 src/libqof/qof/test/test-gnc-date.c               | 36 ++++++++++++++++-------
 10 files changed, 90 insertions(+), 19 deletions(-)



More information about the gnucash-patches mailing list