This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Converting plugins to 64-bit - reward
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) Printable version
View previous topic :: View next topic  
Author Message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Fri Sep 16, 2011 6:01 am    Post subject: Converting plugins to 64-bit - reward Reply with quote

Dear plugin writers!

Here you can find some information to convert your existing plugins to 64-bit. With the right tools, it can be done quite easily with only a few changes needed. The plugin interface is unchanged, just pointers and handles are now 64-bit wide.

How to convert plugins to 64-bit?
Please download the latest plugin writer's guide for your plugin:
Packer plugins
File system plugins
Lister plugins
Content plugins

We offer a reward of US$ 100 for each plugin converted to 64-bit (reward per plugin, not per author). Only plugins listed on September 16, 2011 or before on www.ghisler.com or www.totalcmd.net qualify.
In a first phase, only the original plugin writers may get the reward. If the plugin isn't converted to 64-bit until the release of TC 8 final, we will offer the same reward to anyone who creates the first conversion to 64-bit, or (if the plugin isn't open source) writes a working alternative of that plugin.
$100 isn't much, but there are over 500 plugins on totalcmd.net alone...

Why the limit to www.ghisler.com and www.totalcmd.net?
These are the main plugin sites. We link to www.totalcmd.net ourselves, so people will look there first for plugins. If you have written a really useful plugin and published it elsewhere, we may consider to include you in this offer if you put the plugin on
www.totalcmd.net too.

Why the limit to plugins published before September 16, 2011?
We want to avoid that someone publishes 1000s of variations of a simple plugin, and requests $100 for each.

Btw, an overview of all 64-bit plugins can be found in the Wiki:
http://ghisler.ch/wiki/index.php/List_of_64-bit_plugins

Edit (2012-05-30)
Now that TC8 final is available, I'm offering the reward for porting to 64-bit also to third party authors. The conditions are:
1. The plugin should support at least the main feature of the 32-bit only plugin.
2. The author needs to put it on Totalcmd.net, give it a similar name as the old unsupported plugin, and send me the link
3. If there is more than one alternative plugin, those coming later will get the reward only if they do significantly more than the first replacement. For example, if the first replacement packer plugin only does unpacking, and the second then also supports packing, or additional formats. We alone decide whether there will be a reward or not. The decision is final.
4. The reward is $100 for plugins where the source is available - then it's often just a question of recompiling with a few minor tweaks. I'm willing to negotiate a higher reward for plugins where no source is available, but please contact me before starting to write the plugin. No higher reward will be available if it isn't negotiated in advance.

Christian Ghisler
_________________
Author of Total Commander
http://www.ghisler.com


Last edited by ghisler(Author) on Wed May 30, 2012 7:26 am; edited 3 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Sun Oct 02, 2011 10:16 am    Post subject: Reply with quote

Two notes:
1. There is a bug in packer plugin interface: TC passes 0xFFFFFFFF (32bit) instead of INVALID_HANDLE_VALUE (64 bit, 0xFFFFFFFFFFFFFFFF) to SetProcessDataProc and SetChangeVolProc. This will be fixed in beta 4.

2. Plugin writers can also get a few free licences for their friends and relatives instead of money if they prefer.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
J.Bl
Member
Member


Joined: 23 Jan 2005
Posts: 116

PostPosted: Mon Oct 03, 2011 6:30 am    Post subject: Re: Converting plugins to 64-bit - reward Reply with quote

ghisler(Author) wrote:
Content plugins

In the Contentpluginhelp2.1.zip (see the link above), the Part 7. New: 64-bit Support (as inserted in the other plugin helps) is missing. Please add this part about 64bit to the Content Plugin Help.

I allways missing of an "official" description of the Plugin installation archiv fomat. Maybe this is a good moment to make a pdf decription of it. Because new in this moment is how to add the wdx64 to the archiv. (for example: Are there changes for 64bit in the pluginst.inf?, What is the file format of pluginst.inf in general? ...)

J.Bl
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Mon Oct 03, 2011 3:38 pm    Post subject: Reply with quote

Thanks for the warning, I have updated the download link.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Mon Oct 03, 2011 3:38 pm    Post subject: Reply with quote

Quote:
Are there changes for 64bit in the pluginst.inf?

No.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8040
Location: Russian Federation

PostPosted: Tue Oct 04, 2011 1:34 am    Post subject: Reply with quote

I don't see any notes about 64-bit versions in any of plugin documentations...
Quote:
contentplugin.HLP 05/24/11
FSPLUGIN.HLP 07/23/10
listplugin.hlp 01/06/10
WCX Writer's Reference.hlp 09/28/10

I considered that were no changes in interface of content and FS plugins when updated my ones (return types are all 32-bit, content fields also have exact types, the only thing that changes - pointers become 64-bit, but types are still unchanged).
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
Flint
Power Member
Power Member


Joined: 27 Oct 2003
Posts: 3141
Location: Moscow, Russia

PostPosted: Tue Oct 04, 2011 6:43 am    Post subject: Reply with quote

MVV wrote:
I don't see any notes about 64-bit versions in any of plugin documentations...

Download the docs by the links from the first post. They all contain a new page named "64-bit support".
_________________
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
 
Using TC 9.20rc2 / Win7 x32 & x64 SP1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8040
Location: Russian Federation

PostPosted: Tue Oct 04, 2011 7:43 am    Post subject: Reply with quote

Flint wrote:
MVV wrote:
I don't see any notes about 64-bit versions in any of plugin documentations...

Download the docs by the links from the first post. They all contain a new page named "64-bit support".

Wow, really. Very Happy I was thinking that links in Addons section are also updated.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2321
Location: Russian Federation

PostPosted: Fri Oct 07, 2011 8:49 am    Post subject: Reply with quote

Quote:
4. The calculation p-buffer is not working when p is a pwidechar, buffer an array of widechar -> use p-pwidechar(@bufffer)


What the heck is "calculation p-buffer". Don't understand this.
_________________
UniViewer - Log Viewer - CudaLister
Back to top
View user's profile Send private message Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 8040
Location: Russian Federation

PostPosted: Fri Oct 07, 2011 10:18 am    Post subject: Reply with quote

Alextp, buffer and p are pointers, and p-buffer is distance between buffer and p. Smile
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Sun Oct 09, 2011 7:45 am    Post subject: Reply with quote

Examples of what isn't working:
Code:

var p:pchar;
      buffer:array[0..259] of char;
begin
  strcopy(buffer,"this is a test");
  p:=strend(buffer);
  while (p>=buffer) do begin
     // do something, e.g. if p[0]=' ' then p[0]:=#9;
     dec(p);
  end;
end;


The comparison p>buffer is not working in Lazarus both for pchar/array of char and pwidechar/array of widechar. This works just fine in Delphi! It should work in Lazarus at least when using {$mode delphi}.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2321
Location: Russian Federation

PostPosted: Sun Oct 09, 2011 8:26 am    Post subject: Reply with quote

U use very outdated Delphi style(method). asciiz. Normal strings better
_________________
UniViewer - Log Viewer - CudaLister
Back to top
View user's profile Send private message Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35767
Location: Switzerland

PostPosted: Mon Oct 10, 2011 6:54 am    Post subject: Reply with quote

I have many 100s of these constructs in my code, so I can't simply convert them all. I need to replace them by something like
Code:
while (p>=pchar(@buffer)) do begin


The problem is that Lazarus doesn't even warn me that it cannot handle this, so they are very difficult to find.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Alextp
Power Member
Power Member


Joined: 16 Aug 2004
Posts: 2321
Location: Russian Federation

PostPosted: Mon Oct 10, 2011 7:04 am    Post subject: Reply with quote

-The problem is that Lazarus doesn't even warn me

Ok. Need to post Laz report.
Back to top
View user's profile Send private message Visit poster's website
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 10893
Location: Bratislava, Slovakia

PostPosted: Sat Oct 22, 2011 7:11 pm    Post subject: Reply with quote

Moderation:
[OT] posts moved to Plugin writer guides in CHM format?

Hacker (Moderator)

_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Plugins and addons: devel.+support (English) All times are GMT - 6 Hours
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group