* src/engine/Transaction.[ch] (xaccSplitGetCorrAccountFullName): new
functions. (xaccSplitCompareAccountNames): rename
to xaccSplitCompareAccountFullNames and compare using full names.
(xaccSplitCompareOtherAccountNames): renaming as above.
* src/engine/Query.[ch]: rename sort enumeration values.
* src/guile/gnc.gwp: update to match above changes.
* src/scm/report-utilities.scm (gnc:split-get-corr-account-full-name):
new function.
* src/scm/report/transaction-report.scm: use above changes to sort
and optionally display full account names. Fix unrelated bugs with
sorting options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3948 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report.scm: add menu names and menu tips to reports
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3947 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report/average-balance.scm, category-barchart.scm,
income-expense-graph.scm, net-worth-timeseries.scm, portfolio.scm:
Added menu-path for reports.
* src/scm/report/account-piecharts.scm: Report title is now
fetched from Reportname option. Slices and legend now have
different URLs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3946 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report/account-piecharts.scm: Simplified anchors for
other reports by using gnc:make-report-anchor.
* src/scm/html-utilities.scm (gnc:make-report-anchor): New
function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3935 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/gnc-commodity.c (gnc_commodity_table_remove): new func
* src/engine/gnc-commodity.h: add ASX namespace
* src/gnome/dialog-commodity.c (gnc_ui_edit_commodity_modal): new
func. unfinished. rename some functions to reflect that it's also
an editing dialog now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3934 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/options.scm (gnc:options-copy-values): New function.
* src/scm/report/account-piecharts.scm: Added anchors to yet other
reports on the slices of the pie. Simplified creation of other
report's options.
* src/scm/report/category-barchart.scm: Simplified creation of
other report's options.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3933 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report/report-list.scm: Renamed file.
* src/scm/report/account-piecharts.scm: Renamed to this filename
(used to be: income-or-expense-pie.scm). Introduced some more
generality such that this file also has an asset and a liability
balance piechart.
* src/scm/report/category-barchart.scm: Introduced some
more generality such that this file also has a asset and liability
balance barchart.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3930 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report/net-worth-timeseries.scm: Fixed date argument
bug. Added auto label rotation.
* src/scm/date-utilities.scm: Renamed gnc:dateloop to
gnc:make-date-interval-list and gnc:dateloop-simple to
gnc:make-date-list.
* src/scm/report/category-barchart.scm, income-expense-graph.scm:
Adapt to gnc:dateloop's namechange.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3920 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report/net-worth-timeseries.scm: New file. You guessed
it, a time series net worth barchart.
* src/scm/report/date-utilities.scm: add gnc:dateloop-simple to
generate simple timeseries for net worth barchart.
* src/scm/report/{Makefile.am, report-list.scm}: add new barchart.
* src/scm/report/balance-sheet.scm (balance-sheet-renderer):
use gnc:decompose-accounts to split up accounts.
* src/scm/report-utilities.scm (gnc:decompose-accountlist):
add credit accounts to the list of liability accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3919 57a11ea4-9604-0410-9ed3-97b8803252fd
(qrestore_datepred_start_handler): use g_new0 instead of bzero --
more portable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3909 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/sql/PostgresBackend.c: include ctype.h for tolower
* src/engine/guid.h: include stddef.h for size_t
* src/engine/gnc-engine-util.h: include stddef.h for size_t
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3908 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/text-export.scm: fix for api change
* src/scm/report-utilities.scm: fix for api change
* src/scm/engine-utilities.scm: change gnc:group-map-accounts
to gnc:group-map-all-accounts. make gnc:group-map-accounts do
only the immediate children.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3907 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report/balance-sheet.scm: Major overhaul. Adapted to new
options in gnc:html-build-acct-table. Cleaned up code. Corrected
column alignment.
* src/scm/html-utilities.scm (gnc:html-table-append-ruler!): New
function.
(gnc:html-build-acct-table): Added new arguments for how to show
non-leaf accounts: with subtotal or not, with own balance or
not. Removed some empty lines in the html-table.
* src/scm/report/pnl.scm, account-summary.scm: Added support for
new gnc:html-build-acct-tree options.
* src/scm/report-utilities.scm (gnc:decompose-accountlist): Added
equity accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3899 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/html-table.scm (gnc:html-table-remove-last-row!): Added
function.
* src/scm/html-utilities.scm (gnc:html-build-acct-table): Added
removal of the last empty line above the total sum.
* src/scm/html-document.scm: changed rendering of #f from one
whitespace to equally arbitrary three whitespaces. FIXME: This
should be configurable by a style-sheet.
* src/scm/report/pnl.scm: deactivated column headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3895 57a11ea4-9604-0410-9ed3-97b8803252fd
(gnucash_register_goto_next_trans_row): new func.
* src/gnome/window-register.c: make 'enter' toolbar button
move to next transaction
* src/gnome/dialog-tax-info.c: more work
* src/gnome/dialog-account.c: allow opening balances to come
from other accounts
* src/gnome/dialog-totd.c (totd_close_cb): don't bother with the
help dialog after disabling tips
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3891 57a11ea4-9604-0410-9ed3-97b8803252fd