[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] Quick Question Regarding Kopete Junior Job
From:       Jason Keirstead <jason () keirstead ! org>
Date:       2007-03-20 14:50:34
Message-ID: 200703201150.34745.jason () keirstead ! org
[Download RAW message or body]

Sending this again cause for some reason (at least according to lists.kde.org)  
it doesn't look like it make it to the ML...

On March 15, 2007 04:48:29 pm you wrote:
> Hello Mr. Keirstead,
>
> I am a student that is beginning work on Kopete.  One of the current junior
> jobs listed on the Kopete Development
> page<http://wiki.kde.org/tiki-index.php?page=Kopete+Development>,
> is:
>
> Cleanup(more C++ efficient) and Refactor Kopete::CommandHandler (nice
> Kopete4 Junior Job)
>
> I looked at the source and saw that you were the author and I was wondering
> if you were the one who issued that task?
> If so, I was wondering if you could elaborate on what you had in mind to
> help get me started?  If not, do you know how I can find out
> who issued that task or who to contact regarding this?
>
> I realize that on the status page, it says you are no longer active, but I
> would really appreciate your help.

Hi Eric. I am the person who wrote it (some years ago now!).

LIke you said though, I haven't been active in Kopete for a while
now.... so I am probably not the best person to ask as to what this
job is referring to (I didn't post it).

I can explain what the current CommandHandler is / does though. What
it is meant to be, is a means for the plugins to programmatically
install support for "slash commands" ( as in /msg <nickname> in IRC ).

Back in the day before I wrote this, the IRC plugin had it's own
hardcoded support for all that stuff, and no other plugins had slash
commands. With the CommandHandler API, the plugins install their own
commands, whatever ones they want. As well there are some global ones,
like /exec, which by itself is actually quite powerful.

If you want to know how to use it, the best example of the usage of
this API is the Alias plugin (which I also wrote back in the day).
This lets you alias commands to other commands, and in combination
with /exec, it is pretty powerful. For example, I used to have a
command called "/bug <number>" that grabbed the description of a bug
from bugs.kde.org and spit it out to the current chat window.

Now I am not sure what this junior job is referring to RE cleanup and
refactor. I'd point you to the kopete-devel mailing list for that. I
tried to make it as "clean" as I could at the time, but time changes
perspective on everything and i am sure that there are improvements
that could be made.

Anyway - good luck and happy hacking :) Feel free to email me again if
you feel I can be of assistance.

PS: CC'ing to kopete-devel@kde.org someone there may want to help you further.

-- 

http://www.brunescafe.com 
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic