Commit Graph
100 Commits
Author SHA1 Message Date
Dave Peticolas beabb807e8 2001-05-13 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: write commodities with accounts

	* src/engine/io-gncxml-v2.c (write_commodities): make public


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4176 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-13 10:18:34 +00:00
Dave Peticolas fc4562838e 2001-05-13 Dave Peticolas <dave@krondo.com>
* src/gnome/new-user.glade: tweak gui

	* src/gnome/window-main.c: the "destroy" handler does not
	return a result. add menu item & functionality for account
	hierarchy export.

	* src/scm/report/welcome-to-gnucash.scm: take out the ugly :)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4175 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-13 10:05:38 +00:00
Dave Peticolas 14b2d233ce 2001-05-12 Dave Peticolas <dave@krondo.com>
* src/FileDialog.c (gncFileSaveAs): don't use a default filename

	* src/scm/report/hello-world.scm: put under utility menu

	* src/scm/report/welcome-to-gnucash.scm: don't show in menu

	* src/scm/report/iframe-url.scm: put under utility menu

	* src/scm/report.scm: add 'utility reports' menu

	* src/gnome/new-user-funs.c: add support for opening balances

	* src/gnome/gnc-amount-edit.c (gnc_amount_edit_evaluate): allow
	empty string as zero

	* src/gnome/new-user-callbacks.c: add support for opening balances

	* src/gnome/dialog-account.c (gnc_account_list_fill): fix warning
	(gnc_account_window_destroy_cb): destroy callback has no return
	(gnc_ui_to_account): reverse opening balance appropriately

	* src/engine/Account.c: change return type to const


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4172 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-12 11:50:36 +00:00
Dave Peticolas 6567373dcb 2001-05-11 Dave Peticolas <dave@krondo.com>
* src/engine/Account.c (xaccCloneAccountSimple): use
	xaccAccountSetCurrency -- it does more than just set the pointer!

	* src/gnome/new-user-funs.c (clone_account): don't use engine
	private functions.

	* src/engine/io-example-account.c (add_account_local): fix up
	currency & security for new example accounts

	* src/engine/io-utils.c: add emacs mode comment to cancel
	XML comment


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4167 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-11 22:26:44 +00:00
Dave Peticolas 957635e51a 2001-05-11 Dave Peticolas <dave@krondo.com>
* src/gnome/new-user-callbacks.c: fix compiler warning

	* src/engine/gnc-book.c (gnc_book_set_group): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4166 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-11 21:24:19 +00:00
Dave Peticolas cb47354213 2001-05-11 Dave Peticolas <dave@krondo.com>
* src/engine/sql/Makefile.am: add files for make dist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4165 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-11 19:57:13 +00:00
Dave Peticolas 9b5f30f3cb 2001-05-11 Bill Gribble <grib@billgribble.com>
* src/scm/main-window.scm: force-output when saving param files.
	otherwise they don't get written until program exit, which can
	cause problems.  Add newlines to acct tree output.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4164 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-11 19:27:43 +00:00
Dave Peticolas b20c018bad 2001-05-11 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4163 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-11 10:48:01 +00:00
Dave Peticolas f7eb603ace 2001-05-10 Dave Peticolas <dave@krondo.com>
* src/scm/main-window.scm ((gnc:main-window-book-open-handler
	book-url)): restore the main window even if we can't get a
	conf-file-name.

	* src/scm/main.scm (gnc:load-account-file): if we have a file to
	open, only run book-opened-hook if file open returns false.

	* src/FileDialog.c (gncPostFileOpen): once book-closed-hook has
	been run, run book-opened-hook if opening the file fails for some
	reason.

	* src/guile/gnc.gwp: update ui-open-file api.

	* src/gnome/top-level.c (gnucash_ui_open_file): return TRUE/FALSE
	for success/failure. use gboolean instead of int for boolean
	returns.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4161 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 22:55:08 +00:00
Dave Peticolas d2aaaf20dc 2001-05-10 Bill Gribble <grib@billgribble.com>
* src/gnome/dialog-column-view.c: change handling of component
	reports.  now we explicitly handle the case of the column view,
	which is the only report that needs to save/restore its children.

	* src/gnome/gnc-html-guppi.c: add printing support for graphs.
	Doesn't really work on my system ATM.  I'll follow up on it.

	* src/gnome/window-main.c: move save/restore forms out of gnome
	MDI config string.  rename some functions.

	* src/gnome/window-report.c: save the initial report in a window
	for special treatment.  It's the one that gets saved and restored,
	and whose title appears in the tab.

	* src/scm/*: remove instances of report-add-child and friends.
	The concept is unnecessary.

	* src/scm/main-window.scm: save report and account data to a new
	file named after the book in the directory ~/.gnucash/books.

	* src/scm/options.scm: run option-changed callbacks in the order
	they were added.  Add gnc:options-touch to dirty the options
	without changing anything.

	* src/scm/report.scm: add new optional fields for the
	define-report form: 'options-cleanup-cb and 'options-changed-cb.
	'options-cleanup-cb is called before book save to allow you to
	clean up any mess that you don't want saved.  'options-changed-cb
	is called after any report option is changed.  Both are optional.

	Also get rid of the concept of 'display-lists' for reports and
	let the displays update themselves with callbacks.  Get rid of
	parents and children for the reports.

	* src/scm/report/view-column.scm: revamp to handle options
	processing, saving, and rendering better.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4160 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 22:30:45 +00:00
Dave Peticolas dbe5efe241 2001-05-10 Dave Peticolas <dave@krondo.com>
* src/guile/File.c (gncFindFile): handle NULL arg
	(gncReadFile): use glib mem routines


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4148 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 09:49:15 +00:00
Dave Peticolas 90ada02e6f 2001-05-10 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs

	* src/scm/command-line.scm: fix bugs

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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4147 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-10 09:33:00 +00:00
Dave Peticolas 92e202d05f 2001-05-09 Dave Peticolas <dave@krondo.com>
* src/doc/design/engine.texinfo: update docs

	* src/engine/*.[ch]: add GPL headers


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4141 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 23:03:36 +00:00
Dave Peticolas f03fd6f8a1 2001-05-09 Dave Peticolas <dave@krondo.com>
* src/doc/design/user-preferences.texinfo: update docs

	* src/doc/design/reports.texinfo: update docs

	* src/doc/design/top-level.texinfo: update docs

	* src/doc/design/register.texinfo: update docs

	* src/doc/design/component-manager.texinfo: update docs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4139 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-09 08:55:39 +00:00
Dave Peticolas 4fae9be45e 2001-05-08 Dave Peticolas <dave@krondo.com>
* src/scm/price-quotes.scm: add currency quote support

	* src/gnome/dialog-account.c: add currency quote support

	* src/engine/Account.c: allow CURRENCY accounts to have price
	source set.

	* src/quotes/finance-quote-helper.in: add currency quote support


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4128 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 09:36:40 +00:00
Dave Peticolas f9fb478f48 2001-05-07 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm: Always use the absolute value
	when building a weighted average.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4127 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 08:02:54 +00:00
Dave Peticolas 9a1469eff2 Duarte Loreto's updated Portuguese translations.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4126 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 06:14:40 +00:00
Dave Peticolas 64235a45dd Duarte Loreto's updated pt_PT.po file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4125 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-08 06:07:42 +00:00
Dave Peticolas 5dcfbfc9f1 2001-05-06 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: add options for marker shape
	and color.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4122 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-07 04:22:55 +00:00
Dave Peticolas 2fb255d211 Christian Stimming's .cvsignore fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4121 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-06 21:55:34 +00:00
Dave Peticolas 0aa979f008 2001-05-06 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4120 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-06 21:53:37 +00:00
Dave Peticolas 4f5f7b89f2 2001-05-05 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: fix bugs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4119 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-05 19:39:40 +00:00
Dave Peticolas 5964455515 2001-05-05 Christian Stimming <stimming@tuhh.de>
* src/scm/report/price-scatter.scm: More experiments with scatter
	plots which are working now. Doesn't look too nice though.

	* src/scm/commodity-utilities.scm
	(gnc:get-match-commodity-splits): new function.

	* src/scm/date-utilities.scm (gnc:date->timepair): new
	function. Code cleanup.

	* src/guile/gnc.gwp: more price handling functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4118 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-05 19:28:33 +00:00
Dave Peticolas 4e3cc39316 Robert Graham Merkel's string fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4117 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-05 06:09:23 +00:00
Dave Peticolas b22b0442f0 2001-05-04 Dave Peticolas <dave@krondo.com>
* src/register/splitreg.c: set action cell to autosize

	* src/register/gnome/combocell-gnome.c (xaccComboCellSetAutoSize):
	new func.

	* src/register/gnome/gnucash-item-list.c (gnc_item_list_autosize):
	return the clist width

	* src/register/gnome/gnucash-item-edit.c (item_edit_show_popup):
	fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4116 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-04 20:55:30 +00:00
Dave Peticolas 4bcfcc60f3 2001-05-04 Dave Peticolas <dave@krondo.com>
* src/scm/main.scm: run the book-opened hook before showing
	the new-user window.

	* src/guile/Makefile.am: remove references to gnc-autogen.h.
	Clean gnc.c and gnc.h.

2001-05-03  Dave Peticolas  <dave@krondo.com>

	* src/engine/date.c (timespec_normalize): fix bug

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

	* src/gnc-ui-util.h (_GNCPrintAmountInfo): make commodity const

	* src/gnome/window-register.c: fix compiler warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4115 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-04 08:16:46 +00:00
Dave Peticolas 212a5e5783 2001-05-04 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm : Add labels
	to subtotals.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4114 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-04 06:32:50 +00:00
Dave Peticolas b9150e7964 2001-05-04 Conrad Canterford <conrad@mail.watersprite.com.au>
* make-gnucash-patch.in: add --manifest option (allow use of a
        manifest file. Also, change --file option to allow multiple
        files.
        Fix bug in previous change.
        * README.patches: Updated to reflect new capabilities.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4113 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 23:50:42 +00:00
Dave Peticolas a374887191 2001-05-03 Dave Peticolas <dave@krondo.com>
* doc/sgml/*/xacc-hierarchical-report.sgml: remove file

	* doc/sgml/pt_PT/xacc-txf-categories.sgml: add missing </article>

	* doc/sgml/pt_PT/gnucash.sgml: add missing file

	* doc/sgml/es/xacc-txf-categories.sgml: add missing </article>

	* doc/sgml/es/gnucash.sgml: add missing file

	* doc/sgml/C/xacc-txf-categories.sgml: add missing </article>

	* src/engine/DateUtils.c: config.h goes first


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4112 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 21:48:00 +00:00
Dave Peticolas 50ec40abf3 Steven Murdoch's email updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4111 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 21:21:06 +00:00
Dave Peticolas d3e2f3a9a9 2001-05-03 Dave Peticolas <dave@krondo.com>
* make-gnucash-patch.in: fix bug

	* README.cvs: update info


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4110 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 09:27:09 +00:00
Dave Peticolas 1385b1890e 2001-05-03 Christian Stimming <stimming@tuhh.de>
* src/scm/report/account-summary.scm: fix bug.

	* src/scm/html-document.scm: added handler for scatter plots.

	* src/scm/report/price-scatter.scm: Added file. This eventually
	should show prices over time. ATM it demonstrates scatter plots in
	a meaningless report.

	* src/scm/html-scatter.scm: Added file. Provides scatter plots for
	reports.

	* src/scm/options.scm (gnc:color->hex-string): added function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4109 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 08:47:26 +00:00
Dave Peticolas 677b4196a7 2001-05-03 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm: fix bug with secondary
	subheadings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4108 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 08:12:56 +00:00
Dave Peticolas 4371051fee 2001-05-03 Dave Peticolas <dave@krondo.com>
* many files: fix spelling errors

	* src/gnome/gnc-html-guppi.c: use unsigned int for color


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4107 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 07:56:53 +00:00
Dave Peticolas 73a50b806c 2001-05-02 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: set the app's mdi mode from user prefs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4106 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 06:14:17 +00:00
Dave Peticolas ced95f5d1e 2001-05-02 Dave Peticolas <dave@krondo.com>
* README.cvs: add README about cvs write access


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4105 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-03 00:49:39 +00:00
Dave Peticolas fdc63037b9 Fix string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4104 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-02 20:48:41 +00:00
Dave Peticolas d28a278d8f Fix string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4103 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-02 20:42:56 +00:00
Dave Peticolas f1eba8217c 2001-05-02 Dave Peticolas <dave@krondo.com>
* src/scm/report/net-barchart.scm: same as below

	* src/scm/report/category-barchart.scm: same as below

	* src/scm/report/average-balance.scm: same as below

	* src/scm/report/account-piecharts.scm: don't combine liabilities
	& equity together.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4102 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-02 20:14:19 +00:00
Dave Peticolas aa777e7cc8 2001-05-02 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-column-view.c: work on gui

	* src/gnome/dialog-utils.c (gnc_clist_columns_autosize): new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4101 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-02 11:01:07 +00:00
Dave Peticolas d6e1de9a0a 2001-05-02 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/report/transaction-report.scm: Fix bug with subheading
	display.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4100 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-02 07:41:10 +00:00
Dave Peticolas 317b13aa95 2001-05-01 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-transfer.c: fix bugs

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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4099 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-01 21:52:31 +00:00
Dave Peticolas bc69db7765 2001-05-01 Conrad Canterford <conrad@mail.watersprite.com.au>
* make-gnucash-patch.in: add --file option to allow single file
	patches to be made.

	* README.patches (new file): Moved patch instructions from README
	file into this new file, and added detailed descriptions of all
	the options for make-gnucash-patch.

        * README: see above


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4098 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-01 20:58:00 +00:00
Dave Peticolas 73277fb3df 2001-05-01 Dave Peticolas <dave@krondo.com>
* src/scm/report/stylesheet-plain.scm: fix i18n bugs

	* src/scm/report/stylesheet-fancy.scm: work on colors,
	fix i18n bugs

	* src/gnome/dialog-style-sheet.c: fix i18n bugs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4097 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-01 10:15:58 +00:00
Dave Peticolas efb07a072a 2001-05-01 Dave Peticolas <dave@krondo.com>
* src/gnome/window-acct-tree.c: add popup menu to account tree

	* src/gnome/mainwindow-account-tree.c
	(gnc_mainwin_account_tree_attach_popup): add user_data argument
	for popup menu

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

	* src/gnome/window-main.c: same as below

	* src/gnome/window-register.c: obey gnome preferences for
	menubar & toolbar detachability


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4096 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-01 08:42:18 +00:00
Dave Peticolas 60ab02516b 2001-05-01 Christian Stimming <stimming@tuhh.de>
* src/scm/report/average-balance.scm: moved from
	average-balance-2.scm . Fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4095 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-01 08:13:16 +00:00
Dave Peticolas af73f13c53 2001-04-30 Dave Peticolas <dave@krondo.com>
* src/scm/report/portfolio.scm: fix bug

	* src/scm/price-quotes.scm: handle 'nav' and 'price' types

	* src/gnome/dialog-price-editor.c: update for nav price type

	* src/quotes/finance-quote-helper.in: try 'nav' and 'price' if
	'last' fails.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4094 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-01 06:52:35 +00:00
Dave Peticolas 9be6dfbca6 2001-05-01 Robert Graham Merkel <rgmerk@mira.net>
* src/engine/Query.{ch}: added date-granularity sorting functionality
	to queries.

	* src/engine/date.[ch] (timespecCanonicalDayTime): new function
	migrated from the scheme code.

	* src/guile/gnc.gwp: added wrappers for the above.

	* src/scm/date-utilities.scm (gnc:timepair-canonical-day-time):
	removed, replaced by new C function.

	* src/scm/report/*.scm: added checks for "no-accounts-selected".

	* src/scm/report/average-balance-2.scm: New (temporary) file.
	The average balance report with a rewritten calculation engine.

	* src/scm/report/register.scm: Modified to use global styles

	* src/scm/report/transaction-report.scm: use improved sorting ability,
	get report title from options.

	* src/scm/html-utilities.scm (gnc:html-make-no-account-warning): new
	function. (remove-last-empty-row): minor changes.

	* src/scm/report-utilities.scm: added the ability to get "numitems"
	out of a stats collector for debugging purposes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4093 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-01 02:14:19 +00:00
Dave Peticolas 7a6e0a9b42 Don't create Tax reporting submenu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4085 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 07:32:02 +00:00
Dave Peticolas 5d0ecdc6ad 2001-04-30 Christian Stimming <stimming@tuhh.de>
* src/scm/report/net-worth-timeseries.scm,
	income-expense-chart.scm: removed files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4084 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 07:27:08 +00:00
Dave Peticolas e68c1d5046 2001-04-29 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c (gnc_locale_default_currency): handle no
	default currency

	* src/gnome/dialog-transfer.c: fix bugs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4083 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 06:56:00 +00:00
Dave Peticolas dbbb5ab077 Richard -Gilligan- Uschold's update to the tax report & tax docs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4082 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 01:58:26 +00:00
Dave Peticolas 00b41bfb0f Kevin Finn's patch to make sure there is a main window if
loading a file fails.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4081 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 01:31:34 +00:00
Dave Peticolas e574465bec Christian Stimming's updated de.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4080 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 01:25:46 +00:00
Dave Peticolas 47d926b814 2001-04-28 Christian Stimming <stimming@tuhh.de>
* src/scm/date-utilities.scm: Fixed a whole lot of bugs in the
	relative-date functions (did *nobody* ever test those???). Added
	relative dates end-cal-year, end-current-quarter, and
	end-this-month. Added comments.

	* src/scm/options-utilities.scm: Changed date-options to be combo
	options of both relative and absolute dates.

	* src/scm/report/portfolio.scm, taxtxf.scm: adapt to usual option
	conventions.

	* src/scm/report/account-summary.scm: Fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4079 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-30 01:23:18 +00:00
Dave Peticolas 421fc9542e 2001-04-27 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Added workaround for gtkhtml
        column width.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4078 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 19:04:52 +00:00
Dave Peticolas d29fe465cf Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4077 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 10:58:26 +00:00
Dave Peticolas 7aa14c41cf More work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4076 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 10:46:29 +00:00
Dave Peticolas 002ec86337 2001-04-27 Dave Peticolas <dave@krondo.com>
* src/SplitLedger.c (xaccSRExpandCurrentTrans): if expanding
	a transaction, try to show all of it

	* src/register/table-gnome.c (gnc_table_show_range): new func

	* src/register/gnome/gnucash-sheet.c (gnucash_sheet_show_range):
	new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4075 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 10:25:35 +00:00
Dave Peticolas 4e58a9a9db 2001-04-27 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Added option to choose the
	source of prices. Adapted to changes in html-utilities.

	* src/scm/report/pnl.scm: Adapted to changes.

	* src/scm/report-utilities.scm (gnc:monetary->string): Fix bug.

	* src/scm/html-utilities.scm (gnc:html-make-exchangerates):
	Switched to different arguments. Fix bug.

	* src/scm/commodity-utilities.scm: fix bug

	* src/scm/options-utilities.scm (gnc:options-add-price-source!):
	added function.

	* src/engine/gnc-pricedb.c (gnc_pricedb_lookup_nearest_in_time):
	fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4074 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 09:08:20 +00:00
Dave Peticolas bfdff00f50 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4059 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 23:52:32 +00:00
Dave Peticolas 2c60e46cc8 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4058 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 21:38:14 +00:00
Dave Peticolas 2ccf12241d 2001-04-26 Christian Stimming <stimming@tuhh.de>
* src/scm/commodity-utilities.scm
	(gnc:exchange-by-pricedb-{latest,nearest}): new functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4057 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 21:31:49 +00:00
Dave Peticolas 2f740f2fd0 Update README.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4054 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 09:04:49 +00:00
Dave Peticolas 1953f9773b 2001-04-26 Dave Peticolas <dave@krondo.com>
* src/gnome/window-main.c: handle scm parsing errors

	* src/scm/report.scm: fix bug

	* src/guile/gfec.c: handle NULLs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4053 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 08:56:43 +00:00
Dave Peticolas e8a5a9677c 2001-04-26 Christian Stimming <stimming@tuhh.de>
* src/scm/report/net-barchart.scm: New file, it is the merger of
	income-expense-graph.scm and net-worth-timeseries.scm.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4052 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 08:53:41 +00:00
Dave Peticolas b811b0583d 2001-04-26 Christian Stimming <stimming@tuhh.de>
* src/scm/report/*.scm: adapt to changed gnc:make-report-anchor.

	* src/scm/html-utilities.scm (gnc:make-report-anchor):
	gnc:report-add-child-by-id! is now used inside here. API changed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4051 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 07:51:41 +00:00
Dave Peticolas a77c650f68 Fix i18n bugs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4050 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 06:33:23 +00:00
Dave Peticolas 5ec6685c71 Fix help strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4049 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-26 00:55:33 +00:00
Dave Peticolas 69ca5e202c * src/scm/commodity-utilities.scm: fix fixme
* src/engine/Group.c (xaccGroupGetAccount): remove pokey warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4048 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 23:37:57 +00:00
Dave Peticolas 67aa2af36e Fix some include problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4047 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 21:49:16 +00:00
Dave Peticolas a77d32196b Fix i18n problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4046 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 09:04:13 +00:00
Dave Peticolas 2b85080282 * src/engine/gnc-transaction-xml-v2.c: read & write split action
field


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4045 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 08:13:19 +00:00
Dave Peticolas 6d90b234f2 Remove unneeded fixmes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4044 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 07:58:30 +00:00
Dave Peticolas 8bc62e1f6e 2001-04-25 Dave Peticolas <dave@krondo.com>
* src/gnome/druid-commodity.c: do gncFileNew after gncFileQuit

	* src/guile/gnc.gwp: remove pokey functions (not used anymore)

	* src/scm/main.scm: fix bug. don't do new user dialog if we
	have a file on the command line.

	* src/FileDialog.c (gncAddHistory): fix bug. check for NULL.

	* src/guile/gnucash.c.in: include string.h

	* src/gnome/window-main.c: don't restore state for old format files

2001-04-24  Dave Peticolas  <dave@krondo.com>

	* src/scm/options.scm: check for deleted accounts in account
	list option. fix bug.

	* src/scm/report/pnl.scm: filter out non income/expense accounts

	* src/scm/report/budget-report.scm: remove

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

	* src/engine/Account.c: take out pokey warnings


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4043 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 07:46:13 +00:00
Dave Peticolas 0f03218b20 2001-04-25 Robert Graham Merkel <rgmerk@mira.net>
* src/scm/html-utilities.scm:
	(gnc:html-table-append-ruler/markup!) new function.  Also modify
	(gnc:html-build-acct-table) and other functions to use global row
	styles.

	* src/scm/html-table.scm:(gnc:html-table-prepend-row/markup!)  fix
	bug.

	* src/scm/report/balance-sheet.scm: use new global row styles.

	* src/scm/report/stylesheet-*.scm: add new global row styles.

	* src/scm/report/transaction-report.scm: use new global row styles,
	fix bug with memo display.  Remove local color options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4042 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 07:20:24 +00:00
Dave Peticolas 8763645345 Include config.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4041 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-25 06:22:08 +00:00
Dave Peticolas 8de13cac5e Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4040 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 23:31:45 +00:00
Dave Peticolas fb09b620fe 2001-04-24 Bill Gribble <grib@billgribble.com>
* src/FileDialog.c: call book-opened-hook and book-closed-hook
	where appropriate

	* src/gnome/dialog-column-view.c: change to single-parent model

	* src/gnome/top-level.c: don't do MID state saving and restoring
	here... do it in the book save/load hooks.

	* src/gnome/window-main.c: the configstring stored in MDI is now a
	Scheme form which restores the window state.  save/restore it.
	Also, change the MDI session name to encode the book URL
	(have to encode it to escape some chars, notably /, which MDI
	doesn't like in section names)

	* src/scm/main-window.scm: new file.  get the main-window
	save/restore functions out of prefs.scm

	* src/scm/report/scm: only one parent per report; write save
	routines to save all parents and children.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4039 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 23:11:15 +00:00
Dave Peticolas dd22ea89c1 * src/gnome/window-register.c: add additional warnings when
deleting reconciled splits/transactions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4038 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 20:49:32 +00:00
Dave Peticolas 657a9fdbe1 Include config.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4037 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 19:32:03 +00:00
Dave Peticolas 2fd5089db8 2001-04-24 Christian Stimming <stimming@tuhh.de>
* src/guile/gnc.gwp: g-wrap all the euro-related functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4036 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 19:25:35 +00:00
Dave Peticolas 03b3547395 * src/gnome/dialog-transfer.c: set price for euro currencies
automatically

	* src/EuroUtils.c (gnc_euro_currency_get_rate): new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4035 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 10:46:01 +00:00
Dave Peticolas 9303cbb978 * src/gnome/dialog-transfer.c: set price for euro currencies
automatically

	* src/EuroUtils.c (gnc_euro_currency_get_rate): new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4034 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 10:14:43 +00:00
Dave Peticolas 21f34a24f6 Fix bugs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4033 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 09:12:34 +00:00
Dave Peticolas bb776bf987 Christian Stimming's report bugfixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4032 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 07:32:22 +00:00
Dave Peticolas 649b29582b Check for new guppi version using a different method.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4031 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 07:27:18 +00:00
Dave Peticolas 163ee4149a #include <locale.h> for 'struct lconv'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4030 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 06:10:10 +00:00
Dave Peticolas 6c6426ef7a Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4029 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 06:06:27 +00:00
Dave Peticolas 1e66edc265 Make 'intl' before 'doc-tools', since doc-tools may use the lib in 'intl'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4028 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 02:30:50 +00:00
Dave Peticolas 9ad0645460 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4027 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 01:54:41 +00:00
Dave Peticolas f733068f7d * src/gnome/gnc-html-guppi.c: check for new guppi args before
passing them


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4026 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-24 00:38:19 +00:00
Dave Peticolas 27fa212a17 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4025 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 23:14:15 +00:00
Dave Peticolas 0bcb92f664 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4024 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 22:47:36 +00:00
Dave Peticolas e4a5099dab 2001-04-23 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: Make more sanity
	checks. Fix bugs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4023 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 21:09:24 +00:00
Dave Peticolas 28adf6a459 Fix spec file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4021 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:49:53 +00:00
Dave Peticolas d3a3c4ca56 Prepare for 1.5.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4020 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:41:10 +00:00
Dave Peticolas 87422529e4 Update po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4019 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:38:42 +00:00
Dave Peticolas 8a639f4673 Use type conversion macro instead of cast.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4018 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:34:50 +00:00
Dave Peticolas ea9ad455db * src/engine/Query.c (xaccQueryGetSplitsUniqueTrans): fix bug
* src/engine/Account.c (xaccAccountSetPriceSrc): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4017 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:14:57 +00:00