And greatly simplify gnc_split_register_get_date_help by just getting a GDate and running
g_date_strftime on it instead of messing around with Timespecs and g_localtime_r (twice!)
and all of that just to make a stupid string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23706 57a11ea4-9604-0410-9ed3-97b8803252fd
This bug is a continuation of bug 719481. The fix for that bug
wouldn't trickle down into the release tarballs because the needed
patch would only be applied if the tarball were generated against
guile 2.
This commit fixes this by applying that patch unconditionally
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23702 57a11ea4-9604-0410-9ed3-97b8803252fd
g_win32_locale_filename_from_utf8() is not only unnecessary, it does the
wrong thing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23700 57a11ea4-9604-0410-9ed3-97b8803252fd
Part 2: Change commodities in namespace "template" to namespace "User"
unless the mnemonic is also "template". This makes commidities which
have been entered into "template" by mistake visible so that they
can be deleted or edited.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23699 57a11ea4-9604-0410-9ed3-97b8803252fd
The problem was that r23585 was a bit too broad in what it excluded, so
narrow it down to require exactly one split and that that split's
account is NULL.
Note that this will still cause the split to disappear from the SX
editor if one creates a transaction with no splits or with one that has
no account: A split will be created in the appropriate Orphan account.
It will be visible there and in the General Ledger so that it can be
easily deleted.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23692 57a11ea4-9604-0410-9ed3-97b8803252fd
Part 1: Prevent users from creating commodities of type "template"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23688 57a11ea4-9604-0410-9ed3-97b8803252fd
to a different one which is ignored
So don't save it if using MAC_INTEGRATION. Changing accels on the
fly doesn't work with Mac menus anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23679 57a11ea4-9604-0410-9ed3-97b8803252fd
dates from 2.0.x
Reviewed and updated to reflect current status.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23675 57a11ea4-9604-0410-9ed3-97b8803252fd
Any Entry.functions were returning <Swig Objects> instead of instances.
Also removed invalid items from entry_dict in gnucash_business.py.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23661 57a11ea4-9604-0410-9ed3-97b8803252fd
Actually, Guile can't handle weird locales, which OS X 10.9 lets
one set. Guile will throw an exception.
This patch avoids the problem by ensuring that the locale is set to
something that setlocale() will work with, ideally in the language
indicated by defaults.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23660 57a11ea4-9604-0410-9ed3-97b8803252fd
Quote from gnucash-devel:
"I think this introduced a "might be used uninitialized" warning in
src/gnome/top-level.c with my particular version of gcc.
Initializing *file_guid with NULL in gnc_restore_all_state() fixes
the warning, see below."
Author: Herbert Thoma <herbert.thoma@iis.fraunhofer.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23621 57a11ea4-9604-0410-9ed3-97b8803252fd
Yet another case this could happen: when using Actions->New Account Hierarchy
on an already open book.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23619 57a11ea4-9604-0410-9ed3-97b8803252fd
This is the former content of plugins-example.tgz, mentioned in the
wiki documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23615 57a11ea4-9604-0410-9ed3-97b8803252fd
This reverts commit 5305c7909e.
This was incomplete and not meant to be pushed yet.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23612 57a11ea4-9604-0410-9ed3-97b8803252fd