Commit Graph

8057 Commits

Author SHA1 Message Date
Derek Atkins
46cac7318c Fix ACCOUNT_NSCU Qof Param getter.
* src/engine/Account.c:
	  This patch fixes: (QofAccessFunc)xaccAccountSetNonStdSCU in
	  src/engine/Account.c - that's a Set routine allocated as a
	  QofAccessFunc - the patch changes it to the appropriate Get
	  routine - the QofSetterFunc is OK.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10439 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 16:16:35 +00:00
Derek Atkins
fd5ffd6e1d Thomas Bushnell's patch to protect non-backup pruning (#164875).
* src/backend/file/gnc-backend-file.c:
	  When working on the file foo.xac, backups are named
	  foo.DATE.xac.  But the backup file pruner will prune any old
	  file named foo.DATE.anything.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10435 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 19:03:28 +00:00
Derek Atkins
c7c41453ca David Montenegro's patch for bugs #95551, #124367.
* src/report/standard-reports/account-summary.scm:
	  Rewrote account summary report. Now has fields for
	  more account metadata. Properly handles mixed
	  asset/liability subaccounts.
	* src/report/standard-reports/html-acct-table.scm:
	  Added functionality (account-type &c) and bug fixes
	  (lone zb subtotals, spurious 'recursive-bal, typos)
	  needed to make the new account-summary.scm work.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10434 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 18:54:12 +00:00
Christian Stimming
f61dfb488e Make experimental locale-specific taxes depending on configure switch.
2005-01-29  Christian Stimming  <stimming@tuhh.de>

	* configure.in, src/tax/us/gncmod-tax-us.c,
	src/report/locale-specific/us/gncmod-locale-reports-us.c,
	src/app-utils/gnc-ui-util.c: Make localized tax categories
	disabled by default; can be enabled by
	--enable-locale-specific-tax switch.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10432 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 12:54:31 +00:00
Christian Stimming
b3a4b21639 Fix wrong user message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10429 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 12:49:25 +00:00
Christian Stimming
d66d5bc7d2 Improve HBCI code.
2005-01-29  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/dialog-hbcitrans.c: Enable debit notes
	again. Various other improvements.

	* src/import-export/hbci/druid-hbci-initial.c (on_aqhbci_button),
	configure.in: Adapt to latest changes in aqbanking; external
	wizard name is no longer hard-coded here but is asked from
	aqbanking.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10427 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-29 12:14:59 +00:00
Derek Atkins
b2390c772e Properly accumulate splits (bug #165053).
* src/business/business-core/gncInvoice.c: Properly accumulate
	  splits (bug #165053).  Also fixes a (related) memory leak
	  (caused by the same lack-of-reference to accumulated splits).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10424 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-24 04:33:29 +00:00
Christian Stimming
ef435bc0ac More German tax work.
2005-01-16  Christian Stimming  <stimming@tuhh.de>

	* src/app-utils/gnc-ui-util.c: Modify tax option code to load
	tax-de_DE module in the appropriate locale.

	* src/report/locale-specific/us/gncmod-locale-reports-us.c,
	de_DE.scm: Add scheme module for locale-report/us
	resp. locale-report/de_DE again because it seems to be required.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10417 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-16 16:41:39 +00:00
Christian Stimming
9229455325 Improve German tax categories
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10415 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-16 15:09:51 +00:00
Derek Atkins
3227f56daf * Neil William's patch to remove static mergeData context.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10414 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-15 20:16:09 +00:00
Christian Stimming
64e48c3a0a Add explanation on how to test the HBCI features with the public HBCI test server.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10413 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-15 15:52:05 +00:00
Christian Stimming
292210fcc1 add changelog msg
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10412 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-12 21:34:45 +00:00
Christian Stimming
db556d6ddf Add warnings about using the included spec file with caution.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10411 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-12 21:34:15 +00:00
Christian Stimming
4a79459794 Fix gcc4 warning about superfluous const as pointed out by #162635
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10410 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-10 21:44:53 +00:00
Christian Stimming
fed6508cbf More work with German tax categories.
2005-01-10  Christian Stimming  <stimming@tuhh.de>

	* src/report/locale-specific/us/gncmod-locale-reports-us.c,
	src/tax/us/gncmod-tax-us.c: For German tax categories, make sure
	the module name will match the de_DE locale or will fall back to
	us module name all the time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10408 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-10 21:37:19 +00:00
Christian Stimming
353ad4978a Add comment about potentially missing const in function declaration
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10407 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-10 21:34:40 +00:00
Christian Stimming
dce2752625 Fix code before declarations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10404 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-04 22:07:33 +00:00
Christian Stimming
1cd053e159 Further improvement for libofx version check
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10401 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-02 12:21:51 +00:00
Derek Atkins
d5c24533d7 Chris Shoemaker's typo-fix patch.
* src/engine/qofbook.h:
	* src/engine/qofid.h:
	  general fixed typos and comments


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10399 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 22:52:53 +00:00
Derek Atkins
c04bbaf639 Chris Shoemaker's gnc-trace patch.
* src/engine/gnc-trace.[ch]:
	  - Recent use of malloc in gnc-trace breaks my compile, use g_malloc
	  - Fix leak of filename mem
	  - add indenting of trace file according to ENTER/LEAVE stack depth
	  - have ENTER report file name of function along with function name


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10398 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 22:50:37 +00:00
Derek Atkins
8d2cb86f8b John Ellson's patch to fix some gcc4 warnings (bug #162582).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10396 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-31 18:38:03 +00:00
Christian Stimming
a4027674f9 Add de_DE tax categories.
2004-12-29  Christian Stimming  <stimming@tuhh.de>

	* src/tax/us/txf-de_DE.scm: Add Tax TXF categories for the de_DE
	locale, i.e. the German tax report. If the current locale begins
	with de_DE, the new German tax categories will be loaded,
	otherwise the conventional U.S. ones. This is the easiest method
	to allow other (non-U.S.) tax categories to be selected in the
	accounts' tax settings.

	* src/report/locale-specific/us/taxtxf-de_DE.scm: Add Tax report
	for de_DE locale. If the current locale begins with de_DE, the new
	German tax report will be loaded, otherwise the conventional
	U.S. report.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10390 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-29 16:57:35 +00:00
David Hampton
eb9822f6a5 Correct error message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10387 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-23 18:27:33 +00:00
Christian Stimming
016d372d26 Fix hbci library initialization and problems with missing setup wizard application.
2004-12-23  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/druid-hbci-initial.c (on_aqhbci_button):
	Add extra sanity checks and verbose error message if the setup
	wizard of aqhbci cannot be found.

	* src/import-export/hbci/gncmod-hbci.c: Fix potentially missing
	initialization of gwenhywfar library, as reported by Peter
	O'Gorman on Max OS X.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10384 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-23 16:40:10 +00:00
Derek Atkins
4417e511a9 Rich Johnson's patch to include private structures in the doxygen docs.
* src/doc/doxygen.cfg.in:
	  extract local classes = yes
	  don't exclude *P.h


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10378 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-17 15:56:30 +00:00
Christian Stimming
0900803abf Remove empty obsolete file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10372 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-15 21:01:10 +00:00
Chris Lyttle
f412d48675 update for stable release 1.8.10
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10370 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-13 03:30:12 +00:00
Christian Stimming
f5abe5272d Remove obsolete file from potfile list. Sorry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10367 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-12 21:43:44 +00:00
Derek Atkins
b4bf5cb9b8 Neil Williams' patch to fix the book-merge test.
* src/engine/test/test-book-merge.c: targetEnt is always NULL
	  during MERGE_NEW so don't test it in that case.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10362 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-05 15:35:52 +00:00
Derek Atkins
5f1900daa3 Get test-numeric working.
* src/engine/test/test-numeric.c:
	  Make sure we use gint64 instead of gint when trying to test
	  values > 2^32.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10361 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-05 00:34:37 +00:00
Derek Atkins
e131c27fc2 Include libxml headers during compile (#121026).
* src/backend/file/Makefile.am:
	* src/backend/file/test/Makefile.am:
	* src/business/business-core/file/Makefile.am:
	  Need to include GNOME_XML_CFLAGS to make sure the libxml includes
	  are found during the compile.  Fixes #121026.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10360 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 23:01:42 +00:00
Derek Atkins
8d05aae712 Increase the max dup-trans number to 1Bill (#152772).
* src/gnome/glade/register.glade:
	  Increase "number" spin box to a maximum of 1billion.  Fixes #152772.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10358 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 22:32:37 +00:00
Derek Atkins
6bd18fe4f1 Send an 'invoice modified' event when a payment is applied (#139092).
* src/business/business-core/gncInvoice.c:
	  send an event when a payment is processed so the invoice gets
	  updated as "paid" in the search window.
	  Fixes #139092.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10356 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 21:56:41 +00:00
Christian Stimming
8709330068 Decrease the amout of log messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10354 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 21:25:57 +00:00
Derek Atkins
62783cc63d Set the query search type in the vendor dialog (#141526).
* src/business/business-gnome/dialog-vendor.c:
	  Make sure we set the proper search-type when we create the
	  query, otherwise the search will fail later.
	  Fixes #141526.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10353 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-04 21:25:21 +00:00
Christian Stimming
dba6d1536d Fix division by zero error in tax report
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10348 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-03 20:23:33 +00:00
Derek Atkins
d34a56a548 Stephen Evanchik's trace crash patch.
* src/engine/gnc-trace.c: Try a few different filenames for
	  the trace log and if all else fails fall back to stderr.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10347 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-02 15:20:08 +00:00
Derek Atkins
5ac580b06f * src/business/business-ledger/Makefile.am: add explicit
dependency on business-utils.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10346 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-12-02 15:18:17 +00:00
Christian Stimming
218006294c Improve importer performance.
2004-11-27  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/import-backend.c
	(gnc_import_find_split_matches): Improve importer performance by
	matching imported transactions only against transactions in the
	proper time interval.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10343 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-27 11:44:27 +00:00
Christian Stimming
257efa3989 Add configure check for libofx version
0.7.0 and respective error message.

2004-11-22  Christian Stimming  <stimming@tuhh.de>

	* configure.in, README: Add configure check for libofx version
	0.7.0 and respective error message. Update docs. Fixes #159050


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10340 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-22 20:58:02 +00:00
Christian Stimming
ad6dd54a7b Identified and fixed several places with
untranslated strings.

2004-11-13  Christian Stimming  <stimming@tuhh.de>

	* src/report/report-gnome/window-report.c,
	src/scm/main-window.scm: Identified and fixed several places with
	untranslated strings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10334 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-13 12:48:00 +00:00
Christian Stimming
77212cc1ae Change currency mnemonic for "New Israeli Shekel" from "ILS" to
"NIS". Fixes #152755.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10331 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-10 21:17:50 +00:00
Christian Stimming
40a48b4bd3 Upgrade required aqbanking version number to the most recent required version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10329 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-08 20:02:54 +00:00
Christian Stimming
a390638321 Mark search criteria for translation.
2004-11-01  Christian Stimming  <stimming@tuhh.de>

	* src/gnome/dialog-find-transactions.c: Mark search criteria for
	translation -- somehow this had been missed all the time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10322 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 20:28:04 +00:00
Derek Atkins
a6ee03383b Fix parameter order to match C file (thanks for Erwin Rieger).
* src/engine/gw-engine-spec.scm:
	  Fix parameter order to match C file (thanks for Erwin Rieger).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10318 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 02:17:52 +00:00
Derek Atkins
1a43c812b0 James Strandboge's "Easy Invoice" patch.
* src/business/business-reports/Makefile.am:
	* src/business/business-reports/business-reports.scm:
	* src/business/business-reports/easy-invoice.scm:
	  add "easy invoice" code.
	* src/business/business-utils/business-prefs.scm:
	* src/business/business-utils/business-utils.scm:
	  add preferences for the business ID, used in the easy invoice.
	* src/report/stylesheets/Makefile.am:
	* src/report/stylesheets/stylesheets.scm:
	* src/report/stylesheets/stylesheet-easy.scm:
	  add "easy stylesheet" code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10317 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 02:10:05 +00:00
Derek Atkins
c5857de175 Heath Martin's x86_64 patch.
* macros/autogen.sh:
	  change "head -1" to "head -n 1"
	* src/engine/gnc-numeric.[ch]:
	  change string_to_gnc_numeric() to return gboolean.
	* src/app-utils/gnc-exp-parser.c:
	* src/backend/file/sixtp-dom-parsers.c:
	  use new string_to_gnc_numeric() API
	* src/engine/gnc-lot.c:
	  64-bit safe for x86_64
	* src/gnome/dialog-scheduledxaction.c:
	* src/gnome/dialog-sxsincelast.c:
	* src/gnome/druid-loan.c:
	* src/gnome-utils/dialog-account.c:
	* src/gnome-utils/gnc-query-list.c:
	* src/import-export/import-match-map.c:
	  use GPOINTER_TO_INT and GINT_TO_POINTER macros to be 64-bit safe.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10315 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 01:37:10 +00:00
Derek Atkins
2dbd253dba Phil Longstaff's patch to prevent duplicate pricedb entries.
* src/engine/gnc-pricedb.c:
	  Phil Longstaff's patch to prevent duplicate pricedb entries.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10313 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 00:45:44 +00:00
Derek Atkins
41de6f5c74 Neil Williams' QOF Book Merge Patch #2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10311 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-31 19:19:44 +00:00
Christian Stimming
23b612c6c5 Updated HBCI readme.
2004-10-30  Christian Stimming  <stimming@tuhh.de>

	* doc/README.HBCI: Updated HBCI readme.

	* src/import-export/hbci/hbci-interaction.c: Fix problems with
	user messages.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10309 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-30 10:24:02 +00:00