Commit Graph

7248 Commits

Author SHA1 Message Date
Derek Atkins
abf1884181 * src/engine/QueryCore.[ch]: create a new GUID_MATCH_LIST_ANY
match-type, which can eventually be used to make an AccountGroup
	  comparrison (once we figure out how to label an account group with
	  a GUID)
	* src/engine/QueryNew.c: print out GUID_MATCH_LIST_ANY query terms
	* src/engine/gw-engine-spec.scm: wrap GUID_MATCH_LIST_ANY


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8608 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 18:58:15 +00:00
Derek Atkins
5ecbf8ba78 * src/register/ledger-core/split-register-model.c: enable the
exchange-rate dialog on "search ledger" registers.
	Fixes #113987


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8606 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 18:23:47 +00:00
Derek Atkins
09012a0aab * src/backend/file/io-gncxml-v2.c: make the book-string an extern
* src/backend/file/gnc-book-xml-v2.c: make the book-string non-static
	Fixes #114401


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8604 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 18:17:18 +00:00
Chris Lyttle
73c7c7b539 add Jon Laphams patch
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8602 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 17:45:42 +00:00
Derek Atkins
627940f209 * src/business/business-core/gncTaxTable.c:
* src/business/business-core/gncBillTerm.c:
	  Mark the data book as dirty if a tax table or bill term is
	  destroyed.  Fixes all of #114889 that I can reproduce.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8599 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 05:38:31 +00:00
Derek Atkins
3fedea2039 Revert changes that should not have been committed. Oops. Sorry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8598 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 05:23:26 +00:00
Derek Atkins
0aacad725a * src/business/business-core/gncBillTerm.c:
- keep a list of children so we can unref ourselves from our
	    children when we get destroyed
	  - deal with parentless children
	* src/business/business-core/gncCustomer.c:
	* src/business/business-core/gncInvoice.c:
	* src/business/business-core/gncVendor.c:
	  deal with properly un-ref'ing Bill Terms and Tax Tables
	* src/business/business-core/file/gnc-bill-term-xml-v2.c:
	  create a scrub function to clear up bogus bill terms due to
	  bug #114888 which could cause bill terms to get created
	  due to post/unpost of invoices.  Scrubs all invoices and
	  fixes the reference to bill terms, and updates the refcounts.
	Fixes bug #114888 for bill terms.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8597 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 05:17:07 +00:00
Derek Atkins
d2c193825a * src/backend/file/io-gncxml-v2.[ch]: add API to the plugin
modules to allow post-processing (scrubbing) of the book after
	  it is loaded from XML.  This allows a plug-in to post-process
	  the complete book.
	* src/business/business-core/file/gnc-customer-xml-v2.c:
	* src/business/business-core/file/gnc-employee-xml-v2.c:
	* src/business/business-core/file/gnc-entry-xml-v2.c:
	* src/business/business-core/file/gnc-invoice-xml-v2.c:
	* src/business/business-core/file/gnc-job-xml-v2.c:
	* src/business/business-core/file/gnc-order-xml-v2.c:
	* src/business/business-core/file/gnc-vendor-xml-v2.c:
	  add a NULL scrub member to the XML plugin API.
	* src/business/business-core/file/gnc-tax-table-xml-v2.c:
	  create a scrub function to clear up bogus tax tables due
	  to bug #114888 (and related bugs) which could cause
	  tax tables to get created ad-nausium if you post and then
	  unpost an invoice.  Scrubs all the entries for bogus
	  tax tables, and then clears out the bogus tax tables.
	* src/business/business-core/file/gnc-bill-term-xml-v2.c:
	  Hook in an empty scrub routine, because I think the same
	  bug exists here, but I'll work on that later.
	* src/business/business-core/gncEntry.c:
	  make sure we properly dereference tax tables when we destroy
	  an entry.
	* src/business/business-core/gncTaxTable.c:
	  - keep a list of children so we can unref ourselves from our
	    children when we get destroyed
	  - deal with parentless children
	Fixes bug #114888 -- don't generate phantom (parent) tax tables
	and clean up any existing bogus tax tables.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8595 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-14 04:31:03 +00:00
David Hampton
21edb97a57 Remove 'duude' messages.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8594 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-13 02:52:38 +00:00
Christian Stimming
77d9451c91 forgot makefile entry
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8593 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-12 21:28:24 +00:00
Christian Stimming
07c1a366fb 2003-06-12 Christian Stimming <stimming@tuhh.de>
* doc/TRANSLATION_HOWTO: Added, by Jon Lapham
	<lapham@extracta.com.br>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8592 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-12 21:28:08 +00:00
Linas Vepstas
1d2817bc40 add note
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8587 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-12 03:12:20 +00:00
Linas Vepstas
9d232710ed fix mystery build break
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8586 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-12 02:53:21 +00:00
Linas Vepstas
7e498f8f2c fix mystery build break
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8585 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-12 01:22:26 +00:00
David Hampton
55f6d622a6 Remove unused routine. PG compiles again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8583 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-12 00:46:26 +00:00
David Hampton
914af285c4 Update for recent reorg changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8582 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-12 00:45:50 +00:00
Linas Vepstas
9b1f87a39d demarcate some special gnucash-specific sections of code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8581 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 17:07:01 +00:00
Linas Vepstas
43c3778be4 add -DGNUCASH for special gnc-session.c compile hack
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8580 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 17:05:13 +00:00
Linas Vepstas
676d19aaf9 move over typedef
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8579 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 17:04:08 +00:00
Linas Vepstas
8d97c8b30f add clarifying comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8578 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:42:51 +00:00
Linas Vepstas
7111ca86d0 add missing log enable/disable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8577 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:39:38 +00:00
Linas Vepstas
19c22ee34d add comments re _() trnaslation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8576 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:39:10 +00:00
Linas Vepstas
7453aa9e94 remove _() translation from ObjectTypeLabel()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8575 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:35:54 +00:00
Linas Vepstas
c63cd4927c remove dead logging code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8574 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:30:47 +00:00
Linas Vepstas
4d997e5b52 add missing gnc-commodity.h include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8573 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:22:26 +00:00
Linas Vepstas
59d2641ecf perform _() translation here, not in engine, of the ObjectTypeLabel
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8572 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:17:41 +00:00
Linas Vepstas
4b8a657df3 perform _() translation here, not in engine, for gncObjectGetTypeLabel
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8571 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:14:50 +00:00
Linas Vepstas
f465f7f589 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8570 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 16:02:58 +00:00
Linas Vepstas
6cc4d3a0d5 use new not old query interface
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8569 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 01:41:35 +00:00
Linas Vepstas
e80567b0dc misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8568 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 01:34:35 +00:00
Linas Vepstas
63519bdf21 start removing accounting-specific structures (i.e. Account, Transaction)
from the backend, and from the session; goal is a generic backend.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8567 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 01:23:18 +00:00
Linas Vepstas
2b2b0cc557 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8566 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 00:48:19 +00:00
Linas Vepstas
ae5e3e45b8 oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8565 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 00:46:08 +00:00
Linas Vepstas
4bc24127fc misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8564 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-11 00:43:28 +00:00
Linas Vepstas
e2c669d2da This file has been renamed to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8563 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 22:24:03 +00:00
Linas Vepstas
c30ca9efed finish moving commodities, prices and sx out of gnc-book;
finish conversion of above to use the gncObject infrastructure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8562 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 22:22:47 +00:00
Linas Vepstas
a01a217180 change AccountGroup to use gncObject for initialization, dirty flag, teardown.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8561 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 20:22:01 +00:00
Linas Vepstas
ed48a82dd9 rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8560 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 20:02:04 +00:00
Linas Vepstas
24757157b0 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8559 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 19:49:46 +00:00
Linas Vepstas
11b6d2b625 rename date.h to gnc-date.h, make sure new book file is included
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8558 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 19:35:55 +00:00
Linas Vepstas
ef1626a3db set the dirty flag early and often
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8557 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 19:31:53 +00:00
Linas Vepstas
ee88926021 rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8556 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 19:17:29 +00:00
Linas Vepstas
e2d68837f2 rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8555 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 19:07:00 +00:00
Linas Vepstas
68ce8ad55b rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8554 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 18:54:43 +00:00
Linas Vepstas
4a26d39c63 rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8553 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 18:39:44 +00:00
Linas Vepstas
78c2c4aaa8 misc include-file cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8552 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 18:19:33 +00:00
Linas Vepstas
7a055accd9 date.h -> gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8551 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 18:18:34 +00:00
Linas Vepstas
6b5b94c8d4 date.h -> gnc--date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8550 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 18:15:27 +00:00
Linas Vepstas
e6e7af1b56 date.h -> gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8549 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 18:10:38 +00:00
Linas Vepstas
a2a7e4b37b rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8548 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 17:59:06 +00:00