Author: colossus
Date: 2006-07-12 09:48:28 +0000 (Wed, 12 Jul 2006)
New Revision: 22415

Modified:
   xarchiver/trunk/ChangeLog
   xarchiver/trunk/src/iso.c
Log:
Updated Changelog.
Added level information when the ISO is Joliet in the ISO information window.


Modified: xarchiver/trunk/ChangeLog
===================================================================
--- xarchiver/trunk/ChangeLog   2006-07-12 08:12:54 UTC (rev 22414)
+++ xarchiver/trunk/ChangeLog   2006-07-12 09:48:28 UTC (rev 22415)
@@ -2,6 +2,8 @@
 
 xx/06/06 - 0.4:
                - Increased speed ! Xarchiver is faster than ever when opening 
archives.
+               - The GUI looks neat and clean respect to the 0.3.3 release.
+               - Added a brand extract and add dialog supporting most of the 
archiver command line options.
                - Added Drag and Drop from and to Xarchiver window by using the 
XDS protocol.
                - Added the (in)famous cmd-line switches; see xarchiver -? for 
details.
                - Added a Stop button who cancels the current operation or you 
can use the ESC key.

Modified: xarchiver/trunk/src/iso.c
===================================================================
--- xarchiver/trunk/src/iso.c   2006-07-12 08:12:54 UTC (rev 22414)
+++ xarchiver/trunk/src/iso.c   2006-07-12 09:48:28 UTC (rev 22415)
@@ -27,8 +27,8 @@
 struct iso_directory_record * idr;
 struct iso_directory_record * idr_rr;
 
-gboolean use_rock;
-gboolean use_joilet;
+gboolean use_rock = 0;
+gboolean use_joilet = 0;
 char * xtract = 0; 
 int do_find = 0;    
 int ucs_level = 0;
@@ -330,8 +330,10 @@
 
        g_file_permissions = outline;
        g_file_offset = extent;
-       g_file_size = fstat_buf.st_size;
-
+       g_file_size = fstat_buf.st_size;    
+       
+       
+       
        if ( (!use_rock) && (!use_joilet) )
                strcpy (name_buf + strlen (name_buf)- 2, "  "); /* remove ";1" 
from file name */
         
@@ -565,6 +567,8 @@
        lseek(fileno(iso_stream),((off_t)(extent - sector_offset)) <<11, 
SEEK_SET);
        read(fileno(iso_stream), buffer, sizeof (buffer));
        idr_rr = (struct iso_directory_record *) buffer;
+        
+      
  
        /* Detect Rock Ridge exstension */
        if ((c = dump_rr(idr_rr)) != 0) 
@@ -607,27 +611,30 @@
         }
                 
                if( (unsigned char) ipd.type[0] == ISO_VD_END )
-                       g_print ("Unable to find Joliet SVD\n");
+                       archive->tmp = g_strdup (_("Standard ISO without 
extension"));
                else 
-               {
                        use_joilet = 1;
-                       archive->tmp = g_strdup("Joliet");
-               }
 
                switch(ipd.escape_sequences[2])
                { 
                        case '@':
                        ucs_level = 1;
+                       archive->tmp = g_strdup_printf (_("Joliet Level 
%d"),ucs_level);
                        break;
                        
                        case 'C':
                        ucs_level = 2;
+                       archive->tmp = g_strdup_printf (_("Joliet Level 
%d"),ucs_level);
                        break;
                        
                        case 'E':
                        ucs_level = 3;
+                       archive->tmp = g_strdup_printf (_("Joliet Level 
%d"),ucs_level);
                        break;
                }
+               
+               
+       
 
                /*if( ucs_level < 3 )
                        g_print ("Don't know what ucs_level == %d means\n", 
ucs_level);*/
@@ -646,8 +653,8 @@
        while(td)
        {
                parse_dir( td->name , td->extent, td->length, archive);
+               g_free (td->name);
                xa_append_rows ( archive , 5 );
-               g_free (td->name);
                td = td->next;
        }
        fclose(iso_stream);

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to