Commit Graph

10098 Commits

Author SHA1 Message Date
Chris Shoemaker
e4ebb3eb1b Audit all .scm files for cases where null objects were assumed to be #f.
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
2006-10-29 03:12:49 +00:00
Chris Shoemaker
9618429b17 Replace "gnc:entry-get-order" with "gncEntryGetOrder".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15059 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-28 01:53:17 +00:00
Andreas Köhler
f54d0980f2 Update slib url to stick with old version 3a3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15058 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-26 20:45:33 +00:00
Chris Shoemaker
d858897154 Get price-quotes to work again.
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
2006-10-22 00:58:42 +00:00
Andreas Köhler
a986b57043 Fix typo in reset.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15055 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-21 18:31:05 +00:00
Chris Shoemaker
fac054627c Re-export symbols wrapper-provided symbols in core-utils.scm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15054 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-21 14:40:03 +00:00
Andreas Köhler
db409d6cee Replace xaccTransAppendSplit by xaccSplitSetParent in a few scheme
files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15053 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-21 13:26:59 +00:00
Andreas Köhler
821b3ad587 Correct order of account and split parameters to xaccSplitSetAccount in
a few scheme files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15052 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-21 13:26:46 +00:00
Andreas Köhler
653c34fa93 Correct xaccTransactionSetDescription to xaccTransSetDescription in a
few scheme files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15051 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-21 13:26:31 +00:00
Derek Atkins
a263c35be0 Remove the goffice tmpdir before rebuilding it
remove tmpdir when you reset the build.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15050 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-20 18:57:04 +00:00
Derek Atkins
d5c54ea9ec fix a small syntax bug in the reset script.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15049 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-20 17:53:17 +00:00
Derek Atkins
066b651357 Use "passive FTP" with wget, to allow building behind a firewall
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
2006-10-20 17:51:02 +00:00
Andreas Köhler
cc8d0c9163 Unlink ${SWIG_DIR}\INSTALL because it bites with /bin/install.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15047 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-20 15:59:50 +00:00
Chris Shoemaker
96ce3a8d56 Fix three wrapper-related bugs found and patched by Mike Alexander
<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
2006-10-19 23:58:03 +00:00
Christian Stimming
d4ca5bee62 Fix r15040 that accidentally used a hard-coded path
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15045 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-19 08:18:34 +00:00
Chris Shoemaker
eee554ff49 Remove another unused function.
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
2006-10-19 02:50:37 +00:00
Chris Shoemaker
cddf707a84 Remove unused function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15043 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-19 02:05:03 +00:00
Chris Shoemaker
2cd782b451 Replace xaccTransGetSplits with xaccTransGetSplitList.
'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
2006-10-19 01:00:17 +00:00
Andreas Köhler
e99befc7bb Correct gnc_gconf_add/remove_notification to avoid printf'ing NULL and
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
2006-10-18 21:08:26 +00:00
Andreas Köhler
500b53f9ee Make gnucash.bat work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15040 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-18 19:45:12 +00:00
Andreas Köhler
4724a70e4a Make win32 compile again.
* 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
2006-10-18 18:15:32 +00:00
Andreas Köhler
72db146b86 Adjust install.sh to better cope with current HEAD.
* 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
2006-10-18 18:03:09 +00:00
Christian Stimming
a053951c0b Add workaround so that intltoolize doesn't come up with some foolish AC_CONFIG_AUX_DIR; bug#362006
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15037 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-18 15:37:33 +00:00
Christian Stimming
11b94f454e Temporarily set the win32 checkout to r15007 until we've added the compiling of SWIG on win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15036 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-18 11:52:50 +00:00
Andreas Köhler
816ee79de1 Quote a list of account types to avoid a cash flow crash. Fixes #363068.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15035 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-18 10:15:58 +00:00
Derek Atkins
d4aa5a2113 Don't wrap the GncOwner structure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15034 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-17 21:46:25 +00:00
David Hampton
b84c2e23be Fix uninitialzed variable error message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15032 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-17 20:41:03 +00:00
Christian Stimming
bee3010352 Fix typo in shell script test as reported by Thomas Klausner
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15030 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-17 08:32:06 +00:00
Derek Atkins
c44823149a r13496@cliodev: warlord | 2006-10-16 22:29:43 -0400
Update for 2.0.2 release.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15027 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-17 02:31:45 +00:00
Chris Shoemaker
838ff86fbd Factor out some common typemaps into src/base-typemaps.i
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15026 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-16 03:35:56 +00:00
Andreas Köhler
e60faaee40 Do not svn:ignore g-wrap files anymore.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15025 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-16 01:28:08 +00:00
Chris Shoemaker
31e926c486 Merge swig-redo branch back into trunk.
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
2006-10-15 19:02:05 +00:00
Christian Stimming
8d27b20661 Fix missing library for debian-libtool as reported by Sigve Indregard.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15014 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-13 08:28:36 +00:00
Chris Shoemaker
923cd256b4 Allow budget values to default to unset, rather than zero.
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
2006-10-11 20:55:20 +00:00
Andreas Köhler
198a2df8eb Repost goffice-0.3.0-patch.diff, with gtk-doc.m4 included.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15007 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-11 17:09:32 +00:00
Chris Shoemaker
da4829b5c4 This fixes a bug in r14495. The bug is that auto-completed transactions
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
2006-10-11 00:57:52 +00:00
Chris Shoemaker
62e8c9b6df Ensure that the blank transaction is marked as the pending transaction
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
2006-10-11 00:39:44 +00:00
Joshua Sled
e0de0ed5f1 Add 2.0 art source files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14947 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-09 19:47:15 +00:00
Andreas Köhler
38d082642c Lessen restriction of the parameter whoami of the gnc_gconf_add/
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
2006-10-09 16:45:53 +00:00
Andreas Köhler
56dde9935b Remove "closing last window" confirmation dialog and corresponding
warning (reverting r14580). Fixes #355392.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14944 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-09 16:45:40 +00:00
Christian Stimming
4e58b1caa2 Avoid markup in translatable messages. Bug#360459
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14940 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-09 11:45:48 +00:00
Andreas Köhler
39eeb73fca Unconditionally call AC_CONFIG_HEADERS for libgsf and goffice config
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
2006-10-06 16:02:37 +00:00
Chris Shoemaker
795041e074 Fix for bug #359471. Remove the glade hookup of gnc_xfer_dialog_close_cb() to
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
2006-10-04 02:30:32 +00:00
Andreas Köhler
35300b2c76 Quote an empty scheme list and avoid crash of transaction report on
empty session. Fixes #359412.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14926 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-03 21:13:13 +00:00
Christian Stimming
e65a112ddf Fix Makefiles for .schemas file installation.
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
2006-10-03 14:14:56 +00:00
Andreas Köhler
5d9609b053 Correct account compatibility check with top level account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14923 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-02 17:37:55 +00:00
Christian Stimming
c2c2be885e Add library dir for test runtime where necessary, as discussed on gnucash-devel
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14921 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-02 14:02:04 +00:00
Christian Stimming
8fea13f6d1 Revert r14919; maybe this wasn't the correct fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14920 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-02 13:12:07 +00:00
Christian Stimming
f6b6abc33f Add library dir for test runtime
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14919 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-02 12:13:10 +00:00
Christian Stimming
e2b78c6034 Update openssl version number as reported by Thomas Arildsen
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14918 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-02 11:55:51 +00:00