gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Sep 27 09:19:37 EDT 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/ba002bbe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fd370518 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a7ca2057 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/158b17d5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0dd672c6 (commit)
	from  https://github.com/Gnucash/gnucash/commit/081d6ec0 (commit)



commit ba002bbec4c1580502358881dbaeb49a199aac2b
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 27 15:19:08 2016 +0200

    Fix test failure when in Spain.
    
    It turns out that some timezones use local time for pre-1900 dates in
    the 32bit timezone file, too.

commit fd3705186524f2600654cd20d372073906f92d1f
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 27 15:17:39 2016 +0200

    gnc-timezone: Enable POSIX-style timezone strings on Unix systems.
    
    E.g. CEST01CEDT,M4.1.0,M10.1.0.
    
    Also reorder priority of finding TZ information: Passed-in timezone string
    is tried first; if that's empty or fails, try the TZ variable, then
    /etc/localtime, and finally give up and use UTC. Exceptions never leave
    GncTimeZoneProvider and *some* timezone is always returned.
    
    Provide a new test for posix timezones and invert the exception test.

commit a7ca20572d6e42573d47536b40ca40c62bcec6a6
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 27 15:11:06 2016 +0200

    Fix whitespace in function about to be extracted.

commit 158b17d582e4a3667d448a2dc8caa8a5926544ae
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 27 15:06:56 2016 +0200

    gnu-timezone: Alias boost::local_time::posix_time_zone.

commit 0dd672c622938b9d9ec9299f0e5d45af13e02042
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 26 18:29:19 2016 +0200

    Handle TZ that's not a file name by opening /etc/localtime.



Summary of changes:
 src/libqof/qof/gnc-timezone.cpp            | 140 +++++++++++++++++------------
 src/libqof/qof/gnc-timezone.hpp            |   1 +
 src/libqof/qof/test/gtest-gnc-timezone.cpp |  19 +++-
 src/libqof/qof/test/test-gnc-date.c        |   6 +-
 4 files changed, 105 insertions(+), 61 deletions(-)



More information about the gnucash-patches mailing list