Mercurial > pidgin
view plugins/CRAZY @ 133:e277d5f0c1dd
[gaim-migrate @ 143]
Let's see if I can remember everything I did:
- Fixed a bug I let slip. If you choose the new option to not play
login sounds when you log in, and then quit before the timeout is
up, it would save that you didn't want login sounds at all.
- Added two new plugin events: event_away and event_buddy_away.
- Made GtkWidget *imaway in away.c and void play(uchar *, int) in
sound.c not static any more (though not referenced in gaim.h).
This is so plugins can use those (and not have to worry about
writing their own sound code).
- Wrote a quick plugin to auto-iconify windows when you go away. I
had just been locally patching my own copy, since I figured it wasn't
worth including as an option. It also demonstrates some of the issues
of deciding between USE_APPLET and not. Perhaps plugins are the way
to go with some things that would otherwise have been options (for
example, the Lag-O-Meter is one of those things that could possibly
have been a plugin instead of hard-coded in).
I think that's everything.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 19 Apr 2000 02:04:30 +0000 |
parents | da0883dfa7db |
children |
line wrap: on
line source
Figure out a user's IP address if they have the same plugin loaded This would be a really interesting and pretty useful plugin. It could work possibly by sending 'hidden' text in the form of an HTML tag or something, and if it receives the same hidden text, it could then pass messages back and forth to send and receive the IP addresses. Perform extra HTML-highlighting and HTML-stripping Ever get annoyed because gaim doesn't support some HTML markup? Here's a work-around. (Although, if you're this determined, you might as well just hack gaim and send us the patches ;-) .) Auto-reply If someone sends you a message, immediately send them a message back. Add fun things to the message. Reverse their text, then send it back to them. Play with fonts and colors and HTML tags. Really annoy the hell out of them. :-) Control gaim by monitoring a file I have to admit, I blatently stole this idea from LICQ. But it is a really interesting concept. What happens is it watches a certain file to see if it's empty or not. If it's not, it reads the contents and executes any commands stored in there (such as send a message to someone). This can be nice for having remote control of gaim. These are just some of the ideas I came up with in about ten minutes. A really nice thing about having plugins is as long as your code doesn't segfault, you can keep testing and debugging without having to restart gaim. Plus the plugins tend to be small, and quick and easy to compile, so development should be quick. Try to have FUN with these plugins :-). (BTW, dibs on the 'control by file' plugin. :-) .) Other useful ideas I came up with later: -Auto-reconnect on kick -Stock/News ticker (I don't want it, but some people do) -Spell check This one watches what you're sending and replaces common misspelled words (e.g. teh -> the, u -> you, r -> are, etc.). -Play games through the same gaim plugin This one I think is one of my crazier ideas that I would only come up with this early in the morning. This plugin would somehow determine if the other person is using the same plugin. If s/he is, it would allow the people to play a game against each other, like checkers. It could be done by watching the messages passed and intercepting ones that relate to the game/plugin. Conversation could even continue as usual. What gets really warped is then you could write plugins for that plugin for various games (checkers, chess, hearts (4 people!)). I have no desire of trying this one, help yourself. There's going to be a few plugins that are going to ship with gaim by default eventually, probably. This would be a good thing to put in the PATCHES thing over at sourceforge.net, if you write one. Most plugins are probably only going to be one short file, which is probably how most of them should be (some short little hack to do the auto-reconnect thing, for example. That can probably be done in about 10-15 lines).