In most of these cases, I know the value is always returned from C, so we
can use "null?". In cases where I wasn't sure, I make it check for either
#f or null?. Hopefully, I got 'em all. But, really, what are the chances?
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15060 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix a type (missing '*') in the GncCommodityList typemap.
Re-add an incorrectly dropped (use-modules ...) statement for the wrapped
part of gnome-utils.
Remove some duplicated (use-modules ...).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15057 57a11ea4-9604-0410-9ed3-97b8803252fd
Create a 'reset' script to allow resetting the win32 build environment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15048 57a11ea4-9604-0410-9ed3-97b8803252fd
<mta@umich.edu>.
1) Since the output of (xaccTransGetSplit ...) may now be '(), check for it
with (null? ...).
2) Fix the result of a sed mis-ordering:
s/gnc:query-get-splits/qof-query-run/g
s/gnc:query-get-splits-unique-trans/xaccQueryGetSplitsUniqueTrans/g
3) Fix the result of a sed typo:
s/gnc:split-corr-account-fullname/SPLIT-CORR-ACCT-FULLNAME/g
which should've been
s/gnc:split-corr-account-fullname/SPLIT-CORR-ACCT-NAME/g
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15046 57a11ea4-9604-0410-9ed3-97b8803252fd
I think I added this function on the swig-redo branch, but it turned out
to be obsoleted by the merge because we no longer read 1.8.x state files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15044 57a11ea4-9604-0410-9ed3-97b8803252fd
'xaccTransGetSplits' doesn't exist. It was a result of an incorrect
ordering of sed substitutions:
s/gnc:transaction-get-split/xaccTransGetSplit/g
s/gnc:transaction-get-splits/xaccTransGetSplitList/g
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15042 57a11ea4-9604-0410-9ed3-97b8803252fd
therefore crashes on Solaris and Windows. r14675 had fixed that, r14945
(me) undermined it though.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15041 57a11ea4-9604-0410-9ed3-97b8803252fd
* Add a few GUILE_LIBS
* Remove platform specific .so from a load-extension parameter
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15039 57a11ea4-9604-0410-9ed3-97b8803252fd
* Replace g-wrap by swig
* Bump SVN_REV (prior SVNREV_FLAG) to HEAD
* Remove backup files in the repository to cleanup `svn status'
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15038 57a11ea4-9604-0410-9ed3-97b8803252fd
g-wrap is gone. I, for one, welcome our new swig overlords.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15024 57a11ea4-9604-0410-9ed3-97b8803252fd
Main patch by Gregory Alexander <gregalexa@gmail.com>.
On editing, interpret a blank as an unset budget value.
On reporting, show "." for unset budget values.
Add bugdet functions for testing whether a budget value is set or not,
and for unsetting it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15009 57a11ea4-9604-0410-9ed3-97b8803252fd
aren't correctly marked as pending. This bug is probably responsible for
the crashes like those in bug #348469.
In general, the register makes it very difficult to consistently
distiguish between beginning to edit a transaction that's being edited
in another register and beginning to edit the blank transaction,
which is already open for editing, but isn't marked pending so that
we can pretend it hasn't been opened if it never gets modified.
Fortunately, the auto-completion code only runs on the blank transaction,
so we can assume it's not being edited in another register. This patch
goes ahead and marks the blank transaction as pending.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15004 57a11ea4-9604-0410-9ed3-97b8803252fd
when it is modified. This fixes a bug where editing the blank transaction,
moving off of the transaction line to a split line, leaving the split line
unedited and then closing the register will incorrectly leave the
transaction open without asking.
The bug fixed by this commit is possibly responsible for some of the
crashes like bug #348469.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15002 57a11ea4-9604-0410-9ed3-97b8803252fd
remove_notification functions. Now the pair of section and whoami has to
be unique, as GncMainWindow adds notifications to two different
sections. Extends r14675.
Remove a superfluous leading slash and doubly defined gconf key macros.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14945 57a11ea4-9604-0410-9ed3-97b8803252fd
header files. This way automake and config.status agree upon the list of
these files. Otherwise, in rare cases, make distclean might not remove a
file stamp-h5, making distcheck fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14932 57a11ea4-9604-0410-9ed3-97b8803252fd
the close signal. This callback doesn't handle aborting correctly when called
directly, but it will behave correctly when called indirectly from
close_handler(). The "response" callback will now be called for all actions
that close the dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14927 57a11ea4-9604-0410-9ed3-97b8803252fd
srcdir contains the .schemas.in files, but not the generated .schemas files.
Fixes make distcheck.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14925 57a11ea4-9604-0410-9ed3-97b8803252fd