Commit Graph
1880 Commits
Author SHA1 Message Date
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
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 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 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
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
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
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
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
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 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
Benoit Grégoire ec42458433 2004-10-24 Benoit Gr�goire <bock@step.polymtl.ca>
* po/fr.po:  Translation from Johan Buret, unfortunately on the wrong branch.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10307 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-24 18:41:46 +00:00
Derek Atkins 1b1f0cced3 Neil Williams' QOF book merge patch #1.
Includes
	  qof_book_merge.c
	  qof_book_merge.h
	  test-book-merge.c test routine
	  New Account Hierarchy druid
	  Sundry adjustments to QOF support.
	  Tweaks to several Makefile.am files to support new files.
	  Tweaks to window-main.c to support new menu item
	  Changes to druid-hierarchy.c to support the merge druid.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10306 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-16 15:51:26 +00:00
Derek Atkins a7fa3e05a4 Daniel Lindenaar's patch for posting invoices.
* src/business/business-core/gncInvoice.[ch]
	* src/business/business-gnome/dialog-date-close.[ch]
	* src/business/business-gnome/dialog-invoice.c
	* src/business/business-gnome/glade/date-close.glade
	* src/business/business-utils/business-prefs.scm
	  Daniel Lindenaar's patch to implement a check-box in the Invoice Post
	  Dialog (with a default in the File Preferences) to choose to accumulate
	  splits when posting an invoice, or post a 1:1 mapping.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10305 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-16 02:49:29 +00:00
Derek Atkins 11b5192d23 Don't crash when someone imports a broken QIF (#155244).
* src/import-export/qif-import/qif-object.scm:
	  provide a default account name so we don't crash when someone
	  imports a broken QIF that has a !Account without an account name.
	  Fixes bug #155244.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10303 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-13 15:13:21 +00:00
Derek Atkins e005e91255 Forgot to commit ChangeLog last night.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10300 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-09 17:05:10 +00:00
Benoit Grégoire 4d7723a4dd 2004-10-08 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-backend.c:  Duplicate match tweaks:
               -Change MATCH_DATE_NOT_THRESHOLD from 3 weeks to two weeks
               -A transaction amount mismatch past the threshold is now punished by -5 instead of -1
               -Date mismatch is now worth -5 isntead of -10
               -Check number mismatch is now punished -2, but only if both numbers are NOT empty.
       	* src/import-export/ofx/gnc-ofx-import.c: Update for new LibOfx, this among other things, gives gnucash Microsoft OFC support.
       	* src/import-export/ofx/test/test-link.cL Update for new LibOfx.
       	* configure.in:  Partly update for new libofx.  It will crash if the right version isn't available, but there is no explicit version support (if someone wants to code it, you can use the output of "ofxdump --version".
	* src/gnome-utils/gnc-query-list.c:  Fix gcc3.4 compile problem


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10299 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-09 00:09:10 +00:00
Christian Stimming 48ca9a1669 More HBCI work.
2004-09-30  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-getbalance.c: Fix HBCI balance
	retrieval when some of the returned balance is NULL.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10287 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-30 14:49:35 +00:00
Derek Atkins 2d0abc49fa more x86_64 fixes.
* src/backend/file/io-gncbin-r.c: Fixes for x86_64


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10283 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-28 22:55:41 +00:00
Derek Atkins 17f09817c1 Fix for x86_64.
* src/engine/qofquerycore.c: Fix for x86_64.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10281 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-28 22:16:21 +00:00
Christian Stimming 27c0afeea1 2004-09-22 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c: Finally fix the HBCI
	implementation based on aqbanking/aqhbci. This can now be tested
	intensively.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10268 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-22 20:51:55 +00:00
Derek Atkins 6e4a7b2f24 Fix ISO C90 (#153465).
* src/engine/test/test-transaction-reversal.c:
	* src/engine/test-core/test-engine-stuff.c:
	  Fix for ISO C90.  Fixes #153465.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10267 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-22 18:40:10 +00:00
Christian Stimming 957aedd8ec More HBCI/AqBanking work.
2004-09-06  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/dialog-hbcitrans.c,
	gnc-hbci-getbalance.c, gnc-hbci-gettrans.c: More AqBanking work
	after hints from Martin Preuss <martin@libchipcard.de>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10257 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-06 19:18:33 +00:00
Christian Stimming d7768d2aed 2004-09-04 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/*.h, *.c, macros/aqbanking.m4,
	configure.in: Major change for HBCI. It is no longer based on the
	openhbci2 library but instead on the aqbanking library
	http://sf.net/projects/aqbanking which is Martin Preuss' successor
	of openhbci2. This means that now aqbanking-0.9.2 is required
	instead of any of the openhbci[2] package. Still needs more
	testing, though.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10256 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-04 12:03:31 +00:00
Derek Atkins eded6e8bd2 Fix xaccAccountGetBalanceAsOfDate() (bug #150757).
* src/engine/Account.c: fix xaccAccountGetBalanceAsOfDate() to properly
	  compute the balance at the end of the split list.  Fixes #150757.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10255 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-29 02:35:16 +00:00
Derek Atkins 3335a2a14f Add option to advanced portfolio to include $0 splits (#143772).
* src/report/standard-reports/advanced-portfolio.scm:
	  Add option to include zero-amount splits in computations.
	  Fixes #143722.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10224 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-21 16:34:18 +00:00
Derek Atkins 4ae7a36f35 Perry Smith's Null Account patch.
* src/import-export/qif-import/qif-dialog-utils.scm:
	  Perry Smith's Null Account Patch.  Make sure the security is
	  a real string before appending an account separator, so we
	  don't try to create a "null" account.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10222 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-19 19:59:10 +00:00
Derek Atkins 0bc9bfb411 Neil Williams's "QOF create: functionality added" patch.
QOF create: adding functions to be used with
	qof_object_new_instance for new qof_book_merge objects, including
	business objects.

	Small documentation tweak to make QofEntity and QofParam
	structures visible to doxygen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10220 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-19 19:47:34 +00:00
Derek Atkins ac4a718807 Check for newer gtkhtml first (#84707).
* configure.in: change the gtkhtml order to search for >= 1.1 before
	  < 1.1, in order to try to fix #84707 on systems with multiple
	  versions of gtkhtml.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10219 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-19 18:36:54 +00:00
Derek Atkins 259e01d5c1 David's patch to handle merchandising businesses (#150008).
2004-08-12  David Montenegro  <sunrise2000@comcast.net>

        * src/report/standard-reports/trial-balance.scm:
	    src/report/standard-reports/equity-statement.scm:
	    src/report/report-system/report-utilities.scm:
	    Added to the work sheet special handling of
	    inventory and income summary accounts for
	    merchandising businesses.  Fixes #150008.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10217 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-13 17:29:46 +00:00