Commit Graph
100 Commits
Author SHA1 Message Date
Dave Peticolas 1a63b7f75d 2001-04-17 Rob Browning <rlb@cs.utexas.edu>
* src/scm/utilities.scm (string-split): used to be string-split-on
	in qif-utils.scm

	* src/scm/qif-import/qif-utils.scm: move string-split-on to
	utilities.scm as string-split to better match string-join.

	* src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc):
	string-split-on -> string-split.

	* src/scm/qif-import/qif-dialog-utils.scm
	(qif-import:get-all-accts): string-split-on -> string-split.

	* src/scm/price-quotes.scm (yahoo-get-historical-quotes): new
	function - retrieve lists of historical quote information.

	* src/scm/bootstrap.scm.in (%load-path): add new guile-modules
	directory so we can use-modules from there.

	* src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes
	away on "make clean" in addition to "make distclean".

	* src/engine/gnc-pricedb.c: minor doc updates.

	* src/engine/gnc-pricedb.h: much more documentation.

	* lib/guile-www: new directory - contains guile-www CVS module.
	Used by new historical quote function.  Several new files added.
	Installed to new install directory GNC_SHAREDIR/guile-modules such
	that it is available via (use-modules (www main)), etc.

	* lib/Makefile.am (SUBDIRS): add guile-www

	* configure.in (AC_OUTPUT): add lib/guile-www/Makefile


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3988 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 21:37:38 +00:00
Dave Peticolas b5e8d20903 David Hampton's qif import patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3987 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 20:23:49 +00:00
Dave Peticolas 65c99a6608 * src/gnome/file-history.c: fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3986 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 20:08:47 +00:00
Dave Peticolas a6f80c3f39 2001-04-17 Bill Gribble <grib@billgribble.com>
* fixes to MDI bugs: only one param editor for accounts and
	reports, make sure reports reference and created children

	* new report: 'Frame URL'.  Give it an URL and it will display the
	contents in an <iframe>... handly for putting that stock ticker
	graph from yahoo or wherever in a sidebar of a multicolumn view.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3985 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 19:51:39 +00:00
Dave Peticolas 47dffe8cb9 Revert ja.po to 1.2, then update all po files with gettext 0.10.36.
Don't control po/ChangeLog, it comes from gettext.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3984 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 19:39:34 +00:00
Dave Peticolas 78915425e0 * lots of files: handle NULL pointer printf problems,
fix some mem leaks

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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3983 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 09:32:16 +00:00
Dave Peticolas 3a53cc1f9d * src/gnome/dialog-price-editor.c: button for online quotes
* src/scm/price-quotes.scm: handle missing lib errors. i18n
	some strings

	* src/quotes/finance-quote-helper.in: return error symbol when
	libraries are missing.

	* src/guile/guile-util.c (gnc_book_to_scm): new func

	* src/register/gnome/gnucash-sheet.c: some more error checking


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3981 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-16 09:16:52 +00:00
Dave Peticolas 3dafe87879 Christian Stimming's patch fixing the 'show foreign currency' option
handling.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3980 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-16 08:08:05 +00:00
Dave Peticolas 8833c3ddac Update po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3978 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 23:35:56 +00:00
Dave Peticolas 67c7ed199e * src/gnome/top-level.c: check for no children when creating default
window


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3977 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 23:27:39 +00:00
Dave Peticolas 528118cc99 * src/gnome/window-main.c: Kevin Finn's patch to shutdown gnucash
when the main window is deleted. Handle remove_child events to
	prevent accessing deleted windows.

	* src/engine/sixtp-dom-parsers.c (string_to_integer): same as
	below

	* src/engine/sixtp-dom-generators.c (add_kvp_value_node): same as
	below

	* src/engine/sixtp-xml-write-utils.c: same as below

	* src/engine/sixtp-utils.c: same as below

	* src/engine/gnc-numeric.c: same as below

	* src/engine/TransLog.c: same as below

	* src/engine/kvp_frame.c: same as below

	* src/engine/sql/kvp-sql.c: same as below

	* src/engine/sql/builder.c (sqlBuild_Set_Int64): don't assume
	long long int == gint64

	* src/gnome/window-main.c: take out devel menu

	* src/gnome/dialog-price-editor.c (price_ok_clicked): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3976 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 23:07:30 +00:00
Dave Peticolas 41745f6690 Prepare for 1.5.5.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3975 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 21:41:35 +00:00
Dave Peticolas 28550464e6 Use %lld instead of %Ld for consistency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3974 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 21:07:44 +00:00
Dave Peticolas ef5e57c882 Update po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3973 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 20:54:20 +00:00
Dave Peticolas 81ef8cb5c2 * src/gnome/window-main.c: take out devel menu
* src/gnome/dialog-price-editor.c (price_ok_clicked): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3972 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 11:01:03 +00:00
Dave Peticolas ee54839e07 2001-04-15 Christian Stimming <stimming@tuhh.de>
* src/scm/report.scm: Defined global identifiers for some option
	names.

	* src/scm/report/category-barchart.scm: Added menu tips, menu
	names. Use Reportname option for report title. Added an
	explanatory text (only for devel info, will be removed again in
	some weeks).

	* src/scm/html-barchart.scm: Fix bug.

	* src/gnome/gnc-html-guppi.c (guppi_bar_1_callback): Fix bug.

And updated de.po.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3971 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 08:34:08 +00:00
Dave Peticolas cacc719f15 Remove spurious string from new-user.glade.
Tweak menu help in window-main.c.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3970 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 08:16:35 +00:00
Dave Peticolas 21cd26048f Tweak dialog name.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3969 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 07:57:08 +00:00
Dave Peticolas 62a1b95215 Use xaccGUIDNULL to initialize acc_guid member.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3968 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 07:43:31 +00:00
Dave Peticolas 58e026f10d Add ChangeLog.1 to EXTRA_DIST. Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3967 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-15 07:41:26 +00:00
Dave Peticolas 27ab138fa8 * src/scm/path.scm: version the .gnucash/config* files.
* src/scm/: change several other files to use versioned config


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3966 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-14 10:13:49 +00:00
Dave Peticolas 131ef51c62 * src/gnome/window-main.c: show current filename in app titles
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3965 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-14 07:47:23 +00:00
Dave Peticolas 48a0c6064f Use g_free instead of free where appropriate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3964 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-14 07:43:31 +00:00
Dave Peticolas f99447e9f8 2001-04-13 Bill Gribble <grib@billgribble.com>
* Bug fixes and a couple of new features for MDI stuff.

	* src/scm/prefs.scm: new option to set MDI mode (prefs/general)

	* src/gnome/{window-acct-tree.c,window-report.c,window-main.c}:
	bug fixes to handle runtime MDI mode changes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3963 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 21:30:39 +00:00
Dave Peticolas 314acd7439 Update for new menu structure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3962 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 10:52:53 +00:00
Dave Peticolas 3b06be08e3 Define variables for standard report menu names. Use those variables
instead of raw strings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3961 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 10:26:35 +00:00
Dave Peticolas cc68a034d0 * src/scm/report/*: update several reports to use
the new date option api.

	* src/scm/options.scm: change date options to return
	the same values as they accept.

	* src/guile/option-util.c: update for new date option api.
	wrap scheme api for C.

	* src/gnome/dialog-options.c: update for new date option api.
	fix bugs.

	* src/gnome/query-user.c: fixes for no toplevel window

	* src/gnome/window-main.c (gnc_main_window_get_toplevel): check
	for NULL


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3960 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 09:47:23 +00:00
Dave Peticolas d07f9e2041 2001-04-13 Christian Stimming <stimming@tuhh.de>
* src/scm/report/balance-sheet.scm: Cleanup code. Use new funcs
	from html-utilities.

	* src/scm/report/stylesheet-{plain,fancy}.scm: Added some styles
	for table-cells.

	* src/scm/html-utilities.scm (gnc:html-acct-table-cell),
	(gnc:html-acct-table-row-helper!),
	(gnc:html-acct-table-comm-row-helper!): Added functions i.e. moved
	them out of gnc:html-build-acct-table. Use table-cell-markup
	instead of direct markup-b.

	* Several reports: Added option page "Account" or "Display" so
	that every report has those.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3959 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 08:22:38 +00:00
Dave Peticolas fb383a89dd Handle NULL element values.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3958 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 07:02:50 +00:00
Dave Peticolas ba10097b3f James LewisMoss's patch.
* accounts/C/Makefile.am (EXTRA_DIST): move some of the files to
	the EXTRA_DIST rule for the moment (we don't want them installed
	at the moment)

	* accounts/C/acctchrt_*: Include Carol's documentation fixes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3957 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 06:54:25 +00:00
Dave Peticolas e5d8a4c949 Fix compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3956 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 06:41:45 +00:00
Dave Peticolas 2affbf747a Add new files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3955 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-13 06:30:42 +00:00
Dave Peticolas 22ebc64f75 Undo last change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3954 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 23:09:49 +00:00
Dave Peticolas 1ff77ccd23 Bill Gribble's gnome mdi patch.
* Lots and lots of changes to support Gnome MDI.  And I thought it
        would be an easy way to get that toolbar problem fixed.  Short
        story is lots of function prototypes changed to reflect the notion
        that there is no longer a single top-level gnucash window or
        account tree.  41 files changed, which is too many for me to
        itemize :)

        * src/gnome/window-acct-tree.{c,h}: new file; the "account tree
        window" is the contents of the former main window.  Now you can
        have as many of them open as you want.  account trees and reports
        are the 2 kinds of "main window children" which MDI manages.

        * src/gnome/window-main-summarybar.{c,h}: new file.  I moved the
        summary bar stuff out of the account tree because there's one
        summary bar per top-level window but possible many account trees
        per top-level window.

        * src/gnome/window-main.c: this is not what it used to be at all.
        the main gnucash ui element is now a 'GnomeMDI'.  The only menus
        and toolbar items here are ones that are always visible in any
        top-level window.

        * src/scm/prefs/scm: acct tree prefs are treated differently (one
        options obj per acct tree) and are auto-saved and restored.

        * src/scm/report.scm: report options are auto saved and restored.

        * src/scm/html-style-sheet.scm: so are style sheets.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3953 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 23:03:42 +00:00
Dave Peticolas 96a79fbba0 * src/register/gnome/gnucash-item-list.c: same as below
* src/register/gnome/combocell-gnome.c (popup_post_show): fix for
	making the scrollbars appear under gtk+ 1.2.9.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3951 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 11:29:22 +00:00
Dave Peticolas 00b60f8d7a * src/gnome/dialog-commodity.c: add api to edit commodities
* src/gnome/dialog-commodities.c: allow commodities to be edited


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3950 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 08:31:16 +00:00
Dave Peticolas 443b4304a2 Christian Stimming's report patch.
2001-04-12  Christian Stimming  <stimming@tuhh.de>

	* src/scm/report/account-piecharts.scm: Added menu tips, menu
	names. Use Reportname option for report title. Added an explanatory
	text (only for devel info, will be removed again in some weeks).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3949 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 08:09:52 +00:00
Dave Peticolas d59749ed68 Robert Graham Merkel's patch.
* src/engine/Transaction.[ch] (xaccSplitGetCorrAccountFullName): new
	functions.  (xaccSplitCompareAccountNames): rename
	to xaccSplitCompareAccountFullNames and compare using full names.
	(xaccSplitCompareOtherAccountNames): renaming as above.

	* src/engine/Query.[ch]: rename sort enumeration values.

	* src/guile/gnc.gwp: update to match above changes.

	* src/scm/report-utilities.scm (gnc:split-get-corr-account-full-name):
	new function.

	* src/scm/report/transaction-report.scm: use above changes to sort
	and optionally display full account names.  Fix unrelated bugs with
	sorting options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3948 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 07:12:39 +00:00
Dave Peticolas ab0db323e9 * src/scm/report/hello-world.scm: add a menu tip as an example
* src/scm/report.scm: add menu names and menu tips to reports


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3947 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 06:08:09 +00:00
Dave Peticolas 818eaefc66 Christian Stimming's report patch.
* src/scm/report/average-balance.scm, category-barchart.scm,
	income-expense-graph.scm, net-worth-timeseries.scm, portfolio.scm:
	Added menu-path for reports.

	* src/scm/report/account-piecharts.scm: Report title is now
	fetched from Reportname option. Slices and legend now have
	different URLs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3946 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 05:07:37 +00:00
Dave Peticolas 6239ae0777 Add menu-path argument to reports so they can be put in submenus.
Put a few reports in submenus as an example.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3938 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 22:56:20 +00:00
Dave Peticolas 6273f8db67 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3937 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 22:25:53 +00:00
Dave Peticolas a86c2dba68 Include stdlib.h for malloc.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3936 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 21:56:48 +00:00
Dave Peticolas aeff5bc299 Christian Stimming's report patch.
* src/scm/report/account-piecharts.scm: Simplified anchors for
	other reports by using gnc:make-report-anchor.

	* src/scm/html-utilities.scm (gnc:make-report-anchor): New
	function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3935 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 09:57:15 +00:00
Dave Peticolas 287fbee535 * src/gnome/dialog-commodities.c: more work
* src/engine/gnc-commodity.c (gnc_commodity_table_remove): new func

	* src/engine/gnc-commodity.h: add ASX namespace

	* src/gnome/dialog-commodity.c (gnc_ui_edit_commodity_modal): new
	func. unfinished. rename some functions to reflect that it's also
	an editing dialog now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3934 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 09:34:07 +00:00
Dave Peticolas a4a83ec781 Christian Stimming's report patch.
* src/scm/options.scm (gnc:options-copy-values): New function.

	* src/scm/report/account-piecharts.scm: Added anchors to yet other
	reports on the slices of the pie. Simplified creation of other
	report's options.

	* src/scm/report/category-barchart.scm: Simplified creation of
	other report's options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3933 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 09:09:51 +00:00
Dave Peticolas bf05efd870 Robert Graham Merkel's report patch.
* src/scm/report/transaction-report.scm (render-month-subheading):
	fix bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3932 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 08:57:21 +00:00
Dave Peticolas ac24703220 Print illegal date as part of illegal date message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3931 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 08:10:01 +00:00
Dave Peticolas 6c963f2985 Christian Stimming's report patch.
* src/scm/report/report-list.scm: Renamed file.

	* src/scm/report/account-piecharts.scm: Renamed to this filename
	(used to be: income-or-expense-pie.scm). Introduced some more
	generality such that this file also has an asset and a liability
	balance piechart.

	* src/scm/report/category-barchart.scm: Introduced some
	more generality such that this file also has a asset and liability
	balance barchart.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3930 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 07:31:39 +00:00
Dave Peticolas d5c35ea2b1 Don't use 'stdin' as var name -- reserved. Include string.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3929 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 07:12:52 +00:00
Dave Peticolas 3109baa353 Add #define for solaris.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3928 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 06:54:50 +00:00
Dave Peticolas da532bec89 Don't use isinf -- not portable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3927 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 06:43:58 +00:00
Dave Peticolas 1ede8a4f09 Christian Stimming's patch adding 2 new reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3926 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 06:33:39 +00:00
Dave Peticolas a54b609c6e Christian Stimming's report patch.
* src/scm/report-utilities.scm: Added function
	(gnc:account-get-type-string-plural). Changed
	gnc:decompose-accountlist to return AccountType symbols.

	* src/scm/html-utilities.scm,
	src/scm/report/net-worth-timeseries.scm, balance-sheet.scm:
	Adapted to changed gnc:decompose-accountlist.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3925 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-11 05:59:47 +00:00
Dave Peticolas 99600713de Don't include stdint.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3924 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 21:34:35 +00:00
Dave Peticolas adbe66ab7b * src/engine/date.c (__EXTENSIONS__): add a define for solaris
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3923 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 21:29:24 +00:00
Dave Peticolas a6d9c1ff9e Use `` instead of $() for portability.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3922 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 21:08:08 +00:00
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 e5f48598f6 Jeremy Collins' update to the stock split watermark.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3918 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 00:45:47 +00:00
Dave Peticolas 6b7414d3c6 Christopher Browne's patch to the documentation plus some scheme patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3914 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-10 00:05:41 +00:00
Dave Peticolas c1f75560f4 Jeremy Collins' patch to add graphics to druids.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3913 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-09 23:50:00 +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 83d28bc2b3 Richard -Gilligan- Uschold's tax report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3905 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-07 07:14:21 +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 2ffe6c8e55 Include config.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3902 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-06 22:03:20 +00:00
Dave Peticolas 44f27ee692 James LewisMoss's patch to the account hierarchies with sample descriptions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3901 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-06 22:01:29 +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 0a855b597e Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3898 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-05 23:16:39 +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 bf10abdf30 Robert Graham Merkel's balance sheet patch & test file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3896 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-05 21:15:52 +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 6eb9c411a8 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3894 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-05 06:25:37 +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 f34c9c5463 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3892 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-04 22:57:48 +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 340d1d190b James LewisMoss's patch.
Add some error checking in the calls to link and unlink.  Add a README
to the src/test dir.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3885 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-03 20:07:19 +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 f107e6090a Christian Stimming's updated de.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3879 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-02 04:50:31 +00:00
Dave Peticolas bc6915b25b Christian Stimming's i18n patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3877 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 23:49:04 +00:00
Dave Peticolas 188376583b Prepare for 1.5.4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3876 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 23:16:55 +00:00
Dave Peticolas 4d56b1c1ae Update po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3875 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 23:10:19 +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 e660e1c1f5 Forgot to take out debugging warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3873 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 11:09:57 +00:00