ArcView, lister plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

VadiMGP wrote:I think you have to implement ListSetDefaultParams function
void __stdcall ListSetDefaultParams(ListDefaultParamStruct* dps);

ListSetDefaultParams is called immediately after loading the DLL, before ListLoad.
ListDefaultParamStruct contain path to .ini file directory.
Thanks for the tip but AFAIK INI file name is not a constant. But i guess 99% of users has their INI as wincmd.ini. good news :lol:
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

ArcView 1.1.0.20
Whatsnew

Code: Select all

FIXED: Dictionary size was incorrect with some archives (thanks Parcan)
FIXED: If system use "Large fonts", captions was funky (not tested) (thanks Black Dog)
ADDED: Lister hotkeys support: 1, 2, 3, 4, 5, 6, 7 (Options->1, Options->2 i.e.) (thanks Black Dog)
ADDED: Compression method is displayed
ADDED: Self extracting archives support (in order to use this feature you have to uninstall previous version before installing this one and you have to place arcview.wlx before any plugin you used for EXE files (e.g. fileinfo.wlx). You can switch between these plugins by pressing "4" or using Options->Image/Multimedia in Lister menu)
ADDED: Accelerators for tab plus ALT+ENTER (pressed in plugin of course) is a shortcut to "About/Options" tab (specially for Black Dog:)
Download link located in the very first post.
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 27-01-2004 09:27:12 +0000 poiuytr wrote:

p> If system use "Large fonts", captions was funky (not
p> tested)


Now it looks OK, thank you :).

p> Lister hotkeys support: 1, 2, 3, 4, 5, 6, 7 (Options->1,
p> Options->2 i.e.)


You can switch display mode only once this way in QV, to make it work again you should put the focus to other panel first.

p> Compression method is displayed

Can you display it the way Commander does, i.e. "5: best"?

p> specially for Black Dog:)

Thank you, that's very nice, I'm waiting for version with Lister support for description files and archive comments :).

One more thing, I have one RAR archive with several TXT files, but ArcView shows empty description file tab with "Empty" header.[/face]
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

Black Dog wrote:[face=courier]

p> Lister hotkeys support: 1, 2, 3, 4, 5, 6, 7 (Options->1,
p> Options->2 i.e.)


You can switch display mode only once this way in QV, to make it work again you should put the focus to other panel first.
[/face]
Will see what I can do.
Black Dog wrote:[face=courier]p> Compression method is displayed
Can you display it the way Commander does, i.e. "5: best"?
[/face]
Talkin about RAR i don't know why Christian use this numbers (zip legacy? I really don't like that notation):
RarLab TechNote wrote: Packing method
48 - storing
49 - fastest compression
50 - fast compression
51 - normal compression
52 - good compression
53 - best compression
Black Dog wrote:[face=courier]
p> specially for Black Dog:)

Thank you, that's very nice, I'm waiting for version with Lister support for description files and archive comments :).
[/face]
Do you mean tab order ("readme"->"comment"->"archive")? I don't really want to make complicated tab behaviour (i.e. another option for this). I like that thing I called to "freeze" a tab :)
Black Dog wrote:[face=courier]One more thing, I have one RAR archive with several TXT files, but ArcView shows empty description file tab with "Empty" header.[/face]
I can only guess that your archive include files with national symbols different then system locale setting.

BTW plugin rise an exception (not critical) opening some SFX ZIP archives :(
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 28-01-2004 00:13:40 +0000 poiuytr wrote:

p> Talkin about RAR i don't know why Christian use this
p> numbers


They correlating with corresponding command line parameters (<n> part).

_____________transmission_from_rar.txt____________

-m<n> Set compression method:

-m0 store do not compress file when adding to archive
-m1 fastest use fastest method (less compressive)
-m2 fast use fast compression method
-m3 normal use normal (default) compression method
-m4 good use good compression method (more
compressive, but slower)
-m5 best use best compression method (slightly more
compressive, but slowest)

_______________end_of_transmission________________

p> Do you mean tab order ("readme"->"comment"->"archive")?

It would be nice, actually, but no, I don't. I'm talking about Lister settings (color and font) you can use for description file and archive comment tabs. BTW is it possible to use real Lister window where? It would be very convenient to use build-in Lister HTML support this way.

p> I can only guess that your archive include files with
p> national symbols different then system locale setting.


System locale is Russian, as well as symbols. But I didn't made it, actually, so I can't be sure. Well, I guess in such a situation absence of description file tab would be more logical solution :).[/face]
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

Black Dog wrote:[face=courier]They correlating with corresponding command line parameters (<n> part).
[/face]
Oh, I got you. Thanks.
Black Dog wrote:[face=courier]... I'm talking about Lister settings (color and font) you can use for description file and archive comment tabs. [/face]
This feature already waiting to be implemented.
Black Dog wrote:[face=courier]BTW is it possible to use real Lister window where? It would be very convenient to use build-in Lister HTML support this way.[/face]

You right, it could be but it is impossible by now.
Black Dog wrote:[face=courier]Well, I guess in such a situation absence of description file tab would be more logical solution :).[/face]
This is some kind of a bug but not a designed behaviour. I have plans to implement full unicode support for filenames and then we will see if problem persists after that.
Last edited by poiuytr on 2004-02-18, 18:47 UTC, edited 1 time in total.
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

ArcView 1.2.0.25 beta is out. Please not this is just a beta version.

Code: Select all

ArcView gains official status: http://www.ghisler.com/plugins.htm
FIXED: Improoved performance with ZIP archives
ADDED: JAR (Java archive) support (in order to use this feature you have
       to uninstall previous version before installing this one)
ADDED: Plugin don't blocks Total Commander while gathering info about archive
       and can be closed at anytime.
ADDED: Lister hotkeys and menu commands support:
       • N (File->Next File)
       • P (File->Previous)
ADDED: New tab with contents of archive (file list). Optionally.
Download link located in the very first post.
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

ArcView 1.2.0.26 is out

Code: Select all

FIXED: Some previous beta bugs
ADDED: Using of Lister fonts and font/background colors
ADDED: Support for Lister V hotkey (Options->Variable char width)
Download link located in the very first post.
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

ArcView 1.2.0.28 is out
watsnew.txt wrote:ADDED: Comment can be changed (only for RAR archives, WinRar required). Usepopup menu in 'Comment' tab.
ADDED: %COMMANDER_PATH% support.
ADDED: Ratio bar color can be changed (through bar's popup menu or 'Options' tab).
ADDED: Encryption tag support for RAR archives.
ADDED: Support for password protected RAR archives. Still buggy.
Please visit the very first post for download links.
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

Hello poiuytr,
nice to see you here again. It took a while. :)


Testet new version 1.2.0.28 of your plugin:
------------------------------------------------------
If i try to switch viewermode from Arcviewplugin to any other Listermode,
i.e. pressing 1 for Textview, Arcview closes Listerwindow. This does'nt
happen to me with earlier versions of Arcview.

Arcviewplugin does'nt recognice Zip-Files with header hex= 50-4B-03-04-0A,
allthough the detectstring in 'wincmd.ini' tells to only check for PK (0x50-4B).

You can find Zip-Files with header hex=50-4B-03-04-0A in SUN Java J2re
v1.4.2_03 distribution for example (JAR-Extension!).
------------------------------------------------------


Looking forward for new version in a hopefully not to distant future. :D
Btw., can we expect support for other archivers (7-Zip,ACE ...) soon?

Bye, deus-ex.
User avatar
za222
Member
Member
Posts: 146
Joined: 2003-03-11, 17:19 UTC
Location: Germany

Post by *za222 »

deus-ex wrote:If i try to switch viewermode from Arcviewplugin to any other Listermode,
i.e. pressing 1 for Textview, Arcview closes Listerwindow. This does'nt
happen to me with earlier versions of Arcview.
I have exactly the same problem!
poiuytr
Senior Member
Senior Member
Posts: 243
Joined: 2003-02-23, 17:33 UTC

Post by *poiuytr »

deus-ex wrote:It took a while. :)
Yes it was :(
deus-ex, za222 wrote:If i try to switch viewermode from Arcviewplugin to any other Listermode,
i.e. pressing 1 for Textview, Arcview closes Listerwindow. This does'nt
happen to me with earlier versions of Arcview.
Shame on me, I left some code uncommented.
deus-ex wrote:Arcviewplugin does'nt recognice Zip-Files with header hex= 50-4B-03-04-0A,
allthough the detectstring in 'wincmd.ini' tells to only check for PK (0x50-4B).

You can find Zip-Files with header hex=50-4B-03-04-0A in SUN Java J2re
v1.4.2_03 distribution for example (JAR-Extension!).
Thanks for the hex codes, I will use this information.
deus-ex wrote:Looking forward for new version in a hopefully not to distant future. :D
Btw., can we expect support for other archivers (7-Zip,ACE ...) soon?
First of all i want to include language support (it is only in early stages). Then i will add MultiArc support so you will be able to add any desiered archive type to ArcView by yourself (of course there will be some nativly supported formats).
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Post by *deus-ex »

poiuytr wrote:Then i will add MultiArc support so you will be able to add any desiered archive type to ArcView by yourself (of course there will be some nativly supported formats).
Going the Multiarc-Path sounds like a great solution. :)
You should try (if not already done) to get in contact with Siarzhuk Zharsk (Author of Multiarc),
maybe the both of you will come up with new ideas and solutions, when working together (Fusion of both plugins into a new one?).

Keep it up, poiuytr. :D

bye, deus-ex.
Unjoanqualsevol
Junior Member
Junior Member
Posts: 39
Joined: 2003-02-27, 11:41 UTC
Location: Catalunya

Post by *Unjoanqualsevol »

First, thanks poiuytr for this plugin.

Well, I like so the MultiArc integration idea, but I like a good number of natively supported formats. I recently found this http://www.kmonos.net/lib/xacrett.en.html
It's XacRett a tiny archive extractor for up to 40 formats:
LHa / Zip / Cab / Rar / Ace / Arj / Yz1 / Bga / Gca / Imp / Zoo / Arc / Cpt / Pit / Arg / Asd / Zac / MacBin / Tar / Cpio / Rpm / Shar / QuakePak / Ar(Deb) / Gzip / Bzip2 / Compress / Pack / Compact / Freeze / Belon / Splint / Jam / MS-Compress / Base64 / UUencode / XXencode / BinHex / Ish / Boo / BtoA / Fish / Jack / Rez / Cab(InstallShield) / Dzip / yEnc.

The source code is avaiable in the link.
I'm not a programer, but I think it would be easy to support natively all this formats in ArcView. Other formats could be supported with the MultiArc aproach.
Post Reply