From afee6cfa8f18aac4a4006ec03404c9a4a9cde005 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 4 Sep 1999 20:06:53 +0000 Subject: [PATCH] Autojoining to channels work with irssi-text too git-svn-id: http://svn.irssi.org/repos/irssi/trunk@15 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- NEWS | 2 ++ TODO | 3 +-- src/common-setup.h | 19 ++++++++++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index e3fb9697..75454cba 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,8 @@ v0.7.16 1999-09-xx Timo Sirainen [unstable] sort the list by clicking the headers + /list and /who dialogs displays total number of items and the list is searchable + + Autojoining to channels work with irssi-text too + - Rawlog doesn't crash anymore if not connected to server - Notifylist and checking of who uses your nick uses WHOIS again, WHO didn't display user info unless s/he was -i or in same channels.. diff --git a/TODO b/TODO index d88ff0fd..0a53eb5e 100644 --- a/TODO +++ b/TODO @@ -28,7 +28,6 @@ - active server tag somewhere in window - word wrapping doesn't work perfectly, if colors/bolds/etc are used, they're treated as spaces. So things like (blah blah) can happen (/who) - - autojoining to channels, make the code common in gui-gnome and gui-text *** Big things @@ -104,6 +103,7 @@ - when clicking an empty spot on screen it sometimes tells that there's some weird crap in there.. - word wrapping + - make window/save buffer and find work - notify list: - dialog: keep track of hosts/realnames so after closing and opening the dialog again they would show up.. @@ -119,7 +119,6 @@ windows (all, current, status) - gui for configuring plugin specific theme format texts - awaylog (/log create ~/away.log -all +msgs or something), autoaway - - make window/save buffer and find work with zvt - dcc send: allow selection of multiple files to send (also for dnd from gmc!) Allow dropping files to anywhere in irssi. - logging: longer format dd.mm.yy hh:mm:ss (configurable?) diff --git a/src/common-setup.h b/src/common-setup.h index 96549351..31205580 100644 --- a/src/common-setup.h +++ b/src/common-setup.h @@ -100,7 +100,6 @@ typedef struct } SETUP_SERVER_REC; -/* servers */ extern GList *setupservers; /* list of local servers */ extern GList *ircnets; /* list of available ircnets */ extern gint server_reconnect_time; /* reconnect to server no sooner than n seconds */ @@ -110,6 +109,24 @@ extern IPADDR source_host_ip; /* Resolved address */ extern gchar *default_nick, *alternate_nick, *user_name, *real_name; extern gboolean toggle_skip_motd; +/* channels */ +typedef struct +{ + gboolean autojoin; + gchar *name; + gchar *ircnet; + gchar *password; + + gchar *botmasks; + gchar *autosendcmd; + + gchar *background; + gchar *font; +} +SETUP_CHANNEL_REC; + +extern GList *setupchannels; + /* IRC proxy */ extern gboolean toggle_use_ircproxy; extern gchar *proxy_address;