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
<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
are Quicken Import Format files that can be opened with the "Import
QIF" menu entry.

View File

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

View File

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

View File

@ -224,7 +224,7 @@ main (int argc, char *argv[])
/* this should really be an SQL server */
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;
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 */
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)
{
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 */
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;
rc = gnc_book_load (book);