[Gnucash-changes] r14301 - gnucash/trunk - Disable support for the old binary file format.

Chris Shoemaker chris at cvs.gnucash.org
Sat Jun 3 09:43:03 EDT 2006


Author: chris
Date: 2006-06-03 09:42:53 -0400 (Sat, 03 Jun 2006)
New Revision: 14301
Trac: http://svn.gnucash.org/trac/changeset/14301

Modified:
   gnucash/trunk/configure.in
   gnucash/trunk/po/POTFILES.skip
   gnucash/trunk/src/backend/file/Makefile.am
   gnucash/trunk/src/backend/file/gnc-backend-file.c
   gnucash/trunk/src/bin/gnucash-bin.c
   gnucash/trunk/src/import-export/Makefile.am
Log:
   Disable support for the old binary file format.


Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2006-06-03 08:59:51 UTC (rev 14300)
+++ gnucash/trunk/configure.in	2006-06-03 13:42:53 UTC (rev 14301)
@@ -2232,8 +2232,6 @@
           src/gnome-search/Makefile
           src/import-export/Makefile
           src/import-export/test/Makefile
-          src/import-export/binary-import/Makefile
-          src/import-export/binary-import/test/Makefile
           src/import-export/qif-import/Makefile
           src/import-export/qif/Makefile
           src/import-export/qif/test/Makefile

Modified: gnucash/trunk/po/POTFILES.skip
===================================================================
--- gnucash/trunk/po/POTFILES.skip	2006-06-03 08:59:51 UTC (rev 14300)
+++ gnucash/trunk/po/POTFILES.skip	2006-06-03 13:42:53 UTC (rev 14301)
@@ -7,3 +7,7 @@
 src/gnome-utils/gnc-tree-model-selection.c
 src/backend/file/gncmod-backend-file.c
 src/gnome/schemas/apps_gnucash_dialog_scheduled_transctions.schemas.in
+src/backend/file/io-gncbin-r.c
+src/import-export/binary-import/binary-import.glade
+src/import-export/binary-import/druid-commodity.c
+src/import-export/binary-import/gncmod-binary-import.c

Modified: gnucash/trunk/src/backend/file/Makefile.am
===================================================================
--- gnucash/trunk/src/backend/file/Makefile.am	2006-06-03 08:59:51 UTC (rev 14300)
+++ gnucash/trunk/src/backend/file/Makefile.am	2006-06-03 13:42:53 UTC (rev 14301)
@@ -27,7 +27,6 @@
   gnc-schedxaction-xml-v2.c \
   gnc-transaction-xml-v2.c \
   io-example-account.c \
-  io-gncbin-r.c \
   io-gncxml-gen.c \
   io-gncxml-v1.c \
   io-gncxml-v2.c \
@@ -47,7 +46,6 @@
   gnc-xml.h \
   gnc-xml-helper.h \
   io-example-account.h \
-  io-gncbin.h \
   io-gncxml-gen.h \
   io-gncxml.h \
   io-gncxml-v2.h \

Modified: gnucash/trunk/src/backend/file/gnc-backend-file.c
===================================================================
--- gnucash/trunk/src/backend/file/gnc-backend-file.c	2006-06-03 08:59:51 UTC (rev 14300)
+++ gnucash/trunk/src/backend/file/gnc-backend-file.c	2006-06-03 13:42:53 UTC (rev 14301)
@@ -52,7 +52,6 @@
 #include "gnc-filepath-utils.h"
 
 #include "io-gncxml.h"
-#include "io-gncbin.h"
 #include "io-gncxml-v2.h"
 #include "gnc-backend-file.h"
 #include "gnc-gconf-utils.h"
@@ -403,8 +402,6 @@
     }
   } else if (gnc_is_xml_data_file(path)) {
     return GNC_BOOK_XML1_FILE;
-  } else if (gnc_is_bin_file(path)) {
-    return GNC_BOOK_BIN_FILE;
   }
   return GNC_BOOK_NOT_OURS;
 }
@@ -426,7 +423,6 @@
 	if (sbuf.st_size == 0)    { PINFO (" empty file"); return TRUE; }
 	if(gnc_is_xml_data_file_v2(path, NULL)) { return TRUE; } 
 	else if(gnc_is_xml_data_file(path))     { return TRUE; } 
-	else if(gnc_is_bin_file(path))          { return TRUE; }
 	PINFO (" %s is not a gnc file", path);
 	return FALSE;
 }	
@@ -868,10 +864,6 @@
         rc = qof_session_load_from_xml_file (book, be->fullpath);
         if (FALSE == rc) error = ERR_FILEIO_PARSE_ERROR;
         break;
-    case GNC_BOOK_BIN_FILE:
-        qof_session_load_from_binfile(book, be->fullpath);
-        error = gnc_get_binfile_io_error();
-        break;
     default:
         PWARN("File not any known type");
         error = ERR_FILEIO_UNKNOWN_FILE_TYPE;

Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c	2006-06-03 08:59:51 UTC (rev 14300)
+++ gnucash/trunk/src/bin/gnucash-bin.c	2006-06-03 13:42:53 UTC (rev 14301)
@@ -350,7 +350,6 @@
         { "gnucash/register/ledger-core", 0, FALSE },
         { "gnucash/register/register-core", 0, FALSE },
         { "gnucash/register/register-gnome", 0, FALSE },
-        { "gnucash/import-export/binary-import", 0, FALSE },
         { "gnucash/import-export/qif-import", 0, FALSE },
         { "gnucash/import-export/ofx", 0, TRUE },
         { "gnucash/import-export/mt940", 0, TRUE },

Modified: gnucash/trunk/src/import-export/Makefile.am
===================================================================
--- gnucash/trunk/src/import-export/Makefile.am	2006-06-03 08:59:51 UTC (rev 14300)
+++ gnucash/trunk/src/import-export/Makefile.am	2006-06-03 13:42:53 UTC (rev 14301)
@@ -1,5 +1,7 @@
-SUBDIRS = . schemas binary-import qif qif-import ${OFX_DIR} ${HBCI_DIR} ${MT940_DIR} log-replay test
-DIST_SUBDIRS = schemas binary-import qif qif-import qif-io-core ofx hbci mt940 log-replay test
+SUBDIRS = . schemas qif qif-import \
+	${OFX_DIR} ${HBCI_DIR} ${MT940_DIR} log-replay test
+DIST_SUBDIRS = schemas qif qif-import qif-io-core \
+	ofx hbci mt940 log-replay test
 
 pkglib_LTLIBRARIES=libgncmod-generic-import.la
 



More information about the gnucash-changes mailing list