New FS-Plugin : Versions
Moderators: Hacker, petermad, Stefan2, white
- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
New FS-Plugin : Versions
Every day, I check on many different websites is a new version of my favorite programs is available to download. So I decided to create this plugin which regroups every searches in Total Commander.
This plugin is a File-System plugin which allows you to see the current version number of any program downloadable online.
This is the first release, it is free and Open sources.
Binaries: http://totalcommander.free.fr/fabio/versions.zip
Sources: http://totalcommander.free.fr/fabio/versions_sources.zip
Screenshot: http://totalcommander.free.fr/fabio/files/versions.png
This plugin is a File-System plugin which allows you to see the current version number of any program downloadable online.
This is the first release, it is free and Open sources.
Binaries: http://totalcommander.free.fr/fabio/versions.zip
Sources: http://totalcommander.free.fr/fabio/versions_sources.zip
Screenshot: http://totalcommander.free.fr/fabio/files/versions.png
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Re: New FS-Plugin : Versions
Well, how have you managed to get all the information together (in the name column). I get for example for WinRar:fabiochelly wrote:Screenshot: http://totalcommander.free.fr/fabio/files/versions.png
"WinRAR(3" - in the first column (Name)
"20 beta 5)" - in the second column (Ext)
and the dot (".") between 3.20 disappears at all

- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
Some problems and questions:
1. I can't cancel the search during the process
2. I can't delete a search; I must edit the list.ini for that ( it would be more pratical to have an option "delete" like "add search")
3. I don't understand this questions: "search form this point", "after this string", and "before this string". What I'm supposed to answer here? I little readme would be useful.
Thanks.
1. I can't cancel the search during the process
2. I can't delete a search; I must edit the list.ini for that ( it would be more pratical to have an option "delete" like "add search")
3. I don't understand this questions: "search form this point", "after this string", and "before this string". What I'm supposed to answer here? I little readme would be useful.
Thanks.
- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
1. Planned for next version
2. Is it very useful?
3. In "After" and "Before", you should enter the strings around the version number.
"search form this point" is here if the "after this string" occurs more than one time in the source.
2. Is it very useful?
3. In "After" and "Before", you should enter the strings around the version number.
"search form this point" is here if the "after this string" occurs more than one time in the source.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
Imagine a source like this:
If I just specify "after" and "before" strings like this:
after text = "<b>"
before text = "</b>"
Tha parsing will be wrong because there are multiple occurences of '<b>' in the source.
In this case, the plugin will return "program name" instead of "1.03".
So, I added the request "from this point" to search the "after string" only after a specific start point.
In this case, you can choose "Current version" for start point.
Code: Select all
<br>
<b>program name</b>
<br>
Current version:
<br>
<b>1.03</b>
after text = "<b>"
before text = "</b>"
Tha parsing will be wrong because there are multiple occurences of '<b>' in the source.
In this case, the plugin will return "program name" instead of "1.03".
So, I added the request "from this point" to search the "after string" only after a specific start point.
In this case, you can choose "Current version" for start point.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Several next suggestions:
- It should ignore empty lines in .ini file.
- Look at this example:
When I forgot to put space before <BR> - TC crashes 
- What do you think about ignoring html tags inside the place for version number. I mean some versions number can be formated, eg. main version in bold, minor without bold, like this: "Version 2.7.6.8"
The html code looks like this: "Version 2.7.</B>6.8 " - the "</B>" could be ignored.
- It should ignore empty lines in .ini file.
- Look at this example:
Code: Select all
RAKS_ST|http://www.msm.com.pl/VERINFST.htm|Legenda|</FONT> (|) <BR>|29-04-2003

- What do you think about ignoring html tags inside the place for version number. I mean some versions number can be formated, eg. main version in bold, minor without bold, like this: "Version 2.7.6.8"
The html code looks like this: "Version 2.7.</B>6.8 " - the "</B>" could be ignored.
Great plugin!
Has a lot of potential. I think groups will be a must.
Imagine:
Group Total Commander/ Total Commander 5.51
Subgroup TotalCommander Plugins/ here we go with a list of plugins.
In general you should use directory here, check all contents
and mark somehow in main directory and subdirectories (you can use column size) which groups have changed.
Also option "scan" should be separated from browsing.
If I have lots of software, I don't want it to be scanned everytime I enter the plugin.
Has a lot of potential. I think groups will be a must.
Imagine:
Group Total Commander/ Total Commander 5.51
Subgroup TotalCommander Plugins/ here we go with a list of plugins.
In general you should use directory here, check all contents
and mark somehow in main directory and subdirectories (you can use column size) which groups have changed.
Also option "scan" should be separated from browsing.
If I have lots of software, I don't want it to be scanned everytime I enter the plugin.
After all, computers crash, people die, relationships fall apart. The best we can do is breath and reboot.
- pdavit
- Power Member
- Posts: 1529
- Joined: 2003-02-05, 21:41 UTC
- Location: Kavala -> Greece -> Europe -> Earth -> Solar System -> Milky Way -> Space
- Contact:
Re: New FS-Plugin : Versions
Nice one! Thanks and keep up the good work!fabiochelly wrote:This plugin is a File-System plugin which allows you to see the current version number of any program downloadable online.

"My only reason for still using M$ Window$ as an OS is the existence of Total Commander!"
Christian Ghisler Rules!!!
Christian Ghisler Rules!!!
- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
New version: Versions 1.1
Binaries: http://totalcommander.free.fr/fabio/versions.zip
Sources: http://totalcommander.free.fr/fabio/versions_sources.zip
Screenshot: http://totalcommander.free.fr/fabio/files/versions.png
- Groupping (in fact multiple '.list' files instead of one list.ini)
- Ability to abort while searching
- Some bugfixes
- Fixed problem with extensions
Binaries: http://totalcommander.free.fr/fabio/versions.zip
Sources: http://totalcommander.free.fr/fabio/versions_sources.zip
Screenshot: http://totalcommander.free.fr/fabio/files/versions.png
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Verison 1.1 - bugs
Thanks Fabiofabiochelly wrote:New version: Versions 1.1

Thanks also for the readme, I hope it will help some people.
Unfortunately I've found still some bugs:
- When you press Enter on the item with the name and version - you get: "Exception in fsplugin.FsExecuteFile!"
- When you add search there could be not edit box (to type the name of the list) but combo box to type a new one or choose one of the existing lists (if you have several lists, its easy to make mistake typing).
- It's a pity you can't edit the list after pressing F4, not only Alt_Enter
- Now your plugin is case-sensitive for html tags. It makes some problems. When I view source of the site it depends of the browsershow they interpret tags - one shows them lowercase, anotherr uppercase. When I put wrong case of the tags to my list - TC doesn't crash, it just closes
There is an example here:If the closing </B> is uppercase - it's ok, if it's lowercase - TC closesCode: Select all
RAKS|http://www.msm.com.pl/VERINFKP.htm|Legenda|<B>Wersja |</B>|2.30.
- Maybe you could add any interface to edit the items (F4 on the item)
- Turn some keys off - F6, F8, DELETE - they just refresh the list now - F7 - it's useless here, DELETE - could just remove the item from the list.

- fabiochelly
- Power Member
- Posts: 603
- Joined: 2003-02-05, 12:03 UTC
- Location: Rambouillet, France
Corrected in version 1.2When you press Enter on the item with the name and version - you get: "Exception in fsplugin.FsExecuteFile!"
I'll have to use my own forms instead of the ones provided by TC: it will increase the size of the plugin by 200 kB only for a combobox. Do you think it worth it?not edit box [...] but combo box
You're right. I just didn't think about it. Planned for the next version.It's a pity you can't edit the list after pressing F4, not only Alt_Enter
It always has. Now I changed it in version 1.2 to be Case insensitive.Now your plugin is case-sensitive for html tags.
It was because the plugin found a </b> farther in the source. So it creates a version number with more than 500 characters! It's corrected in version 1.2 (I refuse version number longer than 30 chars, it should be enough I think)When I put wrong case of the tags to my list - TC doesn't crash, it just closes
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous