1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

2274 Commits

Author SHA1 Message Date
Timo Sirainen
aeae7935ec MAX_FAILURE_COUNT was used off-by-one (ie. 1 meant actually 0..)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 23:46:12 +00:00
Timo Sirainen
6041c93b56 Irssi::UI::Window's data_level and hilight_color contained wrong hash
length arguments.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 23:18:31 +00:00
Timo Sirainen
5f7774db81 "channel wholist" still wasn't sent at proper times.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 20:39:14 +00:00
Timo Sirainen
09b380536f "channel wholist" was sent to channels that hadn't received /WHO list yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 20:09:17 +00:00
Timo Sirainen
782ac81f2c added "Press ENTER to continue" text after the "want to download glib?" text.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 19:56:09 +00:00
Timo Sirainen
84abc35a81 Fixed a memory leak and a crash when notifylist_check_join() was called with NULL realname.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2185 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 19:51:00 +00:00
Timo Sirainen
aa3513eaaf Show @#channel notices as regular notices again. Don't hilight it or @#channel msgs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 19:50:21 +00:00
Timo Sirainen
544af9942e added a few asserts to make sure we don't mess up if IDs go above 16bit
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 17:45:34 +00:00
Timo Sirainen
9f5c181936 Added processes to be extern instead of static. Also added Irssi::processes()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 17:05:09 +00:00
Timo Sirainen
bad59362d3 Added some cygwin help.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 16:04:10 +00:00
Timo Sirainen
cb0c661069 a bit more proper initializing of Irssi package..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 14:40:54 +00:00
Timo Sirainen
1eeb5cf362 add the "gui exit" with signal_add_last() so it can be aborted while still running the other "gui exit" hooks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2179 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 13:06:31 +00:00
Timo Sirainen
294c94573a removed unused variable
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 13:05:46 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 20:36:44 +00:00
Timo Sirainen
5524f89d71 /UPGRADE shouldn't begin server reconnections in old client.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 20:23:48 +00:00
Timo Sirainen
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)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 20:17:57 +00:00
Timo Sirainen
ed7d5addc9 Disable lag detection in servers that don't understand PING command (yes,
there was at least one..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 19:44:54 +00:00
Timo Sirainen
fa37db9205 Added ~/.irssi/scripts and PREFIX/lib/irssi/scripts to default @INC path
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 18:34:01 +00:00
Timo Sirainen
b35062bb6a snprintf() -> g_snprintf()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 15:22:52 +00:00
Timo Sirainen
d4411e4545 Removed settings_add_bool(.., "join_auto_chans_on_invite", ..) here, it's
already done in channel-events.c and causes glib error.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-30 00:31:47 +00:00
Timo Sirainen
6e4b264148 Make sure the more-statusbar item doesn't crash if there's no active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 23:50:47 +00:00
Timo Sirainen
5d52832efd /WALLCHOPS are now printed to screen. Receiving notices for @#channel
are printed like receiving wall messages. /ACTION @#channel didn't work
properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 23:31:16 +00:00
Timo Sirainen
444f329b5f irssi --help printed --password=SERVER option, changed to
--password=PASSWORD :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2168 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 22:58:42 +00:00
Timo Sirainen
6976bec3d9 Allow using Irssi::signal_add('command ...', ..) so irssi won't crash when
the script is unloaded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2167 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 22:12:28 +00:00
Timo Sirainen
4ebe07e0d1 command_unbind() - don't crash if trying to unbind a command not registered
in given module.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2166 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 22:05:24 +00:00
Timo Sirainen
53b4ad6c58 /QUOTE and /RAWQUOTE shouldn't work until connect() to server is finished.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 19:19:29 +00:00
Timo Sirainen
b40901efba When /SET colors is OFF, irssi displays all non-default background colors as reversed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 12:09:31 +00:00
Timo Sirainen
266193aa7e Added Irssi::Irc::get_mask() and Irssi::Irc::MASK_*
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 21:49:39 +00:00
Timo Sirainen
9e1aba8cec /QUERY without a parameter but with options (eg. /alias query query -window)
now does the same /UNQUERY properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2162 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 21:38:35 +00:00
Timo Sirainen
fe82eafa44 /EXEC -interactive was broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 20:49:10 +00:00
Timo Sirainen
847ad423de "event 378" is also used to end /MAP in OPN.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 01:43:21 +00:00
Timo Sirainen
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..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2159 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-28 00:54:49 +00:00
Timo Sirainen
337ae1a862 max number of parameters for printformat() was calculated wrong.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 20:29:56 +00:00
Timo Sirainen
8028f969fe didn't work properly with scripts calling Irssi::printformat()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 20:21:56 +00:00
Timo Sirainen
a843057fed removed memdebug support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 18:12:30 +00:00
Timo Sirainen
698f7b9ea7 default level for /EXEC should be CLIENTCRAP, not CLIENTNOTICE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 13:56:00 +00:00
Timo Sirainen
dd408a959d /SET term_force_colors was broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-27 13:05:16 +00:00
Timo Sirainen
241fc61d23 added support for servers where /WHO only gives "end of who" message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 21:59:49 +00:00
Timo Sirainen
53bdd8f602 Irssi didn't properly abort a redirection of which end event it missed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 20:55:45 +00:00
Timo Sirainen
e246ca668b printformat_perl() crashfix was buggy :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 18:34:20 +00:00
Timo Sirainen
e6f006009f /SET dcc_own_ip now affects also which interface irssi uses to connect to
outgoing DCC connections.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:35:47 +00:00
Timo Sirainen
e8b71dcd98 Added backwards compatibility for /UPGRADE for transferring nick list..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2149 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:06:11 +00:00
Timo Sirainen
c3429fa50e /UPGRADE: when trying to restore connection to server of which chat
protocol is unknown, close the specified handle.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2148 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:03:00 +00:00
Timo Sirainen
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)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:35:11 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2146 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:31:24 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2145 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:17:44 +00:00
Timo Sirainen
ed4d24b282 /UPGRADE: Irssi no longer asks for /NAMES list from server when
rejoining channels, but the nick list is transferred in session file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2144 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:13:12 +00:00
Timo Sirainen
f0ce4f221b Irssi::printformat() doesn't crash anymore if you try to use unregistered
format.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:43:08 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:41:37 +00:00
Timo Sirainen
7ae96f540d Added printtext_string_window(), Irssi::UI::Window::print() uses it also
now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:27:47 +00:00