Commit Graph

3280 Commits

Author SHA1 Message Date
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
Dave Peticolas
84d0d21966 2001-04-22 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: More work on subtotal
	options.

	* src/scm/report/net-worth-timeseries.scm: Add links to new
	reports on bars.

	* src/scm/options.scm, html-utilities.scm: Fix bugs with wrong
	report names.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4016 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 07:10:18 +00:00
Dave Peticolas
e09ad8f325 Kevin Finn's patch to adjust the ending balance of the reconcile
window according to the statement date.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4015 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 06:07:58 +00:00
Dave Peticolas
edb59e38b4 * src/gnome/dialog-find-transactions.c: remove tags notebook page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4014 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 02:09:36 +00:00
Dave Peticolas
015dcc37fb Duarte Loreto's updated Portuguese documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4013 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-23 01:57:21 +00:00
Dave Peticolas
045c290a9c Duarte Loreto's updated pt_PT.po.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4012 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 21:14:55 +00:00
Dave Peticolas
95dc7c7c3b 2001-04-22 Christian Stimming <stimming@tuhh.de>
* src/scm/report/income-expense-graph.scm: Add links to new
	reports on bars.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4011 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 21:13:12 +00:00
Dave Peticolas
55c3c262c3 Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4010 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 11:58:50 +00:00
Dave Peticolas
085a167be9 * src/scm/report/transaction-report.scm: use new api for
changing sensitivity

	* src/guile/gnc.gwp: wrap new function

	* src/guile/global-options.c (gnc_set_option_selectable_by_name):
	new func

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

	* src/gnome/dialog-options.c (gnc_set_option_selectable): new func

	* src/gnome/dialog-account.c (gnc_type_list_unselect_cb): fix bug

	* src/scm/report/register.scm: use query option to store query

	* src/gnome/window-register.c (report_helper): don't copy
	the query -- it's converted to scm now

	* src/guile/gnc-helpers.c: more work on scm<->query


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4009 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 11:43:03 +00:00
Dave Peticolas
df26729bf1 2001-04-22 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: Added new options for
	specifying whether a subtotal will be printed. Unfinished.

	* src/scm/report.scm, src/scm/report/*.scm: Defined more string
	constants for option names. Used them in the reports.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4008 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 08:44:24 +00:00
Dave Peticolas
aad1d3944c Christian Stimming's boolean option patch & de.po update.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4007 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 06:45:30 +00:00
Dave Peticolas
b9621b5c66 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4006 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 01:20:05 +00:00
Dave Peticolas
c546115701 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4005 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-22 01:05:54 +00:00
Dave Peticolas
d9627b7ffb 2001-04-21 Christian Stimming <stimming@tuhh.de>
* src/scm/report/transaction-report.scm: Fixed date bug.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4004 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-21 23:57:15 +00:00
Dave Peticolas
38531ab697 Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4003 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-21 21:35:44 +00:00
Dave Peticolas
274409e58a * src/guile/gnc-helpers.c: more work on scm<->query.
* src/gnome/window-report.c: raise app of new report to top

	* src/register/recncell.c: add confirmation callback

	* src/SplitLedger.c: implement reconcile confirm cb

	* src/gnome/gnc-html.c: add missing include

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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4002 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-21 10:37:01 +00:00
Dave Peticolas
842fb1a89a Kevin Finn's main window mdi patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4001 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-21 10:08:51 +00:00
Dave Peticolas
35d5894158 Save account tree options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4000 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-21 03:53:44 +00:00
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