DirSizeCalc 1.21 (content plug-in)

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
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2carstenkoegler
I'll add it in DirSizeCalc 1.20.
carstenkoegler
Junior Member
Junior Member
Posts: 3
Joined: 2005-04-27, 15:57 UTC

Post by *carstenkoegler »

Great / Thanx
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

DirSizeCalc 1.20 has been released:

Code: Select all

1.20
- ADDED		All fields can now be calculated in background or on demand.
- ADDED		No more limits on formatting and sorting user-defined units enabled through Plugin interface enhancements.
- ADDED		Plugin interface enhancements are now used to enable displaying of placeholders. They are shown until the calculation has been completed.
- ADDED		New fields "Contains files" and "Contains Subdirectories" added.
DirSizeCalc 1.20 documentation (English)

DirSizeCalc 1.20 documentation (German)

DirSizeCalc 1.20 Download

Current todo list:
- Full localized and customizable placeholders and unit strings
- a similar plugin that doesn't work recursive.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

There is a known when using the new field "Contains files". Trying to rename a directory which contains files will fail. The problem will be corrected in the next version.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

DirSizeCalc 1.21 has been released:

Code: Select all

1.21
- FIXED		Executing file operations on directories wasn't possible in some cases after the field "Contains files" has been used.
- FIXED		Units had been shown for fields which are not able to display file sizes.

1.20
- ADDED		All fields can now be calculated in background or on demand.
- ADDED		No more limits on formatting and sorting user-defined units enabled through Plugin interface enhancements.
- ADDED		Plugin interface enhancements are now used to enable displaying of placeholders. They are shown until the calculation has been completed.
- ADDED		New fields "Contains files" and "Contains Subdirectories" added.
DirSizeCalc 1.21 documentation (English)

DirSizeCalc 1.21 documentation (German)

DirSizeCalc 1.21 Download
Last edited by Lefteous on 2006-01-18, 18:06 UTC, edited 2 times in total.
User avatar
tomcat
Junior Member
Junior Member
Posts: 3
Joined: 2005-06-15, 03:21 UTC
Location: Miass, Russia

Post by *tomcat »

Well, trying in English :)
So, I've created among other columns Directory Count (Background) and File Count (Background). And when, the list of dirs contains no subdirs or files inside, zero digits loafs around. Wants to empty the field when it has zero value - think, it would look better.
Seems a column's data string doesnt allow any kind of conditional formatting, yes? So, may be it would be possible to introduce such feature into the plugin? Something like ini-setting?
Thanks, Lefteous, for your job!
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2tomcat
And when, the list of dirs contains no subdirs or files inside, zero digits loafs around. Wants to empty the field when it has zero value - think, it would look better.
These fields just provide numeric values. If you want I can try to make it an option to display an empty string.
Seems a column's data string doesnt allow any kind of conditional formatting, yes?
I'm not really sure if I understood that correctly. What do you mean by conditional formatting? What could be the conditions? What could be the formatting? Maybe you could give an example.
User avatar
tomcat
Junior Member
Junior Member
Posts: 3
Joined: 2005-06-15, 03:21 UTC
Location: Miass, Russia

Post by *tomcat »

If you want I can try to make it an option to display an empty string.
Yes, I want :)
conditional formatting?
Something like iif(param=0;' ';param) I mean, perhaps it isn't "formatting" in nature
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2tomcat
Something like iif(param=0;' ';param) I mean, perhaps it isn't "formatting" in nature
OK I know now what you mean. It sounds interesting but I think this really would be an expert option.
I will put more effort in making the plugin easier to use and configure.
However the used strings in the plugin will become more customizable and fully localized in future versions.
User avatar
tomcat
Junior Member
Junior Member
Posts: 3
Joined: 2005-06-15, 03:21 UTC
Location: Miass, Russia

Post by *tomcat »

No, no, I'm talk not about conditional formatting in your plugin, but in TC's column's data string. So if there is question about such feature, it is to mr. Ghisler, not to mr. Lefteous
By the way, imho TC is a lot of expert options :)
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2tomcat
OK OK :-)
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Peled
It looks great, but I noticed, that from time to time TC will freez, as if it is calculating the sizes or someting.
Never happened to me before.
DirSizeCalc should never freeze. If you have found any way to reproduce the hang letg me know. I haven't had such hangs yet.
The only way I know to make it look like hanging is to press Alt+Shift+Enter which doesn't call my plugin but the TCs internal size calculation.
User avatar
Peled
Junior Member
Junior Member
Posts: 86
Joined: 2003-03-22, 05:43 UTC
Location: Israel

Post by *Peled »

If you have found any way to reproduce the hang let me know. I haven't had such hangs yet.
It already happened to me few times.
It will happen after opening the TC, and immediately clicking on the back to ROOT directory. As seen here.

[img]http://img8.echo.cx/img8/5793/100ww.jpg[/img]

Not every time, but enough to draw attention
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Peled
Thanks for your observations. I will try to reproduce it.
User avatar
Peled
Junior Member
Junior Member
Posts: 86
Joined: 2003-03-22, 05:43 UTC
Location: Israel

Post by *Peled »

Here you can see a freeze I caught red handed
Notice the white area at the top. It stays that way for a long time, till it gets back to the gray default color

[img]http://img64.echo.cx/img64/9296/freeze7qe.jpg[/img]
Post Reply