Commit Graph

7004 Commits

Author SHA1 Message Date
Derek Atkins
93012955e1 * src/report/standard-report/advanced-portfolio.scm: add extra
arguments to prevent scheme crash.
	Fixes 105405


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7959 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-09 16:02:34 +00:00
Derek Atkins
b23d951b22 * src/register/ledger-core/split-register-control.c
If we're expanded, ignore TRANS cursor classes.  This prevents
	  a bug where the exchange-rate dialog is realized when there really
	  is nothing to do (because we're in an expanded transaction).
  	* src/register/ledger-core/split-register-model.c
	  Don't PERR() if we have no account -- this prevents annoying
	  messages when handling multi-currency txns in the GL.  Note:
	  all GL txns are displayed in the locale currency (if possible).
	* src/register/ledger-core/split-register.c
	  AUTO_LEDGER and JOURNAL register types _ARE_ expanded -- return
	  TRUE, not FALSE.

	Fixes 105319


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7957 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-09 15:42:29 +00:00
Derek Atkins
ab6bfbe2b3 * src/scm/main.scm:
* src/scm/command-line.scm:
	  Add a flag to make it easier to turn on and off the various debug
	  messages (except the tip-list, which needs to be done manually).
	* src/scm/tip-list.scm: change the 'development' message


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7954 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-07 15:19:03 +00:00
Derek Atkins
959e192d04 * src/bin/overrides/gnucash-build-env.in: add business-utils
* src/business/business-utils/Makefile.am: make scm-links so you
	  can run gnucash from within the build tree


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7952 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 21:40:05 +00:00
Derek Atkins
10d6ff1c68 * src/app-utils/gnc-ui-utils.c: Don't round unless force_fit is true.
Fixes Debian Bug #179802.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7948 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 16:01:19 +00:00
Derek Atkins
fe2e91565d * src/engine/gnc-lot-p.h: some strange platforms assume "char" is
0..255 instead of -128..127.  Force a "signed char" to make sure
	  we get the latter interpretation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7946 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 14:05:23 +00:00
Benoit Grégoire
dc840a9ef7 2003-02-04 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Add heuristic for duplicate matching by check number.
	* doc/README.OFX: Update


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7945 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-05 00:01:16 +00:00
Derek Atkins
bc9f171dd7 * src/import-export/qif-import/qif-file.scm: mark "splits" as negative
to make sure the numbers are reflected appropriately.
	* src/import-export/qif-import/qif-objects.scm: add a neg? value to
	  a qif-split; use this when converting the split-amount.
	Fixes bug #105179


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7942 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-04 15:47:21 +00:00
Derek Atkins
99620e4d4e * src/scm/main.scm: fix "development version" message in head
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7941 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-04 02:59:05 +00:00
Derek Atkins
08e994b74c * src/import-export/qif-import/qif-file.scm: fix a
wrong-number-of-arguments fatal crash when trying to reparse
	  dates.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7939 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-04 02:41:40 +00:00
Derek Atkins
28dda321a2 * src/calculation/Makefile.am: need to add GUILE_INCS
* src/engine/Makefile.am: add ${INTLLIBS} for gettext() et al on
	  platforms that don't have it in libc

	* src/backend/file/io-gncbin-r.c: don't need to define functions
	  that are never used, so move the #ifdef around.  Fixes # 105124

	* rpm/gnucash.in: don't call autoconf


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7937 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 23:32:44 +00:00
Derek Atkins
edcbc5f759 * src/calculation/Makefile.am: need to add GUILE_INCS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7936 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 20:18:53 +00:00
Chris Lyttle
78f537fafa new unstable versions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7935 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 07:44:58 +00:00
Chris Lyttle
ef16d74bf0 add build options
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7931 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 05:47:33 +00:00
Derek Atkins
01c5437072 * po/POTFILES.in:
* src/import-export/Makefile.am:
	  Removed gnc-gen-transaction.[ch] "properly" for the dist.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7930 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 03:56:30 +00:00
Derek Atkins
3fdac525ae * src/quotes/Makefile.am: add dump-finance-quote to the DIST
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7929 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 02:53:20 +00:00
Derek Atkins
c2e26a8d0f * src/report/standard-reports/cash-flow.scm: don't crash when a
user does something silly like having a split with no account.
	  Warn the user when we find this situation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7928 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 01:49:59 +00:00
Benoit Grégoire
fc5a71fd02 Some spelling corrections
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7927 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 01:42:24 +00:00
Benoit Grégoire
2246e62b0f 2003-02-02 Benoit Gr�goire <bock@step.polymtl.ca>
* doc/README.OFX: I've quickly put together some docs for the ofx module and transaction matching.  Also includes a FAQ. Not perfect, but should closebug 99478.
	* doc/Makefile.am: Add README.OFX
	* src/import-export/ofx/README: Remove obsolete file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7926 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-03 01:30:13 +00:00
Derek Atkins
434156ca84 * src/business/business-ledger/gncEntryLedgerLoad.c -- don't add
income accounts to bills, or expense accounts to invoices.  This
	  should help further reduce user confusion with what to do when
	  entering invoices.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7925 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 22:52:42 +00:00
Derek Atkins
c0a75e8db7 * src/app-utils/option-util.c: use gh_scm2double() instead of
gh_scm2int() because guile-1.6 prefers it.  Fixes a crash when
	  opening the Pref's dialog when using guile-1.6.1


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7924 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 18:39:38 +00:00
Derek Atkins
c6568f0012 * src/backend/postgres/gncquery.c: change INITIAL_BUFSZ to 32000
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7923 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 17:07:57 +00:00
Derek Atkins
f321b5dfec * configure.in: re-enable -Werror, make sure it only is used with GCC,
but also move it to the end of the script so it wont interfere with
	  any other configuration test.

	* src/business/business-report/owner-report.scm: fix the column
	  headings and option names to match.  Fix the date-due column so
	  the heading properly goes away.  Also fix some of the
	  internationalization issues -- strings were translated but the
	  translation was not being used.   Fixes # 105036


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7922 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 16:35:49 +00:00
Benoit Grégoire
7f35622cd2 2003-02-01 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/gnc-ofx-import.c: No longer assume that transaction with type OFX_OTHER are investement transactions.  Fixes bug reported by Rik harris.
	* src/import-export/import-main-matcher.c: Fix unrelated display bug with balanced (typically investement) transactions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7921 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 14:26:01 +00:00
Christian Stimming
93fd3bff82 2003-02-02 Christian Stimming <stimming@tuhh.de>
* configure.in: Disable error-on-warning by default because this
	seriously breaks quite a number of configure tests. May be enabled
	again for the development branch, but definitely not for
	end-users.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7920 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 13:16:15 +00:00
Christian Stimming
66c78b40a6 2003-02-02 Christian Stimming <stimming@tuhh.de>
* configure.in: Fix libofx test.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7919 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 12:59:47 +00:00
Christian Stimming
a1f70add01 2003-02-02 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c, po/de.po: Recognize
	even more error codes from OpenHBCI. Yes, I know this breaks
	string freeze -- but these strings *really* *only* apply to German
	users, so I just fixed the translation myself.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7918 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 09:43:22 +00:00
Christian Stimming
473568095d Updated HBCI docs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7917 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 09:35:53 +00:00
Benoit Grégoire
ed551a808d 2003-02-01 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-utilities.c: Build on Nigel's patch.  This hopefully permanently closes http://bugzilla.gnome.org/show_bug.cgi?id=101705.
	* src/import-export/Makefile.am:  No longuer compile Christian's old matcher.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7916 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 05:01:52 +00:00
Derek Atkins
ef64db1406 * src/register/ledger-core/split-register-module.c: only set ReadOnly
status for Invoices, not Payments.  Fixes #105032


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7915 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 04:28:43 +00:00
Derek Atkins
fd7b3ae56e * accounts/C/acctchrt_business.gnucash-xea: fix some of the accounts
in the tree to be more accurate to the real world.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7914 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 04:10:33 +00:00
Derek Atkins
2f972ce982 * src/engine/gnc-engine-util.c: turn off DEBUG on all the modules
(for the release).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7913 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-02 03:06:29 +00:00
Christian Stimming
6131631a78 2003-02-01 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-backend.c: Reduced the
	MATCH_DATE_NOT_THRESHOLD to 21 days. Yeah, this should rather be a
	user preference, but IMHO three weeks should already cover the
	basic problem.

	* src/import-export/import-account-matcher.c, import-backend.c,
	import-main-matcher.c, import-match-picker.c: Comment out
	stderr debugging output.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7912 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 22:43:26 +00:00
Christian Stimming
2867bbcab2 Improved docs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7911 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 22:42:53 +00:00
Christian Stimming
325dbadd5e Improved translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7910 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 22:41:46 +00:00
Christian Stimming
80a503ffde Comment out stderr debugging output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7909 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 22:35:54 +00:00
Christian Stimming
284edb9f82 2003-02-01 Christian Stimming <stimming@tuhh.de>
* src/import-export/generic-import.scm: Move transaction matcher
	preferences to "Online Banking & Import" preference page.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7908 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 22:24:36 +00:00
Christian Stimming
bcf17bf905 2003-02-01 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-cb.c: Add include config.h.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7907 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 22:23:08 +00:00
Christian Stimming
b429e48e51 Update HBCI documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7906 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 22:19:04 +00:00
Derek Atkins
5acf50fa9b * src/backend/postgres/PostgresBackend.c (pgendEnable):
Added ENTER/LEAVE statements

	* src/backend/postgres/escape.c: Adde gnc-engine-util.h,
	  and "module = MOD_BACKEND"
	- (sqlEscape_destroy): Added ENTER/LEAVE statemtents.

	* src/backend/postgres/gncquery.c (sql_Query_destroy): Added
	ENTER/LEAVE statements.

	* src/backend/postgres/putil.h: Cleaned up the formatting on the
	SEND/FINISH/EXEC/GET_RESULT macros.  Changed them to use
	PQresultErrorMessage where possible. Made them all set the Backend
	error message string.  Removed the PQfinish() calls, and setting
	be->connection to NULL.  Reasoning: if a malformed query fails, there is
	no reason to close the connection.  If an update/insert fails,
	again, there is no need to close the connection.  The user should
	be presented an error message and respond appropriately.  If
	a update/insert/delete fails, then generally the transaction is
	rolled back to the last BEGIN, thereby preventing data corruption.

	* src/engine/QueryNew.c (gncQueryPrint): Check that q is not NULL
	prior to processing it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7905 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 21:26:33 +00:00
Christian Stimming
dda9a689f7 Updated header for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7904 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 21:15:37 +00:00
Christian Stimming
706562a064 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7903 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 21:11:11 +00:00
Derek Atkins
b487e475b4 * src/gnome/window-register.c: fix the query code to use the correct
param list.  Fixes bug #104951


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7902 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 20:34:35 +00:00
Derek Atkins
93d0b4abb5 * src/business/business-gnome/dialog-invoice.c:
* src/business/business-gnome/glade/invoice.glade:
	  add handlers to immediately save the active and notes fields
	  as they are edited.  Fixes #104954

	  NOTE: This has a side effect of removing an invoice from any
	  open searches, but NOT replacing it if you click on the "active"
	  button.

	* src/business/business-gnome/business-gnome.scm: fix the "bill
	  reminder" so it doesn't create a query if there are no payables
	  accounts.

	* src/gnome-utils/gnc-menu-extensions.c: dgettext() and gettext()
	  return const char*.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7901 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-02-01 16:06:26 +00:00
Derek Atkins
0f55f75988 * src/import-export/qif-import/qif-file.scm: change the way that
parse-fields reports an error or warning.  In particular, return
	  a list such that the error is tied to the actual type.  This will
	  allow us to differentiate a date-parse ambiguity from any other
	  type of ambiguity.  Also add a new procedure that, when given the
	  (cdr parse-results) and a 'type' will return the actual error for
	  that particular type.
  	* src/import-export/qif-import/qif-import.scm: export the new symbol
	* src/import-export/qif-import/druid-qif-import.c: change the logic
	  to use the new parse results and only try to fill the date dialog if
	  there is actually a date parsing ambiguity.

	  Fixes Morrison J. Chang's QIF import problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7900 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-31 16:38:16 +00:00
Derek Atkins
08245a8ebb * src/report/report-system/options-utilities.scm:
* src/report/standard-reports/account-summary.scm:
	* src/report/standard-reports/balance-sheet.scm:
	* src/report/standard-reports/cash-flow.scm:
	* src/report/standard-reports/pnl.scm:
	  change the api to gnc:options-add-account-selection! to allow
	  the caller to set the default choice on "use-subaccounts", and
	  change the cash-flow report to default to 'no'.  This will make
	  sure that "Assets:A/P" is not included (since it shouldn't be).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7899 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-31 03:00:50 +00:00
Christian Stimming
891889f808 Add #include "config.h" -- there were some complaints about missing ENABLE_NLS
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7898 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-30 22:46:43 +00:00
Christian Stimming
11fe8ee187 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7897 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-30 22:40:34 +00:00
Derek Atkins
eb62e27fd5 * Nathan Neulinger's patch to gnc-split-reg.[ch] to implement
a summary-bar "Projected minimum balance".  Somewhat fixes #102440.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7896 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-30 17:42:55 +00:00
Derek Atkins
c037893ce7 * po/np.po -- add the proper "Plural" header so it builds again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7895 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-30 14:53:14 +00:00