Changeset 1690 for trunk


Ignore:
Timestamp:
Aug 5, 2013, 2:13:41 AM (12 years ago)
Author:
Gregg Young
Message:

Changes to fix .tar.gz list because of changes in tar 1.20 (maybe earlier). Added lzip support with ungly hack to work around its lack of a list option. Tickets 493, 494

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/archiver.tmp

    r1689 r1690  
    150150;
    1511517z
    152 7z
     1527Z
    1531530
    1541547za.exe l
     
    346346; Entry #11 (tar.gz)
    347347;
    348 TAR.GZ (Req. TAR 1.15+ & GZIP)
    349 tar.gz
     348TAR.GZ (Req. TAR 1.20+ & GZIP)
     349TAR.GZ
    3503500
    351351tar.exe -tzvf
     
    3643642
    365365-1
    366 3,6
     3663,5
     3672
     3685,1,0,0
     369;
     370;
     371; Entry #12 (tar.gz)
     372;
     373TAR.GZ (Req. TAR 1.10-15 & GZIP)
     374TAR.GZ
     3750
     376tar.exe -tzvf
     377tar.exe -xzpvf
     378tar.exe -xzpvf
     379
     380tar.exe -rzpf
     381tar.exe -rpf
     382
     383
     384
     385tar.exe -z --delete -f
     386\x1f\x8b
     387None
     388None
     3892
     390-1
     3913,5
    3673924
    3683937,1,0,0
    369394;
    370 ; Entry #12 (tar.bz2)
     395; Entry #13 (tar.bz2)
    371396;
    372397TAR.BZ2 (Req. TAR 1.15+ & BZIP2)
     
    3924175,1,0,0
    393418;
    394 ; Entry #13 - GZIP (GZ).
     419; Entry #14 - GZIP (GZ).
    395420;
    396421GZIP (GZ) (req. GZIP & TAR 1.15+)
     
    3984230
    399424gzip.exe -lv
    400 gzipe.cmd
     425gzip.exe -d
    401426
    402427gzip.exe -t
     
    4164415,1,0,0
    417442;
    418 ; Entry #14 - GZIP (Z).
     443; Entry #15 - GZIP (Z).
    419444;
    420445GZIP (Z)
     
    4224470
    423448gzip.exe -lv
    424 gzipe.cmd
     449gzip.exe -d
    425450
    426451gzip.exe -t
     
    4404658,0,0,0
    441466;
    442 ; Entry #15 - Unarj 2.30 demo version.
     467; Entry #16 (Lzip)
     468;
     469Lzip
     470lz
     4710
     472lzip.exe
     473lzip.EXE -d
     474lzip.EXE -d
     475lzip.EXE -tvvv
     476Lzip.EXE -k
     477
     478
     479Lzip.EXE
     480
     481
     482LZIP
     483None
     484None
     485-1
     486-1
     487-1,0
     488-1
     489-1,0,0,0
     490;
     491; Entry #17 - Unarj 2.30 demo version.
    443492; Don't use Unarj 2.41; it's broken.
    444493;
     
    4655140,0,0,0
    466515;
    467 ; Entry #16 - Arj 2.00 (DOS).
     516; Entry #18 - Arj 2.00 (DOS).
    468517; Note that other programs that use this control file may not be able to
    469518; handle calling a DOS archiver correctly!  FM/2 is the only one that I
     
    4935420,0,0,0
    494543;
    495 ; Entry #17 (RAR v.3.5)
     544; Entry #19 (RAR v.3.5)
    496545;
    497546RAR v.3.5
     
    5175660,0,0,1
    518567;
    519 ; Entry #18 - RAR/2 v2, provided by Eugene Roshal.
     568; Entry #20 - RAR/2 v2, provided by Eugene Roshal.
    520569;
    521570RAR/2 v2
     
    5415900,0,0,1
    542591;
    543 ; Entry #19 - RAR/2 v.1.53beta OS/2 SFX.
     592; Entry #21 - RAR/2 v.1.53beta OS/2 SFX.
    544593;
    545594RAR/2 v.1.53beta OS/2 SFX
     
    5656140,0,0,1
    566615;
    567 ; Entry #20 - RAR v.1.53 DOS SFX.
     616; Entry #22 - RAR v.1.53 DOS SFX.
    568617;
    569618RAR v.1.53 DOS SFX
     
    5896380,0,0,1
    590639;
    591 ; Entry #21 - RAR v.2.00 SFX.
     640; Entry #23 - RAR v.2.00 SFX.
    592641;
    593642RAR v.2.00 SFX
     
    614663;
    615664;
    616 ; Entry #22 - LHarc 2.22.
     665; Entry #24 - LHarc 2.22.
    617666; Supposedly fixes bugs in earlier versions.
    618667; Actually seems to have done so.  Good work, Peter.
     
    6406892,1,0,0
    641690;
    642 ; Entry #23 - LHarc 2.22 using LH32 executable.
     691; Entry #25 - LHarc 2.22 using LH32 executable.
    643692;
    644693LHarc-32 2.22
     
    6647132,1,0,0
    665714;
    666 ; Entry #24 - LHarc 2.22 self-extractors..
     715; Entry #26 - LHarc 2.22 self-extractors..
    667716;
    668717LHarc 2.22 SE
     
    6887372,1,0,0
    689738;
    690 ; Entry #25 - LHA 2.12 (DOS) self-extractors.
     739; Entry #27 - LHA 2.12 (DOS) self-extractors.
    691740; LH 2.22 seems to recognize them
    692741;
     
    7137622,1,0,0
    714763;
    715 ; Entry #26 - LHA 2.12 (DOS) self-extractors.
     764; Entry #28 - LHA 2.12 (DOS) self-extractors.
    716765; LH 2.22 seems to recognize them
    717766;
     
    7387872,1,0,0
    739788;
    740 ; Entry #27 - LHA 2.13L (DOS) self-extractors.
     789; Entry #29 - LHA 2.13L (DOS) self-extractors.
    741790; LH 2.22 seems to recognize them
    742791;
     
    7638122,1,0,0
    764813;
    765 ; Entry #28 - LH2 2.11.
     814; Entry #30 - LH2 2.11.
    766815; NOTE:  sometimes will put a file into an archive more than once, necessitating
    767816; deleting both.  EAs not handled well, but at least they're handled.
     
    7898382,1,0,0
    790839;
    791 ; Entry #29 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
     840; Entry #31 - ZIP 1.9/UNZIP 5.0 (available in 32-bit versions).
    792841;ZIP/UNZIP should work with PKZIP 2.04 files.  Saves EAs well.  Won't
    793842;extract a file stored with path without the path (actually, this seems
     
    8248737,1,0,0
    825874;
    826 ; Entry #30 - ZIP 1.9/UNZIP 5.0 using *32 executables.
     875; Entry #32 - ZIP 1.9/UNZIP 5.0 using *32 executables.
    827876;
    828877Zip/UnZip-32 1.9/5.0
     
    8488977,1,0,0
    849898;
    850 ; Entry #31 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
     899; Entry #33 - ZIP 1.9/UNZIP 5.0, using the -l listing format.
    851900; (the -v long format can sometimes result in the old length field
    852901; being crammed together with the Method field, resulting in an
     
    8769253,1,0,0
    877926;
    878 ; Entry #32 - Zoo 2.1.
     927; Entry #34 - Zoo 2.1.
    879928; NOTE:  Bug in Zoo 2.1 seems to cause files stored with paths to
    880929; be extracted with paths even when you don't ask it to do so...
     
    904953;----------------- Older, less used archivers --------------
    905954;
    906 ; Entry #33 - ARC 5.12mpl.
     955; Entry #35 - ARC 5.12mpl.
    907956;
    908957Arc 5.12mpl
     
    9289770,0,0,0
    929978;
    930 ; Entry #34 - ARC2 (6.0).
     979; Entry #36 - ARC2 (6.0).
    931980; Note that I don't actually have a copy of this...
    932981;
     
    95310020,0,0,0
    9541003;
    955 ; Entry #35 - ARC2 (6.0) using ARC2 executable.
     1004; Entry #37 - ARC2 (6.0) using ARC2 executable.
    9561005;
    9571006Arc 6.0
     
    97710260,0,0,0
    9781027;
    979 ; Entry #36 (CABExtract 1.0)
     1028; Entry #38 (CABExtract 1.0)
    9801029;
    9811030CABExtract 1.0
     
    100110505,1,0,0
    10021051;
    1003 ; Entry #37 (Untgz Ver 0.95)
     1052; Entry #39 (Untgz Ver 0.95)
    10041053; Supplied by Gregg Young
    10051054;
  • trunk/dll/arccnrs.c

    r1689 r1690  
    885885        numarcfiles = 0;                // Request close
    886886      else if (!numarcfiles || !gotstart
    887                || (!gotend && info->endlist && *info->endlist && (stricmp(info->endlist, NO_END_OF_ARCHIVER_LIST_STRING)))) {
     887               || (!gotend && info->endlist && *info->endlist &&
     888                   (stricmp(info->endlist, NO_END_OF_ARCHIVER_LIST_STRING)))) {
    888889        // Oops
    889890        ARCDUMP ad;
     
    35993600  static USHORT idinc = 0;
    36003601
     3602
     3603  if (!strcmp(strupr(strrchr(arcname, '.') + 1), "LZ")) {
     3604      saymsg(MB_ENTER | MB_ICONASTERISK, HWND_DESKTOP, GetPString(IDS_LZIPLIMITATION),
     3605             GetPString(IDS_LZIPNOLIST));
     3606    return -1;
     3607  }
     3608
    36013609  if (!idinc)
    36023610    idinc = (rand() % 256);
  • trunk/dll/defview.c

    r1673 r1690  
    302302                           strcmp(realappname, FM3Str)) ?
    303303                          HWND_DESKTOP :
    304                           hwndParent, hwndFrame, filename, 4, NULL);
     304                          hwndParent, hwndFrame, filename, 4, NULL);
     305    if (hwndArc == -1)
     306      return;
     307
    305308    if (!hwndArc) {
    306309      if (!IsExecutable(filename) || !ExecFile(hwnd, filename)) {
  • trunk/dll/filldir.c

    r1673 r1690  
    324324             cmp == *(ULONG *) ".GZ"  || cmp == *(ULONG *) ".Z"   ||
    325325             cmp == *(ULONG *) ".CAB" || cmp == *(ULONG *) ".BZ2" ||
    326              cmp == *(ULONG *) ".WPI")
     326             cmp == *(ULONG *) ".WPI" || cmp == *(ULONG *) ".7Z")
    327327      hptr = hptrArc;
    328328    else if (cmp == *(ULONG *) PCSZ_DOTBMP  ||
  • trunk/dll/fm3res.rc

    r1688 r1690  
    33913391    IDS_SNAPSHOTFILEBADFORMAT             "The snapshot file lists no files or is not formatted correctly"
    33923392    IDS_SNAPSHOTFILELOADFAILED            "The snapshot file %s failed to load"
     3393    IDS_LZIPLIMITATION                    "Lzip Limitation"
     3394    IDS_LZIPNOLIST                        "Lzip doesn't have a list files option"
     3395           
    33933396   
    33943397   
  • trunk/dll/fm3str.h

    r1686 r1690  
    907907#define IDS_FM2LITETEXT                                       879
    908908#define IDS_CHANGECMDLINELENGTHDEFAULT                        880
    909 #define IDS_NODESMAXTEXT                                      882 //Not used
     909#define IDS_LZIPLIMITATION                                    881
     910#define IDS_LZIPNOLIST                                        882
    910911#define IDS_DECRYPT1TEXT                                      883 //Not used
    911912#define IDS_DECRYPT2TEXT                                      884 //Not used
Note: See TracChangeset for help on using the changeset viewer.