SynMinus - lister plugin with real unicode support

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
bayarookie
Junior Member
Junior Member
Posts: 17
Joined: 2007-09-15, 16:17 UTC
Location: Ulan-Ude, Russia

SynMinus - lister plugin with real unicode support

Post by *bayarookie »

I begin to write lister plugin with real unicode support and syntax highlighting, using UniSynEdit and TntControls. Anybody need this one? What do you think about? You can download alpha version from my home page. Just google "SynMinus".
Thank you for attention.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Looks nice. Bugs:
-Is the first buttonbar treated specially? It behaves strange, sometimes covers the other one.
-On big files, scrolling is extremely slow.
-previous/next file in dir is a good option..but why spacebar:((
-"show cursor" doesn't seem to work.
-edition of binary files behaves strangely...video.
Video description: I pressed space (once) and moved view right and left.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

How did you compile (or rather:link) this code?
Your PE header looks strange...
-You have 0-sized BSS section
-imports table is totally messed up. Dlls have multiple entries (kernel32.dll - 6) Sometimes these entries point multiple times to the same functions.
-You have 3 shared sections (.edata, .reloc, .rsrc) It may have one advantage - can cause faster plugin load (when it's loaded by another program already). But can also cause upx to left them uncompressed and therefore increase already big file size.(EDIT:checked, no difference)
Last edited by m^2 on 2007-09-16, 17:24 UTC, edited 1 time in total.
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Great, It promise :)

When I change the highlight to "None" I get randomly this error:

Code: Select all

---------------------------
totalcmd
---------------------------
Plugin Error:
Access violation at address 01E99EB9 in module 'SynMinus.wlx'. Read of address 00000000
---------------------------
OK   
---------------------------
The shadow for tooltips in toolbar is on screen until TC is restarted, It happens randomly too. look the example
On big files, scrolling is extremely slow
I can't note a great difference. For me, the load of little files is very fast, but loading big files (about 500 Kb) it is a bit slow. Anyway, it work more fast than GSAlister.
I can read English, but... I write like Tarzan. (sorry)
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Other bug, sometimes after that lister is closed, totalcmd crash with this error:

Code: Select all

---------------------------
Totalcmd
---------------------------
Plugin Error:
Access violation at address 01D86189 in module 'SynMinus.wlx'. Read of address 035B29BC
---------------------------
OK   
---------------------------
Edited (Added)
Is a bit soon for it (still in alpha stage) but... Could you provide a English template file, please? I'm interested in translate it.
I can read English, but... I write like Tarzan. (sorry)
bayarookie
Junior Member
Junior Member
Posts: 17
Joined: 2007-09-15, 16:17 UTC
Location: Ulan-Ude, Russia

Post by *bayarookie »

To create new lang file, just klik on button near the changing language ComboBox control.
For occured bugs I try to catch em, but I dont understand where is this violation, cannot trace it. If somebody can help me, it will be great. I may gift source code.
I dont use menu item "None" very long time. I'll try to fix it.
Now I work on autodetect non native code pages.
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

To create new lang file, just klik on button near the changing language ComboBox control.
Yes but, the new language is partially translated to English. The section [Messages] is in Russian language (28 lines)
I can read English, but... I write like Tarzan. (sorry)
bayarookie
Junior Member
Junior Member
Posts: 17
Joined: 2007-09-15, 16:17 UTC
Location: Ulan-Ude, Russia

Post by *bayarookie »

Sorry!
Probably you select Russian.lng and then create new lang. I forget about messages. I create English.lng.
And I fix some errors, you may download new version to test.
If wordwrap checked, it extremely slow down loading files, for example 2Mb file with wordwrap checked loading for 16 seconds, without wordwrap checked 4 seconds. I dont know what to do, maybe TSynEdit component limitation.
User avatar
Sombra
Power Member
Power Member
Posts: 814
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Probably you select Russian.lng and then create new lang. I forget about messages. I create English.lng.
And I fix some errors, you may download new version to test.
Thank you, now the language file is complete. I can't reproduce the bugs commented above either. (seem fixed) :)

Bug: Press F7 for search with lister, then i get this error:

Code: Select all

Access violation at address 05AD0DF2. Read of address 0000030C.
I can read English, but... I write like Tarzan. (sorry)
bayarookie
Junior Member
Junior Member
Posts: 17
Joined: 2007-09-15, 16:17 UTC
Location: Ulan-Ude, Russia

Post by *bayarookie »

www.bayarookie.hotbox.ru/download/wlx_synminusuni.7z

Fixed some access violations. Another way to unload plugin. Error with F7-F5 already fixed. Sorry about, my error.
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2bayarookie
Alt+X seems to close both Lister and TC.
TC for Linux please!
User avatar
sepa.spb.ru
Junior Member
Junior Member
Posts: 6
Joined: 2007-11-03, 17:37 UTC
Contact:

Post by *sepa.spb.ru »

Hi
I see it's uses some sources from Syn =). Why you don't tell me about DelphiSci and SynEditUnicode development. I could give you already written such simple lister-plugs with sources...
Plz look at Syn2, maybe you'll be interested in it's development?
sepa.spb.ru/?syn_eng
Post Reply