Sat Jun 4 04:02:04 2005 John Ellis <johne@verizon.net>
authorJohn Ellis <johne@verizon.net>
Sat, 4 Jun 2005 08:06:47 +0000 (08:06 +0000)
committerJohn Ellis <johne@verizon.net>
Sat, 4 Jun 2005 08:06:47 +0000 (08:06 +0000)
        * README: Update credits.

        Apply fix from Daniel M. German:

        * format_canon.c (canon_read_int): Fixed error which caused a
        segfault under OS X. It was a casting a number as a 32
        bit, when it was 16. it works in little endian, but not in big
        endian machines.

##### Note: GQview CVS on sourceforge is not always up to date, please use #####
##### an offical release when making enhancements and translation updates. #####

ChangeLog
README
src/format_canon.c

index 8a84562..8c804c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Sat Jun  4 04:02:04 2005  John Ellis  <johne@verizon.net>
+
+       * README: Update credits.
+
+       Apply fix from Daniel M. German:
+
+       * format_canon.c (canon_read_int): Fixed error which caused a
+       segfault under OS X. It was a casting a number as a 32
+       bit, when it was 16. it works in little endian, but not in big
+       endian machines.
+       
 Fri Jun  3 20:02:23 2005  John Ellis  <johne@verizon.net>
 
        * format_canon.c (canon_mknote_parse_convert): For serial number
diff --git a/README b/README
index d86391a..f3d8159 100644 (file)
--- a/README
+++ b/README
@@ -60,6 +60,9 @@ homepage: http://gqview.sourceforge.net
 
     Version in perenthesis indicates first appearance of feature or change.
 
+    (2.1.1) Add support for viewing jpeg images and EXIF embedded within
+    raw files for Canon (.crw, .cr2) and Fujifilm (.raf).
+
     (1.5.6) The "shared thumbnail cache" is a proposal to unify the method
     of storing thumbnails, so that they are compatible between different
     applications. Using this option will allow GQview to share it's
@@ -529,7 +532,13 @@ zh_TW             55     368     186     113
 
      Eric Swalens
      Quy Tonthat
-         for Exif support.
+         for initial Exif support.
+
+     Daniel M. German <dmgerman at uvic.ca>
+         for Canon raw image support.
+
+     Lars Ellenberg
+         for Fujifilm raw image support.
 
      Diederen Damien <D.Diederen@student.ulg.ac.be>
          for .xvpics thumbnail reading support.
index 287b511..03f1926 100644 (file)
@@ -106,7 +106,7 @@ static int canon_read_int(unsigned int *offset, const void *data, int sizeInt, u
     *offset +=4;
     DEBUG_3("Read 4 bytes %d %x", *value, *value);
   } else {
-    *value = GUINT16_FROM_LE(*(guint32*)(data + *offset));
+    *value = GUINT16_FROM_LE(*(guint16*)(data + *offset));
     *offset +=2;
     DEBUG_3("Read 2 bytes %d %x", *value, *value);
   }