r14979 - gnucash/branches/swig-redo/src - Automated rename of engine swig-wrapped functions to their swig-names.

Chris Shoemaker chris at cvs.gnucash.org
Mon Oct 9 20:09:52 EDT 2006


Author: chris
Date: 2006-10-09 20:09:47 -0400 (Mon, 09 Oct 2006)
New Revision: 14979
Trac: http://svn.gnucash.org/trac/changeset/14979

Modified:
   gnucash/branches/swig-redo/src/app-utils/app-utils.scm
   gnucash/branches/swig-redo/src/app-utils/date-utilities.scm
   gnucash/branches/swig-redo/src/app-utils/hooks.scm
   gnucash/branches/swig-redo/src/app-utils/options.scm
   gnucash/branches/swig-redo/src/business/business-gnome/business-gnome.scm
   gnucash/branches/swig-redo/src/business/business-reports/aging.scm
   gnucash/branches/swig-redo/src/business/business-reports/easy-invoice.scm
   gnucash/branches/swig-redo/src/business/business-reports/fancy-invoice.scm
   gnucash/branches/swig-redo/src/business/business-reports/invoice.scm
   gnucash/branches/swig-redo/src/business/business-reports/owner-report.scm
   gnucash/branches/swig-redo/src/business/business-utils/business-options.scm
   gnucash/branches/swig-redo/src/business/business-utils/business-prefs.scm
   gnucash/branches/swig-redo/src/engine/engine-interface.scm
   gnucash/branches/swig-redo/src/engine/gnc-numeric.scm
   gnucash/branches/swig-redo/src/engine/test/test-create-account.scm
   gnucash/branches/swig-redo/src/engine/test/test-scm-query-import.scm
   gnucash/branches/swig-redo/src/import-export/qif-import/qif-dialog-utils.scm
   gnucash/branches/swig-redo/src/import-export/qif-import/qif-file.scm
   gnucash/branches/swig-redo/src/import-export/qif-import/qif-guess-map.scm
   gnucash/branches/swig-redo/src/import-export/qif-import/qif-merge-groups.scm
   gnucash/branches/swig-redo/src/import-export/qif-import/qif-objects.scm
   gnucash/branches/swig-redo/src/import-export/qif-import/qif-parse.scm
   gnucash/branches/swig-redo/src/import-export/qif-import/qif-to-gnc.scm
   gnucash/branches/swig-redo/src/import-export/qif-io-core/qif-acct-table.scm
   gnucash/branches/swig-redo/src/import-export/qif-io-core/qif-bank-xtn-import.scm
   gnucash/branches/swig-redo/src/import-export/qif-io-core/qif-format-check.scm
   gnucash/branches/swig-redo/src/import-export/qif-io-core/qif-invst-xtn-import.scm
   gnucash/branches/swig-redo/src/import-export/qif-io-core/qif-parse.scm
   gnucash/branches/swig-redo/src/import-export/qif-io-core/test/test-import-phase-1.scm
   gnucash/branches/swig-redo/src/import-export/qif-io-core/test/test-parser.scm
   gnucash/branches/swig-redo/src/report/locale-specific/us/taxtxf-de_DE.scm
   gnucash/branches/swig-redo/src/report/locale-specific/us/taxtxf.scm
   gnucash/branches/swig-redo/src/report/report-gnome/report-gnome.scm
   gnucash/branches/swig-redo/src/report/report-system/commodity-utilities.scm
   gnucash/branches/swig-redo/src/report/report-system/html-acct-table.scm
   gnucash/branches/swig-redo/src/report/report-system/html-barchart.scm
   gnucash/branches/swig-redo/src/report/report-system/html-piechart.scm
   gnucash/branches/swig-redo/src/report/report-system/html-scatter.scm
   gnucash/branches/swig-redo/src/report/report-system/html-style-info.scm
   gnucash/branches/swig-redo/src/report/report-system/html-style-sheet.scm
   gnucash/branches/swig-redo/src/report/report-system/html-utilities.scm
   gnucash/branches/swig-redo/src/report/report-system/report-system.scm
   gnucash/branches/swig-redo/src/report/report-system/report-utilities.scm
   gnucash/branches/swig-redo/src/report/report-system/report.scm
   gnucash/branches/swig-redo/src/report/standard-reports/account-piecharts.scm
   gnucash/branches/swig-redo/src/report/standard-reports/account-summary.scm
   gnucash/branches/swig-redo/src/report/standard-reports/advanced-portfolio.scm
   gnucash/branches/swig-redo/src/report/standard-reports/average-balance.scm
   gnucash/branches/swig-redo/src/report/standard-reports/balance-sheet.scm
   gnucash/branches/swig-redo/src/report/standard-reports/budget.scm
   gnucash/branches/swig-redo/src/report/standard-reports/cash-flow.scm
   gnucash/branches/swig-redo/src/report/standard-reports/category-barchart.scm
   gnucash/branches/swig-redo/src/report/standard-reports/daily-reports.scm
   gnucash/branches/swig-redo/src/report/standard-reports/equity-statement.scm
   gnucash/branches/swig-redo/src/report/standard-reports/general-journal.scm
   gnucash/branches/swig-redo/src/report/standard-reports/income-statement.scm
   gnucash/branches/swig-redo/src/report/standard-reports/net-barchart.scm
   gnucash/branches/swig-redo/src/report/standard-reports/portfolio.scm
   gnucash/branches/swig-redo/src/report/standard-reports/price-scatter.scm
   gnucash/branches/swig-redo/src/report/standard-reports/register.scm
   gnucash/branches/swig-redo/src/report/standard-reports/transaction.scm
   gnucash/branches/swig-redo/src/report/standard-reports/trial-balance.scm
   gnucash/branches/swig-redo/src/report/stylesheets/stylesheet-easy.scm
   gnucash/branches/swig-redo/src/report/stylesheets/stylesheet-fancy.scm
   gnucash/branches/swig-redo/src/report/utility-reports/hello-world.scm
   gnucash/branches/swig-redo/src/scm/command-line.scm
   gnucash/branches/swig-redo/src/scm/main-window.scm
   gnucash/branches/swig-redo/src/scm/price-quotes.scm
   gnucash/branches/swig-redo/src/tax/us/txf-de_DE.scm
Log:
Automated rename of engine swig-wrapped functions to their swig-names.

s/gnc:query-set-book/qof-query-set-book/g

s/gnc:account-get-commodity/xaccAccountGetCommodity/g
s/gnc:account-set-commodity/xaccAccountSetCommodity/g
s/gnc:transaction-get-currency/xaccTransGetCurrency/g
s/gnc:transaction-set-currency/xaccTransSetCurrency/g

s/'query-and/QOF-QUERY-AND/g
s/'query-or/QOF-QUERY-OR/g
s/'query-compare-equal/QOF-COMPARE-EQUAL/g

s/'\?amt-sgn-match-either/QOF-NUMERIC-MATCH-ANY/g
s/'\?amt-sgn-match-credit/QOF-NUMERIC-MATCH-CREDIT/g
s/'\?amt-sgn-match-debit/QOF-NUMERIC-MATCH-DEBIT/g

s/'\?cleared-match-no/CLEARED-NO/g
s/'\?cleared-match-cleared/CLEARED-CLEARED/g
s/'\?cleared-match-reconciled/CLEARED-RECONCILED/g
s/'\?cleared-match-frozen/CLEARED-FROZEN/g
s/'\?cleared-match-voided/CLEARED-VOIDED/g

s/'guid-match-all/QOF-GUID-MATCH-ALL/g
s/'guid-match-any/QOF-GUID-MATCH-ANY/g
s/'guid-match-none/QOF-GUID-MATCH-NONE/g

s/'query-txn-match-all/QUERY-TXN-MATCH-ALL/g
s/'query-txn-match-any/QUERY-TXN-MATCH-ANY/g

#### Kvp Stuff

s/kvp-type-gint64/KVP-TYPE-GINT64/g
s/kvp-type-double/KVP-TYPE-DOUBLE/g
s/kvp-type-numeric/KVP-TYPE-NUMERIC/g
s/kvp-type-string/KVP-TYPE-STRING/g
s/kvp-type-guid/KVP-TYPE-GUID/g
s/kvp-type-timespec/KVP-TYPE-TIMESPEC/g
s/kvp-type-binary/KVP-TYPE-BINARY/g
s/kvp-type-glist/KVP-TYPE-GLIST/g
s/kvp-type-frame/KVP-TYPE-FRAME/g
s/gnc:kvp-frame-delete-at-path/gnc-kvp-frame-delete-at-path/g
s/gnc:kvp-frame-set-slot-path/kvp-frame-set-slot-path-gslist/g
s/gnc:kvp-frame-get-slot-path/kvp-frame-get-slot-path-gslist/g
s/gnc:book-get-slots/gnc-book-get-slots/g

#### QofIDType Stuff
s/gnc:id-book/QOF-ID-BOOK-SCM/g
s/gnc:query-default-sort/QUERY-DEFAULT-SORT/g

s/gnc:split-lot/SPLIT-LOT/g
s/gnc:split-trans/SPLIT-TRANS/g
s/gnc:split-account /SPLIT-ACCOUNT /g
s/gnc:split-value/SPLIT-VALUE/g
s/gnc:split-memo/SPLIT-MEMO/g
s/gnc:split-date-reconciled/SPLIT-DATE-RECONCILED/g

s/gnc:trans-date-posted/TRANS-DATE-POSTED/g
s/gnc:trans-desc/TRANS-DESCRIPTION/g
s/gnc:trans-num/TRANS-NUM/g

s/gnc:account-code)/ACCOUNT-CODE-)/g

s/gnc:split-account-fullname/SPLIT-ACCT-FULLNAME/g
s/gnc:split-corr-account-fullname/SPLIT-CORR-ACCT-FULLNAME/g
s/gnc:split-corr-account-code/SPLIT-CORR-ACCT-CODE/g

s/gnc:invoice-from-txn/INVOICE-FROM-TXN/g
s/gnc:invoice-owner/INVOICE-OWNER/g
s/gnc:owner-parentg/OWNER-PARENTG/g
s/gnc:owner-from-lot/OWNER-FROM-LOT/g
s/gnc:invoice-from-lot/INVOICE-FROM-LOT/g

s/gnc:query-add-guid-match/qof-query-add-guid-match/g
s/gnc:query-set-sort-order/qof-query-set-sort-order/g


#### Session Stuff

s/gnc:session-new/qof-session-new/g
s/gnc:session-get-book/qof-session-get-book/g

#### Book stuff

s/gnc:book-get-group/xaccGetAccountGroup/g
s/gnc:book-get-template-group/gnc-book-get-template-group/g
s/gnc:book-get-commodity-table/gnc-commodity-table-get-table/g
s/gnc:book-get-pricedb/gnc-pricedb-get-db/g
s/gnc:book-kvp-changed/qof-book-kvp-changed/g

s/gnc:print-date/gnc-print-date/g

s/gnc:commodity-create/gnc-commodity-new/g
s/gnc:commodity-get-exchange-code/gnc-commodity-get-cusip/g
s/gnc:commodity-is-currency?/gnc-commodity-is-currency/g
s/gnc:commodity-equiv?/gnc-commodity-equiv/g
# oops, this gets some unwanted functions, oh well.
s/gnc:commodity-/gnc-commodity-/g


s/gnc:double-to-gnc-numeric/double-to-gnc-numeric/g
s/gnc:numeric-collector/zymurgy/g
s/gnc:numeric-/gnc-numeric-/g
s/zymurgy/gnc:numeric-collector/g

s/gnc:timepair-canonical-day-time/timespecCanonicalDayTime/g

s/gnc:build-dotgnucash-path/gnc-build-dotgnucash-path/g

s/gnc:\*report-hook\*/HOOK-REPORT/g
s/gnc:\*save-options-hook\*/HOOK-SAVE-OPTIONS/g
s/gnc:hook-add-dangler/gnc-hook-add-scm-dangler/g
s/gnc:hook-run-danglers-real/gnc-hook-run/g

#### Price stuff

s/gnc:price-create/gnc-price-create/g
s/gnc:price-get-guid/gncPriceGetGUID/g
s/gnc:price-unref/gnc-price-unref/g
s/gnc:price-set-commodity/gnc-price-set-commodity/g
s/gnc:price-set-currency/gnc-price-set-currency/g
s/gnc:price-set-time/gnc-price-set-time/g
s/gnc:price-set-source/gnc-price-set-source/g
s/gnc:price-set-type/gnc-price-set-type/g
s/gnc:price-set-value/gnc-price-set-value/g

s/gnc:price-get-commodity/gnc-price-get-commodity/g
s/gnc:price-get-currency/gnc-price-get-currency/g
s/gnc:price-get-time/gnc-price-get-time/g
#s/gnc:price-set-source/gnc-price-set-source/g
#s/gnc:price-set-type/gnc-price-set-type/g
s/gnc:price-get-value/gnc-price-get-value/g

s/gnc:price-list-destroy/gnc-price-list-destroy/g
s/gnc:pricedb-/gnc-pricedb-/g
s/gnc:quote-source-set-fq-installed/gnc-quote-source-set-fq-installed/g





More information about the gnucash-patches mailing list