Commit Graph

3349 Commits

Author SHA1 Message Date
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
Dave Peticolas
e1d33dce68 * src/gnome/window-help.c: expand the top nodes initially
(gnc_help_show_topic): show the topic in the tree when it
	can be found

	* src/gnome/gnc-html.c: set busy cursor before start request


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3872 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 10:53:24 +00:00
Dave Peticolas
fc2b4d1f0d * src/gnome/dialog-utils.c (gnc_get_gdk_imlib_image): new func
Also, tweak some glade dialogs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3871 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 07:40:57 +00:00
Dave Peticolas
166b169917 Fix for make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3870 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 07:25:12 +00:00
Dave Peticolas
98fe6cb3e1 Fix some i18n problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3869 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 01:26:34 +00:00
Dave Peticolas
485f7fbe5b Christian Stimming's i18n patch updating de.po and fixing some
problems in reports.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3868 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-01 01:15:48 +00:00
Dave Peticolas
5f217076ff Richard -Gilligan- Uschold's update to the tax codes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3867 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-31 22:17:06 +00:00
Dave Peticolas
526fcd6406 Christian Stimming's report patch & de.po update.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3866 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-31 21:58:50 +00:00
Dave Peticolas
937fe0f9fa * src/scm/options.scm: add a text option type
* src/gnome/dialog-options.c: add support for text options

	* src/gnome/window-main.c (gnc_ui_about_cb): set parent

	* src/scm/report/register.scm: more work

	* src/scm/html-document.scm: fix bug

	* src/scm/report/average-balance.scm: tweak default accounts

	* src/scm/html-utilities.scm (gnc:html-build-acct-table):
	put in a horizontal line before grand total.

	* src/gnome/dialog-tax-info.c: use form & description, not
	code & form, in clist. more work on display.

	* src/scm/report/txf-export.scm: fix bug

	* src/register/gnome/gnucash-sheet.c
	(gnucash_sheet_modify_current_cell): reset item edit position

	* src/register/gnome/gnucash-item-edit.c (item_edit_reset_offset):
	new func

	* src/gnome/gnc-currency-edit.c (add_item): don't use namespace
	in string


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3865 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-31 11:29:30 +00:00
Dave Peticolas
fc894d7827 James LewisMoss's testing patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3864 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-30 22:26:59 +00:00
Dave Peticolas
1b9f95a7d1 Add ignored file. Print module error info to stderr, not stdout.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3863 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-30 13:09:22 +00:00
Dave Peticolas
4f878ffa31 * src/quotes/finance-quote-helper.in: check for non-standard
Perl modules

	* src/quotes/Makefile.am: add update-finance-quote

	* src/quotes/update-finance-quote.in: new file

	* src/guile/guile-util.c: new funcs for wrapping price lists

	* src/guile/gnc.gwp: wrap more pricedb api. g-wrap price lists.

	* src/gnome/dialog-tax-info.c: more work

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

	* src/gnome/gnc-html-guppi.c: use C locale when parsing doubles

	* src/gnc-ui-util.c (gnc_lconv_set): strdup value to make
	sure changing the locale doesn't affect the cached value

	* src/gnome/window-register.c: make 'record' work like 'enter'

	* src/scm/prefs.scm: add internal prefs for tax window size

	* doc/sgml/C/xacc-incomeexpense.sgml: fix debit/credit distinction

	* src/scm/report/taxtxf.scm: more work


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3862 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-30 12:43:11 +00:00
Dave Peticolas
6e64c254e3 Update Jeremy Collins' splash pic.
Make splash a regular window.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3861 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-30 08:02:10 +00:00
Dave Peticolas
caf7170200 Update INSTALL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3859 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 23:03:56 +00:00
Dave Peticolas
684dabf321 Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3858 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 22:11:40 +00:00
Dave Peticolas
92eb3d6f4c * src/scm/report/category-barchart.scm: remove url FIXME
* src/scm/html-barchart.scm: add bar & legend urls to render

	* src/gnome/top-level.c: Robert Stephenson's patch for
	gtkhtml & gconf

	* src/gnome/gnc-html-guppi.c: fix bugs

	* src/scm/html-text.scm: fix bug

	* src/scm/report/portfolio.scm: work on display

	* src/scm/report/stylesheet-plain.scm: add styles for totals

	* src/scm/html-document.scm: bug fix

	* src/scm/report/taxtxf.scm: more work

	* src/engine/gnc-commodity.c (count_coms): use
	GNC_COMMODITY_NS_ISO instead of the string const.

	* src/engine/rpc/Makefile.am: use GLIB_CFLAGS instead of
	hard-coded include dir.

	* src/engine/rpc/RpcUtils.c (rpcend_build_gnccommoditylist): use
	GNC_COMMODITY_NS_ISO instead of the string const. Fix compiler
	warning.

	* src/SplitLedger.c: fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3857 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 12:38:38 +00:00
Dave Peticolas
56902584d2 Missed one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3856 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 11:04:00 +00:00
Dave Peticolas
2310042ef6 Christian Stimming's report patch.
* src/scm/report/report-list.scm, Makefile.am: Added new file.

	* src/scm/report/category-barchart.scm: Two new reports. Shows
	barchart of income (or expense) categories over time.

	* src/scm/report/income-expense-graph.scm: Use more
	option-utilities.scm. Fixed gnc:dateloop usage (last interval was
	wrong).

	* src/scm/html-barchart.scm: Added record components for bar- and
	legend-urls and their accessor/modifier functions. FIXME: They
	don't get rendered yet -- somebody has to add that.

	* src/scm/date-utilities.scm (gnc:dateloop): Fixed last interval
	not to be longer than the specified end date.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3855 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 11:03:02 +00:00
Dave Peticolas
ab045ac3f6 James LewisMoss's big XML v2 patch with test files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3854 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 08:41:08 +00:00
Dave Peticolas
33fb6111bd Jeremy Collin's splash graphic.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3853 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 08:38:16 +00:00
Dave Peticolas
3b9f470e08 Add INSTALL for F::Q.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3852 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 08:26:57 +00:00
Dave Peticolas
f387ae896c Ben Stanley's patch updating the version of Finance::Quote in lib/.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3851 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 07:43:37 +00:00
Dave Peticolas
7914311575 Robert Graham Merkel's portfolio report.
* src/scm/report/portfolio.scm: New file.  Stock portfolio
	overview.

	* src/engine/date.[ch]: Added timespec_normalize,
	timespec_diff, and timespec_abs.

	* src/engine/gnc-pricedb.[ch]: added
	gnc_pricedb_lookup_nearest_in_time, courtesy Rob B.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3850 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 06:27:53 +00:00
Dave Peticolas
3ab1dc57d0 * src/gnome/dialog-tax-info.c: more work
* src/guile/gnc.gwp: wrap more of pricedb api

	* src/engine/gnc-pricedb.c (gnc_pricedb_get_prices): new func


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3849 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-29 01:01:02 +00:00
Dave Peticolas
6cc1792964 Bill Gribble's patch.
* src/gnome/dialog-column-view.c: set the view dirty on edit

        * src/gnome/dialog-style-sheet.c: dirty every report using a
        stylesheet when it's edited.

        * src/gnome/window-report.c: Add display register/unregister for
        reports so the reports know which report-windows they are being
        displayed in.

        * src/scm/html-{bar,pie}chart.scm: Add a little space to work
        around a gtkhtml-0.8.3 bug in table display

        * src/scm/html-document.scm: move tree collapse and
        stringification to the html document rather than the report.  Add
        functions to render just the body elements of a document.

        * src/scm/html-table.scm: fix broken html-table-set-cell!

        * src/scm/report.scm: add parents list to report struct.  Mark
        parents dirty when report is marked dirty.  reload windows showing
        a report on dirty.  Clean up rendering functions a little

        * src/scm/report/view-column.scm: Add a link to open each report
        in a window by itself.  Change rendering to allow children to be
        cached.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3848 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 23:02:20 +00:00
Dave Peticolas
2c984b5993 * src/gnome/dialog-tax-info.c: more work
* src/engine/Transaction.c (DxaccSplitSetSharePriceAndAmount):
	do the double->numeric conversion directly.

	* src/guile/gnc.gwp: remove unused deprecated functions

	* src/engine/Transaction.c (xaccSplitsComputeValue): convert
	imbalance to base_currency fraction if possible

	* src/SplitLedger.c (LedgerDestroy): commit pending instead
	of rolling back.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3847 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 11:06:12 +00:00
Dave Peticolas
42252a5e77 Christian Stimming's report patch.
* src/scm/report/average-balance.scm: Major rework: Uses
	option-utilities.scm. Added basic multi-currency handling. Fixed
	time interval handling.

	* src/scm/report/income-expense-graph.scm,
	income-or-expense-pie.scm: Use option-utilities.scm.

	* src/scm/options-utilities.scm: Added date interval multichoice
	option, report currency option, and plot size option.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3846 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 07:35:23 +00:00
Dave Peticolas
f121f917ce * configure.in: add --enable-etags argument to turn on
automatic TAGS creation

	* src/scm/report/register.scm: add notes field


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3845 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-28 01:00:25 +00:00
Dave Peticolas
a4f407ec46 * src/scm/report/stylesheet-plain.scm: more reports centered
by default

	* src/scm/html-document.scm: Christopher Browne's markup
	style extension.

	* src/gnome/window-main.c (gnc_report_in_main_window): show new
	page

	* doc/sgml/pt_PT/Makefile.am: remove demo html files

	* doc/sgml/es/Makefile.am: remove demo html files

	* doc/sgml/C/Makefile.am: remove demo html files

	* src/gnome/dialog-column-view.c: mark the options dialog
	changes as appropriate

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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3844 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 21:45:49 +00:00
Dave Peticolas
9b14280122 Add memo & action field.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3843 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 11:56:37 +00:00
Dave Peticolas
855ecde047 * src/gnome/dialog-tax-info.c: more work
* src/gnome/dialog-options.c: set apply button sensitivity
	appropriately

	* src/scm/report/average-balance.scm: use option-utilities

	* src/scm/report/transaction-report.scm: use option-utilities

	* src/scm/options-utilities.scm: remove superfluous (begin)'s

	* src/gnome/gnc-html.c: fix compiler warning

	* src/scm/prefs.scm: add new liability/equity debit/credit labels

	* src/register/gnome/pricecell-gnome.c (PriceDirect): don't use
	key stroke if cell value doesn't change

	* src/register/pricecell.c (xaccSetPriceCellValue): return TRUE
	if cell value actually changed


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3842 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 10:14:19 +00:00
Dave Peticolas
eb30788e02 Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3841 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 10:02:47 +00:00
Dave Peticolas
2d76753469 James LewisMoss's xml patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3840 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 07:30:25 +00:00
Linas Vepstas
6740a78708 update credits
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3839 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 02:50:54 +00:00