Commit Graph

3223 Commits

Author SHA1 Message Date
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
Linas Vepstas
6636f93862 sync up with web site credits
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3952 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-12 20:01:11 +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