Commit Graph

10578 Commits

Author SHA1 Message Date
Chris Shoemaker
0866a83d33 Add a custom SWIG typemap for wrapping a return value of (char *)NULL
as an empty guile string. 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15113 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-14 02:10:14 +00:00
Chris Shoemaker
74871917d7 Fix some #f vs. '() issues in qif import files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15112 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-14 02:07:03 +00:00
Chris Shoemaker
e52027a7f5 Make the xml file read behavior less random for malformed account input.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15111 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-14 02:05:28 +00:00
Christian Stimming
6005e8deca Fix missing date when reconciling from HBCI as suggested by Konstantin Goudkov, #372929.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15110 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-12 11:06:30 +00:00
Andreas Köhler
c94218b42c Fix three incorrect tests for swig-wrapped objects and one
initialization as #f instead of '(), the latter making qif imports work
again. Remove also a few lines of old commented cruft.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15102 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-09 14:27:48 +00:00
David Hampton
554c03d055 The args to g_build_filename should be NULL terminated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15099 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-08 22:43:59 +00:00
David Hampton
101c8c4e80 gnc_history_get_last() can return NULL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15098 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-08 22:42:48 +00:00
Andreas Köhler
e0cbea3e7a Replace remaining _WIN32 macro tests by G_OS_WIN32 ones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15097 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-08 21:06:59 +00:00
Andreas Köhler
7ebf6b80b7 Add swig base-typemap double gdouble. gnc-progress-dialog-set-value
should work again now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15096 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-08 20:50:45 +00:00
Andreas Köhler
084159c80d Default directory tweaks:
* replace gnc_init_default_directory by gnc_get_default_directory and do
  gconf query there
* remove gnc_extract_directory, but add gnc_set_default_directory
* do not save default directory with trailing (back)slash anymore


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15095 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-08 16:40:41 +00:00
Andreas Köhler
30abc747ec Work around a bug in the MSYS bash (which generates 0x01 smilies when
handling some command substitutions), by adding a wrapper script for
pkg-config.exe.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15093 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-07 00:23:53 +00:00
Andreas Köhler
6ff291e2c9 Do not simply touch install-sh because we need that from automake
--add-missing. Warn the user if he has put install.sh in ., .., or
..\.. from the repository. Improves r15037.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15092 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-06 23:52:44 +00:00
Christian Stimming
8ba8f89376 Add win32 method for looking up the current LANG string
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15089 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-06 15:27:42 +00:00
David Hampton
c7172736dd Fix some scheme inexact errors. Fixes 347462.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15088 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-06 04:45:27 +00:00
Christian Stimming
0deaec014b Activate Close Books menu item again. This is an unstable branch, after all. Reverts r14150. bug#342599
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15086 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-04 22:07:55 +00:00
Christian Stimming
4f4e270435 Activate QSF Import/Export again. This is an unstable branch, after all. Reverts r14147, r14148. bug#342515
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15085 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-04 22:06:15 +00:00
Christian Stimming
caedec4d73 Improve error reporting of QSF import a little bit. Patch provided by Georgi Mirchev, bug#343724.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15084 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-04 21:57:16 +00:00
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