Commit Graph

4114 Commits

Author SHA1 Message Date
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
Linas Vepstas
28df0d583c simple perl script to autogen large gnucash data files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4975 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-23 20:26:47 +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
855067068a *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4971 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-20 19:41:09 +00:00
James LewisMoss
b6091e6448 Richard Braakman's xml lib version test.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4970 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-20 19:37:49 +00:00
James LewisMoss
044f27d8e5 remove debian dir so it isn't distributed with source.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4969 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-20 19:36:57 +00:00
James LewisMoss
ae262201c1 remove perl stuff. use autogen.sh.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4968 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-20 19:36:22 +00:00
James LewisMoss
c5c36ab89b up the date some.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4967 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-20 19:34:58 +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
Christian Stimming
98e2c02866 Updated German translation (unfinished, but some more)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4953 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-13 10:30:28 +00:00
Christian Stimming
eb56ce3d25 Updated German translation (partially).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4952 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-13 09:42:34 +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
Dave Peticolas
84efdbe162 Duarte Loreto's update pt_PT.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4939 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-11 08:41:51 +00:00
James LewisMoss
85fe0b46c2 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4938 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-10 19:52:36 +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
Dave Peticolas
f36f00dc6f Duarte Loreto's updated pt_PT documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4934 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-09 22:57:14 +00:00
Dave Peticolas
12750283a9 2001-07-09 Dave Peticolas <dave@krondo.com>
* configure.in: check for ghttp_ssl.h

	* src/gnome/gnc-http.c: conditionally include ghttp_ssl.h


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4932 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-09 11:20:22 +00:00
Dave Peticolas
7434240594 2001-07-09 Dave Peticolas <dave@krondo.com>
* doc/sgml/C/xacc-whats-new.sgml: fix spelling

	* doc/sgml/C/xacc-about.sgml: fix version


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4931 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-09 10:59:00 +00:00
Dave Peticolas
44a91f2521 2001-07-09 Dave Peticolas <dave@krondo.com>
* src/Makefile.am: link intl libs with gnucash-make-guids

	* src/register/QuickFill.c: same as below

	* src/register/quickfillcell.c: conditionally include wctype.h

	* configure.in: check for wctype.h


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4930 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-09 10:31:21 +00:00
Dave Peticolas
48772fc3d7 2001-07-07 Dave Peticolas <dave@krondo.com>
* src/test/gnc-test-stuff.c (get_random_query): not so many terms

	* src/test/Makefile.am: add test-scm-query

	* src/test/.cvsignore: add test-scm-query

	* src/test/test-scm-query.c: new test -- check query<->scm
	conversion

	* src/guile/gnucash.h: new func api

	* src/guile/gnucash.c.in (gnc_gw_init): new func

	* src/guile/gnc-helpers.c: fix bugs

	* src/engine/Query.c: fix bugs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4928 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-07 10:07:37 +00:00
Dave Peticolas
ba44950605 Duarte Loreto's updated pt_PT.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4921 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-07 03:19:46 +00:00
Dave Peticolas
71a724a8d4 Paul Poulain's updated fr.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4919 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 21:28:10 +00:00
Dave Peticolas
2e6230cdae Merge from stable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4917 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 20:44:19 +00:00
Christian Stimming
e17a1c548d Added TOC. Added comment for account hierarchy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4915 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 12:24:22 +00:00
Dave Peticolas
bfd13011ce 2001-07-06 Dave Peticolas <dave@krondo.com>
* src/gnome/glade/sched-xact.glade: tweak


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4911 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 11:14:50 +00:00
Dave Peticolas
60e28c1b64 2001-07-06 Dave Peticolas <dave@krondo.com>
* src/test/gnc-test-stuff.c (get_random_boolean): new func.
	(get_random_query): new func.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4910 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 09:49:10 +00:00
Joshua Sled
999211fb3c Fixed Glib-CRITICAL g_date problem for weekly transactions w/o any weekdays selected.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4908 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 08:50:22 +00:00
Joshua Sled
1e36965ded Don't write <gnc:template-transactions> section unless there is data to write [1.6/1.7 interop-issue brought up on #gnucash].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4907 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 08:29:36 +00:00
Robert Graham Merkel
f17c578f5d Removed useless machine-generated po/ChangeLog, more doc updates,
and fixed ordering bug in transaction report.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4906 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-06 08:07:44 +00:00