Future default file extension is .gnucash, so

- rename example files to this extension
- replace references to the old extension where appropriate

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19319 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2010-06-30 20:17:37 +00:00
parent fb7be5d6ef
commit 207c54a680
18 changed files with 31 additions and 31 deletions

2
README
View File

@ -199,7 +199,7 @@ You can also run gnucash --help for the command line options.
You can start GnuCash at the command-line, with "gnucash" or "gnucash You can start GnuCash at the command-line, with "gnucash" or "gnucash
<filename>", where <filename> is a GnuCash account file. Sample <filename>", where <filename> is a GnuCash account file. Sample
accounts can be found in "data" subdirectory. *.xac files are GnuCash accounts can be found in "data" subdirectory. *.gnucash files are GnuCash
accounts that can opened with the "Open File" menu entry. *.qif files accounts that can opened with the "Open File" menu entry. *.qif files
are Quicken Import Format files that can be opened with the "Import are Quicken Import Format files that can be opened with the "Import
QIF" menu entry. QIF" menu entry.

View File

@ -11,22 +11,22 @@ doc_DATA = \
abc.qif \ abc.qif \
bogus.qif \ bogus.qif \
cbb-export.qif \ cbb-export.qif \
currency.xac \ currency.gnucash \
currency_tree_xml.xac \ currency_tree_xml.gnucash \
every.qif \ every.qif \
ms-money.qif \ ms-money.qif \
quicktest.qif \ quicktest.qif \
splitdemo.xac \ splitdemo.gnucash \
swipe.qif \ swipe.qif \
taxreport.xac \ taxreport.gnucash \
test.xac \ test.gnucash \
test2.xac \ test2.gnucash \
test3.xac \ test3.gnucash \
test4.xac \ test4.gnucash \
trading.xac \ trading.gnucash \
trading2.xac \ trading2.gnucash \
web.qif \ web.qif \
xfer.xac xfer.gnucash
EXTRA_DIST = \ EXTRA_DIST = \
${doc_DATA} ${doc_DATA}

View File

@ -52,28 +52,28 @@ test_strings strs[] =
#ifndef G_OS_WIN32 #ifndef G_OS_WIN32
/* basic file tests in posix like environment */ /* basic file tests in posix like environment */
{ {
"/test/path/file.xacc", FALSE, "/test/path/file.gnucash", FALSE,
"file", NULL, NULL, NULL, "/test/path/file.xacc", 0, "file", NULL, NULL, NULL, "/test/path/file.gnucash", 0,
"file:///test/path/file.xacc", "file:///test/path/file.gnucash",
"file:///test/path/file.xacc", TRUE "file:///test/path/file.gnucash", TRUE
}, },
{ {
"file:///test/path/file.xacc", FALSE, "file:///test/path/file.gnucash", FALSE,
"file", NULL, NULL, NULL, "/test/path/file.xacc", 0, "file", NULL, NULL, NULL, "/test/path/file.gnucash", 0,
"file:///test/path/file.xacc", "file:///test/path/file.gnucash",
"file:///test/path/file.xacc", TRUE "file:///test/path/file.gnucash", TRUE
}, },
{ {
"xml:///test/path/file.xacc", FALSE, "xml:///test/path/file.gnucash", FALSE,
"xml", NULL, NULL, NULL, "/test/path/file.xacc", 0, "xml", NULL, NULL, NULL, "/test/path/file.gnucash", 0,
"xml:///test/path/file.xacc", "xml:///test/path/file.gnucash",
"xml:///test/path/file.xacc", TRUE "xml:///test/path/file.gnucash", TRUE
}, },
{ {
"sqlite3:///test/path/file.xacc", FALSE, "sqlite3:///test/path/file.gnucash", FALSE,
"sqlite3", NULL, NULL, NULL, "/test/path/file.xacc", 0, "sqlite3", NULL, NULL, NULL, "/test/path/file.gnucash", 0,
"sqlite3:///test/path/file.xacc", "sqlite3:///test/path/file.gnucash",
"sqlite3:///test/path/file.xacc", TRUE "sqlite3:///test/path/file.gnucash", TRUE
}, },
#else #else
/* basic file tests in windows environment */ /* basic file tests in windows environment */

View File

@ -224,7 +224,7 @@ main (int argc, char *argv[])
/* this should really be an SQL server */ /* this should really be an SQL server */
book = qof_book_new (); book = qof_book_new ();
rc = gnc_book_begin (book, "file:/tmp/demo.xac", FALSE); rc = gnc_book_begin (book, "file:/tmp/demo.gnucash", FALSE);
if (!rc) goto bookerrexit; if (!rc) goto bookerrexit;
rc = gnc_book_load (book); rc = gnc_book_load (book);

View File

@ -34,7 +34,7 @@ main (int argc, char *argv[])
/* contact the database, which is a flat file for this demo */ /* contact the database, which is a flat file for this demo */
book = qof_book_new (); book = qof_book_new ();
rc = gnc_book_begin (book, "file:/tmp/demo.xac", FALSE); rc = gnc_book_begin (book, "file:/tmp/demo.gnucash", FALSE);
if (!rc) if (!rc)
{ {
int err = gnc_book_get_error (book); int err = gnc_book_get_error (book);

View File

@ -36,7 +36,7 @@ main (int argc, char *argv[])
/* contact the database, which is a flat file for this demo */ /* contact the database, which is a flat file for this demo */
book = qof_book_new (); book = qof_book_new ();
rc = gnc_book_begin (book, "file:/tmp/demo.xac", FALSE); rc = gnc_book_begin (book, "file:/tmp/demo.gnucash", FALSE);
if (!rc) goto bookerrexit; if (!rc) goto bookerrexit;
rc = gnc_book_load (book); rc = gnc_book_load (book);