Author Topic: resurrection of old plugins  (Read 11761 times)

Offline seb_seb0

  • Almost regular
  • **
  • Posts: 166
resurrection of old plugins
« on: August 30, 2010, 10:11:52 pm »
Hello,

I have been using Code::Blocks for more than 2 years now, and during this time I have squirrelled away a few plugins done by other guys.
These plugins are useful (or at least can be, or can be a good sample, depending on who you ask), and since they never reached the trunk repository, they are lost in the depth of the forum.

Therefore I have uploaded them here:
http://www.MegaShare.com/2502645

The list of plugins are:
   ColorCoder (author Deschamps: http://forums.codeblocks.org/index.php/topic,8568.0.html)
   FileManager (dmoore http://forums.codeblocks.org/index.php/topic,10060.0.html)
   PowerShell (dmoore)
   FortranProject (author unknown - let me know if you know it !)
   wxSmithPlot (wxSmith extension for MathPlot wxWidgets - author unknown - let me know if you know it !)
   OccurenceHighlighter (from danselmi)
   QTHelper (from critic - http://forums.codeblocks.org/index.php/topic,10453.0.html)
   SVNInside (author unknown  - let me know if you know it !)
   wxSmithButton ("speed button" written by rcoll - http://forums.codeblocks.org/index.php/topic,11978.0.html)
   wxSmithImage (written by rcoll - very nice extension to wxSmith)
   wxSmithKWIC (written by Cryogen - http://wxsmithaddons.sourceforge.net/)
   wxSmithTreeListCtrl (written by rcoll - http://forums.codeblocks.org/index.php/topic,12020.0.html)
   Python Plugin (written by dmoore - http://forums.codeblocks.org/index.php/topic,4528.0.html)

Nearly all these plugins (except wxKWIC) are forgotten or not far from it, and I find it is a pity.
They can be useful for someone - as a starting point for a new plugin, or as an example, or simply for using it.

Please note that I have successfully built all these plugins with the last nightly (svn 6527) on Windows Vista.
And I would very much like to see someone improving SVNInside and Python Plugin. (I wish I could do it myself - but I have only 24 hours in my day  :) - and I want to finish XPMEditor, and then work on wxSmith)

Is it possible to add these plugins in the SVN repository (even if they are not included in the nightly build) ?
Alternatively I can set up a project on berlios / sf when I have a bit more time.

Sebastien

edit: updated the archive (removed maintained plugins: wxKWIC, FileManager, PowerShell, PyPlugin)
  
« Last Edit: August 31, 2010, 10:50:01 pm by seb_seb0 »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5195
Re: resurrection of old plugins
« Reply #1 on: August 30, 2010, 10:49:03 pm »
well maybe we can analyze them one by one, and see if they are fit to add as contrib.
I think we should focus on plug-ins working both for linux and windows to start out with.

What's the state of the svninside ?

Offline seb_seb0

  • Almost regular
  • **
  • Posts: 166
Re: resurrection of old plugins
« Reply #2 on: August 30, 2010, 11:02:12 pm »
well maybe we can analyze them one by one, and see if they are fit to add as contrib.
I think we should focus on plug-ins working both for linux and windows to start out with.

What's the state of the svninside ?

difficult to say - it builds, it loads. When exiting code::blocks, it makes it crash (probably only a few lines to change).
I cannot say much more, I need to use it more to know better

To be honest, I believe it is dangerous to add them directly to the contrib plugins. But they can be added to an "archive" directory: the code is still available, but not built. This way, the code is not lost, and it give the opportunity to polish the code and improve it (or use it as a basis for a new plugin).

Also note that I have only built the plugins on Windows. I do not know what will happen on Linux.

Sebastien
« Last Edit: August 30, 2010, 11:04:24 pm by seb_seb0 »

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: resurrection of old plugins
« Reply #3 on: August 30, 2010, 11:38:06 pm »
 I have wxSmithImage, FileManager and PowerShell running. wxSmithImage is up-to-date. I haven't run PowerShell since the prop grid upgrade. As I recall it was not functioning fully and I couldn't make the SVN features work in FileManager. I've also been running FortranProject, which uses an older cut of C::B, and it works like a charm.

I also have KeyMacs going well.

wxSmithKWIC is current and working. I want to add the new image tool functionality to it and look at using the latest wxCode code but it still works as advertised as things are. Since it's maintained and under development I'd prefer it if you didn't distribute it via other means. The site is linked below.
I may need to update the web site with a later version. I haven't looked at it recently. ;-)

Bye.

UPDATE:
I've just checked and both PowerShell and FileManager build. PowerShell causes issues for me when I run it in debug and I can't find any functionality. FileManager works but is so slow to open folders, the bigger the slower, that it's unusable for me and still no SVN decorators.

« Last Edit: August 31, 2010, 02:59:20 am by Cryogen »

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: resurrection of old plugins
« Reply #4 on: August 31, 2010, 02:32:46 am »

 I posted my KeyMacs changes here: http://forums.codeblocks.org/index.php/topic,9980.0.html. I've been meaning to do that for ages.

Offline seb_seb0

  • Almost regular
  • **
  • Posts: 166
Re: resurrection of old plugins
« Reply #5 on: August 31, 2010, 07:32:10 am »
wxSmithKWIC is current and working. I want to add the new image tool functionality to it and look at using the latest wxCode code but it still works as advertised as things are. Since it's maintained and under development I'd prefer it if you didn't distribute it via other means. The site is linked below.
I may need to update the web site with a later version. I haven't looked at it recently. ;-)

No problem for that - I will replace the archive above with a new one without KWIC tonight. It is in the archive I made because I have downloaded the plugin (and used it actually). This is the set of plugins I rebuild each time I upgrade with a nightly.

I know that some of the plugins are not finished and / or not working as expected - The goal here is simply to make sure that nothing is lost because of lack of use.
I have seen that you have updated wxSmithImage, and that you are still working on wxSmith: hopefully it will lead to the integration of it inside the trunk one day, and the work of rcoll will not be lost. This plugin is more than 1 year old.

Another example is SVNInside: nobody updated it for a long time. But if someone is starting a similar plugin, he/she might be interested in knowing a similar plugin has been done. It saves some time, and since time is the most precious resource for developpers, it makes sense to take steps for saving time !


Offline mariocup

  • Developer
  • Lives here!
  • *****
  • Posts: 587
Re: resurrection of old plugins
« Reply #6 on: August 31, 2010, 09:18:12 am »
The list of plugins are:
   ColorCoder (author Deschamps: http://forums.codeblocks.org/index.php/topic,8568.0.html)
   FileManager (dmoore http://forums.codeblocks.org/index.php/topic,10060.0.html)
   PowerShell (dmoore)
   FortranProject (author unknown - let me know if you know it !)
   wxSmithPlot (wxSmith extension for MathPlot wxWidgets - author unknown - let me know if you know it !)
   OccurenceHighlighter (from danselmi)
   QTHelper (from critic - http://forums.codeblocks.org/index.php/topic,10453.0.html)
   SVNInside (author unknown  - let me know if you know it !)
   wxSmithButton ("speed button" written by rcoll - http://forums.codeblocks.org/index.php/topic,11978.0.html)
   wxSmithImage (written by rcoll - very nice extension to wxSmith)
   wxSmithKWIC (written by Cryogen - http://wxsmithaddons.sourceforge.net/)
   wxSmithTreeListCtrl (written by rcoll - http://forums.codeblocks.org/index.php/topic,12020.0.html)
   Python Plugin (written by dmoore - http://forums.codeblocks.org/index.php/topic,4528.0.html)

Hi Sebastien,

some other interesting plugins are:
Spellchecker (writter by danselmi) http://developer.berlios.de/projects/spellchecker/
Diffviewer http://forums.codeblocks.org/index.php/topic,12829.0.html
MakefileGenerator (??)

I did not know all these plugins but I am using for example FileManager and PowerShell which are very stable and useful. I agree that searching the forums are not the right way to "announce" this functionality. I think that Filemanager and PowerShell could be integrated without risk in the contrib plugins. For the other plugins we could make a different approach. Currently we have the cc_branch which is under heavy development. For example we could add these plugins in the contrib directory and announce them as "potential" new plugins. For the cc_branch we could build nightlies and give the users the time to evaluate them and vote for these plugins. However before doing such a step it should be clear who will maintain the plugins if they become official. I don't think it is a good solution to have plugins without a maintainer, because this will lead to crashes and will annoy users who are used to work with a stable Code::Blocks environment.

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: resurrection of old plugins
« Reply #7 on: August 31, 2010, 03:54:19 pm »
 Hey Seb,

wxSmithKWIC is current and working. I want to add the new image tool functionality to it and look at using the latest wxCode code but it still works as advertised as things are. Since it's maintained and under development I'd prefer it if you didn't distribute it via other means. The site is linked below.
I may need to update the web site with a later version. I haven't looked at it recently. ;-)

No problem for that - I will replace the archive above with a new one without KWIC tonight. It is in the archive I made because I have downloaded the plugin (and used it actually). This is the set of plugins I rebuild each time I upgrade with a nightly.

I know that some of the plugins are not finished and / or not working as expected - The goal here is simply to make sure that nothing is lost because of lack of use.
I have seen that you have updated wxSmithImage, and that you are still working on wxSmith: hopefully it will lead to the integration of it inside the trunk one day, and the work of rcoll will not be lost. This plugin is more than 1 year old.

That's great, no problem. What I could do is put these plug-ins on my wxSmith page. That would seem to be a good place for them and it would get them out of the forum. What do you think? I'm happy to give you developer access, if you have an SF account, and you're welcome to give your plug-in a home there too, if you like.

Another example is SVNInside: nobody updated it for a long time. But if someone is starting a similar plugin, he/she might be interested in knowing a similar plugin has been done. It saves some time, and since time is the most precious resource for developpers, it makes sense to take steps for saving time !

I haven't tried that one. I'd be interested in trying it on Linux if I get the time. :-)
And yes, definitely.

I also have SpellChecker going. That's another nice one. I think danselmi is still maintaining it.

Ciao.


« Last Edit: August 31, 2010, 07:03:12 pm by Cryogen »

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: resurrection of old plugins
« Reply #8 on: August 31, 2010, 06:23:47 pm »
 Here are some others to play with:

Interpreted Languages: http://developer.berlios.de/projects/cbilplugin/
Auto-readonly: http://forums.codeblocks.org/index.php/topic,10163.0.html (I have this working.)
rndgen: (I don't know where I found this one and can't find it in the forums or on google. It's also working.)
« Last Edit: August 31, 2010, 09:52:06 pm by Cryogen »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: resurrection of old plugins
« Reply #9 on: August 31, 2010, 09:20:02 pm »
I've just checked and both PowerShell and FileManager build. PowerShell causes issues for me when I run it in debug and I can't find any functionality. FileManager works but is so slow to open folders, the bigger the slower, that it's unusable for me and still no SVN decorators.

I do maintain these, but update them infrequently due to work and other commitments. They need some more clean up before they are truly ready for contrib.

Re the issues you report. Are you using the latest sources from the "branches" folder of the cbilplugin svn? (link) What are the issues with PowerShell? (it is configured from settings->environment->power shell). File Manager is slow depending on how long "svn stat" takes.

Here are some others to play with:
Interpreted Languages: http://developer.berlios.de/projects/cbilplugin/

deprecated (replaced by powershell)

Quote
Python: http://developer.berlios.de/projects/cbilplugin/

I haven't worked on this for some time. The last version offered interactive python sessions in a dockable window and rudimentary GUI debugging.

Offline seb_seb0

  • Almost regular
  • **
  • Posts: 166
Re: resurrection of old plugins
« Reply #10 on: August 31, 2010, 11:00:23 pm »
Hello,

I have removed the following plugins from the uploaded archive:
  - wxSmithKWIC: available here http://wxsmithaddons.sourceforge.net/
  - FileManager
    PyPlugin
    PowerShell : available on dmoore site here: http://developer.berlios.de/projects/cbilplugin/

As long as they are maintained by their authors, it is fine by me.
However, I still maintain the original idea: it would be very profitable to have a central repository of "non-official" / Beta plugins (understand: not included in the nightlies) - like wxCode.
The simplest way would be to setup a project on berlios. This will really avoid "lost plugins".

What's the state of the svninside ?

I confirm it is broken currently: there are crashes problems (recurrent), and it does not recover correctly the file status (up-ot-date or not).
This is a shame, because it looks very nice otherwise. I believe there are no so much work involved in fixing it, but this is just a wild guess.

Sebastien

Offline seb_seb0

  • Almost regular
  • **
  • Posts: 166
Re: resurrection of old plugins
« Reply #11 on: August 31, 2010, 11:07:16 pm »

Hi Sebastien,

some other interesting plugins are:
Spellchecker (writter by danselmi) http://developer.berlios.de/projects/spellchecker/
Diffviewer http://forums.codeblocks.org/index.php/topic,12829.0.html
MakefileGenerator (??)

For MakefileGenerator, I have only a binary (no source files). Therefore it is doomed to obsolescence.
The other 2 I do not know them (never tested).

But it does make my point: there are many plugins which could be made available through a centralized web page (there is the wiki here http://wiki.codeblocks.org/index.php?title=Code::Blocks_Plugins, but it is not complete - I will update it with my plugin XPMEditor. For the others, I will not do it without the consent of their respective authors).


Sebastien

Offline Cryogen

  • Regular
  • ***
  • Posts: 260
Re: resurrection of old plugins
« Reply #12 on: September 01, 2010, 12:01:18 am »

 Hi,

Re the issues you report. Are you using the latest sources from the "branches" folder of the cbilplugin svn? (link)

Yes, surprisingly. ;-)

What are the issues with PowerShell? (it is configured from settings->environment->power shell). File Manager is slow depending on how long "svn stat" takes.

The main one is mine, that is, what is it supposed to do? I've read all the forum entries and I still don't know. From memory I saw a grey console-ish window when it started that wouldn't accept any input and I can't see anything else.

With FileManager I do get the "explorer" window in C::B but I don't find it useful to access the filesystem from within C::B. I don't see any SVN activity. I see a file icon that is diagonally green across the bottom. I do have a command line SVN in my path but I use Tortoise for normal ops. so I don't need this but I'd like to know that it works. Is FileManager supposed to do anything else?

Here are some others to play with:
Interpreted Languages: http://developer.berlios.de/projects/cbilplugin/

deprecated (replaced by powershell)

Roger that, thanks.

Cheers.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: resurrection of old plugins
« Reply #13 on: September 01, 2010, 04:40:21 am »
The main one is mine, that is, what is it supposed to do? I've read all the forum entries and I still don't know. From memory I saw a grey console-ish window when it started that wouldn't accept any input and I can't see anything else.

Agree that the functionality isn't really intuitive. Basically it does something similar to the "Tools" menu, but with a little more power. The greyed out window is a notebook. The output of "extensions" can appear as notepages here. An extension is usually a command line tool, but in theory it could be anything (e.g. multiple python interpreters could show up as notepages in the notebook). You configure command line extensions in settings -> environment -> powershell. You can run an extension by selecting it from the "Extensions" menu, or, if the command line tool uses certain variables (e.g. "$mpaths") by right clicking on a file (or files) in the project manager or file manager.

Quote
With FileManager I do get the "explorer" window in C::B but I don't find it useful to access the filesystem from within C::B. I don't see any SVN activity. I see a file icon that is diagonally green across the bottom. I do have a command line SVN in my path but I use Tortoise for normal ops. so I don't need this but I'd like to know that it works. Is FileManager supposed to do anything else?

you should see status indicators for any changes. Have you updated recently. I recently fixed a bug that prevented the correct display of status for newer versions of subversion (which sounds like you describe)

Hello,

I have removed the following plugins from the uploaded archive:
  - wxSmithKWIC: available here http://wxsmithaddons.sourceforge.net/
  - FileManager
    PyPlugin
    PowerShell : available on dmoore site here: http://developer.berlios.de/projects/cbilplugin/

As long as they are maintained by their authors, it is fine by me.
However, I still maintain the original idea: it would be very profitable to have a central repository of "non-official" / Beta plugins (understand: not included in the nightlies) - like wxCode.
The simplest way would be to setup a project on berlios. This will really avoid "lost plugins".

Don't let me deter you. I would be happy to have my plugins hosted elsewhere until they become part of contrib, especially if I have commit access.
« Last Edit: September 01, 2010, 04:41:52 am by dmoore »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: resurrection of old plugins
« Reply #14 on: September 01, 2010, 06:29:16 am »
  FortranProject (author unknown - let me know if you know it !)
   wxSmithPlot (wxSmith extension for MathPlot wxWidgets - author unknown - let me know if you know it !)
   wxSmithButton ("speed button" written by rcoll - http://forums.codeblocks.org/index.php/topic,11978.0.html)
   wxSmithImage (written by rcoll - very nice extension to wxSmith)
   wxSmithKWIC (written by Cryogen - http://wxsmithaddons.sourceforge.net/)
   wxSmithTreeListCtrl (written by rcoll - http://forums.codeblocks.org/index.php/topic,12020.0.html)
They are maintained by me and still working nicely. I've adopted them every-time it was needed, hence I didn't find the time to integrate those into the Linux build system, that's all.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ