Commit graph

  • 85d0060426 Don't fail the remote redirections either until MAX_FAILURE_COUNT redirections have gone without reply to our redirection. This is because the timeout itself may fail if lag to the server is too high. Timo Sirainen 2001-12-01 20:36:44 +00:00
  • 5524f89d71 /UPGRADE shouldn't begin server reconnections in old client. Timo Sirainen 2001-12-01 20:23:48 +00:00
  • 348461aa08 Only use registered start events to begin a server redirection - not those that are just given in server_redirect() (fixes a small problem of /MSG nick who is away + /WHOIS nick, then receiving the first away reply from server to /MSG command irssi thinks it's a reply to /WHOIS) Timo Sirainen 2001-12-01 20:17:57 +00:00
  • ed7d5addc9 Disable lag detection in servers that don't understand PING command (yes, there was at least one..) Timo Sirainen 2001-12-01 19:44:54 +00:00
  • fa37db9205 Added ~/.irssi/scripts and PREFIX/lib/irssi/scripts to default @INC path Timo Sirainen 2001-12-01 18:34:01 +00:00
  • b35062bb6a snprintf() -> g_snprintf() Timo Sirainen 2001-12-01 15:22:52 +00:00
  • d4411e4545 Removed settings_add_bool(.., "join_auto_chans_on_invite", ..) here, it's already done in channel-events.c and causes glib error. Timo Sirainen 2001-11-30 00:31:47 +00:00
  • 6e4b264148 Make sure the more-statusbar item doesn't crash if there's no active window. Timo Sirainen 2001-11-29 23:50:47 +00:00
  • 5d52832efd /WALLCHOPS are now printed to screen. Receiving notices for @#channel are printed like receiving wall messages. /ACTION @#channel didn't work properly. Timo Sirainen 2001-11-29 23:31:16 +00:00
  • 444f329b5f irssi --help printed --password=SERVER option, changed to --password=PASSWORD :) Timo Sirainen 2001-11-29 22:58:42 +00:00
  • 6976bec3d9 Allow using Irssi::signal_add('command ...', ..) so irssi won't crash when the script is unloaded. Timo Sirainen 2001-11-29 22:12:28 +00:00
  • 4ebe07e0d1 command_unbind() - don't crash if trying to unbind a command not registered in given module. Timo Sirainen 2001-11-29 22:05:24 +00:00
  • 53b4ad6c58 /QUOTE and /RAWQUOTE shouldn't work until connect() to server is finished. Timo Sirainen 2001-11-29 19:19:29 +00:00
  • b40901efba When /SET colors is OFF, irssi displays all non-default background colors as reversed. Timo Sirainen 2001-11-29 12:09:31 +00:00
  • 266193aa7e Added Irssi::Irc::get_mask() and Irssi::Irc::MASK_* Timo Sirainen 2001-11-28 21:49:39 +00:00
  • 9e1aba8cec /QUERY without a parameter but with options (eg. /alias query query -window) now does the same /UNQUERY properly. Timo Sirainen 2001-11-28 21:38:35 +00:00
  • fe82eafa44 /EXEC -interactive was broken. Timo Sirainen 2001-11-28 20:49:10 +00:00
  • 847ad423de "event 378" is also used to end /MAP in OPN. Timo Sirainen 2001-11-28 01:43:21 +00:00
  • c35c32f3f0 g_free_not_null() is now equal to g_free() - didn't notice before this was allowed.. :) I'll remove this macro entirely when I get around rewriting irssi.. Timo Sirainen 2001-11-28 00:54:49 +00:00
  • 337ae1a862 max number of parameters for printformat() was calculated wrong. Timo Sirainen 2001-11-27 20:29:56 +00:00
  • 8028f969fe didn't work properly with scripts calling Irssi::printformat() Timo Sirainen 2001-11-27 20:21:56 +00:00
  • a843057fed removed memdebug support Timo Sirainen 2001-11-27 18:12:30 +00:00
  • 698f7b9ea7 default level for /EXEC should be CLIENTCRAP, not CLIENTNOTICE. Timo Sirainen 2001-11-27 13:56:00 +00:00
  • dd408a959d /SET term_force_colors was broken. Timo Sirainen 2001-11-27 13:05:16 +00:00
  • 241fc61d23 added support for servers where /WHO only gives "end of who" message. Timo Sirainen 2001-11-25 21:59:49 +00:00
  • 53bdd8f602 Irssi didn't properly abort a redirection of which end event it missed. Timo Sirainen 2001-11-25 20:55:45 +00:00
  • e246ca668b printformat_perl() crashfix was buggy :) Timo Sirainen 2001-11-25 18:34:20 +00:00
  • e6f006009f /SET dcc_own_ip now affects also which interface irssi uses to connect to outgoing DCC connections. Timo Sirainen 2001-11-25 17:35:47 +00:00
  • e8b71dcd98 Added backwards compatibility for /UPGRADE for transferring nick list.. Timo Sirainen 2001-11-25 17:06:11 +00:00
  • c3429fa50e /UPGRADE: when trying to restore connection to server of which chat protocol is unknown, close the specified handle. Timo Sirainen 2001-11-25 17:03:00 +00:00
  • 9db0c7cc7d --more-- statusbar item didn't work properly with split windows. Also changed it's settings in non-active window to be the same as in active window (right aligned) Timo Sirainen 2001-11-25 16:35:11 +00:00
  • 09b5baa3d9 window_get_theme() now checks that window isn't NULL, so we don't crash if something tries to print to screen when there's no windows yet. Timo Sirainen 2001-11-25 16:31:24 +00:00
  • ba445fe37e /SCRIPT LOAD modifies the script name so that all non-alphanumeric characters are translated to '_' char .. now this behaviour is done also when /SCRIPT UNLOAD is done, so people don't get confused why their "test-1" script can't be unloaded. Timo Sirainen 2001-11-25 16:17:44 +00:00
  • ed4d24b282 /UPGRADE: Irssi no longer asks for /NAMES list from server when rejoining channels, but the nick list is transferred in session file. Timo Sirainen 2001-11-25 16:13:12 +00:00
  • f0ce4f221b Irssi::printformat() doesn't crash anymore if you try to use unregistered format. Timo Sirainen 2001-11-25 15:43:08 +00:00
  • ff16e15389 /FORMAT timestamp and /FORMAT day_changed use now strftime()-style formats for specifying time. %x is still treated as color format, so you'll need to escape them with another % (%%H:%%S). The $ parameters don't work anymore. Timo Sirainen 2001-11-25 15:41:37 +00:00
  • 7ae96f540d Added printtext_string_window(), Irssi::UI::Window::print() uses it also now. Timo Sirainen 2001-11-25 15:27:47 +00:00
  • 8fd09aa09f /WINDOW NAME now complains if you try to change the window's name to something that's already in use. Timo Sirainen 2001-11-25 15:16:28 +00:00
  • 5347d24e61 Doing /RECONNECT while server was still being connected to, irssi didn't disconnect the server so you ended up having two connections. Timo Sirainen 2001-11-25 15:05:38 +00:00
  • 66b0ffe057 Irssi::Window::command() should make the specified window active_win temporarily. Timo Sirainen 2001-11-25 15:01:39 +00:00
  • ea904f8dc9 Irssi::printformat() crashed if the registered format contained $0- etc. Timo Sirainen 2001-11-24 01:31:49 +00:00
  • 24015a360a /FOREACH QUERY did actually same as /FOREACH CHANNEL :) Timo Sirainen 2001-11-21 17:50:58 +00:00
  • 7dfb10b29e set only non-automatic windows sticky so that the windows irssi creates at startup wont get sticky. also the check if split window was empty was wrong. Timo Sirainen 2001-11-20 21:42:56 +00:00
  • d133a90eaa 377 numeric seems to be used as motd by some servers.. Timo Sirainen 2001-11-20 21:19:35 +00:00
  • cd09cd6332 Still forgot to add pidwait_get_pids() here. Timo Sirainen 2001-11-20 20:54:21 +00:00
  • d4d2fe5e80 added function pidwait_get_pids() which session.c uses - forgot to commit last time :) Timo Sirainen 2001-11-20 20:48:43 +00:00
  • 2416437eb8 /SET colors OFF should work even if /SET term_force_colors is ON Timo Sirainen 2001-11-20 20:44:17 +00:00
  • 94be91c30e --session broke --help output Timo Sirainen 2001-11-20 20:36:12 +00:00
  • b24629822e /UPGRADE: waited pids are now transferred to new client so we don't leave zombie processes. Timo Sirainen 2001-11-20 20:29:45 +00:00
  • c355002886 using signal_add() instead of signal_add_first() again. the ..first() wasn't really needed and it broke autoaway.pl script .. which is because /DISCONNECT and /UPGRADE commands destroy the server record, but it's still left in the signal's parameter. Guess I'll need to add reference counting to server record as well.. Timo Sirainen 2001-11-20 12:51:28 +00:00
  • 637a3c76c1 data_is_empty() might have crashed when it was called at the startup when there was no active window. Timo Sirainen 2001-11-20 12:38:03 +00:00
  • 615efbcc79 /WINDOW STICK <ref#> OFF didn't work. Timo Sirainen 2001-11-20 03:38:53 +00:00
  • ffe3f5788f When creating hidden windows in sticky split windows, they should go to the active split window, not to some other non-sticky window.. Timo Sirainen 2001-11-20 03:35:23 +00:00
  • a715b8b9ab send_raw_split() example's nickarg was wrong (2 -> 3). Timo Sirainen 2001-11-20 03:28:31 +00:00
  • 53ce47a81a irc_send_cmd_split() - don't crash if there was no nicks given (probably called improperly from script).. Timo Sirainen 2001-11-20 03:26:36 +00:00
  • 72d943acdb /UPGRADE: --home and --config parameters weren't passed to new irssi. Timo Sirainen 2001-11-20 03:19:02 +00:00
  • 7bdd1cbec9 Added /FORMAT names_prefix to print prefix at the beginning of each /NAMES list line. Timo Sirainen 2001-11-20 03:11:02 +00:00
  • 9cf8d32198 Typobugfix. Timo Sirainen 2001-11-20 02:48:53 +00:00
  • 275c04a6aa Irssi didn't redraw the screen properly when split windows were created but were never set active. Timo Sirainen 2001-11-20 02:43:43 +00:00
  • 29aa8ef2c8 /SET autocreate_split_windows - If autocreated windows should be split windows instead of hidden. Timo Sirainen 2001-11-20 02:25:38 +00:00
  • 1eff191e65 Added halfop support for nick modes. Timo Sirainen 2001-11-20 02:22:12 +00:00
  • 26128a3de2 Previous commit in core/commands.c broke /^cmd (command output hiding). Timo Sirainen 2001-11-20 02:08:37 +00:00
  • 8279d9c5c2 /SET join_auto_chans_on_invite setting wasn't registered so it didn't work.. Timo Sirainen 2001-11-20 02:04:44 +00:00
  • e0841d15a2 /UPGRADE now saves the session, disconnects the servers so that the socket isn't closed but irssi thinks its disconnected, then it quits irssi, and as the last command executes the new irssi. This way we get clean deinitialization so irssi can close log files, destroy scripts, etc. Timo Sirainen 2001-11-20 01:47:29 +00:00
  • bb3592f5c7 /UPGRADE: server command queue is now flushed to make sure everything gets sent to server. Channels are now stored in in config blocks instead of just in one string, this way we can restore the topic and key. Away status in server is also restored. Timo Sirainen 2001-11-20 01:29:23 +00:00
  • 333f6a3bab Added net_sendbuffer_flush() for flushing the buffer. Timo Sirainen 2001-11-20 00:54:51 +00:00
  • 04275a632e Specified "cleft" and "cright" for ctrl-left/right keys. Added xterm's keycodes for them. Timo Sirainen 2001-11-19 23:57:29 +00:00
  • 0fc752528f /BIND works a bit better again when parsing the given key. Timo Sirainen 2001-11-19 23:56:00 +00:00
  • 44565932e3 Don't break if /CHANNEL ADD -bots list has bots separated with more than one space. Timo Sirainen 2001-11-19 23:12:00 +00:00
  • baf8ac392c grab the "send command" event with signal_add_first(). Timo Sirainen 2001-11-19 23:09:29 +00:00
  • a9428129a5 378 event (whois realhost) data is different between irc servers, so added support for another server. Also added support for 377 event (whois usermode). Timo Sirainen 2001-11-19 23:04:58 +00:00
  • 32f26d0ff5 perl_command() - just a small sanity check that we're not sending empty command. Timo Sirainen 2001-11-19 22:47:32 +00:00
  • 879702897b eval_special_string() : spaces are now ignored after ';' separator (so /alias echo foo; echo bar works properly). Also if there was any empty commands they're now ignored. Timo Sirainen 2001-11-19 22:44:04 +00:00
  • 1efdf062c6 Removed whois_coming-flag which was used to figure out if 301 event should be printed as whois-message or normal "nick is away" message. Server redirections are used for that now. Some servers also send 301 event in /WHOWAS reply, this works now as well. Timo Sirainen 2001-11-19 22:34:50 +00:00
  • 725a66df7f Changed default of /SET lag_check_time from 30 to 60. Timo Sirainen 2001-11-19 22:22:30 +00:00
  • 964cb3c384 Rewrote lag statusbar item. It's now updated properly. Timo Sirainen 2001-11-19 22:21:57 +00:00
  • 08162d83bf Settings of perl scripts are now stored in "perl/core/scripts" instead of old "perl/core". The settings are automatically moved to the perl/core/scripts for now - this will be removed before 0.7.99 comes out. Timo Sirainen 2001-11-19 21:26:30 +00:00
  • dc11f23afd /HILIGHT -actcolor didn't work with -nick (which was default) Timo Sirainen 2001-11-19 21:10:39 +00:00
  • e98a83b538 Actually :) The /SET show_own_nick_change_once is still there, but it's OFF by default now, and printing the own nick changes just don't trigger window activity. Timo Sirainen 2001-11-19 20:47:36 +00:00
  • 9bec3628a2 /SET show_own_nickchange_once ON - show own nick changes only in active window instead of every channel you've joined. This is the default now. Timo Sirainen 2001-11-19 20:42:36 +00:00
  • 60dbc68bdf Removed memdebug stuff. Timo Sirainen 2001-11-19 20:41:30 +00:00
  • 360083dea8 Added /EXEC -level option. Timo Sirainen 2001-11-19 20:37:55 +00:00
  • 0ffcbdc9b4 Removed memory debugging code. It's a lot easier to check for buffer overflows with electric fence and memory leaks with memprof. Timo Sirainen 2001-11-19 20:30:19 +00:00
  • 5bcb8251f5 Ignoring CTCPs shouldn't ignore DCC CTCPs, we're checking DCC level for ignoring them now. Timo Sirainen 2001-11-19 20:16:24 +00:00
  • 2079164128 Actually, we do want to have the space after nick completion.. :) It's much more often wanted than not, and I can't really think of any way to figure out if we want space or not. Timo Sirainen 2001-11-19 20:06:57 +00:00
  • 3819189ef4 Irssi::Irc::Dcc::* is now correctly blessed instead of using Irssi::Irc::Dcc always. did s/irssi_bless/iobject_bless/, added simple_iobject_bless which DCC uses. Timo Sirainen 2001-11-19 19:36:21 +00:00
  • 99a6a85b85 Chat protocol ID was assumed to be 8bit or less, this may not be so since the ID is taken from generic unique ID-pool which grows fast.. Now the we'll divide the 32bit number to 16bit chat protocol ID and 16bit object ID. They might not fit either, so I think I'll need to rewrite this part of code some day :) Timo Sirainen 2001-11-19 18:46:40 +00:00
  • 381c823e1a Don't add space after tab-completed nicks. Timo Sirainen 2001-11-19 18:06:15 +00:00
  • 04bb4bbf39 moved the dirty_check() before fe_common_core_finish_init() so that if ~/.irssi/startup file does something that wants to change the prompt it would work.. Timo Sirainen 2001-11-19 17:31:33 +00:00
  • f5c9e3648e "message irc notice" - when figuring out if it's server notice or not, check also if address == "" instead of just == NULL. At least if perl script emits the signal it gets "". Timo Sirainen 2001-11-19 17:21:11 +00:00
  • c710ca1d7e Redraw the screen before emitting "irssi init finished" signal, so we have input entry created if someone wants to change prompt. Timo Sirainen 2001-11-19 16:57:19 +00:00
  • 0c79d92d5d data_is_empty() didn't check properly for $0-$9 variables and broke statusbar. Timo Sirainen 2001-11-19 16:38:00 +00:00
  • d56ed85d91 With /SET window_auto_change ON, irssi might have crashed if input entry was not visible at that time. Timo Sirainen 2001-11-19 15:59:55 +00:00
  • d5f22075c7 /UPGRADE now remembers user mode, patch by lam@e-gate.pl Timo Sirainen 2001-11-19 15:45:40 +00:00
  • 55137fa30d get_argument() - allow arglist to be NULL, just assume that there's no arguments then. Timo Sirainen 2001-11-19 14:17:16 +00:00
  • 01404a3713 /CONNECT -! doesn't autojoin to channels. Timo Sirainen 2001-11-19 14:02:27 +00:00
  • 4978d4cd14 Irssi printed GLib error if no PATH was set.. Timo Sirainen 2001-11-19 13:55:28 +00:00
  • 78f9c141dc /UPGRADE didn't work properly when you were connected to multiple servers. Timo Sirainen 2001-11-19 13:52:10 +00:00
  • 5656ad352d session_set_binary() - we can't get the full path to irssi binary from argv[0] and we need it, so its searched now. Timo Sirainen 2001-11-19 13:33:28 +00:00
  • ee708c1469 -botcmd isn't now sent to channels when /UPGRADEing. Timo Sirainen 2001-11-19 13:14:37 +00:00