Commit Graph

3139 Commits

Author SHA1 Message Date
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
Linas Vepstas
3938400d32 terminate with newline
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3838 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 01:38:22 +00:00
Linas Vepstas
6927f29ce9 sync with 'real' projects file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3837 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 01:34:02 +00:00
Linas Vepstas
1b73308aba remove carriage returns
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3836 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-27 01:32:22 +00:00
Dave Peticolas
b012f9ac25 Remove applypatch cruft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3835 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-26 23:32:20 +00:00
Dave Peticolas
446eb887c1 Bill Gribble's main window report patch.
* src/gnome/dialog-column-view.{c,h}: new files.  Options editor
	for the multicolumn report view.

	* src/gnome/dialog-options.{c,h}: add API to get notebook widget
	from standard options dialog

	* src/gnome/gnc-html.c: add handler for gnc-options:report-id=%d
	url... pops up the options editor for that report.

	* src/gnome/window-main.c: make the app main widget a notebook
	with side tabs.  When a report is run from the menu, it makes a
	new tab and put itself there (via gnc_report_in_main_window).

	* src/gnome/window-report.c: ask the report how to edit its
	options. Redo options dialog handling.  Add a "open in new window"
	option to the report toolbar/popup

	* src/scm/report.scm: add 'options-editor field to report template
	struct.  It's optional (there's a default).  Add a "Report name"
	option for all reports. Not used yet but will be soon.

	* src/scm/report/view-column.scm: a generic table layout for
	multiple reports.  Each report is in a table cell with a
	configurable rowspan and colspan.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3834 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-26 23:21:38 +00:00
Dave Peticolas
6ecf215be2 * src/scm/report/transaction-report.scm: fix i18n bug
* src/scm/report/register.scm: more work

	* src/SplitLedger.c: update for api change

	* src/gnome/window-register.c: update for api change

	* src/engine/Transaction.c (xaccSplitGetCorrAccountName): update
	name used for split transactions
	(xaccSplitGetOtherSplit): rename to be more consistent

	* src/gnome/gnc-dialogs.glade: use 'contains' instead of
	'matches' in search dialog

	* src/guile/gnc.gwp: update for api changes below

	* src/engine/Account.c: use US in api names and tags of
	US-specific tax info.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3833 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-26 11:05:57 +00:00
Dave Peticolas
fab325e309 Keld Simonsen's update to the Danish translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3832 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-26 08:34:50 +00:00
Dave Peticolas
e98e5cfc56 * src/test/test-exp-parser.c (test_parser): add / 0 test
* src/scm/report/txf-export.scm: fix bugs

	* src/gnome/gnc-dialogs.glade: work on tax info dialog

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

	* src/engine/sixtp.c (gnc_is_our_xml_file): don't use
	g_return_if_fail for not finding a file -- avoid ** CRITICAL **
	warning.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3831 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-25 10:51:32 +00:00
Dave Peticolas
7d3d2d45d1 * src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): fix bug
* src/scm/report/txf-export.scm: redo data structure
	for txf info

	* src/guile/gnc.gwp: wrap tax info api getters


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3830 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-24 13:12:48 +00:00
Dave Peticolas
63fcc1570a Duarte Loreto's Portuguese translation of the manual.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3829 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-24 09:26:46 +00:00