[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/sword s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Mar 5 10:53:12 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword
In directory www.crosswire.org:/tmp/cvs-serv24225/java/jsword/org/crosswire/jsword/book/sword

Modified Files:
	RawLDBackend.java RawBackend.java ModuleType.java 
Log Message:
Changed the help message to point to the bibledesktop home page.
Changed the bibledesktop to point to the bibledesktop-manual as Help.
Added decryption to a couple of backends.
Fixed a bug where zLD was not saying it was not supported.

Index: ModuleType.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/ModuleType.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** ModuleType.java	4 Mar 2005 04:04:47 -0000	1.14
--- ModuleType.java	5 Mar 2005 17:53:10 -0000	1.15
***************
*** 228,231 ****
--- 228,236 ----
          }
  
+         protected boolean isBackendSupported(SwordBookMetaData sbmd)
+         {
+             return false;
+         }
+ 
          /**
           * Serialization ID

Index: RawBackend.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/RawBackend.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** RawBackend.java	4 Mar 2005 04:04:47 -0000	1.20
--- RawBackend.java	5 Mar 2005 17:53:10 -0000	1.21
***************
*** 156,159 ****
--- 156,161 ----
              // Probably be safer not to risk it since we know how long it is.
              byte[] data = SwordUtil.readRAF(txtRaf[testament], start, size);
+             
+             decipher(data);
  
              return SwordUtil.decode(key, data, charset);

Index: RawLDBackend.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/RawLDBackend.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** RawLDBackend.java	4 Mar 2005 04:04:47 -0000	1.13
--- RawLDBackend.java	5 Mar 2005 17:53:10 -0000	1.14
***************
*** 161,164 ****
--- 161,166 ----
                  // Now read the data file for this key using the offset and size
                  byte[] data = SwordUtil.readRAF(datRaf, offset, size);
+                 
+                 decipher(data);
  
                  int keyend = SwordUtil.findByte(data, SEPARATOR);



More information about the jsword-svn mailing list