Commit Graph

3547 Commits

Author SHA1 Message Date
Dave Peticolas
1cd084961c Bill Gribble's patch.
* src/gnome/dialog-column-view.c: maintain the report window
	edited list when closing dialog.  raise an existing edit dialog.

	* src/gnome/gnc-html.c: make sure we know about options editors
	launched from gnc-options: urls

	* src/gnome/window-report.c: numerous changes to improve handling
	of options dialogs.

	* src/scm/report.scm: new function, gnc:report-edit-options.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3999 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-21 00:39:54 +00:00
Dave Peticolas
20a1efa349 * src/guile/gnc-helpers.c: remove cruft. work on converting
Query objects to and from a scheme representation (unfinished)

	* src/guile/gnc.gwp: wrap more of the Query enums

	* src/engine/Query.c (xaccQueryAddAccountGUIDMatch): new func

	* src/scm/options.scm: add a query option type

	* src/scm/report/report-list.scm: don't bother hiding tax report


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3998 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-20 11:02:17 +00:00
Dave Peticolas
7a872533b0 Bill Gribble's patch.
* src/gnome/top-level.c: add call to skeleton "welcome" report
        if user has not run 1.5/1.6 before

        * src/scm/html-document.scm: changes to make sure styles are
        set for component reports in multicolumn view

        * src/scm/report.scm: clean up rendering with/without headers

        * src/scm/report/stylesheet-plain.scm: get rid of <center> tag
        on <body>

        * src/scm/report/welcome-to-gnucash.scm: new report and function
        to set up welcome to gnucash report


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3997 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-19 22:47:52 +00:00
Dave Peticolas
b985ba8b04 * src/register/gnome/gnucash-item-edit.c (item_edit_draw_info): fix
some left-right scrolling glitches


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3996 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-19 10:06:33 +00:00
Dave Peticolas
05c143599a * src/gnome/dialog-tax-info.c: implement tax info api
* src/gnome/account-tree.c: same as below

	* src/gnome/window-acct-tree.c: add tax info field

	* src/scm/report.scm: add an export callback for reports

	* src/guile/gnc.gwp: wrap radio chooser api

	* src/scm/report/taxtxf.scm: use export callback to choose
	between html & txf

	* src/gnome/window-report.c: implement export callback


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3995 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-19 09:22:10 +00:00
Dave Peticolas
cffa80d765 Rearrange #defines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3994 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-19 05:56:52 +00:00
Dave Peticolas
819699c541 Bill Gribble's mdi patch.
* src/gnome/dialog-options.c: don't destroy options dialog twice.

        * src/gnome/window-main.c: hopefully last MDI fixes; rearrange
        menu and replace "New Window" with "Move to New Window."


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3993 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-18 21:31:36 +00:00
Dave Peticolas
6e3ebb1a30 James LewisMoss's file renaming patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3992 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-18 21:26:03 +00:00
Dave Peticolas
7d656ce4f9 Add missing prototype.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3991 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-18 11:17:42 +00:00
Dave Peticolas
c6ad9a51b9 * src/gnc-ui-util.c (gnc_ui_account_get_balance): use current
stock quotes to get balances for stock/mutual/currency accounts

	* src/gnome/window-main.c: check for NULL toolbar parents

	* src/engine/sixtp-xml-write-utils.c: use new func below

	* src/engine/sixtp-dom-generators.c (timespec_sec_to_string): use
	new func below.

	* src/engine/sixtp-utils.c (timespec_secs_to_given_string): new
	func. format timezone string by hand (solaris fix)

	* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): only
	begin editing the account if parsing was successful

	* src/test/test-xml-account.c (test_add_account): don't delete
	the account, because it's referenced by the parser after the
	callback.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3990 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-18 11:11:04 +00:00
Dave Peticolas
e9e797da33 2001-04-17 Bill Gribble <grib@billgribble.com>
* src/gnome/window-main.c: More changes for MDI.  I think we
	finally have toolbars handled right.  Also new windows for account
	trees.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3989 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-17 21:58:33 +00:00
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
Linas Vepstas
2b120f5e96 add A/R notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3982 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-16 16:01:53 +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
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