sLister WLX plugin

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

I wish non SSE version (to use in UV distro). if u can build it it's good.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

|EXT="EPS"
|EXT="EPUB"

These exts make tc freeze when trying F3 by such files. Only killing process helps.
For ps/eps do you have ghostscript installed?
What's your machine spec I only have 2 epub files and both open fine in Lister with the above build, a feature in epub/fb2 is that Sumatrapdf uses an internal html render-er not ie like for chm so it is slower then opening chm files (epub is a collection of zipped html files and images, fb2 is actually a single formatted xml file), and what's your antivirus, my avast goes crazy when I'm using TC so after a full scan I added my tc plugins dir to the exclusion list. Lister with slister and the above build of sumatra opens ps/eps/epub/fb2 files fine,
here's the proof (The eps is from ghostscript's examples and the epub from http://manybooks.net/titles/vernejuletext942000010.html)

Image: http://img15.imageshack.us/img15/3946/clipboard01tt.png

Image: http://img715.imageshack.us/img715/5671/clipboard02vv.png
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Can i put Ghostscript into sLister folder, w/o running any BATs, only portable installing and EPS supported?
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

For ps/eps do you have ghostscript installed?
None, I don't need it, have clear w7 sp1 x64 pro. May be, I have it, if it's default for OS.
What's your machine spec
Athlon II X4 640 3GHz, RAM 12 GiB DDR3, int.HD4250, other does no matter.
what's your antivirus
McAfee VirusScan & AntiSpyware Enterprise 8.8 p1, with today's AV-base.

Here're my test-files:
epub - http://rghost.ru/37216613
eps - http://rghost.ru/37216614

Same situation I get at any epub file, I download, e.g. from etextlib.ru (i didn't try other sources, but think there's no diffrence).
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

Can i put Ghostscript into sLister folder, w/o running any BATs, only portable installing and EPS supported?
This was asked on the sumatra forum:
http://forums.fofou.org/sumatrapdf/topic?id=2101368
unfortunately no, for portable ghostscript you need to set the path to ghostscript in the %path% variable, btw ghostscript is as large as UV if not bigger maybe it's better to inform users if they want ps/eps support to download and install ghostscript manually.
I'll try to build SumatraPDF with the old libjpeg if it compiles fine I'll upload it.

Code: Select all

For ps/eps do you have ghostscript installed?
None, I don't need it, have clear w7 sp1 x64 pro. May be, I have it, if it's default for OS. 
ghostscript is a postscript interpreter it's an open source peace of software you need it for ps/eps support you can get it from here:
http://sourceforge.net/projects/ghostscript get the 32bit version or both as the 32bit Sumatra needs 32 bit ghostscript.
That epub is a bit too complex for Sumatra it uses xhtml and embedded fonts and that's probably the reason why epub support was postponed only simple html epubs are supported at the moment. If it's OK with you I'll report this file at the Sumatra forums.
Last edited by iana on 2012-03-25, 16:04 UTC, edited 1 time in total.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

if it compiles fine I'll upload it.
Thank in advance.
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2iana
I can't open both of them with sumatrapdf.
Even more: that eps I can open in xnview normally, but can't open any epub from source, I've wrote some upper.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

I noticed this line
#define WITH_SIMD
in jconfig.h in libjpeg-turbo so I undefined it and rebuild it,
this should disable SSE2 support (but I'm not sure I don't know how to test it, if someone has a p3 or Athlon XP could you please test it)
http://www.mediafire.com/?2j59d4zyw744i5l

I trued replacing libjpeg-turbo with the old libjpeg-6b but but it was too much for me, I'm not a C programmer I only had a course in standard pascal and forgot most of it, but I'm an enthusiast and I'd like to learn C++. If the above build doesn't work on general 32bit architectures maybe someone else can replace libjpeg-turbo with the regular libjpeg-6b.
2iana
I can't open both of them with sumatrapdf.
Even more: that eps I can open in xnview normally, but can't open any epub from source, I've wrote some upper.
For eps you need ghostscript install it from the link from the previous post, for epub you need zeniko's or my build Krzysztof's build has epub disabled.
Here's a screenshot of zeniko's build from http://www.zeniko.ch/#SumatraPDF
Image: http://imageshack.us/photo/my-images/593/clipboard01nm.png
btw I'm running XP on an old P4 maybe it's a 7 64bit issue?
Last edited by iana on 2012-03-25, 17:35 UTC, edited 1 time in total.
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2iana

I tried both - your's and zeniko's builds (even x64 too) - noone could open any epub I've downloaded from etextlib.ru.

Q: Do you have images in fb2 and chm, or see them as plain text?
Ukrainian Total Commander Translator. Feedback and discuss.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

I don't think fb2 supports images, I can see images in chm, I don't know why you're having problems you have a 64bit AMD they do have complete SSE2 support if you had an 32bit AMD I would tell you AMD newer had a 32 bit processor with sse2 support, Zeniko uses vc10 for his builds I use vc9 both support 7, maybe AMD doesn't have a proper SSE2 instruction set, try cpu-z does your PC have SSE2 (see previous page for a link to cpu-z)
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2iana
I have FB2 with a lot of images and OOoViewer.wlx shows them normally, instead of Sumatra with it's plain text: http://savepic.net/2614886.png http://savepic.net/2595430.png

My cpuz-screenshot: http://savepic.net/2580071.png (no load now, working CnQ so you see 0,8 GHz not 3)
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

your cpu has sse1,2 ,3 and 4 :) support so it's not that, I really didn't know fb2 supported images, I only downloaded one fb2 file and it was an uncompressed xml file without images so I assumed (wrongly) fb2 didn't support images, maybe it's a wow issue but I Really have no idea.
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

2iana
images usually are being inside that xml mime-encoded (or s/th like that)

so, epub... what can be wrong?
Ukrainian Total Commander Translator. Feedback and discuss.
iana
Senior Member
Senior Member
Posts: 345
Joined: 2010-07-27, 22:00 UTC

Post by *iana »

@ MaxX the sumatrapdf devs (all two of them, well zeniko) found the problem with your epub and according to him your file contained a "slightly" invalid mimetype (it had a trailing new line) and I think it's already fixed, last revision states r6058: adjust r6057 per the EPUB 3.0 spec, and the previous r6057:EPUB: tolerate trailing newline after mimeype.
So you can open the epub in TC ctrl+pgdwn edit mimetype so it has only 1 line (remove the trailing new line) save the file, now it opens in lister:
Image: http://imageshack.us/photo/my-images/26/clipboard01fgs.png
or wait a day for a new build.

@ Alextp SumatraPDF moved to jpeg-turbo about a year ago, browsing their svn repository I found that Sumatra 1.4 was the last to use the standard libjpeg, I know you include slister.wlx and SumatraPDF in UV and in over a year nobody complained, on the plus side jpeg-turbo is supposedly 200%-400% faster compared to the regular libjpeg and that's a big difference for older p4's.
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

ok, i'll wait for it
Ukrainian Total Commander Translator. Feedback and discuss.
Post Reply