Commit Graph

10311 Commits

Author SHA1 Message Date
Christian Stimming
a746a064aa Fix cancel button of QSF import. Patch provided by Georgi Mirchev, bug#343723.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15083 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-04 21:50:17 +00:00
Christian Stimming
c6f083e723 Fix missing i18n header
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15082 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-03 20:51:02 +00:00
Andreas Köhler
674cb55874 Inform the user about 'gnucash-docs' package when Help is selected with
no content. Fixes #347102.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15081 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-03 19:50:54 +00:00
Andreas Köhler
b3f2483ec6 Make gnc-dense-cal:month_name to use g_date_strftime instead of strftime
so that it returns a clean UTF-8 string.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15080 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-03 19:49:13 +00:00
Andreas Köhler
4605519e70 Some win32 package updates:
- Updated versions: MinGW, GLib, ATK, Pango, GTK+, Gail, LibGnome,
                    LibGSF, Glade, SVN
- Move autotools up in the chain (guile1.8 will need that)
- Stick with GOffice 0.3.0 (newer version need code changes), but
  provide patch for 0.3.2
- Other minor install.sh improvements


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15076 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-01 22:43:00 +00:00
Andreas Köhler
e9bff107fc Another NULL %s-printf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15070 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-01 21:14:30 +00:00
Andreas Köhler
3773eb5ce8 Fix two NULL %s-printf's.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15069 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-01 20:46:12 +00:00
Andreas Köhler
d55270e287 Fix gnc_history_generate_label to search for the correct dir separator
and not to crash when there is none.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15068 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-01 20:45:35 +00:00
Andreas Köhler
d3ded67d47 Automatically update the gconf search path on windows. Add a
force_slashes parameter to gnc_path_get_gconfdir to get a slash
separated path instead of using G_DIR_SEPARATOR (backslash).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15067 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-01 19:36:06 +00:00
Christian Stimming
ee447a796e Remove very old and very obsolete build instructions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15064 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-30 13:24:08 +00:00
Christian Stimming
e4c7589cf5 Replace g-wrap with swig in doc files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15063 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-30 13:17:55 +00:00
Christian Stimming
4014b8cd7f Replace g-wrap with swig in doc files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15062 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-30 13:12:50 +00:00
Chris Shoemaker
e528848f5a [Part 2] Audit all .scm files for cases where null objects were assumed
to be #f.  (It helps to save all buffers before the commit.)




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15061 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-29 03:39:39 +00:00
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