Commit Graph

3100 Commits

Author SHA1 Message Date
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
Dave Peticolas
1b7983a41b * src/guile/option-util.c (gnc_commit_option): update GUI value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3809 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 20:11:47 +00:00
Dave Peticolas
a94335a09b Christian Stimming's report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3808 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 20:06:16 +00:00
Dave Peticolas
3a66d32ac9 * src/gnome/gnc-html-guppi.c: new func for shutting down guppi
* src/gnome/top-level.c (gnc_ui_shutdown): shutdown guppi

	* src/scm/report/income-or-expense-pie.scm: use shorter names
	for reports


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3807 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 11:39:15 +00:00
Dave Peticolas
cd6070bb00 * src/scm/report/income-expense-graph.scm: work on display
* src/scm/html-utilities.scm (gnc:account-anchor-text): new func

	* src/gnome/gnc-html.c: check for null args

	* src/scm/report/income-or-expense-pie.scm: work on display

	* src/scm/html-utilities.scm: add function for assigning colors

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

	* src/engine/Transaction.c (xaccSplitGetCorrAccountName): i18n
	(xaccSplitGetCorrAccountCode): i18n

	* src/guile/gnucash.c.in (gnucash_lowlev_app_init): update
	last stable version

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

	* src/scm/report/register.scm: add api for printing a
	register report. more work on display

	* src/gnome/window-report.c (gnc_print_report): add api
	for printing reports

	* src/gnome/gnc-html.c: check for no urltype callback

	* src/scm/report/stylesheet-plain.scm: add some more space
	between table cells

	* src/gnome/window-register.c: add support for printing reports

	* src/guile/gnc.gwp: add print report api

	* src/gnome/gnc-html.c: use PWARN, not printf


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3806 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 11:27:14 +00:00
Dave Peticolas
76d96f764a Add ignored files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3804 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 02:10:39 +00:00
Dave Peticolas
e86b10a732 Robert Graham Merkel's income/expense graphs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3803 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-20 02:08:30 +00:00
Dave Peticolas
e4c5824bb5 Fix rpm spec file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3802 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 22:50:59 +00:00
Dave Peticolas
9f379e7fb7 Derek Atkins' RPC backend patch.
* src/engine/rpc/*: Gnucash RPC Subsystem (Backend and Server).
          Still considered experimental.  Note that the RPC protocol may
          change over time causing client/server incompatibilities between
          various versions of client and server.

        * configure.in: Add option to --enable-rpc.  Hook in RPC Subsystem

        * src/engine/Account.c: Fix for initial balance on
          stock/etc. accounts.  In particular, don't set to zero if there
          are no splits.

        * src/engine/Backend.h: New RPC errors

        * src/engine/Query.{c,h}: Add function to obtain the internal
          Query Predicate functions (for use in rebuilding Queries from
          the RPC subsystem)

        * src/engine/Transaction.c: Be sure to call the backend in
          xaccTransRollbackEdit()

        * src/engine/gnc-book.{c,h}: Added gnc_run_rpc_server() function.
                Added hooks to call RPC Backend

        * src/guile/gnc.gwp: added gnc_rpc_server() and new RPC Backend errors

        * src/scm/command-line.scm: added --rpc-server optio

        * src/engine/Makefile.am: Added RPC subdir


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3801 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 21:49:54 +00:00
Dave Peticolas
afda83308b * src/gnome/gnc-dir.h.in: move to src/gnome. fix for make dist
tarballs

	* src/gnome/Makefile.am: add gnc-dir.h target

	* src/Makefile.am: remove gnc-dir.h target

	* src/quotes/Makefile.am: add gnc-prices to dist


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3800 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 11:03:30 +00:00
Dave Peticolas
69c0ce36d0 Update po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3799 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 10:06:39 +00:00
Dave Peticolas
9f6d18869d * src/scm/report/transaction-report.scm (record): use number-cell
style

	* src/scm/report/register.scm: use number-cell style

	* src/engine/gnc-pricedb.c (gnc_price_unref): unref quote source

	* src/engine/gnc-pricedb.c (compare_prices_by_date): sort
	in descending order so the most recent quote is first.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3798 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-19 09:31:54 +00:00
Dave Peticolas
b610c3e299 * AUTHORS: update author info
* doc/sgml/C/xacc-about.sgml: update author info

	* src/gnome/top-level.c: add VERSION arg to gnome_init


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3797 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-18 12:43:02 +00:00
Dave Peticolas
e34d033856 Rob Browning's update to gnc-prices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3792 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-18 08:23:42 +00:00
Dave Peticolas
f45168a24e Derek Atkins' patch removing gnc-prices from the build system.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3791 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-17 00:18:51 +00:00
Dave Peticolas
d9c3fc6199 Derek Atkins' fix for the pricedb api changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3790 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-17 00:02:41 +00:00
Dave Peticolas
6a254bd1c2 Fix ignore file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3789 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-16 22:52:04 +00:00
Dave Peticolas
e81dde864b Rob Browning's patch.
* src/scm/utilities.scm
	(item-list->hash!): new - fancy (possibly over-customizable)
	list->hash converter function.
	(filteroutnulls): simplify via SRFI-1.
	(flatten): speedup - avoid intermediate appends.
	(striptrailingwhitespace): speedup - avoid intermediate substrings.
	(string-join): speedup - (maybe), trade string-appends for conses.

	* src/scm/process.scm
	(gnc:run-sub-process): renamed from run-sub-process.
	(gnc:cleanup-sub-process): new - take various steps to make sure
	we don't leave a zombie lying around.

	* src/scm/price-quotes.scm: substantial rework - now much smarter,
	though still a bit too obfuscated.

	* src/scm/engine-utilities.scm: various cleanups, speedups, and
	new functions.
	(gnc:filename->book): deleted.
	(gnc:call-with-account-data-from-file): deleted.
	(gnc:url->loaded-book): new function.

	* src/scm/command-line.scm (gnc:*arg-defs*): add
	--add-price-quotes option.

	* src/quotes/finance-quote-helper.in: new file - renamed from
	price-quote-helper.in.

	* src/quotes/README: various updates.

	* src/quotes/Quote_example.pl: document that we *don't* use the
	"fetch" method in gnucash.

	* src/quotes/gnc-prices: new file -- replaces gnc-prices.in and is
	now just a wrapper for "gnucash --add-price-quotes".

	* src/quotes/Makefile.am: accomodated renaming of
	price-quote-helper to finance-quote-helper.  Also moved
	finance-quote-helper to GNC_SHAREDIR from pkgdatadir.
	(gncsharedir): grab GNC_SHAREDIR.
	(gncshare_SCRIPTS): put finance-quote-helper in GNC_SHAREDIR.

	* src/guile/gnc.gwp: wraped new quote timezone API.  Added new
	gnc-book wrappers and new pricedb wrappers -- still not finished.

	* src/gnome/gnc-dialogs.glade: add quote timezone menu.

	* src/gnome/dialog-utils.h: added prototypes for timezone menu
	funcs.

	* src/gnome/dialog-utils.c:
	(known_timezones): new - list of quote timezones we support.
	(gnc_find_timezone_menu_position): new.
	(gnc_timezone_menu_position_to_string): new.
	(gnc_ui_quote_tz_menu_create): new.

	* src/gnome/dialog-account.c
	(struct _AccountWindow): add quote_tz_menu.
	(gnc_account_to_ui): support quote_tz_menu.
	(gnc_ui_to_account): support quote_tz_menu.
	(gnc_account_window_create): create quote_tz_menu.

	* src/gnc-ui-util.h: warn to update price-quotes.scm when
	PriceSourceCode changes.

	* src/engine/io-gncbin-r.c
	(cvt_potential_prices_to_pricedb_and_cleanup): Timespec* ->
	Timespec for price time function(s).

	* src/engine/gnc-pricedb.h: Timespec* -> Timespec for time
	functions.

	* src/engine/gnc-pricedb.c
	(gnc_price_clone): re-enable, and Timespec* -> Timespec
	(gnc_price_set_time): Timespec* -> Timespec
	(gnc_price_get_time): Timespec* -> Timespec
	(compare_prices_by_date): Timespec* -> Timespec
	(gnc_pricedb_lookup_at_time): Timespec* -> Timespec
	(gnc_price_print): minor fixes (still lame).
	(gnc_price_print_stdout): new (for lame guile side debugging).

	* src/engine/gnc-pricedb-xml-v1.c: change price time args/results
	from Timespec* to Timespec (to be more guile friendly).

	* src/engine/gnc-book.c (gnc_book_init): be more thorough.

	* src/engine/Backend.h: warn to update gnc.gwp on some mods.

	* src/engine/Account.h: support new funcs and update docs.

	* src/engine/Account.c
	(xaccAccountSetQuoteTZ): new.
	(xaccAccountGetQuoteTZ): new.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3788 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-16 22:49:12 +00:00
Dave Peticolas
0caac4d270 * src/scm/report/transaction-report.scm: add line before
grand total

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

	* src/gnome/window-register.c: display shares & current value
	in stock registers.

	* src/engine/gnc-pricedb.h: fix spelling error

	* src/gnc-exp-parser.c (gnc_exp_parser_parse): check for
	bad numeric value

	* src/calculation/finvar.h: add new parser error type

	* src/gnome/dialog-transfer.c (gnc_xfer_dialog_create): don't
	set editable_enters for amount field

	* src/engine/gnc-numeric.c: check for invalid arg


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3787 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-16 11:22:06 +00:00
Dave Peticolas
8dca9f3aee * src/engine/sixtp-to-dom-parser.c (dom_chars_handler): use
xmlNodeAddContentLen


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3786 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-16 07:32:18 +00:00
Dave Peticolas
20e123a0ea * src/gnome/gnc-dialogs.glade: tweak stylesheet dialog
* src/gnome/dialog-style-sheet.c: tweak looks

	* src/scm/report/register.scm: new report

	* src/guile/gnc.gwp: g-wrap new query api

	* src/gnome/window-register.c: add report menu and toolbar items

	* src/engine/Query.c: handle NULL pointers, add api to get list
	of splits with unique transactions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3784 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-15 12:43:01 +00:00