Commit Graph

3120 Commits

Author SHA1 Message Date
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
Dave Peticolas
94e8832f2d Duarte Loreto's Portuguese po file for gnucash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3828 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-24 09:08:18 +00:00
Dave Peticolas
6342414fda * src/scm/html-utilities.scm (gnc:assign-colors): make the order
of color assignment stable

	* src/engine/Account.c: add api for tax info

	* src/engine/kvp_frame.c: handle NULL pointers

	* src/engine/kvp_doc.txt: add tax kvp keys

	* doc/gnucash-gdb-cmds: remove, out of date

and misc.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3827 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-23 12:43:08 +00:00
Dave Peticolas
a324ad6fa4 Christian Stimming's report patch.
Included new option to summarize all accounts below a certain level
threshold, i.e. you can choose to only get one pie piece Expenses:Drinks
instead of Exp:Drinks:Beer, Exp:Drinks:Rum, and Exp:Drinks:Cocktails.

Added more colors in html-utilities.scm.

Created more helper functions in options-utilities.scm.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3826 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-23 09:37:39 +00:00
Dave Peticolas
e53090ddaf Ben Stanley's test infrastructure patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3825 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-23 07:27:36 +00:00
Dave Peticolas
c333152d3a Christian Stimming's pnl report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3824 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-23 07:16:16 +00:00
Dave Peticolas
5a52a9c524 Derek Atkins' rpc backend patch.
This patch adds _most_ of the RPC generated files into the repository
because it appears many recent versions of rpcgen for Linux and NetBSD
do not support the -M (Multi-Thread Safe) output of code.  Bug reports
have been submitted, but I'd like to support RPC in the next two years
before this is fixed.

So, this adds the files gncRpc.h, gncRpc_clnt.c, and gncRpc_svc.c.
The file gncRpc_xdr.c is still generated on the fly.  This
unfortunately means that any changes to the .x files mean you must
regenerate at least the .h file and possibly the other .c files, too.

This patch also modifies the .cvsignore to allow those three files
into the repository.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3823 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 23:19:15 +00:00
Dave Peticolas
02dc666108 * src/Makefile.am: compile src/test after compile src/
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3822 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 22:32:58 +00:00
Dave Peticolas
bd32e058cf Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3821 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 22:08:16 +00:00
Linas Vepstas
f1facccee7 update to record some accounts payable feature requests
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3820 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 17:59:39 +00:00
Dave Peticolas
7ae5e34ed6 * src/guile/gnucash.c.in (gnc_main): change from main
function so other executables can link with this lib

	* src/gnc-main.c: new file with gnucash main

	* src/test/test-stuff.c: add api to turn on success printing

	* src/test/test-exp-parser.c: new test file for testing
	expression parser

	* src/scm/report/income-or-expense-pie.scm: display totals
	in legend

	* src/gnome/druid-stock-split.c: check for proper currencies
	on income & asset accounts. allow price to be recorded.

	* src/gnome/account-tree.c: add api for setting selectability
	with a filter function

	* src/engine/Group.c (xaccGroupRemoveAccount): check for
	group/account mismatch


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3819 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 12:26:39 +00:00
Dave Peticolas
96372a16ed James LewisMoss's big patch. XML v2 stuff, testing, and misc changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3818 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 08:02:48 +00:00
Dave Peticolas
d72f8ed668 Robert Graham Merkel's date utilities patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3817 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 06:47:33 +00:00
Dave Peticolas
224ec34b86 Bill Gribble's patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3816 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-22 00:25:40 +00:00
Dave Peticolas
42378bf3e6 Christian Stimming's report patch.
This extends the income/expense chart so that you can also view the profit
as a third bar besides the income and expense. Those options are on the
"Display" tab now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3815 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 22:35:47 +00:00
Dave Peticolas
034eb6859b Bill Gribble's patch.
* gnc-network.{c,h}: new files.  Functions for user registration
	and authentication.

	* gnc-gpg.c: fix bugs.  make gpg operations optionally
	asynchronous via gdk_input_add().

	* gnc-html.c: fix URL base name handling.  Rework processing of
	http requests.

	* gnc-http.c: memory management in gnome_http.  Still some
	memory leaks in there, I think.

	* gnc-html-actions.{c,h}: remove files.  Content moved into
	gnc-network.

	* prefs.scm: Add hidden preference for GnuCash Network user ID.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3814 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 22:24:47 +00:00
Dave Peticolas
6a7acc416d * src/scm/report-utilities.scm
(gnc:accounts-get-comm-total-income): new func
	(gnc:accounts-get-comm-total-expense): new func

	* src/scm/report/income-expense-graph.scm: allow user to display
	both income & expense side-by-side

	* src/scm/report/pnl.scm: use sprintf to make title

	* src/guile/guile-util.c (gnc_get_debit_string): use g_strdup
	(gnc_get_credit_string): use g_strdup

	* src/gnome/gnc-html.c: add guid type to register anchor

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

	* src/engine/Query.c (xaccQueryGetSplitsUniqueTrans): fix bug

	* src/gnome/window-register.c: add arguments to report window
	for title & debit/credit strings


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3813 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 10:36:55 +00:00
Dave Peticolas
629d05e08a Christian Stimming's report patch.
* src/scm/report/income-expense-graph.scm,
	income-or-expense-pie.scm: Fixed account choosing, fixed default
	report currency, added currency exchange calculation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3812 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 08:05:12 +00:00
Dave Peticolas
75ee724948 * src/gnome/dialog-progress.c
(gnc_progress_dialog_set_activity_mode): new func

	* src/guile/gnc.gwp: add new progress dialog api

	* src/engine/date.h: remove unneeded includes

	* src/scm/report/income-or-expense-pie.scm: make 'other' slice
	a link to a new pie report

	* src/scm/report.scm (gnc:make-report-options): new func

	* src/register/splitreg.c (configLayout): don't show balance
	column in stock registers

	* src/gnc-ui-util.c (xaccSPrintAmount): put currency symbol
	after quantity for shares values


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3811 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-21 00:08:57 +00:00
Dave Peticolas
256be7a33a Derek Atkins' patch to the rpc backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3810 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 22:18:50 +00:00