Commit Graph
321 Commits
Author SHA1 Message Date
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
Dave Peticolas 6342414fda * src/scm/html-utilities.scm (gnc:assign-colors): make the order
of color assignment stable

	* src/engine/Account.c: add api for tax info

	* src/engine/kvp_frame.c: handle NULL pointers

	* src/engine/kvp_doc.txt: add tax kvp keys

	* doc/gnucash-gdb-cmds: remove, out of date

and misc.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3827 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-23 12:43:08 +00:00
Dave Peticolas a324ad6fa4 Christian Stimming's report patch.
Included new option to summarize all accounts below a certain level
threshold, i.e. you can choose to only get one pie piece Expenses:Drinks
instead of Exp:Drinks:Beer, Exp:Drinks:Rum, and Exp:Drinks:Cocktails.

Added more colors in html-utilities.scm.

Created more helper functions in options-utilities.scm.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3826 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-23 09:37:39 +00:00
Dave Peticolas 02dc666108 * src/Makefile.am: compile src/test after compile src/
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3822 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 22:32:58 +00:00
Dave Peticolas 7ae5e34ed6 * src/guile/gnucash.c.in (gnc_main): change from main
function so other executables can link with this lib

	* src/gnc-main.c: new file with gnucash main

	* src/test/test-stuff.c: add api to turn on success printing

	* src/test/test-exp-parser.c: new test file for testing
	expression parser

	* src/scm/report/income-or-expense-pie.scm: display totals
	in legend

	* src/gnome/druid-stock-split.c: check for proper currencies
	on income & asset accounts. allow price to be recorded.

	* src/gnome/account-tree.c: add api for setting selectability
	with a filter function

	* src/engine/Group.c (xaccGroupRemoveAccount): check for
	group/account mismatch


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3819 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 12:26:39 +00:00
Dave Peticolas 96372a16ed James LewisMoss's big patch. XML v2 stuff, testing, and misc changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3818 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 08:02:48 +00:00
Dave Peticolas d72f8ed668 Robert Graham Merkel's date utilities patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3817 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 06:47:33 +00:00
Dave Peticolas 034eb6859b Bill Gribble's patch.
* gnc-network.{c,h}: new files.  Functions for user registration
	and authentication.

	* gnc-gpg.c: fix bugs.  make gpg operations optionally
	asynchronous via gdk_input_add().

	* gnc-html.c: fix URL base name handling.  Rework processing of
	http requests.

	* gnc-http.c: memory management in gnome_http.  Still some
	memory leaks in there, I think.

	* gnc-html-actions.{c,h}: remove files.  Content moved into
	gnc-network.

	* prefs.scm: Add hidden preference for GnuCash Network user ID.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3814 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 22:24:47 +00:00
Dave Peticolas 6a7acc416d * src/scm/report-utilities.scm
(gnc:accounts-get-comm-total-income): new func
	(gnc:accounts-get-comm-total-expense): new func

	* src/scm/report/income-expense-graph.scm: allow user to display
	both income & expense side-by-side

	* src/scm/report/pnl.scm: use sprintf to make title

	* src/guile/guile-util.c (gnc_get_debit_string): use g_strdup
	(gnc_get_credit_string): use g_strdup

	* src/gnome/gnc-html.c: add guid type to register anchor

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

	* src/engine/Query.c (xaccQueryGetSplitsUniqueTrans): fix bug

	* src/gnome/window-register.c: add arguments to report window
	for title & debit/credit strings


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3813 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 10:36:55 +00:00
Dave Peticolas 629d05e08a Christian Stimming's report patch.
* src/scm/report/income-expense-graph.scm,
	income-or-expense-pie.scm: Fixed account choosing, fixed default
	report currency, added currency exchange calculation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3812 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 08:05:12 +00:00
Dave Peticolas 75ee724948 * src/gnome/dialog-progress.c
(gnc_progress_dialog_set_activity_mode): new func

	* src/guile/gnc.gwp: add new progress dialog api

	* src/engine/date.h: remove unneeded includes

	* src/scm/report/income-or-expense-pie.scm: make 'other' slice
	a link to a new pie report

	* src/scm/report.scm (gnc:make-report-options): new func

	* src/register/splitreg.c (configLayout): don't show balance
	column in stock registers

	* src/gnc-ui-util.c (xaccSPrintAmount): put currency symbol
	after quantity for shares values


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3811 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 00:08:57 +00:00
Dave Peticolas 1b7983a41b * src/guile/option-util.c (gnc_commit_option): update GUI value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3809 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 20:11:47 +00:00
Dave Peticolas 3a66d32ac9 * src/gnome/gnc-html-guppi.c: new func for shutting down guppi
* src/gnome/top-level.c (gnc_ui_shutdown): shutdown guppi

	* src/scm/report/income-or-expense-pie.scm: use shorter names
	for reports


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3807 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 11:39:15 +00:00
Dave Peticolas cd6070bb00 * src/scm/report/income-expense-graph.scm: work on display
* src/scm/html-utilities.scm (gnc:account-anchor-text): new func

	* src/gnome/gnc-html.c: check for null args

	* src/scm/report/income-or-expense-pie.scm: work on display

	* src/scm/html-utilities.scm: add function for assigning colors

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

	* src/engine/Transaction.c (xaccSplitGetCorrAccountName): i18n
	(xaccSplitGetCorrAccountCode): i18n

	* src/guile/gnucash.c.in (gnucash_lowlev_app_init): update
	last stable version

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

	* src/scm/report/register.scm: add api for printing a
	register report. more work on display

	* src/gnome/window-report.c (gnc_print_report): add api
	for printing reports

	* src/gnome/gnc-html.c: check for no urltype callback

	* src/scm/report/stylesheet-plain.scm: add some more space
	between table cells

	* src/gnome/window-register.c: add support for printing reports

	* src/guile/gnc.gwp: add print report api

	* src/gnome/gnc-html.c: use PWARN, not printf


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3806 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 11:27:14 +00:00
Dave Peticolas e4c5824bb5 Fix rpm spec file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3802 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 22:50:59 +00:00
Dave Peticolas 9f379e7fb7 Derek Atkins' RPC backend patch.
* src/engine/rpc/*: Gnucash RPC Subsystem (Backend and Server).
          Still considered experimental.  Note that the RPC protocol may
          change over time causing client/server incompatibilities between
          various versions of client and server.

        * configure.in: Add option to --enable-rpc.  Hook in RPC Subsystem

        * src/engine/Account.c: Fix for initial balance on
          stock/etc. accounts.  In particular, don't set to zero if there
          are no splits.

        * src/engine/Backend.h: New RPC errors

        * src/engine/Query.{c,h}: Add function to obtain the internal
          Query Predicate functions (for use in rebuilding Queries from
          the RPC subsystem)

        * src/engine/Transaction.c: Be sure to call the backend in
          xaccTransRollbackEdit()

        * src/engine/gnc-book.{c,h}: Added gnc_run_rpc_server() function.
                Added hooks to call RPC Backend

        * src/guile/gnc.gwp: added gnc_rpc_server() and new RPC Backend errors

        * src/scm/command-line.scm: added --rpc-server optio

        * src/engine/Makefile.am: Added RPC subdir


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3801 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 21:49:54 +00:00
Dave Peticolas afda83308b * src/gnome/gnc-dir.h.in: move to src/gnome. fix for make dist
tarballs

	* src/gnome/Makefile.am: add gnc-dir.h target

	* src/Makefile.am: remove gnc-dir.h target

	* src/quotes/Makefile.am: add gnc-prices to dist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3800 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 11:03:30 +00:00