gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Dec 14 17:07:29 EST 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/54d087bf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5498f614 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5f0cb073 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9f3d6fc8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e08d7ac6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/eb7a143c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c8e77b4c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a765e8b4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/34c1fc52 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/07c77f42 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e1b77aad (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f46ab3b9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bfce5d84 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/38c0cc94 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cb0ae9ee (commit)
	 via  https://github.com/Gnucash/gnucash/commit/35b5d944 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b2ced3d7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a3cb28a2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c559d281 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/568bfa02 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/243bfd1e (commit)
	from  https://github.com/Gnucash/gnucash/commit/8870f0ec (commit)



commit 54d087bfea4c6839dd38c2085f2fedd83ee08986
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Dec 14 14:07:13 2015 -0800

    Fix xml date failure do to nanoseconds conversion overwriting valid seconds.
    
    Just ignore nanoseconds. They're never set in real life anyway.

commit 5498f614fda300024ce3438bdfb02583b6fa4c0a
Merge: 8870f0e 5f0cb07
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Dec 14 13:13:29 2015 -0800

    Merge branch 'maint'

commit 5f0cb0731f86c57ed5be0198167d538a52b2bb34
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Dec 14 12:46:09 2015 -0800

    Use @SHELL@ instead of hardcode /bin/sh in test shell scripts.
    
    This is a workaround for MacOS X 10.11's System Integrity Protection,
    aka SIP, which among other things prevents system binaries from passing
    linker environment variables to children. Anything in /bin or /usr/bin
    qualifies as a system binary, and that includes /bin/sh and /bin/bash.
    Not being able to pass linker paths breaks all of our guile tests which
    need to tell Guile where to look for the libraries being tested.
    
    To apply the workaround one needs to first have a shell outside of /bin
    and /usr/bin. Simply copying /bin/sh to your home direcory works, as
    does building a suitable shell somewhere. Just pass the path to that
    shell in $CONFIG_SHELL to configure and all of the shell scripts and
    libtool .la files will be created with it in the shebang line and the
    linker environment variables will be passed in.
    
    In order to build GnuCash in the first place you'll also need to edit
    guild to use the alternate shell.

commit 9f3d6fc83c68ea702926440764f54082865bfc5d
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Dec 10 09:52:12 2015 -0800

    Bug 759224 - illegal dates in stock transactions cause corrupt file.
    
    Work around FreeBSD strptime bug.

commit e08d7ac6c1fa51d94da15019d88f8c4a51567803
Author: Mechtilde <ooo at mechtilde.de>
Date:   Sat Dec 12 18:37:45 2015 +0100

    update de.po via gnucash.pot after building myself

commit eb7a143c14a823a3d1a8b25295cb3db6d9c05133
Author: Mechtilde <ooo at mechtilde.de>
Date:   Sat Dec 12 18:33:08 2015 +0100

    update de.po via gnucash.pot after building myself

commit c8e77b4c7a9574684bae89bb5d23b0e1a9050b9e
Author: Mechtilde <ooo at mechtilde.de>
Date:   Sat Dec 12 18:20:39 2015 +0100

    some more German translation

commit a765e8b47f0b5d22ccaed8b0f596ee140def6ec4
Author: Mechtilde <ooo at mechtilde.de>
Date:   Tue Dec 1 19:04:20 2015 +0100

    add more German Translation

commit 34c1fc5213aa2bd590957b0d101e9c8bdf597e92
Author: Mechtilde <ooo at mechtilde.de>
Date:   Sat Nov 28 14:47:08 2015 +0100

    add German Translation

commit 07c77f42d90d19a9c04282884783e4098d708084
Author: Mechtilde <ooo at mechtilde.de>
Date:   Sun Nov 1 10:12:27 2015 +0100

    remove some fuzzy

commit e1b77aad873f40ac14c6c86d1f8bd2ee3b92337c
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Dec 11 15:42:51 2015 +0100

    Fix uninitialized warning in previous commit

commit f46ab3b98bd40773ccc22efb1f2fc2c901aa00e0
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Dec 11 12:06:18 2015 +0100

    Improve the revert action
    
    - Move it's implementation to gnc-file with the rest of the file actions
    - Ask user confirmation
    - Don't ask to save before reverting

commit bfce5d840d990f2d762d26a61eb4d915f310f813
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Dec 11 12:05:15 2015 +0100

    Have a more generic mechanism to set Save action's sensitivity and use it for Revert action as well
    
    So far the Save actions was more or less treated as an exception.
    The new code enables/disables selected actions based on the dirty
    state of the book.

commit 38c0cc94515f5936620fabcc4eace778b337e33f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Fri Dec 11 11:57:50 2015 +0100

    Remove a couple of obsolete FIXME comments

commit cb0ae9ee8d0b9b475b10d2ab42b1197023b58b3f
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Dec 10 22:14:35 2015 +0100

    Make dirty handling as currently defined by qof_alt_dirty_mode the only dirty handling mode

commit 35b5d944840e4439e9d1b0328410c601063884ee
Author: Mike Evans <mikee at saxicola.co.uk>
Date:   Thu Dec 10 22:01:52 2015 +0000

    Bug 759294 - New the billing term are not saved during invoice editing.
    Prevent editing the terms from the invoice view. This has to be edited
    via the edit invoice button or menu Edit->Edit Invoice. The dropdown
    in the invoice view has been replaced with an edit text box set to
    non-editable in the glade file.

commit b2ced3d7197aa7574e14aef703f818609f5e434a
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Dec 10 20:47:36 2015 +0100

    Bug 745101 - No warning when quitting with unsaved file
    
    Improved fix: mark session dirty in qof_commit_edit_part2
    instead of delegating this to the backends. This way
    a session is also properly marked dirty (and hence the
    save button enabled) when no backend is chosen yet
    (that is, when in a new file that's never saved yet).
    
    For the xml backend this means there's nothing to do anymore
    at commit time, so the xml_commit_edit callback is removed.

commit a3cb28a2fed132c71f10150e81904fbf62522ce1
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Dec 10 20:23:21 2015 +0100

    Disable a couple of debug tests in python
    
    They would trigger a file save during start up on the temporary new session that's
    created and destroyed after the following commit.

commit c559d28139d34ef237373bf9ff1415b7b924dcc9
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Dec 10 19:47:00 2015 +0100

    Revert "Bug 745101 - No warning when quitting with unsaved file"
    
    This reverts commit 568bfa0282ca9c8d196f69df7dfa98982530214d.

commit 568bfa0282ca9c8d196f69df7dfa98982530214d
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Thu Dec 10 18:44:51 2015 +0100

    Bug 745101 - No warning when quitting with unsaved file
    
    Current workaround is to force-use a default backend on new sessions.
    This works pretty well as the backend to use is retested when a file
    is opened anyway, dropping the default backend. The default backend
    should be able to handle the case where no real file/db is specified yet.
    I think so far only the xml backend can do this, so I have chosen that one
    as default.
    
    For this to work I also had to prevent the python integration from querying
    the current root account at startup. This query does create a root account
    if it doesn't exist yet in the new session, triggering a dirty state. As
    a result gnucash would ask to save the new session right before loading the
    real file/db (the one that was open in the previous gnucash session).
    
    This will probably still happen when python is initialized with the 'noisy'
    flag (which is when --debug is set).

commit 243bfd1e722474926db52a8d8ec8bacfeb8560a6
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Dec 8 15:26:39 2015 -0800

    Fix broken exchange rate edits when using trading accounts.
    
    Reverts an erroneous change that was part of 6e14137.



Summary of changes:
 configure.ac                                       |   43 +-
 po/de.po                                           | 6420 ++++++++++++++------
 .../test/{test-load-module => test-load-module.in} |    2 +-
 src/backend/xml/gnc-backend-xml.cpp                |   29 +-
 src/backend/xml/sixtp-utils.cpp                    |   72 +-
 .../{test-real-data.sh => test-real-data.sh.in}    |    2 +-
 src/bin/test/{test-version => test-version.in}     |    2 +-
 src/business/business-gnome/dialog-invoice.c       |   44 +-
 .../business-gnome/gtkbuilder/dialog-invoice.glade |   71 +-
 src/engine/gnc-engine.c                            |    1 -
 ...{test-create-account => test-create-account.in} |    2 +-
 ...t-scm-query-import => test-scm-query-import.in} |    4 +-
 .../test/{test-gwrapped-c => test-gwrapped-c.in}   |    2 +-
 .../test/{test-load-deps => test-load-deps.in}     |    2 +-
 .../test/{test-load-scm => test-load-scm.in}       |    2 +-
 .../test/{test-scm-dynload => test-scm-dynload.in} |    2 +-
 .../test/{test-scm-init => test-scm-init.in}       |    2 +-
 .../test/{test-scm-module => test-scm-module.in}   |    2 +-
 .../test/{test-scm-multi => test-scm-multi.in}     |    2 +-
 src/gnome-utils/dialog-transfer.c                  |    7 +-
 src/gnome-utils/gnc-file.c                         |   25 +
 src/gnome-utils/gnc-file.h                         |    6 +-
 src/gnome-utils/gnc-main-window.c                  |   15 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 src/gnome/gnc-plugin-basic-commands.c              |   46 +-
 src/libqof/qof/qofid.cpp                           |   21 -
 src/libqof/qof/qofid.h                             |   18 -
 src/libqof/qof/qofinstance.cpp                     |   26 +-
 src/libqof/qof/test/test-qofinstance.cpp           |   19 +-
 src/python/init.py                                 |   12 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 .../test/{test-load-module => test-load-module.in} |    2 +-
 37 files changed, 4917 insertions(+), 2000 deletions(-)
 rename src/app-utils/test/{test-load-module => test-load-module.in} (99%)
 rename src/backend/xml/test/{test-real-data.sh => test-real-data.sh.in} (98%)
 rename src/bin/test/{test-version => test-version.in} (91%)
 rename src/engine/test/{test-create-account => test-create-account.in} (87%)
 rename src/engine/test/{test-scm-query-import => test-scm-query-import.in} (81%)
 rename src/gnc-module/test/{test-gwrapped-c => test-gwrapped-c.in} (98%)
 rename src/gnc-module/test/{test-load-deps => test-load-deps.in} (98%)
 rename src/gnc-module/test/{test-load-scm => test-load-scm.in} (98%)
 rename src/gnc-module/test/{test-scm-dynload => test-scm-dynload.in} (96%)
 rename src/gnc-module/test/{test-scm-init => test-scm-init.in} (98%)
 rename src/gnc-module/test/{test-scm-module => test-scm-module.in} (98%)
 rename src/gnc-module/test/{test-scm-multi => test-scm-multi.in} (98%)
 rename src/gnome-utils/test/{test-load-module => test-load-module.in} (96%)
 rename src/report/locale-specific/us/test/{test-load-module => test-load-module.in} (97%)
 rename src/report/report-gnome/test/{test-load-module => test-load-module.in} (97%)
 rename src/report/report-system/test/{test-load-module => test-load-module.in} (97%)
 rename src/report/standard-reports/test/{test-load-module => test-load-module.in} (96%)
 rename src/report/stylesheets/test/{test-load-module => test-load-module.in} (98%)
 rename src/report/utility-reports/test/{test-load-module => test-load-module.in} (96%)
 rename src/tax/us/test/{test-load-module => test-load-module.in} (95%)



More information about the gnucash-patches mailing list