r16805 - gnucash/trunk/src - Implement a Report GUID.

Andrew Sackville-West andrewsw at cvs.gnucash.org
Sat Jan 5 01:42:22 EST 2008


Author: andrewsw
Date: 2008-01-05 01:42:21 -0500 (Sat, 05 Jan 2008)
New Revision: 16805
Trac: http://svn.gnucash.org/trac/changeset/16805

Modified:
   gnucash/trunk/src/business/business-reports/easy-invoice.scm
   gnucash/trunk/src/business/business-reports/fancy-invoice.scm
   gnucash/trunk/src/business/business-reports/invoice.scm
   gnucash/trunk/src/business/business-reports/owner-report.scm
   gnucash/trunk/src/business/business-reports/payables.scm
   gnucash/trunk/src/business/business-reports/receivables.scm
   gnucash/trunk/src/report/locale-specific/us/taxtxf-de_DE.scm
   gnucash/trunk/src/report/locale-specific/us/taxtxf.scm
   gnucash/trunk/src/report/report-gnome/report-gnome.scm
   gnucash/trunk/src/report/report-system/report-system.scm
   gnucash/trunk/src/report/report-system/report.scm
   gnucash/trunk/src/report/standard-reports/account-piecharts.scm
   gnucash/trunk/src/report/standard-reports/account-summary.scm
   gnucash/trunk/src/report/standard-reports/advanced-portfolio.scm
   gnucash/trunk/src/report/standard-reports/average-balance.scm
   gnucash/trunk/src/report/standard-reports/balance-sheet.scm
   gnucash/trunk/src/report/standard-reports/budget.scm
   gnucash/trunk/src/report/standard-reports/cash-flow.scm
   gnucash/trunk/src/report/standard-reports/category-barchart.scm
   gnucash/trunk/src/report/standard-reports/daily-reports.scm
   gnucash/trunk/src/report/standard-reports/equity-statement.scm
   gnucash/trunk/src/report/standard-reports/general-journal.scm
   gnucash/trunk/src/report/standard-reports/general-ledger.scm
   gnucash/trunk/src/report/standard-reports/income-statement.scm
   gnucash/trunk/src/report/standard-reports/net-barchart.scm
   gnucash/trunk/src/report/standard-reports/portfolio.scm
   gnucash/trunk/src/report/standard-reports/price-scatter.scm
   gnucash/trunk/src/report/standard-reports/register.scm
   gnucash/trunk/src/report/standard-reports/transaction.scm
   gnucash/trunk/src/report/standard-reports/trial-balance.scm
   gnucash/trunk/src/report/utility-reports/hello-world.scm
   gnucash/trunk/src/report/utility-reports/test-graphing.scm
   gnucash/trunk/src/report/utility-reports/view-column.scm
   gnucash/trunk/src/report/utility-reports/welcome-to-gnucash.scm
Log:
Implement a Report GUID.

This is an internal representation of the report. It frees up the various name
fields for translation/changes without concern about it breaking reports*. Each
report is now assigned a GUID that refers to that specific report. All
reference to the report is now done with this GUID.

Support is included for using existing open or saved reports of the old
reference-by-name type. The user is warned of the existence of saved reports
without a GUID. Support is also provided to allow reports saved or left open
using the new report-guid reference to be accessed in 2.2.3(?) versions in case
user downgrades.

IMPORTANT: All saved or open reports created using these changes *will* *cause*
*application* *crashes* if accessed in versions prior to r16804. Earlier
versions have neither the new functions nor the report-record fields
implemented here. It is a one-way trip from pre-r16804 to here. I hope that is
clear enough ;)

* going forward only. name changes will still break non-report-guid saved or
open reports.




More information about the gnucash-patches mailing list