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

2759 Commits

Author SHA1 Message Date
Timo Sirainen
827a3a6311 fixed /BIND escape_char
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 20:52:33 +00:00
Timo Sirainen
501dc3494e /WHOIS -<server tag> is supported now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 20:47:51 +00:00
Timo Sirainen
65ec62333e /SET without parameters didn't print all settings
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 19:20:45 +00:00
Timo Sirainen
f08020571b fixed channel->chanop
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 19:14:49 +00:00
Timo Sirainen
cc5e5b9f88 If channel has more nicks than /SET channel_max_who_sync, don't ask /WHO
list to avoid getting kicked out of server (Max SendQ exceeded).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-10 19:36:01 +00:00
Timo Sirainen
ca20209ce2 reverted the username/realname keeping with /reconnect. it was broken.
fixing it properly would need to keep track of if the username/realname
came from /ircnet -username or /server add -username or what..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-03 16:57:53 +00:00
Timo Sirainen
1757418c61 fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3227 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-03 00:26:30 +00:00
Timo Sirainen
77cd7170f2 Added "server sendmsg" signal to replace server->send_message().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3226 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-02-18 15:07:44 +00:00
Timo Sirainen
f2e9b8b395 remove stuff from isupport always before inserting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-02-07 00:03:56 +00:00
Timo Sirainen
b538b3bfe8 EAI_NODATA is depricated and doesn't exist everywhere anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3224 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-28 14:27:24 +00:00
Timo Sirainen
dae4b7e2dd fixes for isupport-draft-incompatible servers sending 005 events..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-27 21:39:27 +00:00
Timo Sirainen
ca62a55590 crashfix when setting mode to channel you haven't joined
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 19:42:04 +00:00
Timo Sirainen
457d3cbc56 update
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3221 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 18:23:38 +00:00
Timo Sirainen
c7f2d309d6 isupport fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 18:23:12 +00:00
Timo Sirainen
33e7528edb isupport updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 18:18:18 +00:00
Timo Sirainen
d94a55a38b /SET whois_hide_safe_channel_id - removes the ugly IDs for !channels in
/WHOIS (default)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-25 17:32:50 +00:00
Timo Sirainen
662c4d30ab add space between merged lines
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-24 22:08:56 +00:00
Timo Sirainen
f3ab905f7e reversed utf8 change, it's glib2 specific and I don't yet want to drop support for 1.x
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-24 22:05:51 +00:00
Timo Sirainen
0ccd528b33 compiler warning fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-24 21:59:10 +00:00
Timo Sirainen
2f819f285e fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3214 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-22 14:06:35 +00:00
Timo Sirainen
a482865446 other fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-22 13:14:37 +00:00
Timo Sirainen
566485c3ab Don't die with "/SET -default"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20 22:21:02 +00:00
Timo Sirainen
217283caea isupport patch by David Leadbeater
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20 10:57:57 +00:00
Timo Sirainen
3ccbd0405b fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 19:28:15 +00:00
Timo Sirainen
713e45a977 UTF-8 support to format_get_length() and format_real_length(). patch by
Jean-Yves Lefort


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3209 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 19:13:15 +00:00
Timo Sirainen
f239784fd0 fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 19:00:25 +00:00
Timo Sirainen
4c1628e25d Added /SET paste_join_multiline - it attempts to be smart and detect when
you're copy&pasting indented lines, and merge them together to one long
line, but splits them to max. 400 chars per line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 18:59:17 +00:00
Timo Sirainen
2199b35892 add pasted lines to command history
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 17:59:42 +00:00
Timo Sirainen
e980500702 Say when we're reconnecting, and mention it can be aborted with /RMRECONNS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 17:52:08 +00:00
Timo Sirainen
623dbac5cf Don't try to keep user_name/real_name with /reconnect. They couldn't have
been overridden with /server command anyway, so we most likely never want to
keep it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 17:40:58 +00:00
Timo Sirainen
1c318ec775 /set -default dcc_autoget_max_size crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 17:13:40 +00:00
Timo Sirainen
f380cef4dd fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-10 16:33:48 +00:00
Timo Sirainen
20e9a7cfb6 /msg , fix again by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-10 16:30:31 +00:00
Timo Sirainen
2337386565 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-09 05:50:23 +00:00
Timo Sirainen
fd6c38d22e If we can't connect to server using given IP, show the IP to user in the
error message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-07 07:54:38 +00:00
Timo Sirainen
1cbd975b2d /msg , crashfix by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3196 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-07 04:26:16 +00:00
Timo Sirainen
77f43fe1fb Window layout restoring queries didn't check if the chat protocol was yet
loaded and crashed. Patch by c0ffee


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10 23:04:00 +00:00
Timo Sirainen
5bbeffbcbd Added Irssi::Irc::Dcc::Server support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3193 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10 22:59:45 +00:00
Timo Sirainen
06e771c9b0 /SET auto_whowas OFF allows now disabling automatic /whowas when /whois
doesn't find a nick


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10 22:57:51 +00:00
Timo Sirainen
fe6b2d6d3a chanmode_expando_strip setting was reversed - patch by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10 22:51:28 +00:00
Timo Sirainen
ae7f177fb0 Wrong parameters given to "gui print text" signal with indent function
processing: remote crash for architechtures which require memory
alignmentation (non-x86)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10 22:47:35 +00:00
Timo Sirainen
715d8fb062 If pasted line starts with command char, treat it as command always. Paste
detection can go on too easily with lagged connections.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-26 17:26:47 +00:00
Timo Sirainen
e75d58345e removed //#include
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-24 15:22:18 +00:00
Timo Sirainen
2d4a7d3595 0.8.8 with a few backwards compatibility fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 14:25:34 +00:00
Timo Sirainen
3936875829 netjoin mode fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 12:39:08 +00:00
Timo Sirainen
c074f551bf Don't count linefeeds in paste detection to avoid it going on when holding
enter key down


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 12:17:16 +00:00
Timo Sirainen
0f22561777 Removed /SET paste_detect_keycount - don't really need it anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-21 20:52:13 +00:00
Timo Sirainen
7765290447 pasting fixes. changed key to ^K from ^O since ^O is working strangely in
some systems..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-21 18:15:11 +00:00
Timo Sirainen
dbc8fd9a1a /SET chanmode_verbose -> chanmode_expando_strip
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3179 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-20 16:53:10 +00:00
Timo Sirainen
6f67475c3b Fixed paste_warning format
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 19:35:29 +00:00
Timo Sirainen
787b310333 disabling paste detection works again
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 18:36:56 +00:00
Timo Sirainen
3a0796630a again changed the paste_detect defaults.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 18:20:35 +00:00
Timo Sirainen
4405092282 potential crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 18:13:17 +00:00
Timo Sirainen
38b026b62f fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 18:10:00 +00:00
Timo Sirainen
f02d35a8de paste texts are themeable now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 14:09:15 +00:00
Timo Sirainen
8c717cd73b When pasting to empty window, don't ask about if pasting was wanted or not.
Also paste them as commands, not as text to active (non-existing)
channel/query.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 13:23:22 +00:00
Timo Sirainen
4d3d559f93 paste detection fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 12:17:57 +00:00
Timo Sirainen
8e29932db3 crashfix when quitting
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 00:18:40 +00:00
Timo Sirainen
0de9bcc3df more initializing..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 00:02:51 +00:00
Timo Sirainen
add0bbda50 initialize prev_entry
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 00:01:17 +00:00
Timo Sirainen
1121a3fcb7 Fixed some memory leaks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3162 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 23:54:52 +00:00
Timo Sirainen
90c61c5548 paste detection growed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 23:33:01 +00:00
Timo Sirainen
a5e19e3285 fix, try #2
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 23:23:29 +00:00
Timo Sirainen
fcd5b3a0be crashfix for some systems
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3159 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 23:21:10 +00:00
Timo Sirainen
130030c506 pasting fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 22:56:26 +00:00
Timo Sirainen
093f2c44de If pasting more lines than /SET paste_verify_line_count, ask before doing
it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 21:49:15 +00:00
Timo Sirainen
0fd26895e1 changed /set pster_detect_keycount 5 -> 6 to fix function keys
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 20:33:17 +00:00
Timo Sirainen
0764211998 compile fix if there's no openssl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 19:40:04 +00:00
Timo Sirainen
d79cc02a10 Added pasting detection. All keys except CR and LF are pasted as-is into
prompt in pasting mode.

/SET paste_detect_time controls how closely each others characters must
occur for it to be considered pasting. Pasting mode goes on after /SET
paste_detect_keycount characters have been received and detected as pasting.

The first paste_detect_keycount characters can also contain some command
characters. They are executed, but their action in entry line is reverted
once pasting is detected. Of course, if any such character was followed by
CR/LF, it was already sent to channel/query and is unreversable.

What this means in practise is that even if you have TABs (assuming TAB is
completion key) in the first few pasted characters, they get pasted as TABs
as long as they weren't immediately followed by CR/LF.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 19:37:31 +00:00
Timo Sirainen
c8b792e92b Assume JOIN failed if we get any 4xx numeric back with channel name in it
before JOIN reply.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:44:36 +00:00
Timo Sirainen
0cdfa01971 Support 479 illegal channel name numeric
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3151 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:31:42 +00:00
Timo Sirainen
80a277a34f remove Makefile with make distclean
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:19:03 +00:00
Timo Sirainen
0ece10f26a compile fix for glib2
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3148 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 18:00:23 +00:00
Timo Sirainen
d6fe016c78 Fixed some gcc aliasing warnings
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 17:57:44 +00:00
Timo Sirainen
43b0d36ee1 Support for sending SSL certificate to server and optionally verify server's
certificate. See the -ssl_* options for /SERVER and /SERVER ADD. Patch by
Joel Eriksson <je-irssi@bitnux.com>.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3146 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 17:53:55 +00:00
Timo Sirainen
b1e2d7b5ef lag_min_show change wrong
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3145 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 17:29:30 +00:00
Timo Sirainen
0235086ab9 Automatic backwards compatibility transitions.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3144 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 17:27:09 +00:00
Timo Sirainen
1141081c34 parse_time_interval: x days were actually returned as hours. weeks were
returned as hours*7.. which also means I calculated the max. return value of
over 1 year wrong. It's actually 24 days, but it's hopefully enough. Removed
"weeks" unit to discourage usage of large values..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 17:26:43 +00:00
Timo Sirainen
91be647710 Don't crash with /DCC SEND nick ""
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:49:51 +00:00
Timo Sirainen
b7ed8cec6c Don't reconnect with invalid own hostname.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:33:53 +00:00
Timo Sirainen
aa78361f24 Allow /SET dcc_own_ip to be non-local address.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:33:25 +00:00
Timo Sirainen
f764a8665c Time parsing: allow omitting time unit without warning for backwards
compatibility.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:22:07 +00:00
Timo Sirainen
b5dd35aad5 cleanup
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:14:25 +00:00
Timo Sirainen
d4d2e91f81 Added /set chanmode_verbose. patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-31 15:05:52 +00:00
Timo Sirainen
8cd7dd313f Invalid time error message was wrong. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-31 07:32:59 +00:00
Timo Sirainen
b2d07ffd1d BIG5 stuff is used only if term_type is big5
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-26 05:31:19 +00:00
Timo Sirainen
7eb2fc70e3 BIG5 fixes by vanilla@FreeBSD.org(?)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-19 19:09:51 +00:00
Timo Sirainen
6122035f2f CTCP forwarding fixes by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-19 18:56:58 +00:00
Timo Sirainen
bb441ebbde unsigned long -> gsize
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3132 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11 01:59:31 +00:00
Timo Sirainen
1d31048105 unsigned long -> gsize
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11 01:53:51 +00:00
Timo Sirainen
1826812c9d Changed some checks i_isspace() -> ' ' so that TAB isn't included in checks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11 00:19:34 +00:00
Timo Sirainen
9ae4779c87 64bit fixes by Stefan Fent
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3129 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-06 23:53:51 +00:00
Timo Sirainen
d97b52b5a2 missed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-01 19:13:38 +00:00
Timo Sirainen
65463924d2 Added DCC SERVER support by Mark Trumbull
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-01 16:02:43 +00:00
Timo Sirainen
3906eead14 Show voices in netsplits. Fix voices breaking netjoins. Patch by Maarten van
der Zwaart.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09 23:36:05 +00:00
Timo Sirainen
a619fe9a2c Network fixes. DCC fixes for IPv6 + BSDs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09 23:34:41 +00:00
Timo Sirainen
ae5b5f38bd Crashfix when sometimes closing a split window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09 21:46:08 +00:00
Timo Sirainen
2b00fd58b7 NOTIFYLIST_REC usage crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-06 14:10:42 +00:00
Timo Sirainen
9c7360ad46 don't unload libraries when deinitializing. leaks some more memory, but fixes some crashes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-27 10:53:32 +00:00
Timo Sirainen
b729120ca4 Disable extra ircnet flood protection if cmd_queue_speed <= 10
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-25 19:30:19 +00:00
Timo Sirainen
4488dbd6c9 Don't require hostmasks to be different with netsplits. Fixes dalnet
netsplit detection. Patch by coekie


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-06-03 21:40:02 +00:00
Timo Sirainen
aead991669 Connecting to IPv6 servers in short form as 1:2:: didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-05-25 09:49:32 +00:00
Timo Sirainen
5fcdf3cb83 Fix crash with unloading module, by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3112 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-05-13 17:57:48 +00:00
Timo Sirainen
25fdeeaa8d Removed execute(), not used.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3107 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-31 04:03:06 +00:00
Timo Sirainen
446b601a46 Fix for !channel matching, patch by Borys
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3105 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-30 16:28:31 +00:00
Timo Sirainen
6331a7f447 Netjoin should now work properly with +channels and !channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-26 00:33:29 +00:00
Timo Sirainen
4431f7c994 didn't compile without gc
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3103 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25 21:19:41 +00:00
Timo Sirainen
144d9640a6 GC fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3102 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25 03:31:19 +00:00
Timo Sirainen
0e61b4c829 Lets see if GC happens to work now without explicit free() calls. Perl
objects now set the C pointer to NULL once they're done with it, so this
might just work without leaking..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25 03:19:40 +00:00
Timo Sirainen
8070bb6704 If JOIN is sent to channel you've already joined, assume a missing PART and
resync the channel (instead of just ignoring as before). Patch by dg.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-21 08:15:33 +00:00
Timo Sirainen
eff24e706e Added '!' into nick flags, used by some ircd
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-21 07:01:44 +00:00
Timo Sirainen
b687ace2b1 Check for gc.h too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-11 00:24:30 +00:00
Timo Sirainen
842a51c760 parse_time_interval() fallbacked to milliseconds, not seconds. some code
cleanups. patch by Peder


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-08 20:54:36 +00:00
Timo Sirainen
d9af8f0d4f didn't compile with older perls.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-07 17:18:00 +00:00
Timo Sirainen
d4879020da /HILIGHT listing was missing space sometimes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3092 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-06 19:20:24 +00:00
Timo Sirainen
4c506b4352 don't crash with /set completion_keep_privates 0
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-31 16:06:47 +00:00
Timo Sirainen
3ddf3ce6b4 lag_min_show should default to 1 sec, not 0.1sec
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3089 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-31 12:36:56 +00:00
Timo Sirainen
f3d43d9137 Don't access free'd memory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3087 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-30 23:10:57 +00:00
Timo Sirainen
0d7f682cbe Added missing settings_get_*(), patch by peder
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-30 11:17:57 +00:00
Timo Sirainen
43893ce50e typo: themes weren't defaulting their abstracts to internal theme
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 16:11:16 +00:00
Timo Sirainen
43020c2e5f day -> 1day, hour -> 1hour
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 16:02:49 +00:00
Timo Sirainen
bba71c7053 s/size/time/ in warning message
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 07:58:30 +00:00
Timo Sirainen
dcb0c6e4dd Added /REDRAW command that does the same as ^L.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 18:19:34 +00:00
Timo Sirainen
bd6fe052bc Added time, size and level setting types. Breaks some settings - I'll add
automatic converter to these settings later. Meanwhile you CVS users can
fix your config files yourself :)

Time settings allow using "days", "hours", "minutes", "seconds" and
"milliseconds" or several of their abbreviations. For example "5d 4h
5msecs".

Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their
abbrevations. For example "5MB".

Level settings are currently handled pretty much the way they were before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 17:54:13 +00:00
Timo Sirainen
9c18cb00e7 Added support to define new default abstracts at runtime.
Irssi::abstracts_register([key => value, ...]);


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 15:25:10 +00:00
Timo Sirainen
3a1ceaf3d0 don't bother with inlining at all, it doesn't help that much and I'm not
sure how to do it properly without warnings :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:59:29 +00:00
Timo Sirainen
c4c6428185 fix compiler warnings
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:20:24 +00:00
Timo Sirainen
9ef3044e98 /set ignore_hide_targets supports now also checking for servertag/target
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3076 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:20:08 +00:00
Timo Sirainen
a3914f2586 Added 308 whois numeric
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-27 08:33:41 +00:00
Timo Sirainen
d5bc95bc22 Make sure we aren't using a destroyed theme
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 08:36:25 +00:00
Timo Sirainen
ab91c843bd actually no, it doesn't work ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 07:22:20 +00:00
Timo Sirainen
f070a873e0 a bit better checking for free'd variables.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3071 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 07:19:03 +00:00
Timo Sirainen
2a8e1b5251 Added /SET perl_memory_check_level which works with only GC enabled. 0
doesn't do any checks, 1 checks for memory to be valid (default) at the
time, 2 runs GC and then checks if memory valid (slower, but detects errors
much better).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 06:16:30 +00:00
Timo Sirainen
cdc52b773e --with-gc enables now support for Boehm's GC, if it's found and glib2 is
used. This also enables an extra check for perl library to verify scripts
aren't using objects that have already been free'd - while not a fully safe
solution it's much better than before :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 06:06:14 +00:00
Timo Sirainen
495501c284 Added /SET channels_rejoin_unavailable to disable automatic rejoining when channel is unavailable. Efnet is stupid and uses the same numeric for joining juped channels and k-lines you after trying to constantly join it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-20 14:37:56 +00:00
Timo Sirainen
e0c66e3122 Previous theme patch fixes by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-11 10:00:51 +00:00
Timo Sirainen
6825f1e67e GC fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 20:30:03 +00:00
Timo Sirainen
bb55d3ff4d A few fixes to make irssi work with garbage collected GLIB.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 17:31:26 +00:00
Timo Sirainen
0743ce0e39 Compiler warning fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3054 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 16:36:26 +00:00
Timo Sirainen
13eb240ece mode +o nick -o nick2 did +o for the nick2 too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-09 21:54:03 +00:00
Timo Sirainen
65eb0d3280 Added Irssi::Script object and "script error" signal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-08 17:43:57 +00:00
Timo Sirainen
e51f4e96fe Don't break if nick is twice in names list (never is with non-broken
servers).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-07 20:53:50 +00:00
Timo Sirainen
6230c055f2 Added Irssi::signal_register() to dynamically register new signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 22:17:07 +00:00
Timo Sirainen
54000e1908 make printnicks global
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 20:52:33 +00:00
Timo Sirainen
abd9e6f616 Better support %n in theme abstracts. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 20:51:51 +00:00
Timo Sirainen
27f54e286f Added no_connect to SERVER_CONNECT_REC, also exported a few other variables
to perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 11:39:31 +00:00
Timo Sirainen
45f86f7b5f Broke irssi_binary path.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 11:23:28 +00:00
Timo Sirainen
67d4550f21 Irssi didn't set the internal away reason when reconnecting to server while
being away. Patch by c0ffee.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-03 22:54:44 +00:00
Timo Sirainen
439818bcf8 Made irssi_binary global and exported to perl as get_irssi_binary().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-03 22:37:02 +00:00
Timo Sirainen
ad1136267f no, /connect -! shouldn't send the /ircnet -autosendcmd, channel's botcmd
should still be sent..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3036 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-01 16:28:12 +00:00
Timo Sirainen
b25d6f0e04 /CONNECT -! shouldn't send autosendcmds when joining channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-01 16:08:23 +00:00
Timo Sirainen
1e2cadfa04 /last -clear removes now the "lastlog would print x lines, ... use -force"
complain.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:53:44 +00:00
Timo Sirainen
7fc3a951cd and remove outdated comment :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:38:48 +00:00
Timo Sirainen
bae71dff48 If bind() fails when connecting, don't fallback to default address. Should
make it easier to notice invalid settings or figure out why it's not
working..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:38:21 +00:00
Timo Sirainen
b669dfaaaa net_gethostbyaddr() was pretty much broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 23:43:42 +00:00
Timo Sirainen
ed444e1c5f /NETSPLIT now prints the server tag as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 23:19:03 +00:00
Timo Sirainen
5b60b859d4 /SET resolve_reverse_lookup to do reverse lookups for server when
/connecting. Patch by c0ffee.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 15:39:39 +00:00
Timo Sirainen
ad27d4aac4 Create log file directories using /set log_create_file_mode + exec-bit.
Patch by Noah Levitt <nlevitt at columbia.edu>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 20:18:24 +00:00
Timo Sirainen
ecff491e02 Prettier displaying of DCC transfers, including adding ETA.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:48:03 +00:00
Timo Sirainen
5bf764ac14 doc/syntax updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3020 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:34:54 +00:00
Timo Sirainen
7c7afe9f54 completion_msg() is now public
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3019 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:24:51 +00:00
Timo Sirainen
dc8bd638e3 Irssi now uses 64bit file offets if it's only supported by system. Also did
a few changes to DCC so that it should be possible to send >4GB files.

DCC protocol uses 32bit "n bytes transferred" notifications, so I had to
bend the protocol a bit to allow 64bit files by truncating the value to
lowest 32bits. I'm not sure how other clients handle those notifications,
but irssi uses it only to figure out when the DCC SEND transfer is complete,
so it's quite safe to assume that if we've managed to write() all the bytes
and we receive the last 32bit of file size, it means the total file size
instead of the total - (n+1)*4GB.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 17:48:40 +00:00
Timo Sirainen
c2d0adc47c /SET dcc_send_replace_space_with_underscore ON was buggy.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 12:18:11 +00:00
Timo Sirainen
cb21fabb59 /SB END: if we're already at the end of buffer don't redraw it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3014 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 12:02:56 +00:00
Timo Sirainen
e4accf9c80 Timeout server connections if they're not in fully connected stage in /SET
server_connect_timeout seconds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 11:55:36 +00:00
Timo Sirainen
1c57816451 forgot to commit with previous perl changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3008 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 16:05:32 +00:00
Timo Sirainen
e5d506e31e Less strict error checking, and notify about every error we do see.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3007 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:51:04 +00:00
Timo Sirainen
e3c041955f cmd_get_quoted_param() didn't work properly if it was used with last word
(ie. like ended with '"', which broke eg. /dcc send "file")


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:28:40 +00:00
Timo Sirainen
f167270a6b If /DCC SEND file isn't found, complain about it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:27:55 +00:00
Timo Sirainen
0368fa6b5b Try to choose better the window where we print when matching by level and
multiple windows have a match. Should fix problems with query windows with a
default msgs window + /SET window_check_level_first ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3002 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-15 09:04:47 +00:00
Timo Sirainen
9b8406f335 /WINDOW NAME x, /WINDOW NAME X shouldn't complain about existing window
having same name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-15 09:03:35 +00:00
Timo Sirainen
d6c1cfa14b Don't rename our nick in DCC chats when connecting to server before we know
what nick the server gave to us (ie. may not be the same as the nick we
requested).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3000 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-13 13:02:29 +00:00
Timo Sirainen
b5a13fd80b Don't highlight whois_extra and whois_special lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-13 09:24:25 +00:00
Timo Sirainen
be1cd41a34 Fixes to allow -append and -prepend work when there's only one file being
sent to wanted nick + typo bugfix.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2997 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 08:01:22 +00:00
Timo Sirainen
087e5ee525 whops, forgot to add
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 07:35:44 +00:00
Timo Sirainen
768daa6824 fixes to allow you to register a new keyboard redirection inside a
redirection handler. patch by c0ffee.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 06:54:32 +00:00
Timo Sirainen
488e7b70f4 DCC send supports now queueing. Patch by Heikki Orsila <heikki@ee.tut.fi>,
although I did pretty heavy changes which hopefully didn't break it too
badly :)

New syntax: DCC SEND [-append | -prepend | flush | -rmtail | -rmhead] <nick>
-<file> [<file> ...]


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 06:35:12 +00:00
Timo Sirainen
902280eca7 Irssi::timeout_add(), timeout_add_once() and input_add() were buggy.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-10 10:14:18 +00:00
Timo Sirainen
14f3c0c2e5 grammatical fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2991 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-09 23:05:22 +00:00
Timo Sirainen
df7ccce8ec Some compiling fixes found by -Wall in perl dirs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07 17:40:05 +00:00
Timo Sirainen
a6095cd421 Use the modified PERL_CFLAGS + CFLAGS to compile .xs files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-07 17:38:26 +00:00
Timo Sirainen
a0e8cfc9f5 Added "gui key pressed" signal which is sent every time a key is pressed.
The parameter is non-translated key received from terminal, so control keys
may create multiple keypress signals (eg. home == ESC, [, H).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-05 13:34:31 +00:00
Timo Sirainen
71442509d0 Fixed some "buffer overflow" alerts when playing with buggy /EVAL values.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-05 13:10:58 +00:00
Timo Sirainen
da439fdbe4 added quotes to make CC="$(CC)"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2983 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-03 09:06:29 +00:00
Timo Sirainen
ef4bb2619d Support for /MODE #chan +o nick1 +o nick2 style grouping.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-31 17:24:49 +00:00
Timo Sirainen
a7e4c7da00 typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-29 17:46:57 +00:00
Timo Sirainen
8f424cd082 fix for new perls
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 01:50:55 +00:00
Timo Sirainen
c764853132 Cast pointers to IVs instead of using GPOINTER_TO_INT() which casts them to
ints. Hopefully fixes 64bit architectures.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2978 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 01:49:14 +00:00
Timo Sirainen
39fc0f5ea1 compiling fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 01:12:09 +00:00
Timo Sirainen
ba52d084d6 Try to fix perl compilation for people whose perl has been compiled with
non-GCC but are trying to compile irssi with GCC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2976 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 00:12:42 +00:00
Timo Sirainen
d58e119a98 Exported expando interface to perl. Fix for statusbar deinit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-27 22:30:41 +00:00
Timo Sirainen
9f089f360d GLIB2 support for SSL code. Patch by vjt@users.sf.net
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-26 18:56:35 +00:00
Timo Sirainen
f42df98fc8 "nick mode changed" now gives changed mode/type as parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-26 18:52:45 +00:00
Timo Sirainen
b05cfc62e0 config_node_nth() and config_node_index() don't count comments in config
anymore. fixes problems having comments in channels and servers block.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-25 13:57:16 +00:00
Timo Sirainen
ca4328e3ab Added #define DEFAULT_SERVER_ADD_PORT to common.h which /SERVER ADD uses as
default port. Fixed autoconnecting to use port 0 (default) instead of forced
6667.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-21 19:05:44 +00:00
Timo Sirainen
37995ea05f /SERVER and /DISCONNECT handlers moved from irc to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-21 19:03:47 +00:00
Timo Sirainen
fe4cdce6e6 Handle correctly g_get_home_dir() returning NULL, assume it's the current
directory then.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-19 17:48:10 +00:00
Timo Sirainen
2db9e25f5e don't crash when trying to print with non-existent module in theme..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-18 13:19:45 +00:00
Timo Sirainen
b5e80f3507 When ignoring without any options, don't print the []
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-16 19:35:09 +00:00
Timo Sirainen
93253a7353 Adde -servertag to /MSG completion always with >1 connected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-16 19:13:46 +00:00
Timo Sirainen
5c6bbf6cc4 Don't bother aborting /OP, /VOICE, etc. just because we're not chanop/ircop.
That check was just broken with some servers where opping would be possible
without either.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-15 22:11:26 +00:00
Timo Sirainen
80a3674acb The setting is of course "cmdchars", not "cmdchar"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:35:59 +00:00
Timo Sirainen
36ad96ed2c Complete tags to /RECONNECT too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:34:11 +00:00
Timo Sirainen
2aaec5adc7 Some changes to make doublewidth chars possibly work (or possibly horribly
break whole utf8 support :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:33:29 +00:00
Timo Sirainen
98316be40d $k - first character in CMDCHARS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:24:22 +00:00
Timo Sirainen
fb5c4c8037 More tab completion: /DISCONNECT, /SERVER ADD|REMOVE, /STATS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 16:12:01 +00:00
Timo Sirainen
fa1687596c updated /reconnect syntax.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:58:47 +00:00
Timo Sirainen
b0896601c5 /RECONNECT <tag>|* [<quit message>] - if tag is a connected server tag that
server is reconnected with specified quit message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:58:22 +00:00
Timo Sirainen
77b3ab3c44 Autolog shouldn't crash when lines are written without destination window
(can happen at /upgrade)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:33:55 +00:00
Timo Sirainen
55c2e7a066 /SET dcc_file_create_mode wasn't used. Also print strerror() message if
creation fails.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:26:26 +00:00
Timo Sirainen
4ed5e9adf6 Correct handling of /NOTICE @#channel, patch by dg
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:18:32 +00:00
Timo Sirainen
fae3ae2bfc Better print /HILIGHT lines. Also cleanup for /IGNORE lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 12:03:37 +00:00
Timo Sirainen
45883d7f36 Better message for /IGNORE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:57:01 +00:00
Timo Sirainen
9ab017b3fa /LAYOUT SAVE doesn't crash anymore with /EXEC -interactives
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2945 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:52:13 +00:00
Timo Sirainen
42d4598e06 /MSG !channel is now expanded to full !12345channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:47:10 +00:00
Timo Sirainen
40f2e1caf5 Make sure two urls aren't thought of as netsplit
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:43:18 +00:00
Timo Sirainen
7c11b314eb /UNQUERY and /WINDOW GOTO now ignores trailing whitespace
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:39:36 +00:00
Timo Sirainen
7d5ee9db1f $chatnet, $tag, $Y and $N expandos' change signals were incorrectly set,
resulting non-updating statusbar


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:36:49 +00:00
Timo Sirainen
01c9fddeba Less kludgy way to handle /SET skip_motd. Works now with laggy servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-10 01:55:24 +00:00
Timo Sirainen
3a7f566173 /QUERY reverted back.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-06 16:20:42 +00:00
Timo Sirainen
145b91bf6c msgs window didn't include ACTIONS but status did, so private actions went
always to status window if both status+msgs existed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-03 22:21:32 +00:00
Timo Sirainen
525773aa80 If reconnection was aborted by trying to reconnect to another server, the
channels and usermode wasn't restored.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30 21:43:46 +00:00
Timo Sirainen
28faa953be irssi stuck to infinite loop if it wasn't compiled with gmodule.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30 00:40:08 +00:00
Timo Sirainen
dc2a4c620e define empty aTHX_ too if it's not defined
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2932 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-22 15:53:39 +00:00
Timo Sirainen
1c7fc48b08 "/QUERY" no longer unqueries, but just complains about not getting enough
parameters. Lets see how many people dislike this change...


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-19 15:07:57 +00:00
Timo Sirainen
f31b59b48b support for threaded perl. patch by mls@suse.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-19 14:30:10 +00:00
Timo Sirainen
fe73785c7a /CYCLE !channel works now properly too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-18 17:44:04 +00:00
Timo Sirainen
777349ecc1 !channels weren't rejoined to correct window after reconnect/cycle.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-18 17:02:58 +00:00
Timo Sirainen
74e9e265a5 when server connection was finished, it didn't move from connect_server to
active_server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-15 01:04:40 +00:00
Timo Sirainen
bb2ed605e5 added /WINDOW MOVE FIRST and /WINDOW MOVE LAST.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:30:05 +00:00
Timo Sirainen
3dda9ab2df statusbar is now also updated for connecting-servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:23:57 +00:00
Timo Sirainen
a83366069f window->active_server used to hold non-connected servers, but that was
removed before because it created several problems, especially with scripts.
however that change made /server and /disconnect annoying to use with
non-connected servers.

so, now we have window->connect_server as well. either active_server or
connect_server is set, but never both. commands that can deal properly with
non-connected servers can now use the connect_server, while everyone else
happily thinks that no server is active.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:14:04 +00:00
Timo Sirainen
930dd40815 no, didn't work, again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 22:55:25 +00:00
Timo Sirainen
05577dce01 tag generation didn't check the tags from connecting servers, so same tag
could have been duplicated


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 22:46:18 +00:00
Timo Sirainen
70ac684095 in_addr_t wasn't too standard, so use guint32 after all.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 07:29:48 +00:00
Timo Sirainen
c5095a422c s/guint32/in_addr_t/ actually.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:42:37 +00:00
Timo Sirainen
9805841e61 DCC was broken with some 64bit systems (64bit unsigned long)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:36:20 +00:00
Timo Sirainen
06ef9b523f autologs weren't closed when channel was left, or query was destroyed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2911 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-07 18:16:59 +00:00
Timo Sirainen
910749a2a0 banned/dns_error state was set to servers in setup, but never reset, which
means irssi stopped reconnecting to those servers forever if they occured
once.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-07 17:13:00 +00:00
Timo Sirainen
b532986e5b changed /FORMAT default_event -> default_event_server (sorry for breaking
some themes, this is just so much better name for it :) and added a new
default_event, which is the format for default numeric events from your
current server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-31 16:13:18 +00:00
Timo Sirainen
6019a5cd15 Don't crash if /SET irssiproxy_ports is changed while having connected
clients


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:59:13 +00:00
Timo Sirainen
886c92e141 /FOREACH WINDOW /WINDOW CLOSE could crash irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:45:43 +00:00
Timo Sirainen
fd6fe24317 a bit more fixes for +k updating
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:46:48 +00:00
Timo Sirainen
1faed99b33 Don't update channel key from 324 numeric, some servers send channel key as
"*" in it which breaks irssi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2905 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:42:23 +00:00
Timo Sirainen
746ae09050 wait a bit longer before sending massjoin signal. also added a comment how
it's supposed to work.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 12:45:09 +00:00
Timo Sirainen
fce48d905b moved ncurses/terminfo/etc. libs away from PROG_LIBS which should be list of
common libraries for all ui frontends..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2899 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:58:59 +00:00
Timo Sirainen
8790f97869 right. maybe now builds with glib2 right?
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:37:49 +00:00
Timo Sirainen
a17321c5c8 fixes to work with glib2 (untested...)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:34:55 +00:00
Timo Sirainen
1c33e3e896 /SERVER -ssl option was lost while reconnecting if server existed in /SERVER
LIST without SSL.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2894 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 22:53:55 +00:00
Timo Sirainen
a6c4e47376 A few missing parts from SSL patch.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:40:04 +00:00