Commit Graph

7403 Commits

Author SHA1 Message Date
Linas Vepstas
439e305550 qof translation screwed up a couple of things
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8800 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 21:24:07 +00:00
Linas Vepstas
2bf5f33c44 port the postgres backend sot that it now compiles /.w qof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8799 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 20:56:43 +00:00
Linas Vepstas
d181d075b8 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8796 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 20:20:04 +00:00
David Hampton
395c452648 Clean up usage of guid_to_string() function. There is no longer any
need to release the pointer returned by this function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8789 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:29:17 +00:00
David Hampton
18424838fa Use a thread local buffer for guid_to_string. Mark this routine as
returning a const char string so any attempts to free this buffer will
be caught at compile time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8788 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:20:46 +00:00
David Hampton
a6d96aa193 Correctly mark a function as returning a const char string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8787 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:20:14 +00:00
David Hampton
57ed4113cd No need to duplicate the string returned by xaccPrintDateSecs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8786 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:19:35 +00:00
David Hampton
54414b2176 Fix small memory leak.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8785 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:17:49 +00:00
David Hampton
397fe76818 Fix 'Save As' so it can write to non-existing files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8784 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 06:17:24 +00:00
Linas Vepstas
0f8fe2f2b4 rename kvp_frame to KvpFrame to follow convention
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8783 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-28 00:04:44 +00:00
Linas Vepstas
367a8b5f69 rename kvp_frame to KvpFrame to more closely follow gnome naming conventions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8782 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 23:33:00 +00:00
Derek Atkins
a51e197681 * src/engine/qofid.c: change the entity table to use
two hash tables to make iterating over all the objects
	  of a particular type a bit faster.  This should improve
	  Query performance on larger datasets.
	Fixes #115989


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8780 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 22:29:20 +00:00
Derek Atkins
948af280a0 * src/engine/gnc-event*.[ch]:
Change the event generation and callback routines to
	  pass a QofIdType in addition to the GUID*

	* src/app-utils/gnc-component-manager.c:
	* src/gnome-utils/gnc-account-sel.c:
	  change to match the new event API.  Remove the need for
	  xaccGUIDType(), which means we no longer get the g_warning.

	* src/backend/postgres/events.c:
	* src/business/business-core/gncAddress.c:
	* src/business/business-core/gncAddress.h:
	* src/business/business-core/gncBillTerm.c:
	* src/business/business-core/gncCustomer.c:
	* src/business/business-core/gncEmployee.c:
	* src/business/business-core/gncEntry.c:
	* src/business/business-core/gncInvoice.c:
	* src/business/business-core/gncJob.c:
	* src/business/business-core/gncOrder.c:
	* src/business/business-core/gncTaxTable.c:
	* src/business/business-core/gncVendor.c:
	* src/business/business-core/test/test-address.c:
	* src/engine/Account.c:
	* src/engine/FreqSpec.c:
	* src/engine/Group.c:
	* src/engine/Period.c:
	* src/engine/SchedXaction.c:
	* src/engine/Transaction.c:
	* src/engine/gnc-lot.c:
	* src/engine/gnc-pricedb.c:
	* src/engine/qofbook.c:
	  Pass the QofIdType into the event generation code.
	Fixes #115988


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8776 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 05:51:05 +00:00
Linas Vepstas
22f89003ab remove config file from public includes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8775 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 04:54:59 +00:00
Linas Vepstas
b03d91c7a2 add generic qof include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8774 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 04:29:06 +00:00
Derek Atkins
7e579a12f9 linas missed one GNCBook -> QofBook conversion
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8773 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 04:11:17 +00:00
Derek Atkins
4475dfbfda linas' change broke the build w.r.t. db.h. revert the change and add
a comment explaining WHY undefining HAVE_DB1_DB_H is a BAD IDEA.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8772 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 03:49:37 +00:00
Linas Vepstas
c190437511 a few cleanups
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8771 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 03:49:31 +00:00
Linas Vepstas
e574f17710 oops, needed some hand-made conversions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8770 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 03:45:42 +00:00
Linas Vepstas
bd03ce3eb1 continuing port to the qof code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8769 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 03:36:02 +00:00
Linas Vepstas
761724ab32 continue port to qof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8768 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 03:09:39 +00:00
Linas Vepstas
6738af7246 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8767 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 03:08:56 +00:00
Linas Vepstas
31b3a0284c port to qof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8766 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 03:05:25 +00:00
Linas Vepstas
2db5c5e973 port to qof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8765 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:54:11 +00:00
Linas Vepstas
2cb678b568 move to qof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8764 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:53:07 +00:00
Linas Vepstas
65a9b24523 minimalizst port to qof, so as not to disturb the gnome2 work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8763 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:52:15 +00:00
Linas Vepstas
92a2f26e52 Rename gncbook and gncsession to qofbook and qofsession
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8762 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:51:10 +00:00
Linas Vepstas
cfdbd2e916 start mergine in qof book and session changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8761 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-27 02:38:40 +00:00
Christian Stimming
0e3fe2f0e5 2003-06-27 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c: Fix stupid bug with
	transaction templates, introduced during code refactoring.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8754 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 21:55:18 +00:00
Derek Atkins
0ad03df213 You cannot declare a variable AFTER you call DEBUG()!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8751 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 15:50:39 +00:00
Linas Vepstas
88c88039dc rename the entity functions from xaccEntity to qof_entity
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8749 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 07:30:48 +00:00
Linas Vepstas
35163676f1 change over to new include files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8748 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 07:27:52 +00:00
Linas Vepstas
6b6e60cfb1 remove dead file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8747 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 07:27:08 +00:00
Linas Vepstas
05347642e3 add missing include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8746 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 07:22:42 +00:00
Linas Vepstas
38c7bea02e remove dead file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8745 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 07:12:41 +00:00
David Hampton
14a7776b86 Be silent when getting price quotes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8739 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 06:38:12 +00:00
David Hampton
3c367262a5 Fix display of pixmaps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8737 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 06:28:16 +00:00
Linas Vepstas
fdca1f8ea3 oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8732 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 04:36:12 +00:00
Linas Vepstas
aaa6e14fe1 convert QueryObject to QofQueryObject
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8731 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 04:30:43 +00:00
Derek Atkins
f6747379e5 * src/gnome-utils/dialog-transfer.c: if we've got the 'exch rate'
button set, then make sure we update the to-amount before we use
	  it.  Also be sure to use the values we just obtained.
	  Fixes #115991.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8729 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 04:22:24 +00:00
Linas Vepstas
bd501675e2 add missing include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8728 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 03:39:09 +00:00
David Hampton
3fca1aeed5 Consolidate a couple of functions into the only file where they are
used.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8727 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-26 00:57:50 +00:00
Derek Atkins
e4106980df * src/report/standard-reports/balance-sheet.scm: Add a "retained
earnings" item under equity, and change the title to include
	  the start date.  Fixes (finally!) bug #113196


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8725 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 21:05:31 +00:00
Linas Vepstas
1e719ba5ca add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8722 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 07:49:16 +00:00
Linas Vepstas
8118b2fd69 rename QueryNew to QofQuery
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8721 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 07:38:15 +00:00
Linas Vepstas
a81946672e add missing incklude file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8720 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 07:27:20 +00:00
Linas Vepstas
731d1e78a3 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8719 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 07:18:48 +00:00
Linas Vepstas
d74da18986 add missing include files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8718 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 07:09:22 +00:00
Linas Vepstas
eb4adccce6 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8713 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 06:16:56 +00:00
Linas Vepstas
20fb5ae15b add missing include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8712 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-25 06:12:07 +00:00