mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
53b248f6de
and this is what I've been doing a few weeks now.. :) You really shouldn't upgrade to this version without keeping a backup of the working one, since this will break everything and at least notify list is broken - probably something else too. * On the way to 0.8.0 .. Major rewriting/rearranging code. There's some changes in behaviour because I'm trying to make Irssi a bit more compatible with EPIC. * libPropList isn't needed anymore - I'm using my own configuration library. This is mostly because different proplists worked a bit differently everywhere and several people had problems with it. It's also yet another extra library that you needed to compile Irssi. New configuration library has several advantages: You can add comments to configuration file and they also stay there when it's saved. It's not nearly as vulnerable as proplist. If some error occurs, instead of just not reading anything it will try to continue if possible. Also the error messages are written to irssi's text window instead of stdout. It can be managed more easily than proplist - setting/getting the configuration is a lot more easier. * Coding style changes - I'm not using gint, gchar etc. anymore, they're just extra pain when moving code to non-glib projects and syntax hilighting doesn't work by default with most editors ;) Indentation style was also changed to K&R because of some political reasons ;) And I'm already starting to like it.. :) It forces me to split code to different functions more often and the result is that the code gets more readable. And finally I'm also using nst' all over the place. + /EVAL <commands> - Expand all the special variables from string and run it. Commands can be split with ; character. See docs/SPECIAL_VARS for more info. + Aliases are parsed just like /EVAL - arguments are in $0..$9. + Text formats are also parsed like /EVAL, arguments used to be in $1..$9, now they're in $0..$8 so it messes up existing themes.. + /SET [key [value]] - no more the '=' character. Boolean values also need to be changed with ON/OFF/TOGGLE values (not yes/no). Settings aren't saved to disk until you use /SAVE. + /TOGGLE <key> [ON/OFF] - same as /SET <key> TOGGLE git-svn-id: http://svn.irssi.org/repos/irssi/trunk@163 dbcabf3a-b0e7-0310-adc4-f8d773084564
225 lines
5.5 KiB
Plaintext
225 lines
5.5 KiB
Plaintext
IRC base
|
|
--------
|
|
|
|
* Requires to work properly:
|
|
|
|
"gui exit"
|
|
"gui channel open", CHANNEL_REC
|
|
"send command", char *command, SERVER_REC, CHANNEL_REC
|
|
|
|
* Provides signals:
|
|
|
|
irc.c:
|
|
|
|
"send command", char *args, SERVER_REC
|
|
"command "<cmd>, char *args, SERVER_REC, CHANNEL_REC
|
|
"default command", char *args, SERVER_REC, CHANNEL_REC
|
|
|
|
"server event", char *data, SERVER_REC, char *sender_nick, char *sender_address
|
|
"event "<cmd>, char *args, SERVER_REC, char *sender_nick, char *sender_address
|
|
"default event", char *data, SERVER_REC, char *sender_nick, char *sender_address
|
|
|
|
"server incoming", SERVER_REC, char *data
|
|
|
|
(for perl parser..)
|
|
"redir "<cmd>, char *args, SERVER_REC, char *sender_nick, char *sender_address
|
|
|
|
bans.c:
|
|
|
|
"ban new", BAN_REC
|
|
"ban remove", BAN_REC
|
|
"ban exception new", BAN_REC
|
|
"ban exception remove", BAN_REC
|
|
"ban type changed", char *bantype
|
|
|
|
commands.c:
|
|
"commandlist new", COMMAND_REC
|
|
"commandlist remove", COMMAND_REC
|
|
|
|
channels.c:
|
|
|
|
"channel created", CHANNEL_REC
|
|
"channel destroyed", CHANNEL_REC
|
|
"channel name changed", CHANNEL_REC
|
|
"channel topic changed", CHANNEL_REC
|
|
"channel server changed", CHANNEL_REC, SERVER_REC *oldserver
|
|
|
|
"channel query", CHANNEL_REC
|
|
"channel wholist", CHANNEL_REC
|
|
"channel sync", CHANNEL_REC
|
|
|
|
ctcp.c:
|
|
|
|
"ctcp msg "<cmd>, char *args, SERVER_REC, char *nick, char *addr, char *target
|
|
"default ctcp msg", char *args, SERVER_REC, char *nick, char *addr, char *target
|
|
"ctcp reply "<cmd>, char *args, SERVER_REC, char *nick, char *addr, char *target
|
|
"default ctcp reply", char *args, SERVER_REC, char *nick, char *addr, char *target
|
|
|
|
lag.c:
|
|
|
|
"server lag", SERVER_REC
|
|
"server lag disconnect", SERVER_REC
|
|
"lag", char *server, int lag
|
|
|
|
modes.c:
|
|
|
|
"invitelist new", CHANNEL_REC, char *mask
|
|
"invitelist remove", CHANNEL_REC, char *mask
|
|
|
|
"channel mode changed", CHANNEL_REC
|
|
"user mode changed", SERVER_REC
|
|
"nick mode changed", CHANNEL_REC, NICK_REC
|
|
|
|
netsplit.c:
|
|
|
|
"netsplit add", NETSPLIT_REC
|
|
"netsplit remove", NETSPLIT_REC
|
|
|
|
nicklist.c:
|
|
|
|
"nicklist new", CHANNEL_REC, NICK_REC
|
|
"nicklist remove", CHANNEL_REC, NICK_REC
|
|
"nicklist changed", CHANNEL_REC, NICK_REC, char *oldnick
|
|
"nick gone changed", CHANNEL_REC, NICK_REC
|
|
"nick ircop changed", CHANNEL_REC, NICK_REC
|
|
"server nick changed", SERVER_REC
|
|
"massjoin", CHANNEL_REC, GSList of NICK_RECs
|
|
|
|
rawlog.c:
|
|
|
|
"rawlog", SERVER_REC, char *data
|
|
|
|
server.c:
|
|
|
|
"server connect failed", SERVER_REC
|
|
"server connected", SERVER_REC
|
|
"server connecting", SERVER_REC, ulong *ip
|
|
"server looking", SERVER_REC
|
|
"server disconnected", SERVER_REC
|
|
"event connected", SERVER_REC
|
|
|
|
server-reconnect.c:
|
|
|
|
"server reconnect new", RECONNECT_REC
|
|
"server reconnect remove", RECONNECT_REC
|
|
"server reconnect not found", char *tag
|
|
|
|
signal.c:
|
|
|
|
"signal", char *name, ...
|
|
"last signal", char *name, ...
|
|
|
|
IRC extra
|
|
---------
|
|
|
|
* Requires to work properly:
|
|
|
|
"print text stripped", SERVER_REC, char *channel, int level, char *text
|
|
"plugin add menu", char *menuitem, void (*func) (gpointer, PLUGIN_REC), PLUGIN_REC
|
|
|
|
* Provides signals:
|
|
|
|
dcc.c:
|
|
|
|
"dcc ctcp "<cmd>, char *args, DCC_REC
|
|
"default dcc ctcp", char *args, DCC_REC
|
|
"dcc unknown ctcp", char *args, char *sender, char *sendaddr
|
|
|
|
"dcc reply "<cmd>, char *args, DCC_REC
|
|
"default dcc reply", char *args, DCC_REC
|
|
"dcc unknown reply", char *args, char *sender, char *sendaddr
|
|
|
|
"dcc chat message", DCC_REC, char *msg
|
|
|
|
"dcc created", DCC_REC
|
|
"dcc destroyed", DCC_REC
|
|
"dcc connected", DCC_REC
|
|
"dcc rejecting", DCC_REC
|
|
"dcc closed", DCC_REC
|
|
"dcc chat message", DCC_REC, char *msg
|
|
"dcc transfer update", DCC_REC
|
|
"dcc request", DCC_REC
|
|
"dcc get receive", DCC_REC
|
|
"dcc error connect", DCC_REC
|
|
"dcc error file create", DCC_REC, char *filename
|
|
"dcc error file not found", char *nick, char *filename
|
|
"dcc error get not found", char *nick
|
|
"dcc error send exists", char *nick, char *filename
|
|
"dcc error unknown type", char *type
|
|
"dcc error close not found", char *type, char *nick, char *filename
|
|
|
|
flood.c:
|
|
|
|
"flood", SERVER_REC, char *nick, char *host, char *level, char *target
|
|
|
|
ignore.c:
|
|
|
|
"autoignore new", SERVER_REC, AUTOIGNORE_REC
|
|
"autoignore remove", SERVER_REC, AUTOIGNORE_REC
|
|
"ignore new", LIST_REC
|
|
"ignore change", LIST_REC
|
|
"ignore remove", LIST_REC
|
|
|
|
log.c:
|
|
|
|
"log created", LOG_REC
|
|
"log destroyed", LOG_REC
|
|
"log opened", LOG_REC
|
|
"log closed", LOG_REC
|
|
"log written", LOG_REC, char *line
|
|
"log item created", LOG_REC, LOG_ITEM_REC
|
|
"log item destroyed", LOG_REC, LOG_ITEM_REC
|
|
|
|
notifylist.c:
|
|
|
|
"notifylist new", LIST_REC
|
|
"notifylist remove", LIST_REC
|
|
"notifylist joined", SERVER_REC, char *nick, char *username, char *host, char *realname
|
|
"notifylist left", SERVER_REC, char *nick
|
|
|
|
plugins.c:
|
|
|
|
"plugin created", PLUGIN_REC
|
|
"plugin loaded", PLUGIN_REC
|
|
"plugin destroyed", PLUGIN_REC
|
|
|
|
"plugin error already loaded", char *plugin
|
|
"plugin error invalid", char *plugin
|
|
"plugin error load", char *plugin, char *error
|
|
"plugin error not loaded", char *plugin
|
|
"plugin error version", char *plugin
|
|
|
|
UI common
|
|
---------
|
|
|
|
* Requires to work properly:
|
|
|
|
"gui print text", CHANNEL_REC, int fg, int bg, int flags, char *text
|
|
"gui window goto", int number
|
|
|
|
* Can be used to determine when all "gui print text"s are sent (not required)
|
|
|
|
"print text finished", CHANNEL_REC
|
|
|
|
* Provides signals:
|
|
|
|
ui-keyboard.c:
|
|
|
|
"keyinfo created", KEYINFO_REC
|
|
"keyinfo destroyed", KEYINFO_REC
|
|
|
|
ui-printtext.c:
|
|
|
|
"print text", SERVER_REC, char *channel, int level, char *text
|
|
"print text stripped", SERVER_REC, char *channel, int level, char *text
|
|
|
|
ui-themes.c:
|
|
|
|
"theme created", THEME_REC
|
|
"theme destroyed", THEME_REC
|
|
|
|
ui-windows.c:
|
|
|
|
"window created", WINDOW_REC
|
|
"window destroyed", WINDOW_REC
|