diff --git a/COMMANDS b/COMMANDS index 71bf1f87..4547a508 100644 --- a/COMMANDS +++ b/COMMANDS @@ -22,15 +22,15 @@ ** Server handling -CONNECT
[:port[:password]] +CONNECT
[port [password [nick]]] - Connect to specified server + Connect to specified server, if there's no password set it to - DISCONNECT <* / tag> [message] Disconnect from server -SERVER
[:port[:password]] +SERVER
[port [password [nick]]] Disconnect from current server and connect to new one diff --git a/Makefile.am b/Makefile.am index e176c96c..7f590194 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,8 +20,8 @@ SUBDIRS = macros src $(PLUGINS) $(SERVERTEST) ## to automatically rebuild aclocal.m4 if any of the macros in ## `macros/' change @MAINT@include $(srcdir)/macros/macros.dep -@MAINT@$(srcdir)macros/macros.dep: $(srcdir)/macros/Makefile.am -@MAINT@ cd macros && $(MAKE) macros.dep +@MAINT@macros/macros.dep: $(srcdir)/macros/Makefile.am +@MAINT@ cd $(srcdir)/macros && $(MAKE) macros.dep if HAVE_GNOME appletdir = $(datadir)/applets/Network diff --git a/NEWS b/NEWS index b5de1a7c..2fb6708e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,45 @@ +v0.7.17 1999-10-09 Timo Sirainen [unstable] + + + Irssi text widget! (replaces zvt) + - supports proportional fonts + - FAST + - background pixmaps (scaled, tiled, scrollable, shaded) + + + Proxy plugin - Unlike other irc proxies, this is more than just a + simple proxy. You can connect to it from multiple clients at the + same time, but each client will use the _same_ irc session, so you + can keep one irc client open all the time in your home, one at + work, one at wc, etc. All the clients get the same "normal" + messages from server, but if you request a /whois or /who or some + other commands, the reply will be sent to only the client that + requested it. Check README how to use it. + + + Irssi is now much faster catching up things after joined to + channel, it asks channels' MODE and WHO first, all with the same + command (WHO #a,#b,#c), after them it asks the ban lists etc. less + important things. + + Workaround for GTK themes eating X server's memory + + Command line arguments: + -c server [-p port] : connects to server at startup + -! : don't autoconnect to any servers + -n : specify nick to use (override setup) + + Server lag displayed in statusbar, you can also set irssi to + automatically disconnect from server if it is too lagged + + Channel limit and key is displayed above nicklist + + Number of ops and total number of nicks in channel is displayed + + Nicklist background color can be changed + + Each window can have it's own command history buffer + + Try to let the server disconnect the socket (5 sec timeout) to make + sure that quit message gets through. + + Improved /gwhois dialog + + Setup dialogs are resizeable + + You can specify what port to use with DCC. + - Channel dialog fixes: after editing channel, it was moved to the + end of the list, opening multiple channels edit dialogs didn't + work right + - Reconnecting to server didn't work (always) + - Giving multiple nicks for /gwhois messed up irssi + v0.7.16 1999-09-13 Timo Sirainen [unstable] + Started bot plugin, it has simple user management functions and diff --git a/README b/README index 158ab7ad..f4952a9c 100644 --- a/README +++ b/README @@ -26,7 +26,7 @@ it does: - You can connect to multiple servers. Irssi is also IRC network aware so you can specify some settings to work only in specified IRC networks. - Automatically connect to IRC server(s) at startup, automatically join to - channels when connected + channels when connected. - All code is nonblocking, it won't hang while connecting to server or opening DCC connection. Host lookups are done in separate processes. - DCC send, receive and chat with GUI @@ -40,12 +40,24 @@ it does: hilighting lines with specified texts - Smart nick completion - Configurable logging support - - You can use ZVT widget to print texts, it's really fast so you can be - joined to many high traffic channels and irssi won't slow up - Plugins support, creating plugins is really easy. - Lots of nice GUI stuff :) + * PROXY PLUGIN + +Usage: + +Start irssi-text in screen, +connect to some irc server +/load proxy [ip address to listen [port to listen]] + + +Finished, default port to listen in is 2777 and default ip is the ip +where your irc server is connected. Now just connect your clients to +the proxy. There's not much features yet, if you want to use multiple +servers you'll need to start multiple irssi-texts now.. + * INSTALLATION ./configure @@ -75,8 +87,8 @@ There's also some others, you can get a full list with ./configure --help --no-applet Don't start gnome panel applet --connect -c Connect to server at startup --port -p - specify port - --noconnect -n Don't autoconnect to any servers at startup - + --noconnect -! Don't autoconnect to any servers at startup + --nick -n Specify what nick to use * BUGS / SUGGESTIONS diff --git a/TODO b/TODO index 0a53eb5e..61ab7e1c 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,6 @@ - + *** Bugs - - If there's any empty lists in configuration file (like ircnets = ();), - libPropList crashes irssi at startup.. Irssi doesn't save any empty lists - now, but still this needs to be fixed in libPropList.. - - after changing irssi-text's screen size to smaller it leaves some empty - lines to windows before printing text, redrawing screen moves the lines - back up.. hm.. - irssi can't find new themes in ~/.irssi/ while running - scan for new themes when opening themes dialog? irssi-text also needs to be restarted to use new themes.. @@ -17,7 +11,7 @@ - gfloat doesn't work in formats .. why? In DCC messages kb and kb/s values could be shown as floats.. -*** text GUI +*** text UI - statusbar: - when starting to run out of space some items could be made smaller, @@ -37,8 +31,6 @@ channels goes to where, what channels/queries to open at startup, etc. use dialog with gtktree widget to change it. - split windows with gtkpaned (check window-views-patch.diff) - - really transparently working irc proxy, saves scrollback buffers, etc. - Or maybe the existing ones already work? - some sort of address book? our own irssi ctcp to ask for other irssi users for their information (of course not without asking (except optionally)).. could be nice also to automatically update it, keep track of all seen @@ -63,7 +55,7 @@ - other scripting plugins would be easier? scheme, tcl, pythong? sula premirex uses scheme, it would probably be pretty easy to learn from it how to do it to irssi :) - - IRC bot, eggdrop is too old, needs a replacement ;) + - IRC bot, eggdrop is too old, needs a replacement ;) (started) - DCC file server, I'm not too excited about this, maybe someone else wants to do it.. - Multiplayer games! :) Chess, tic-tac-toe, othello, battleship, tetris, @@ -71,22 +63,40 @@ seem to be any of these (except tetris) for gnome right now.. - audio / video chat :) -*** Little things +*** Needs rethinking .. - - command line parameter handling, specify what server/ircnet to autoconnect - or none. + * Logging, check how ircii logging works and try to do everything that it + can do ;) currently logging is done by directly writing to disk things + that are displayed in screen, it could instead (optionally) print things + simply as "JOIN #blah nick (a@b.c)" - log option: add the open/close time to log - log directory, automatically log all channels and queries there - overwrite/append - all windows, just queries, only the channels in channel list - you can be joined to same channels in different irc networks (or even the same ircnet!) - create the logs to different directiories/names - - use different themes in different channels/queries? + - logging: longer format dd.mm.yy hh:mm:ss (configurable?) + - awaylog (/log create ~/away.log -all +msgs or something), autoaway + + * Notify list, join the two different dialogs, ability to track changes in + gone flag + - nick-specific options: + - check for gone-flag changes (use userhosts instead of isons) + - create popup dialog + - run some command (like /exec as soon as I get that done :) + - dialog: keep track of hosts/realnames so after closing and opening the + dialog again they would show up.. + +*** Little things + + - itext: + - save/find text + - text selection draws the entire selection every time you move the + mouse... - improve msgslevels and ignoring .. Like ignoring "chan" doesn't work now. It could be changed to joins, parts, quits, topics, nicks, .. just rip all the msglevels from bitchx and use them :) - - use server-idle instead of channel.query thing.. - - lag meter + - use different themes in different channels/queries? - possibility to display different colors in nicks from different people.. and different colors for word hilighting too - /connect ircnet could connect to ircnet @@ -96,34 +106,16 @@ servers. good for people behind firewalls. - support for ircii translation tables (/usr/lib/irc/translation/*) - use different nicks/realnames in different irc networks - - zvt problems/todo: - - need some way to disable all the extra features, like sending 0x8e - messes up your fonts. - - the ugly cursor just keeps blinking - - 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.. - - summary list (for irssi-text) - - nick-specific options: - - check for gone-flag changes (use userhosts instead of isons) - - create popup dialog - - run some command (like /exec as soon as I get that done :) - gnome statubar: - clock? - dcc transfer meter (gtk progressbar) - you could configure which events (whois, notify, etc.) to show in what windows (all, current, status) - gui for configuring plugin specific theme format texts - - awaylog (/log create ~/away.log -all +msgs or something), autoaway - 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?) - - net split/join detection ? is this even needed? more harmful than useful? - /timer, /clones + - display net splits? - run multiple commands with one alias (what was this needed for? can't remember..) - regexp for hilighting words? diff --git a/configure.in b/configure.in index 556e2c28..7b01d67a 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ AC_INIT(src) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(irssi, 0.7.16) +AM_INIT_AUTOMAKE(irssi, 0.7.17) AM_MAINTAINER_MODE diff --git a/servertest/server.c b/servertest/server.c index 90ce2bd5..8e049816 100644 --- a/servertest/server.c +++ b/servertest/server.c @@ -2,7 +2,7 @@ #include -#define FLOOD_TIMEOUT 100000 +#define FLOOD_TIMEOUT 50000 typedef struct { @@ -16,6 +16,16 @@ gchar *clientnick, *clienthost; int clienth; +gint gui_input_add(gint handle, GUIInputCondition condition, + GUIInputFunction function, gpointer data) +{ + return -1; +} + +void gui_input_remove(gint tag) +{ +} + /* Read a line */ gint read_line(gboolean socket, gint handle, GString *output, GString *buffer) {