1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 02:45:25 -04:00
Commit Graph

223 Commits

Author SHA1 Message Date
Timo Sirainen
78bbff304e Changed /TOPIC -d to be /TOPIC -delete instead, the automatic option
completion will take care of it.

Added -clear option to /SET.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:36:36 +00:00
Timo Sirainen
f369248f68 User mode wasn't set right after server reconnection if server didn't
set any user mode for you automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:23:01 +00:00
Timo Sirainen
d1d7840db1 Removed system version from default CTCP reply.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@423 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 00:20:20 +00:00
Timo Sirainen
584fa9a034 Server reconnection was a bit buggy - it didn't have to wait for the 5
minutes if it connected to some other server in same ircnet..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 22:22:55 +00:00
Timo Sirainen
4475a04841 If you're pasting text to channel and some of it starts with /, Irssi
will send the "/command" to channel if it doesn't exist (instead of
just printing "unknown command").


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 19:22:30 +00:00
Timo Sirainen
c451c94c68 Minor memleak fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 16:24:28 +00:00
Timo Sirainen
bb76eec0ff When netsplit is over, irssi prints "Netsplit over, joins: (nicks)" and
hides all the real JOIN messages. Fixed also some netsplit bugs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 16:19:26 +00:00
Timo Sirainen
30f4151e51 WI_ITEM_REC was modified, but CHANNEL_REC, etc. wasn't. BIG mistake.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 21:33:57 +00:00
Timo Sirainen
d0dcffab7b When doing "/OP nick1 nick2" (two spaces), irssi tried to op "" nick too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:44:50 +00:00
Timo Sirainen
8fc1e0535c You can send message to different server with /MSG -<server tag> nick...
Tab-completion changes:
 - in empty line, it completed /MSG nick1 fine, but another tab press
   didn't give the next nick.
 - "/command <tab>" doesn't try to complete /command, but instead it tries
   to complete it's subcommand or first parameter.
 - /MSG completion now goes through nicks in ALL servers prefixing the nick
   with -<server tag> if needed.
 - /MSG -tag <tab> completes only nicks in "tag" server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 20:00:39 +00:00
Timo Sirainen
7e531cec7a Automatic command completion and a few other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 17:15:37 +00:00
Timo Sirainen
0dbfd281c9 Created signal_get_uniq_id() macro. Added some documentation about
signals to design.txt.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 23:39:23 +00:00
Timo Sirainen
cb1666cb21 /command -option fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 19:28:19 +00:00
Timo Sirainen
6fda8d1059 /topic's cmd_get_params() had wrong parameter count..
removed unused variable from netsplit.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 10:14:15 +00:00
Timo Sirainen
2cb75b5eb2 cmd_get_params() calls had wrong parameter counts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 09:21:54 +00:00
Timo Sirainen
aca24d1795 Don't use cmd_get_params() to split the two hosts, it's a lot easier to
use strchr()..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:10:48 +00:00
Timo Sirainen
a5d31a195d Changed option handling in /commands. Irssi will now complain about
unknown options and missing option arguments.

Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 01:18:12 +00:00
Timo Sirainen
8ea2400269 Added /SET reuse_unused_windows setting, default is OFF
If window_close_on_part is ON, we don't anymore close the window if we
get kicked or connection gets lost. Also don't close DCC chat window if
the other side disconnects.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:22:56 +00:00
Timo Sirainen
cf75515274 You can specify command(s) to be sent automatically to server after
connected with /IRCNET -autosendcmd. Useful for IRC networks with
NickServ. Patch by <Tommi.Komulainen@iki.fi>

Ability to send a command automatically to server IRC network


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@354 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 20:56:58 +00:00
Timo Sirainen
afb6d6fd02 If join to !channel wasn't successfull (banned, etc.), Irssi didn't remove
the channel's window item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@352 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 19:34:31 +00:00
Timo Sirainen
6b811b1c2c Don't show "End of WHOWAS" if none of the nicks were found.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 19:40:23 +00:00
Timo Sirainen
47fd84c5bc Fixed some flood detection, ignoring and autoignoring bugs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:52:03 +00:00
Timo Sirainen
6d77cdc8b7 Read new server specific settings when reconnecting to new server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:50:16 +00:00
Timo Sirainen
7365afddea Max. mode parameter count was taken from wrong place.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 23:33:35 +00:00
Timo Sirainen
18f3c74d68 CTCP msgs/replies stops the "event privmsg" or "event notice" signals now
so you don't have to check for them anymore (unless you use
signal_add_first()..).

/WINDOW MOVE command had some bugs.

CTCP reply to some channel didn't display the channel name.

Several code cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@327 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-12 22:57:53 +00:00
Timo Sirainen
524a7ca1b9 If you're not allowed to connect to server (K-lined, no I-line), Irssi
won't try to reconnect back to the server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 19:34:29 +00:00
Timo Sirainen
15d49dbd85 /WHOIS automatically sends a /WHOWAS query if nick wasn't in IRC.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 21:40:00 +00:00
Timo Sirainen
bdb70fe464 /JOIN -<server tag> #channel joins to channel in specified server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 20:03:43 +00:00
Timo Sirainen
47c7817bc5 /MODE +something or /MODE -something assumes that we want to change the
active channel's mode.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 08:58:52 +00:00
Timo Sirainen
41ff80bb3e You can specify the format of the /WALL text with /SET wall_format,
default is "[Wall/#channel] text". The WALL is also printed to screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 15:50:04 +00:00
Timo Sirainen
f4d7561660 /WHO and /WHO * should disply who list of the active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@302 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-07 18:35:15 +00:00
Timo Sirainen
69b38e702d bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-06 16:58:06 +00:00
Timo Sirainen
80c03f4572 fixed two minor memleaks. irc/bot directory isn't now build if you specify
--without-bot parameter to configure


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@294 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 20:54:33 +00:00
Timo Sirainen
a7f5540cba /IRCNET command.
PARAM_FLAG_NOQUOTES flag for cmd_get_params()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 14:52:47 +00:00
Timo Sirainen
8562737548 completion_msgtoyou() -> irc_nick_match()
Implemented -replies option to /ignore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 12:38:28 +00:00
Timo Sirainen
35fab0c9ef Lots of DCC related fixes.
Added command_bind_first() and command_bind_last() functions.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 01:36:07 +00:00
Timo Sirainen
841736a7d3 Removed a warning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 00:04:02 +00:00
Timo Sirainen
94adc5ef62 /SET hostname didn't affect until restart.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 22:55:20 +00:00
Timo Sirainen
b9393e864b /AWAY <away message> now sets yourself away in all IRC servers.
If you wish to set it only to one server, use /AWAY -one <message>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:19:06 +00:00
Timo Sirainen
bf61b699da Awaylog is printed to screen when you set yourself unaway.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:15:51 +00:00
Timo Sirainen
3e4f947934 removed common-setup.h, put all settings in it to files where they belong to.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 00:36:54 +00:00
Timo Sirainen
c7fbd670e6 /server -add messed up everything when modifying existing servers.
Now it also changes only the specified settings in the server instead of
replacing it entirely.

only the settings you change changed parts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 18:04:34 +00:00
Timo Sirainen
b4a9ee1966 Some strange servers replied to MODE #chan1,#chan2 with "Cannot join channel
(illegal name)". IMHO this is not a logical reply from server.. fixed, anyway.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:36:39 +00:00
Timo Sirainen
bb5d6a730b crashed when reconnecting to server that didn't automatically set
any user mode (I _did_ fix this a week ago, what happened to it?)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:31:03 +00:00
Timo Sirainen
f741a73ad4 /BAN * and /UNBAN * equals to /BAN * * or /UNBAN * *, so you don't have to
write the * twice when banning/unbanning everyone..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:22:17 +00:00
Timo Sirainen
7a255bf839 forgot these from /MOTD fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:07:32 +00:00
Timo Sirainen
9bbd284721 /topic -d [#channel] clears the topic.
When topic cleared, the topic bar wasn't refreshed immediately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 16:49:19 +00:00
Timo Sirainen
bf8616ee26 /userhost command didn't work ("unknown command"), and sending it with
/quote userhost crashed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 15:04:41 +00:00
Timo Sirainen
b6cadd5388 fixed a crash (first cvs commit in home for 2 months :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-26 15:28:13 +00:00
Timo Sirainen
555a2bf929 Print nicks who quit IRC in netsplit message. See netsplit section in
docs/manual.txt for more information.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 16:40:25 +00:00
Timo Sirainen
2440a5b0b6 Unline glib.h tells, g_getenv() doesn't return newly allocated string
after all..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:54:43 +00:00
Timo Sirainen
5896d8350d When connecting, USER's second (and third?) parameters sometimes are
meaningful, server won't let more than one people in from host specified in
second parameter. Since irssi always set both of these to "-", only one
Irssi could connect to the server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:15:57 +00:00
Timo Sirainen
76605ad0ae Added bot plugin, it also has almost-functional botnet.
Changed configure.in's functionality so that you could tell what modules you
want to build in main irssi binary and it will create automatically the .c
files that need to call the module_init()/deinit() functions.

Fixed several minor things..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 11:30:47 +00:00
Timo Sirainen
ae25925a1f Some logging fixes. Flood checking had a memory leak. Query had a small
memory leak. Text buffer fixes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@226 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-18 08:46:56 +00:00
Timo Sirainen
a0aa649368 /mode #channel -k key now removes the "+k" mode too instead of just setting
the channel key to NULL.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-17 09:42:31 +00:00
Timo Sirainen
0ce6aa720c /PART <message> displays the whole message now, not just the first word
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@224 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-17 09:32:46 +00:00
Timo Sirainen
ffaab13c8b Irssi will reply to CTCP TIME request.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 15:22:28 +00:00
Timo Sirainen
cbdaf7d06d Lots of changes again. Biggest ones:
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:25:45 +00:00
Timo Sirainen
bb4d7566c2 iconfig's caching was a bit buggy - it didn't notice if some config node was
removed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 13:57:42 +00:00
Timo Sirainen
ae5c4164c8 Netsplit displays the IRC network where it happened
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 12:47:22 +00:00
Timo Sirainen
58aaae794e IRCNet specific nick name wasn't used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 11:31:24 +00:00
Timo Sirainen
749640e793 /MODE was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 11:29:55 +00:00
Timo Sirainen
93d6032151 - Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and
GNOME crap to compile irssi-text.
- Some fixes to compile with -ansi -pedantic


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 11:42:42 +00:00
Timo Sirainen
d3dc9a1307 .. lots of changes ..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
eea919678c /ban and /invite crashed, /mode didn't work. ctcp.c doesn't need
irssi-version.h


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 09:02:44 +00:00
Timo Sirainen
a94e6e735c Fixes for servers that replied to WHO #a,#b with 403 message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 11:38:52 +00:00
Timo Sirainen
849c091ac4 Removed several header files that only had xxx_init(); xxx_deinit(); - moved
them to the .c file where they were called.

nicklist didn't notice nick changes right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 10:31:14 +00:00
Timo Sirainen
d769109f57 joining to multiple channels at once crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 09:48:06 +00:00
Timo Sirainen
b1e041435e missing query_init(), query_deinit()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 09:19:34 +00:00
Timo Sirainen
be0ccafd36 same user mode problem fixed with reconnects
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:19:57 +00:00
Timo Sirainen
d4195b31a2 crashed with servers that didn't automatically set any user mode
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 10:13:29 +00:00
Timo Sirainen
2b711f1383 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:43:45 +00:00
Timo Sirainen
c95034c6de ..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:03:38 +00:00