Commit Graph

8226 Commits

Author SHA1 Message Date
Christian Stimming
803907e022 HBCI behaviour and encoding improvements.
2005-03-20  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-utils.c: Retrieve the current
	book's character encoding which so far is identical to the
	locale's encoding by nl_langinfo().

	* src/import-export/hbci/hbci-interaction.c: Fixed ignored 'abort'
	button.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10937 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-03-20 13:04:25 +00:00
Christian Stimming
ba04a3577e Fix character encodings of imported transactions.
2005-03-19  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-utils.c (gnc_hbci_descr_tognc):
	Correctly convert imported transaction description from utf-8 to
	iso-8859-15 which currently comes closest to gnucash's internal
	encoding. This needs to be changed again for the gnome2 port, but
	I'll think of that early enough.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10935 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-03-19 08:59:40 +00:00
Christian Stimming
2e0bd8d8a0 Improve HBCI balance download.
2005-03-13  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-getbalance.c: Improve user
	message when downloaded balance is already identical to reconciled
	balance.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10931 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-03-13 12:49:24 +00:00
Christian Stimming
c6e6b38413 Further error checking improvements
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10929 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-03-13 12:04:55 +00:00
Christian Stimming
95c3ef2a89 Improve error handling in HBCI operations.
2005-03-12  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-gettrans.c, hbci-interaction.h:
	Improve error handling in HBCI operations.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10927 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-03-12 11:50:45 +00:00
Christian Stimming
6fcde306d6 Fix aqbanking wizard calling convention
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10921 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-03-02 20:57:19 +00:00
Christian Stimming
089ea993bc Force account dirty after modifying its kvp_frame.
2005-02-26  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/hbci/gnc-hbci-kvp.c (force_account_dirty):
	Force account 'dirty' after modifying the kvp_frame. Hopefully
	fixes #165096.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10918 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-26 11:07:13 +00:00
Christian Stimming
77e3d2d674 Revert the change in December about date matching threshold.
2005-02-21  Christian Stimming  <stimming@tuhh.de>

	* src/import-export/import-backend.c, import-backend.h,
	import-main-matcher.h: Revert the change in December about date
	matching thresholds that broke some OFX import. Now, the hard
	limit days interval is set by the importing sub-module when
	creating the dialog. This way, HBCI and OFX can set their
	different requirements. (Note: QIF does not use this code at all.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10909 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-21 20:58:36 +00:00
Neil Williams
26ad9d4348 Fix double free of the targetList, Add kvp_value_to_bare_string
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10906 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-20 15:53:01 +00:00
Derek Atkins
9f9ce9c60a * acinclude.m4: Add mips, mipsel, arm, and m68k for Debian.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10901 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-17 03:25:29 +00:00
Derek Atkins
833abd9e0e Fix to find glade symbols on some *BSD systems.
* src/gnome-utils/dialog-utils.c: When trying to load the symbol
	  from a glade file, Fall back to dlsym() if g_module_symbol()
	  fails.  This is necessary to find the symbols on on certain *BSD
	  systems.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10899 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-16 22:27:00 +00:00
Chris Lyttle
7ea795e02e update to release 1.8.11
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10457 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-07 04:14:28 +00:00
Derek Atkins
321d3e2473 Fix leap-year computation in the 'last_mday' computation.
* src/engine/date.c: Fix the last-day-of-month computation for
	  leap years.  Need to use modulo, not divide.  (Patch by
	  Neil Williams.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10454 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 20:56:09 +00:00
Derek Atkins
d84d59488e Fix leap-year computation in the 'last_mday' computation.
* src/engine/date.c: Fix the last-day-of-month computation for
	  leap years.  Need to use modulo, not divide.  (Patch by
	  Neil Williams.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10453 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 20:56:09 +00:00
Christian Stimming
0083bc59cb Fix HBCI date range for statement download.
2005-02-06  Christian Stimming  <stimming@tuhh.de>

        * src/import-export/hbci/gnc-hbci-gettrans.c: Fix HBCI date range
        for statement download.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10451 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 14:31:37 +00:00
Derek Atkins
0221866afe Make sure us.scm is distributed.
* src/report/locale-specific/us/Makefile.am: make sure the
	  scheme reports are part of the DIST.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10449 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-02-06 04:08:23 +00:00
Derek Atkins
ca6e053320 Add extra debugging (#165571).
* src/engine/Scrub.c:
	* src/engine/Transaction.c:
	  Add the transaction guid to some error warning messages.
	  Fixes #165571.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10445 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-31 01:20:52 +00:00
Derek Atkins
408f77d8b8 * src/engine/Account.c:
- updated implementation of qofAccountSetParent().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10443 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 22:45:25 +00:00
Derek Atkins
a8102f258b Neil Williams' QOF sync patch.
* This patch updates the QOF merge code to current QOF to bring
	  the HEAD branch into sync. This update also makes
	  qof_book_merge_param_as_string output strings that are
	  compatible with QSF: using false instead of FALSE in string
	  output and using the QSF_XSD_TIME for the datestrings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10440 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-01-30 21:06:20 +00:00
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