Commit Graph

6528 Commits

Author SHA1 Message Date
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
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
Derek Atkins
0794bd0815 Andreas Rottmann's patch to support g-wrap 1.9.
* engine/gw-engine-spec.scm:
	* gnome-search/dialog-search.h:
	* report/report-gnome/dialog-column-view.h:
	  Andreas Rottmann's patch to support g-wrap 1.9.
	  - don't wrap non-existent objects
	  - protect headers from multiple inclusion
	  - include gtk.h header when we use gtk objects.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10298 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-08 23:21:18 +00:00
Christian Stimming
0acd9a3672 Fix unexpected aqbanking version number.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10295 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-03 18:53:50 +00:00
Christian Stimming
66f47810e7 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10292 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-03 12:21:26 +00:00
Christian Stimming
c102724bbe More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10290 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-10-02 16:35:33 +00:00
Christian Stimming
a3a20af9b0 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10288 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-30 14:54:07 +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
Christian Stimming
bf00737281 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10284 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-30 10:48:44 +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
19582b7146 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10278 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-25 11:46:31 +00:00
Christian Stimming
2d3a0ca900 Fix errornous double-free.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10276 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-25 10:49:50 +00:00
Christian Stimming
202fcd88f8 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10271 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-25 10:09:52 +00:00
Christian Stimming
07edac3753 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10270 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-25 09:02:25 +00:00
Christian Stimming
4fa0476da4 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10269 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-25 08:08:49 +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
b986f2e2d8 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10266 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-19 14:41:50 +00:00
Christian Stimming
0cdf0a55d8 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10265 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-18 07:59:17 +00:00
Christian Stimming
1df60ce377 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10264 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-17 20:54:17 +00:00
Christian Stimming
2b2f381f3f More hbci work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10263 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-12 10:38:12 +00:00
Christian Stimming
a59e9155c7 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10262 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-11 19:35:06 +00:00
Christian Stimming
8e3debdae2 More HBCI work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10261 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-11 19:13:27 +00:00
Christian Stimming
5047d2bc65 More hbci work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10260 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-11 10:06:18 +00:00
Christian Stimming
58f50cfee1 More HBCI/aqbanking work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10259 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-08 20:50:36 +00:00
Christian Stimming
7b8014d3ce More HBCI/aqbanking work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10258 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-08 20:29:04 +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
fb50077329 Fix a few problems to get CVS to compile.
test-core/test-stuff: remove unused variable.
  register/ledger-core/split-register-control: insert do .. while
      because the code still uses "break"s to exit out.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10253 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-29 02:10:15 +00:00
Linas Vepstas
4b57fb2451 careful printing null string
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10252 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:54:08 +00:00
Linas Vepstas
b155f5d09c make sure that uninitialized value is not accidentally used.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10251 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:51:05 +00:00
Linas Vepstas
ab685928b4 fix indentation problems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10250 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:46:37 +00:00
Linas Vepstas
5ee3f168db fix null-pointer deref
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10249 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:42:08 +00:00
Linas Vepstas
ad5b28c8c9 fix possible NULL-pointer deref
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10248 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:30:27 +00:00
Linas Vepstas
f8f1a31b9b remove wacky loop that can be executed only once
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10247 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:28:34 +00:00
Linas Vepstas
2a28f52f84 fix null-pointer deref; fix more bad indentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10246 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:23:18 +00:00
Linas Vepstas
3efa30588b fix possible null-pointer deref
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10245 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:20:59 +00:00
Linas Vepstas
5689a952e8 fix usage of uninitialized variable (by initializing it)
and also some more wacky indentation fixes


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10244 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:19:41 +00:00
Linas Vepstas
7c24c9b18b fix indentation problems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10243 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:15:55 +00:00
Linas Vepstas
d2d1df7052 fix memory leak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10242 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:15:18 +00:00
Linas Vepstas
8394ae7a3b make sure return values are completely initialized
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10241 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 22:07:10 +00:00
Linas Vepstas
13841d9390 fix indentation problems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10240 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 21:59:39 +00:00
Linas Vepstas
1e37023609 fix a seriously nasty junk-memory reference.
This particular nasty could actually mangle-ify QIF import
in a bad way, and goof people up.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10239 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 21:58:34 +00:00
Linas Vepstas
b3078d3234 remove old-fashioned block style
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10238 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 21:46:59 +00:00
Linas Vepstas
f5b37208cd clarify fall-through condition; fix indentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10237 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 21:42:41 +00:00
Linas Vepstas
824bac37ed replace insane algorithm (which always returned last iterm in array)
with something real.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10236 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 21:37:20 +00:00
Linas Vepstas
8926814468 fix potential null-pointer deref; fix indentation problems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10235 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-08-27 21:23:23 +00:00