Commit Graph
337 Commits
Author SHA1 Message Date
Dave Peticolas 80831eacab Work on commodity editor.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3921 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 09:26:01 +00:00
Dave Peticolas f381ba1a68 Christian Stimming's reporting patch.
* src/scm/report/net-worth-timeseries.scm: Fixed date argument
	bug. Added auto label rotation.

	* src/scm/date-utilities.scm: Renamed gnc:dateloop to
	gnc:make-date-interval-list and gnc:dateloop-simple to
	gnc:make-date-list.

	* src/scm/report/category-barchart.scm, income-expense-graph.scm:
	Adapt to gnc:dateloop's namechange.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3920 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 07:55:22 +00:00
Dave Peticolas 962ac02652 Robert Graham Merkel's net worth graph + some bug fixes.
* src/scm/report/net-worth-timeseries.scm: New file.  You guessed
	it,  a time series net worth barchart.

	* src/scm/report/date-utilities.scm: add gnc:dateloop-simple to
	generate simple timeseries for net worth barchart.

	* src/scm/report/{Makefile.am, report-list.scm}: add new barchart.

	* src/scm/report/balance-sheet.scm (balance-sheet-renderer):
	use gnc:decompose-accounts to split up accounts.

	* src/scm/report-utilities.scm (gnc:decompose-accountlist):
	add credit accounts to the list of liability accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3919 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 06:09:55 +00:00
Dave Peticolas 499423203e * src/gnome/dialog-price-editor.c: more work
* src/gnome/account-tree.c (gnc_account_tree_insert_row): speedup
	refreshing

	* src/gnome/account-tree.h: remove duplicate declaration


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3911 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-09 06:53:57 +00:00
Dave Peticolas 31abed7557 * src/scm/report/taxtxf.scm: don't use deprecated calls
* src/guile/gnc.gwp: wrap xaccAccountGetSplitList

	* src/engine/Query-xml-parser-v1.c
	(qrestore_datepred_start_handler): use g_new0 instead of bzero --
	more portable


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3910 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-09 06:07:07 +00:00
Dave Peticolas 3836c9f117 * src/engine/Query-xml-parser-v1.c
(qrestore_datepred_start_handler): use g_new0 instead of bzero --
	more portable


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3909 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-09 00:37:28 +00:00
Dave Peticolas 3470b9c7fd * src/engine/md5.h: include stddef.h for size_t
* src/engine/sql/PostgresBackend.c: include ctype.h for tolower

	* src/engine/guid.h: include stddef.h for size_t

	* src/engine/gnc-engine-util.h: include stddef.h for size_t


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3908 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-08 11:19:25 +00:00
Dave Peticolas 0c1ccdc7ff * src/scm/report/taxtxf.scm: fix bug
* src/scm/text-export.scm: fix for api change

	* src/scm/report-utilities.scm: fix for api change

	* src/scm/engine-utilities.scm: change gnc:group-map-accounts
	to gnc:group-map-all-accounts. make gnc:group-map-accounts do
	only the immediate children.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3907 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-07 23:16:55 +00:00
Dave Peticolas b04cbddfd9 * src/gnome/dialog-price-editor.c: more work
* src/engine/gnc-pricedb.c: add an error check

	* ChangeLog: split changelog


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3906 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-07 10:34:47 +00:00
Dave Peticolas ba6b95ec45 Rob Browning's process control patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3904 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-07 01:36:56 +00:00
Dave Peticolas 7ce94868df * src/gnome/dialog-price-editor.c: new file with price db
editor. Unfinished.

	* src/engine/gnc-pricedb.c: connect prices to pricedbs

	* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): fix
	for files with no pricedb section

	* src/scm/prefs.scm: add price editor geometry options


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3900 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-06 10:53:36 +00:00
Dave Peticolas 4225dabedb Christian Stimming's reports patch.
* src/scm/report/balance-sheet.scm: Major overhaul. Adapted to new
	options in gnc:html-build-acct-table. Cleaned up code. Corrected
	column alignment.

	* src/scm/html-utilities.scm (gnc:html-table-append-ruler!): New
	function.
	(gnc:html-build-acct-table): Added new arguments for how to show
	non-leaf accounts: with subtotal or not, with own balance or
	not. Removed some empty lines in the html-table.

	* src/scm/report/pnl.scm, account-summary.scm: Added support for
	new gnc:html-build-acct-tree options.

	* src/scm/report-utilities.scm (gnc:decompose-accountlist): Added
	equity accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3899 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-06 10:14:38 +00:00
Dave Peticolas ed81862b36 James LewisMoss's xml patch & accounts/ conversion.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3897 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-05 21:37:55 +00:00
Dave Peticolas c7b23bb007 Christian Stimming's report patch.
* src/scm/html-table.scm (gnc:html-table-remove-last-row!): Added
	function.

	* src/scm/html-utilities.scm (gnc:html-build-acct-table): Added
	removal of the last empty line above the total sum.

	* src/scm/html-document.scm: changed rendering of #f from one
	whitespace to equally arbitrary three whitespaces. FIXME: This
	should be configurable by a style-sheet.

	* src/scm/report/pnl.scm: deactivated column headers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3895 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-05 21:13:53 +00:00
Dave Peticolas 6abf254fda Robert Graham Merkel's balance sheet patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3893 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-05 06:05:31 +00:00
Dave Peticolas 502c7b4fe5 * src/register/gnome/gnucash-sheet.c
(gnucash_register_goto_next_trans_row): new func.

	* src/gnome/window-register.c: make 'enter' toolbar button
	move to next transaction

	* src/gnome/dialog-tax-info.c: more work

	* src/gnome/dialog-account.c: allow opening balances to come
	from other accounts

	* src/gnome/dialog-totd.c (totd_close_cb): don't bother with the
	help dialog after disabling tips


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3891 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-04 10:39:40 +00:00
Dave Peticolas 1e0a0706c2 Christian Stimming's report patch.
* src/gnome/gnc-html-guppi.c, src/scm/html-barchart.scm: Added new
	option for barchart: legend-reversed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3890 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-04 08:52:57 +00:00
Dave Peticolas 034312146a Robert Graham Merkel's balance sheet patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3889 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-04 08:19:48 +00:00
Dave Peticolas 54a869c0c0 * src/register/gnome/gnucash-sheet.c: move cursor before showing
popup menu

Add missing const to function args.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3888 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-03 23:22:26 +00:00
Dave Peticolas e867dbcc6d * src/gnome/window-register.c: add a Transaction->Invoice item
* src/engine/Query.c: add GUID predicate


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3887 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-03 22:24:08 +00:00
Dave Peticolas b9c52ead8f * src/gnome/dialog-commodity.c: add namespace picker getter.
Show "CURRENCY" instead of "ISO4217" when displaying.

	* src/gnome/druid-commodity.c: use namespace picker getter

	* src/gnome/druid-qif-import.c: use namespace picker getter

	* src/scm/report/register.scm: more work

	* src/engine/gnc-commodity.c (reset_printname): take the namespace
	out of the printname


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3886 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-03 21:42:13 +00:00
Dave Peticolas cc05c84f3b * src/gnome/dialog-account.c: add opening balance support
* src/gnc-ui-util.c (gnc_find_or_create_equity_account): new func.
	(gnc_account_create_opening_balance): new func.

	* src/gnome/gnc-dateedit.c: add some error checking

	* src/gnome/gnc-commodity-edit.c: add "changed" signal

	* src/scm/report/register.scm: fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3884 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-03 10:18:59 +00:00
Dave Peticolas 644f7df4e0 Robert Graham Merkel's balance sheet report.
* src/scm/report/html-table.scm (gnc:html-table-prepend-row!): Fix
	bug.

	* src/scm/report/html-utilities.scm (gnc:build-html-acct-table): Add
	show-col-headers option.

	* src/scm/report/balance-sheet.scm: New file.  Code for a balance
	sheet report.  Numbers should be correct, presentation is
	rudimentary as usual.

	* src/scm/report/account-summary.scm: modify for changed arguments
	to gnc:build-html-acct-table.

	* src/scm/report/pnl.scm: modify for changed arguments to
	gnc:build-html-account-table.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3883 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-03 06:56:58 +00:00
Dave Peticolas 6759650a95 Add README for po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3882 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-02 22:23:21 +00:00
Dave Peticolas 2c2623796a * src/gnome/window-main.c: hide developer menu
* src/gnome/window-register.c: add invoice menu item

	* src/scm/prefs.scm: add user name & address option for invoice
	report. add option for whether reports appear in main window or
	open in new window

	* src/scm/report.scm: open reports based on new option

	* src/scm/report/transaction-report.scm: more work

	* src/scm/report/register.scm: more work


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3881 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-02 22:07:51 +00:00
Dave Peticolas a08c930a23 James LewisMoss's xml v2 patch. Backup your data! But you already
did that, right?


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3880 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-02 06:53:44 +00:00
Dave Peticolas 599b0acf54 * src/FileDialog.c: update for api change
* src/gnome/window-report.c: update for api change

	* src/gnome/gnc-html.c: update for api change

	* src/gnome/window-main.c: update for api change

	* src/gnome/cursors.c (gnc_set_busy_cursor): add extra arg
	to determine whether to update cursor immediately

	* src/gnome/druid-qif-import.c: update for api change


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3874 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 11:59:46 +00:00
Dave Peticolas e1d33dce68 * src/gnome/window-help.c: expand the top nodes initially
(gnc_help_show_topic): show the topic in the tree when it
	can be found

	* src/gnome/gnc-html.c: set busy cursor before start request


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3872 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 10:53:24 +00:00
Dave Peticolas fc2b4d1f0d * src/gnome/dialog-utils.c (gnc_get_gdk_imlib_image): new func
Also, tweak some glade dialogs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3871 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 07:40:57 +00:00
Dave Peticolas 98fe6cb3e1 Fix some i18n problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3869 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 01:26:34 +00:00
Dave Peticolas 526fcd6406 Christian Stimming's report patch & de.po update.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3866 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-31 21:58:50 +00:00
Dave Peticolas 937fe0f9fa * src/scm/options.scm: add a text option type
* src/gnome/dialog-options.c: add support for text options

	* src/gnome/window-main.c (gnc_ui_about_cb): set parent

	* src/scm/report/register.scm: more work

	* src/scm/html-document.scm: fix bug

	* src/scm/report/average-balance.scm: tweak default accounts

	* src/scm/html-utilities.scm (gnc:html-build-acct-table):
	put in a horizontal line before grand total.

	* src/gnome/dialog-tax-info.c: use form & description, not
	code & form, in clist. more work on display.

	* src/scm/report/txf-export.scm: fix bug

	* src/register/gnome/gnucash-sheet.c
	(gnucash_sheet_modify_current_cell): reset item edit position

	* src/register/gnome/gnucash-item-edit.c (item_edit_reset_offset):
	new func

	* src/gnome/gnc-currency-edit.c (add_item): don't use namespace
	in string


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3865 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-31 11:29:30 +00:00
Dave Peticolas fc894d7827 James LewisMoss's testing patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3864 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-30 22:26:59 +00:00
Dave Peticolas 4f878ffa31 * src/quotes/finance-quote-helper.in: check for non-standard
Perl modules

	* src/quotes/Makefile.am: add update-finance-quote

	* src/quotes/update-finance-quote.in: new file

	* src/guile/guile-util.c: new funcs for wrapping price lists

	* src/guile/gnc.gwp: wrap more pricedb api. g-wrap price lists.

	* src/gnome/dialog-tax-info.c: more work

	* src/gnc-ui-util.c (gnc_push_locale): new func
	(gnc_pop_locale): new func

	* src/gnome/gnc-html-guppi.c: use C locale when parsing doubles

	* src/gnc-ui-util.c (gnc_lconv_set): strdup value to make
	sure changing the locale doesn't affect the cached value

	* src/gnome/window-register.c: make 'record' work like 'enter'

	* src/scm/prefs.scm: add internal prefs for tax window size

	* doc/sgml/C/xacc-incomeexpense.sgml: fix debit/credit distinction

	* src/scm/report/taxtxf.scm: more work


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3862 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-30 12:43:11 +00:00
Dave Peticolas 92eb3d6f4c * src/scm/report/category-barchart.scm: remove url FIXME
* src/scm/html-barchart.scm: add bar & legend urls to render

	* src/gnome/top-level.c: Robert Stephenson's patch for
	gtkhtml & gconf

	* src/gnome/gnc-html-guppi.c: fix bugs

	* src/scm/html-text.scm: fix bug

	* src/scm/report/portfolio.scm: work on display

	* src/scm/report/stylesheet-plain.scm: add styles for totals

	* src/scm/html-document.scm: bug fix

	* src/scm/report/taxtxf.scm: more work

	* src/engine/gnc-commodity.c (count_coms): use
	GNC_COMMODITY_NS_ISO instead of the string const.

	* src/engine/rpc/Makefile.am: use GLIB_CFLAGS instead of
	hard-coded include dir.

	* src/engine/rpc/RpcUtils.c (rpcend_build_gnccommoditylist): use
	GNC_COMMODITY_NS_ISO instead of the string const. Fix compiler
	warning.

	* src/SplitLedger.c: fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3857 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 12:38:38 +00:00
Dave Peticolas 2310042ef6 Christian Stimming's report patch.
* src/scm/report/report-list.scm, Makefile.am: Added new file.

	* src/scm/report/category-barchart.scm: Two new reports. Shows
	barchart of income (or expense) categories over time.

	* src/scm/report/income-expense-graph.scm: Use more
	option-utilities.scm. Fixed gnc:dateloop usage (last interval was
	wrong).

	* src/scm/html-barchart.scm: Added record components for bar- and
	legend-urls and their accessor/modifier functions. FIXME: They
	don't get rendered yet -- somebody has to add that.

	* src/scm/date-utilities.scm (gnc:dateloop): Fixed last interval
	not to be longer than the specified end date.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3855 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 11:03:02 +00:00
Dave Peticolas ab045ac3f6 James LewisMoss's big XML v2 patch with test files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3854 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 08:41:08 +00:00
Dave Peticolas 7914311575 Robert Graham Merkel's portfolio report.
* src/scm/report/portfolio.scm: New file.  Stock portfolio
	overview.

	* src/engine/date.[ch]: Added timespec_normalize,
	timespec_diff, and timespec_abs.

	* src/engine/gnc-pricedb.[ch]: added
	gnc_pricedb_lookup_nearest_in_time, courtesy Rob B.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3850 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 06:27:53 +00:00
Dave Peticolas 3ab1dc57d0 * src/gnome/dialog-tax-info.c: more work
* src/guile/gnc.gwp: wrap more of pricedb api

	* src/engine/gnc-pricedb.c (gnc_pricedb_get_prices): new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3849 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 01:01:02 +00:00
Dave Peticolas 6cc1792964 Bill Gribble's patch.
* src/gnome/dialog-column-view.c: set the view dirty on edit

        * src/gnome/dialog-style-sheet.c: dirty every report using a
        stylesheet when it's edited.

        * src/gnome/window-report.c: Add display register/unregister for
        reports so the reports know which report-windows they are being
        displayed in.

        * src/scm/html-{bar,pie}chart.scm: Add a little space to work
        around a gtkhtml-0.8.3 bug in table display

        * src/scm/html-document.scm: move tree collapse and
        stringification to the html document rather than the report.  Add
        functions to render just the body elements of a document.

        * src/scm/html-table.scm: fix broken html-table-set-cell!

        * src/scm/report.scm: add parents list to report struct.  Mark
        parents dirty when report is marked dirty.  reload windows showing
        a report on dirty.  Clean up rendering functions a little

        * src/scm/report/view-column.scm: Add a link to open each report
        in a window by itself.  Change rendering to allow children to be
        cached.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3848 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 23:02:20 +00:00
Dave Peticolas 2c984b5993 * src/gnome/dialog-tax-info.c: more work
* src/engine/Transaction.c (DxaccSplitSetSharePriceAndAmount):
	do the double->numeric conversion directly.

	* src/guile/gnc.gwp: remove unused deprecated functions

	* src/engine/Transaction.c (xaccSplitsComputeValue): convert
	imbalance to base_currency fraction if possible

	* src/SplitLedger.c (LedgerDestroy): commit pending instead
	of rolling back.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3847 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 11:06:12 +00:00
Dave Peticolas 42252a5e77 Christian Stimming's report patch.
* src/scm/report/average-balance.scm: Major rework: Uses
	option-utilities.scm. Added basic multi-currency handling. Fixed
	time interval handling.

	* src/scm/report/income-expense-graph.scm,
	income-or-expense-pie.scm: Use option-utilities.scm.

	* src/scm/options-utilities.scm: Added date interval multichoice
	option, report currency option, and plot size option.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3846 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 07:35:23 +00:00
Dave Peticolas f121f917ce * configure.in: add --enable-etags argument to turn on
automatic TAGS creation

	* src/scm/report/register.scm: add notes field


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3845 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 01:00:25 +00:00
Dave Peticolas a4f407ec46 * src/scm/report/stylesheet-plain.scm: more reports centered
by default

	* src/scm/html-document.scm: Christopher Browne's markup
	style extension.

	* src/gnome/window-main.c (gnc_report_in_main_window): show new
	page

	* doc/sgml/pt_PT/Makefile.am: remove demo html files

	* doc/sgml/es/Makefile.am: remove demo html files

	* doc/sgml/C/Makefile.am: remove demo html files

	* src/gnome/dialog-column-view.c: mark the options dialog
	changes as appropriate

	* src/gnome/dialog-options.c (gnc_options_dialog_changed): new
	public func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3844 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 21:45:49 +00:00
Dave Peticolas 855ecde047 * src/gnome/dialog-tax-info.c: more work
* src/gnome/dialog-options.c: set apply button sensitivity
	appropriately

	* src/scm/report/average-balance.scm: use option-utilities

	* src/scm/report/transaction-report.scm: use option-utilities

	* src/scm/options-utilities.scm: remove superfluous (begin)'s

	* src/gnome/gnc-html.c: fix compiler warning

	* src/scm/prefs.scm: add new liability/equity debit/credit labels

	* src/register/gnome/pricecell-gnome.c (PriceDirect): don't use
	key stroke if cell value doesn't change

	* src/register/pricecell.c (xaccSetPriceCellValue): return TRUE
	if cell value actually changed


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3842 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 10:14:19 +00:00
Dave Peticolas 2d76753469 James LewisMoss's xml patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3840 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 07:30:25 +00:00
Dave Peticolas 446eb887c1 Bill Gribble's main window report patch.
* src/gnome/dialog-column-view.{c,h}: new files.  Options editor
	for the multicolumn report view.

	* src/gnome/dialog-options.{c,h}: add API to get notebook widget
	from standard options dialog

	* src/gnome/gnc-html.c: add handler for gnc-options:report-id=%d
	url... pops up the options editor for that report.

	* src/gnome/window-main.c: make the app main widget a notebook
	with side tabs.  When a report is run from the menu, it makes a
	new tab and put itself there (via gnc_report_in_main_window).

	* src/gnome/window-report.c: ask the report how to edit its
	options. Redo options dialog handling.  Add a "open in new window"
	option to the report toolbar/popup

	* src/scm/report.scm: add 'options-editor field to report template
	struct.  It's optional (there's a default).  Add a "Report name"
	option for all reports. Not used yet but will be soon.

	* src/scm/report/view-column.scm: a generic table layout for
	multiple reports.  Each report is in a table cell with a
	configurable rowspan and colspan.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3834 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-26 23:21:38 +00:00
Dave Peticolas 6ecf215be2 * src/scm/report/transaction-report.scm: fix i18n bug
* src/scm/report/register.scm: more work

	* src/SplitLedger.c: update for api change

	* src/gnome/window-register.c: update for api change

	* src/engine/Transaction.c (xaccSplitGetCorrAccountName): update
	name used for split transactions
	(xaccSplitGetOtherSplit): rename to be more consistent

	* src/gnome/gnc-dialogs.glade: use 'contains' instead of
	'matches' in search dialog

	* src/guile/gnc.gwp: update for api changes below

	* src/engine/Account.c: use US in api names and tags of
	US-specific tax info.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3833 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-26 11:05:57 +00:00
Dave Peticolas e98e5cfc56 * src/test/test-exp-parser.c (test_parser): add / 0 test
* src/scm/report/txf-export.scm: fix bugs

	* src/gnome/gnc-dialogs.glade: work on tax info dialog

	* src/gnome/dialog-tax-info.c: more work

	* src/engine/sixtp.c (gnc_is_our_xml_file): don't use
	g_return_if_fail for not finding a file -- avoid ** CRITICAL **
	warning.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3831 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-25 10:51:32 +00:00
Dave Peticolas 7d3d2d45d1 * src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): fix bug
* src/scm/report/txf-export.scm: redo data structure
	for txf info

	* src/guile/gnc.gwp: wrap tax info api getters


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3830 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-24 13:12:48 +00:00