Commit Graph
3136 Commits
Author SHA1 Message Date
Linas Vepstas 1cc838949b mass restore design runs nearly as native xml file speed (only 16% slower)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5009 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 22:21:10 +00:00
Linas Vepstas a3a84ffffb new experimental fast-fetch routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5008 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:47:37 +00:00
Linas Vepstas 5e2c2ddab5 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5006 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:36:24 +00:00
Linas Vepstas fedc9fda9f vacuum the db on close
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5004 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:11:36 +00:00
Linas Vepstas 23ee9c3391 index creation fiasco
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5002 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:00:29 +00:00
Linas Vepstas 1d7503552c temp performance hack
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5000 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 17:19:41 +00:00
Linas Vepstas 9b9f6deb8f fix typos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4999 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 16:39:56 +00:00
Linas Vepstas 13cc699f3d add indexes for (minor) performance boost
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4997 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 16:28:55 +00:00
Linas Vepstas a96b0fd0b5 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4996 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 05:28:11 +00:00
Linas Vepstas 85ede8179f ignore more
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4995 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 03:57:18 +00:00
Linas Vepstas 0da0ae3454 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4994 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 03:56:07 +00:00
Linas Vepstas 84c3a5d938 modernize
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4993 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 03:21:13 +00:00
Linas Vepstas f01c9af127 resurect from the dead
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4992 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 03:04:40 +00:00
Linas Vepstas 87a8e216c9 ressurect from the dead
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4991 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 02:06:05 +00:00
Linas Vepstas dfaf57ac5a ooops checked in autgenned file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4990 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 02:02:59 +00:00
Linas Vepstas b32debe906 first rough cut at resurrecting the swig wrappers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4989 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 02:00:55 +00:00
Linas Vepstas df40ad1b7e add wrapper
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4988 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 01:12:55 +00:00
Linas Vepstas b4ce91d839 change function signature
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4987 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 01:07:58 +00:00
Linas Vepstas 03f42dbf11 use callback function typedefs in prototypes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4986 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 00:51:33 +00:00
Linas Vepstas 322a693ec6 oops, missed a spot last night
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4984 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-24 17:48:01 +00:00
Robert Graham Merkel bc0cc17509 First SX change - add a help button to the editor dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4983 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-24 08:01:49 +00:00
Linas Vepstas efa9833a09 another performance improvement
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4981 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-24 06:47:51 +00:00
Linas Vepstas 4bfdb526d2 performance fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4979 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-24 04:15:43 +00:00
Linas Vepstas bcf49d693d generate some call timing info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4978 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-24 02:57:13 +00:00
Linas Vepstas 797ee80b4d oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4977 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-24 00:25:17 +00:00
Linas Vepstas a91931b95f add clock timer routines for debugging performance problems
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4976 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-24 00:05:53 +00:00
Dave Peticolas fe3350dbc2 2001-07-22 Dave Peticolas <dave@krondo.com>
* src/test/gnc-test-stuff.[ch] (get_random_price): new func.

	* src/register/splitreg.[ch]: remove null cell

	* src/engine/Transaction.h: update docs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4974 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-22 08:54:55 +00:00
Dave Peticolas 7c11369570 2001-07-21 Dave Peticolas <dave@krondo.com>
* src/register/cell-factory.[ch]: a new object for creation of
	register cells. allows new cell types to be added dynamically.

	* src/register/gnome/gnucash-style.c: fix for removal of
	label from cellblock cells.

	* src/register/table-allgui.[ch]: fix for changed flag and
	callback changes.

	* src/register/splitreg.[ch]: remove fixed cells, use a dynamic
	list. Fix code appropriately.

	* src/register/register-common.[ch]: add wrapper for a global cell
	factory.

	* src/register/gnome/datecell-gnome.c: same as below

	* src/register/gnome/combocell-gnome.c: same as below

	* src/register/textcell.[ch]: same as below

	* src/register/recncell.[ch]: same as below

	* src/register/quickfillcell.[ch]: same as below

	* src/register/pricecell.[ch]: same as below

	* src/register/numcell.[ch]: same as below

	* src/register/datecell.h: same as below

	* src/register/combocell.h: make destructor private.
	constructor returns 'BasicCell *'.

	* src/register/cellblock.[ch]: remove 'label' members -- no longer
	used.

	* src/register/basiccell.[ch]: 'virtualize' destructor.
	simplify changed flags.

	* src/register/Makefile.am (SUBDIRS): add cell-factory.[ch]

	* src/gnome/gnc-html.c: fix includes

	* src/SplitLedger.c: update for api changes

	* src/MultiLedger.c: update for api changes


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4973 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-22 02:29:52 +00:00
James LewisMoss 969645fef0 file backendifying.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4972 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-20 19:44:20 +00:00
James LewisMoss 5fd2cd60e9 * src/gnome/top-level.c (gnucash_ui_init): remove the \n's frome
the ENTER and LEAVE calls.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4966 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-20 19:33:32 +00:00
Robert Graham Merkel ec7add1768 Added column totals, and more helpful comments in the code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4965 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-19 05:21:53 +00:00
Dave Peticolas 19aa6a2baf 2001-07-18 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c (balance_helper): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4964 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-18 23:14:50 +00:00
Linas Vepstas 473f2cc8cb make group commit symmetric
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4963 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-18 17:18:22 +00:00
Dave Peticolas 6a1864259d 2001-07-17 Dave Peticolas <dave@krondo.com>
* src/engine/Scrub.c (xaccGroupScrubCommodities): use group
	begin/commit to speed up processing

	* src/engine/Group.[ch] (xaccAccountGroupBeginEdit): make public


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4962 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-18 06:37:13 +00:00
Robert Graham Merkel d37d4af7f0 Revert accidental change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4961 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-18 04:53:39 +00:00
Robert Graham Merkel 1fce9d2b65 Add configurable sorting to the payables report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4960 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-18 04:44:39 +00:00
Dave Peticolas da963a95c6 2001-07-17 Dave Peticolas <dave@krondo.com>
* doc/sgml/C/xacc-features.sgml: Matt Krai's doc patch

	* doc/sgml/C/xacc-about.sgml: Matt Krai's doc patch

	* AUTHORS: credits

	* doc/sgml/C/xacc-about.sgml: credits

	* src/gnome/gnc-dateedit.c: Matt Kraai's date accelerator bug fix


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4958 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-18 00:02:44 +00:00
Dave Peticolas 30ae40ea44 2001-07-17 Dave Peticolas <dave@krondo.com>
* src/engine/io-gncbin-r.c: fix bug with price import (use
	posted date, not entered date).

	* src/engine/gnc-pricedb.[ch]: fix bugs with setting currency and
	commodity and with converting from legacy commodities.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4956 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-17 23:26:11 +00:00
Dave Peticolas 74a258393c 2001-07-17 Dave Peticolas <dave@krondo.com>
* src/engine/Transaction.c (xaccTransAppendSplit): make sure
	split's value conforms to the transaction common currency.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4955 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-17 18:48:18 +00:00
Dave Peticolas 8b3787a20e 2001-07-12 Dave Peticolas <dave@krondo.com>
* src/gnome/window-register.c: same as below

	* src/scm/report/taxtxf.scm: use split amount


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4951 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-13 06:13:29 +00:00
Robert Graham Merkel 6c637abf55 New "payables" report for accounts payable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4950 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-13 02:02:24 +00:00
Dave Peticolas efd666edb2 2001-07-12 Dave Peticolas <dave@krondo.com>
* src/register/splitreg.[hc]: same as below

	* src/SplitLedger.c: remove share balance cells, they are now
	redundant


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4949 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-13 00:11:29 +00:00
Dave Peticolas b1a236d0a1 2001-07-12 Dave Peticolas <dave@krondo.com>
* accounts/*/*: currency->commodity

	* src/scm/engine-interface.scm: quantity->amount

	* src/guile/guile-util.[ch]: quantity->amount

	* src/guile/gnc.gwp: quantity->amount

	* src/SplitLedger.c: quantity->amount

	* src/gnc-ui-util.[ch]: quantity->amount


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4948 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-12 22:21:13 +00:00
Linas Vepstas c4152da33e remove stale message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4947 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-12 19:43:36 +00:00
Dave Peticolas 30799ccd2f 2001-07-12 Dave Peticolas <dave@krondo.com>
* src/scm/report/transaction.scm: remove old api

	* src/scm/report-utilities.scm: remove old api

	* src/scm/commodity-utilities.scm: remove old api

	* src/scm/engine-interface.scm: remove old api

	* src/scm/extensions.scm: remove old api

	* src/scm/report-utilities.scm: remove old api

	* src/gnome/reconcile-list.c: remove old api

	* src/scm/report/register.scm: remove old api

	* src/engine/Scrub.c: remove old api

	* src/engine/sql/txn.c: remove old api

	* src/engine/rpc/RpcUtils.c: remove old api

	* src/guile/gnc.gwp: remove cruft

	* src/scm/extensions.scm: remove cruft

	* src/guile/gnc-helpers.[ch]: remove old api

	* src/engine/io-gncbin-r.c: remove old api

	* src/guile/gnc-helpers.c: remove old api

	* src/SplitLedger.c: remove old api

	* src/engine/Transaction.[ch]: remove share api and older api

	* src/engine/Transaction-xml-parser-v1.c: remove old api


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4946 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-12 11:29:59 +00:00
Dave Peticolas 91973a0430 2001-07-12 Dave Peticolas <dave@krondo.com>
* src/gnome/druid-stock-split.c: remove share api

	* src/engine/Account.[ch]: remove 'share' api and other
	unused api.

	* src/scm/qif-import/qif-to-gnc.scm: remove share api

	* src/guile/gnc.gwp: remove share api

	* src/gnome/window-reconcile.c: remove share api

	* src/gnome/window-register.c: remove share api


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4945 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-12 08:27:28 +00:00
Dave Peticolas c8fcd36996 2001-07-11 Dave Peticolas <dave@krondo.com>
* src/engine/io-gncxml-v2.c: same as below

	* src/engine/io-gncbin-r.c: same as below

	* src/engine/io-example-account.c: same as below

	* src/engine/Ledger-xml-parser-v1.c: remove autocode

	* src/engine/Group.[ch]: remove autocode api. This hasn't
	really been used in a while, and account codes are generally
	assigned based on account function, not just hierarchy position.

	* src/engine/Account.[ch]: remove autocode api

	* src/guile/gnc.gwp: remove auto code api

	* src/scm/commodity-utilities.scm: fix function calls


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4944 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-12 06:35:01 +00:00
Dave Peticolas 47e7d75848 2001-07-11 Dave Peticolas <dave@krondo.com>
* src/test/test-xml-transaction.c: CIT (currency-in-transaction)

	* src/test/test-xml-account.c: CIT

	* src/test/gnc-test-stuff.c: CIT

	* src/scm/report/taxtxf.scm: CIT

	* src/scm/qif-import/qif-to-gnc.scm: CIT

	* src/scm/qif-import/qif-dialog-utils.scm: CIT

	* src/scm/text-export.scm: CIT

	* src/scm/price-quotes.scm: CIT

	* src/scm/main-window.scm: CIT

	* src/scm/engine-interface.scm: CIT

	* src/guile/gnc.gwp: CIT. remove unused api

	* src/gnome/glade/transfer.glade: remove currency account list

	* src/gnome/glade/account.glade: remove security gui

	* src/gnome/window-reconcile.c: CIT

	* src/gnome/window-main-summarybar.c: CIT

	* src/gnome/window-acct-tree.c: CIT

	* src/gnome/druid-stock-split.c: CIT

	* src/gnome/druid-qif-import.c: CIT

	* src/gnome/druid-hierarchy.c: CIT

	* src/gnome/druid-commodity.c: CIT

	* src/gnome/dialog-transfer.c: CIT. don't use currency accounts

	* src/gnome/dialog-commodities.c: CIT

	* src/gnome/dialog-account.c: CIT

	* src/gnome/account-tree.c: CIT

	* src/engine/sql/txn.c: fix for CIT

	* src/engine/sql/account.c: remove old currency/security cruft

	* src/engine/sixtp-dom-parsers.[ch]: allow parsing kvp data into
	an existing frame

	* src/engine/kvp_doc.txt: document new keys used for storing
	old currency/security fields

	* src/engine/io-gncxml-v2.c: CIT

	* src/engine/io-gncxml-r.c: CIT

	* src/engine/io-gncbin-r.c: CIT

	* src/engine/io-example-account.c: CIT

	* src/engine/gnc-transaction-xml-v2.c: CIT

	* src/engine/gnc-schedxaction-xml-v2.c: load kvp data
	into existing frame

	* src/engine/gnc-commodity.[ch]: add new lookup api, fixes
	for NULL pointers

	* src/engine/gnc-book.c: don't scrub (moved elsewhere)

	* src/engine/gnc-account-xml-v2.c: store transaction currency
	and account commodity.

	* src/engine/Transaction.[ch]: add a transaction currency

	* src/engine/TransLog.c: CIT

	* src/engine/Scrub.[ch]: add api for fixing up
	account and transaction commodities.

	* src/engine/SchedXaction.c: CIT

	* src/engine/Ledger-xml-parser-v1.c: CIT

	* src/engine/Group.[ch]: don't cache a group balance

	* src/engine/Account.[ch]: CIT. remove currency, security
	fields, add commodity fields. Store old currency/security
	in kvp_data.

	* src/engine/Account-xml-parser-v1.c: fix for CIT

	* src/gnc-ui-util.[ch]: fix for CIT

	* src/gnc-component-manager.c: remove deleted api

	* src/SplitLedger.c: fix for currency-in-transaction (CIT)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4943 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-12 00:13:21 +00:00
James LewisMoss 1c79076890 * src/engine/gnc-transaction-xml-v2.c
(gnc_transaction_end_handler): use dom_tree_to_transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4937 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-10 19:52:05 +00:00
James LewisMoss 1154e0343e * src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): use
dom_tree_to_account.

        Fix bug in dom_tree_to_account with xaccAccountCommitEdit


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4936 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-10 19:51:26 +00:00