CudaLister (source code viewer)

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
robubble
New Member
New Member
Posts: 1
Joined: 2023-03-25, 05:00 UTC

Re: CudaLister (source code viewer)

Post by *robubble »

Anyone else having problems with CudaLister crashing TotalCommander after closing the options window?
Is there another way to change options?
User avatar
funkymonk
Senior Member
Senior Member
Posts: 416
Joined: 2013-12-04, 09:56 UTC

Re: CudaLister (source code viewer)

Post by *funkymonk »

I have never experienced exactly this problem. But a similar one.

CudaLister 1.8.0.1
TC 10.52x32/dark@Win10x64

I'm using CudaLister as my default viewer for text files (in Lister and in QuickView).
It works most of the time, i.e., for several days and tens of files per day.
But in rare cases it simply crashes TC when opening a file, i.e., TC will simply close entirely without any error message. This happens on several computers that I am using regularly.
The problem is unfortunately not easily reproducible since it never showed up again when simply restarting TC and showing the same file.

Any ideas or experiences on this?
User avatar
deus-ex
Power Member
Power Member
Posts: 969
Joined: 2003-02-10, 17:45 UTC

Re: CudaLister (source code viewer)

Post by *deus-ex »

2funkymonk
Confirmed, same experience here. Previous release of CudaLister v1.8.0.0 is affected as well.
User avatar
pantantrolla
Junior Member
Junior Member
Posts: 21
Joined: 2013-06-03, 15:49 UTC

Re: CudaLister (source code viewer)

Post by *pantantrolla »

robubble wrote: 2023-03-25, 05:05 UTC Anyone else having problems with CudaLister crashing TotalCommander after closing the options window?
Is there another way to change options?
Hi,
Not specifically that problem (version 1.8.0.1)
In my case, the configuration of cudalister (and other plugins) comes to me in the "lsplugin.ini" file.

All the best
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: CudaLister (source code viewer)

Post by *Horst.Epp »

robubble wrote: 2023-03-25, 05:05 UTC Anyone else having problems with CudaLister crashing TotalCommander after closing the options window?
Is there another way to change options?
No crashes here
but you can change the CudaLister section in lsplugins.ini
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
norfie²
Power Member
Power Member
Posts: 986
Joined: 2006-02-10, 07:27 UTC

Re: CudaLister (source code viewer)

Post by *norfie² »

robubble wrote: 2023-03-25, 05:05 UTC Anyone else having problems with CudaLister crashing TotalCommander after closing the options window?
Confirmed for the CudaLister "Options dialog".
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
norfie²
Power Member
Power Member
Posts: 986
Joined: 2006-02-10, 07:27 UTC

Re: CudaLister (source code viewer)

Post by *norfie² »

CudaLister 1.8.1.0 is published.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
pantantrolla
Junior Member
Junior Member
Posts: 21
Joined: 2013-06-03, 15:49 UTC

Re: CudaLister (source code viewer)

Post by *pantantrolla »

norfie² wrote: 2023-04-13, 09:29 UTC CudaLister 1.8.1.0 is published.
Thx :D
Brat2
Junior Member
Junior Member
Posts: 4
Joined: 2023-06-17, 14:24 UTC

Re: CudaLister (source code viewer)

Post by *Brat2 »

Author please add the [CudaListerDark] section to the settings. So that you can automatically pick up the theme settings when changing the night style. And it would be nice to set shortcut CTRL+F to search. Thank you.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: CudaLister (source code viewer)

Post by *Horst.Epp »

Brat2 wrote: 2023-06-17, 14:34 UTC Author please add the [CudaListerDark] section to the settings. So that you can automatically pick up the theme settings when changing the night style. And it would be nice to set shortcut CTRL+F to search. Thank you.
You should make an entry in the Authors forum at GitHub
https://github.com/Alexey-T/CudaLister
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Fla$her
Power Member
Power Member
Posts: 2295
Joined: 2020-01-18, 04:03 UTC

Re: CudaLister (source code viewer)

Post by *Fla$her »

Brat2 wrote: 2023-06-17, 14:34 UTC So that you can automatically pick up the theme settings when changing the night style.
This is far from the only plugin with color settings. For most of my TC usage, I had a common dark coloring for different Lister plugins long before the dark mode appeared. And there was not even a thought that the plugins would adapt to some mode.
It would be more correct if the plugins optionally adjusted their colors to the current ones in TC, especially since no one interferes with having any colors in both modes.

Add: I'm surprised why the plugin author can't guess to see the description of the DarkMode key in the help. :shock:
Overquoting is evil! 👎
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *gdpr deleted 6 »

Horst.Epp wrote: 2023-09-28, 07:20 UTC Viewing PHP files is the job of plugins like CudaLister which shows them with syntax highlighting
I can only warn against using the current version 1.8.1.0 of CudaLister. It has a severe bug related to its search functionality that might result in arbitrary files being destroyed (overwritten) by CudaLister depending on your search behavior and text selection behavior in CudaLista. It's known since at June, but the authors/maintainers of CudaLister have clearly dropped the ball on this one: https://github.com/Alexey-T/CudaLister/issues/112
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: CudaLister (source code viewer)

Post by *gdpr deleted 6 »

UPDATE: 1.8.2.0 has been released that specifically addresses and fixes the severe issue present in 1.8.1.0 i wrote about here.

Note that the current version 1.8.1.0 of CudaLister has a severe bug that can lead to aribitrary files being destroyed (overwritten) by CudaLister depending on your search and text selection behavior in CudaLister. The issue has been known since at least end of June, yet the authors/maintainers didn't seem to bother reviewing their code base upon a user reporting on that issue. Noteworthy is also that one of the authors/maintainers pointed at the function in CudaLister causing the issue, yet no action was taken and the problematic code remains in the master branch of the CudaLister github repo to this day: https://github.com/Alexey-T/CudaLister/issues/112

(I don't know if CudaLister is built from the master branch of it's github repo, or whether it is built from a private repo or local codebase. While the commit causing the issue happened end of February after the older 1.8.0.1 version was released beginning of February, the dates are close enough that the problematic code might perhaps already be present in 1.8.0.1 if it were built from a private repo/local codebase that might had the problematic code changes before they got pushed to the public github repo.)
Last edited by gdpr deleted 6 on 2023-09-28, 21:00 UTC, edited 1 time in total.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: EdgeViewer - Modern HTML viewer plugin

Post by *Horst.Epp »

elgonzo wrote: 2023-09-28, 14:56 UTC
I can only warn against using the current version 1.8.1.0 of CudaLister. It has a severe bug related to its search functionality that might result in arbitrary files being destroyed (overwritten) by CudaLister depending on your search behavior and text selection behavior in CudaLista. It's known since at June, but the authors/maintainers of CudaLister have clearly dropped the ball on this one: https://github.com/Alexey-T/CudaLister/issues/112
I use CudaLister daily many times and had never any file corruption.
So it looks like the problems it has are only occur under certain conditions.
Not for me :D
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: EdgeViewer - Modern HTML viewer plugin

Post by *gdpr deleted 6 »

Horst.Epp wrote: 2023-09-28, 15:57 UTC So it looks like the problems it has are only occur under certain conditions.
Not for me :D
Why would i care if you lose files. No pain for me, perhaps also not for you... :D
Post Reply