r19319 - gnucash/trunk - Future default file extension is .gnucash, so

Geert Janssens gjanssens at code.gnucash.org
Wed Jun 30 16:17:38 EDT 2010


Author: gjanssens
Date: 2010-06-30 16:17:37 -0400 (Wed, 30 Jun 2010)
New Revision: 19319
Trac: http://svn.gnucash.org/trac/changeset/19319

Added:
   gnucash/trunk/doc/examples/currency.gnucash
   gnucash/trunk/doc/examples/currency_tree_xml.gnucash
   gnucash/trunk/doc/examples/reg_doc_example.gnucash
   gnucash/trunk/doc/examples/splitdemo.gnucash
   gnucash/trunk/doc/examples/taxreport.gnucash
   gnucash/trunk/doc/examples/test.gnucash
   gnucash/trunk/doc/examples/test2.gnucash
   gnucash/trunk/doc/examples/test3.gnucash
   gnucash/trunk/doc/examples/test4.gnucash
   gnucash/trunk/doc/examples/trading.gnucash
   gnucash/trunk/doc/examples/trading2.gnucash
   gnucash/trunk/doc/examples/xfer.gnucash
Removed:
   gnucash/trunk/doc/examples/currency.xac
   gnucash/trunk/doc/examples/currency_tree_xml.xac
   gnucash/trunk/doc/examples/reg_doc_example.xac
   gnucash/trunk/doc/examples/splitdemo.xac
   gnucash/trunk/doc/examples/taxreport.xac
   gnucash/trunk/doc/examples/test.xac
   gnucash/trunk/doc/examples/test2.xac
   gnucash/trunk/doc/examples/test3.xac
   gnucash/trunk/doc/examples/test4.xac
   gnucash/trunk/doc/examples/trading.xac
   gnucash/trunk/doc/examples/trading2.xac
   gnucash/trunk/doc/examples/xfer.xac
Modified:
   gnucash/trunk/README
   gnucash/trunk/doc/examples/Makefile.am
   gnucash/trunk/src/core-utils/test/test-gnc-uri-utils.c
   gnucash/trunk/src/experimental/cgi-bin/gnc-server.c
   gnucash/trunk/src/experimental/cgi-bin/hello2.c
   gnucash/trunk/src/experimental/cgi-bin/hello3.c
Log:
Future default file extension is .gnucash, so
- rename example files to this extension
- replace references to the old extension where appropriate

Modified: gnucash/trunk/README
===================================================================
--- gnucash/trunk/README	2010-06-30 20:15:00 UTC (rev 19318)
+++ gnucash/trunk/README	2010-06-30 20:17:37 UTC (rev 19319)
@@ -199,7 +199,7 @@
 
 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.

Modified: gnucash/trunk/doc/examples/Makefile.am
===================================================================
--- gnucash/trunk/doc/examples/Makefile.am	2010-06-30 20:15:00 UTC (rev 19318)
+++ gnucash/trunk/doc/examples/Makefile.am	2010-06-30 20:17:37 UTC (rev 19319)
@@ -11,22 +11,22 @@
   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}

Copied: gnucash/trunk/doc/examples/currency.gnucash (from rev 19302, gnucash/trunk/doc/examples/currency.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/currency.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/currency_tree_xml.gnucash (from rev 19302, gnucash/trunk/doc/examples/currency_tree_xml.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/currency_tree_xml.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/reg_doc_example.gnucash (from rev 19302, gnucash/trunk/doc/examples/reg_doc_example.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/reg_doc_example.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/splitdemo.gnucash (from rev 19302, gnucash/trunk/doc/examples/splitdemo.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/splitdemo.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/taxreport.gnucash (from rev 19302, gnucash/trunk/doc/examples/taxreport.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/taxreport.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/test.gnucash (from rev 19302, gnucash/trunk/doc/examples/test.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/test.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/test2.gnucash (from rev 19302, gnucash/trunk/doc/examples/test2.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/test2.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/test3.gnucash (from rev 19302, gnucash/trunk/doc/examples/test3.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/test3.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/test4.gnucash (from rev 19302, gnucash/trunk/doc/examples/test4.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/test4.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/trading.gnucash (from rev 19302, gnucash/trunk/doc/examples/trading.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/trading.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/trading2.gnucash (from rev 19302, gnucash/trunk/doc/examples/trading2.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/trading2.xac
===================================================================
(Binary files differ)

Copied: gnucash/trunk/doc/examples/xfer.gnucash (from rev 19302, gnucash/trunk/doc/examples/xfer.xac)
===================================================================
(Binary files differ)

Deleted: gnucash/trunk/doc/examples/xfer.xac
===================================================================
(Binary files differ)

Modified: gnucash/trunk/src/core-utils/test/test-gnc-uri-utils.c
===================================================================
--- gnucash/trunk/src/core-utils/test/test-gnc-uri-utils.c	2010-06-30 20:15:00 UTC (rev 19318)
+++ gnucash/trunk/src/core-utils/test/test-gnc-uri-utils.c	2010-06-30 20:17:37 UTC (rev 19319)
@@ -52,28 +52,28 @@
 #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 */

Modified: gnucash/trunk/src/experimental/cgi-bin/gnc-server.c
===================================================================
--- gnucash/trunk/src/experimental/cgi-bin/gnc-server.c	2010-06-30 20:15:00 UTC (rev 19318)
+++ gnucash/trunk/src/experimental/cgi-bin/gnc-server.c	2010-06-30 20:17:37 UTC (rev 19319)
@@ -224,7 +224,7 @@
     /* 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);

Modified: gnucash/trunk/src/experimental/cgi-bin/hello2.c
===================================================================
--- gnucash/trunk/src/experimental/cgi-bin/hello2.c	2010-06-30 20:15:00 UTC (rev 19318)
+++ gnucash/trunk/src/experimental/cgi-bin/hello2.c	2010-06-30 20:17:37 UTC (rev 19319)
@@ -34,7 +34,7 @@
     /* 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);

Modified: gnucash/trunk/src/experimental/cgi-bin/hello3.c
===================================================================
--- gnucash/trunk/src/experimental/cgi-bin/hello3.c	2010-06-30 20:15:00 UTC (rev 19318)
+++ gnucash/trunk/src/experimental/cgi-bin/hello3.c	2010-06-30 20:17:37 UTC (rev 19319)
@@ -36,7 +36,7 @@
     /* 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);



More information about the gnucash-changes mailing list