Commit Graph

7219 Commits

Author SHA1 Message Date
David Hampton
6100719068 Update for qof changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8835 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-03 05:19:48 +00:00
Christian Stimming
739ce8a40c 2003-07-02 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-transfer.c,
	src/import-export/hbci/dialog-hbcitrans.c: Change HBCI online
	transfer action so that first the gnucash Transaction is created
	and only after that the HBCI connection is started. Necessary for
	later implementation of offline queueing and multi-job execution.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8818 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 21:09:13 +00:00
Christian Stimming
433a32769b Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8816 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 07:44:35 +00:00
David Hampton
4f38f63d11 Maintain group id when saving file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8814 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 04:51:41 +00:00
David Hampton
b9bf61723a Move the F::Q stuff from the util files to live with the rest of the
commodity code in gnc-commodity.c.  Turn quote sources into an object.
Eliminate the gnucash internal quote source names in favor of the F::Q
names.  Dynamically find and add installed F::Q sources that aren't
hard coded into gnucash.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8812 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 03:35:20 +00:00
David Hampton
fdc8099bcf Put the F::Q console output under the debug flag instead of
eliminating it entirely.  Comes in handy now and then.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8811 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-02 03:30:13 +00:00
Derek Atkins
87529fd3b0 * macros/acx_pthread.m4: macro to find the pthread library for
the particular system
	* configure.in: look for pthread library (now that we actually
	  USE pthreads, even if only for Thread Local Storage).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8810 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-01 00:28:44 +00:00
Linas Vepstas
d1f0cd1ae5 url decoding fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8809 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 16:24:23 +00:00
Linas Vepstas
55778231da the init/.shutdown functions shouldn't be private
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8808 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 05:59:14 +00:00
Linas Vepstas
a59bc5a754 glurg
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8807 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:58:35 +00:00
Linas Vepstas
19cd206dcd just can't get it right, try again ....
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8806 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:57:52 +00:00
Linas Vepstas
6baae8eeef oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8805 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:34:42 +00:00
Linas Vepstas
7382e6c531 fixup date printing
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8804 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:33:59 +00:00
Linas Vepstas
52f92b77f1 add some notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8803 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:29:54 +00:00
Linas Vepstas
7657101c54 oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8802 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:19:22 +00:00
Linas Vepstas
7838125667 standardize some of the names of the date handling routines;
add routines to print time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8801 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-30 04:14:50 +00:00
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