1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04:00
Commit Graph

978 Commits

Author SHA1 Message Date
Timo Sirainen
9ddebe6bcf Added command history groups, set them with /WINDOW HISTORY. Patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 13:29:20 +00:00
Timo Sirainen
f6cd4478c3 And the final #include :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:18:35 +00:00
Timo Sirainen
bf5b6c08c5 Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:14:49 +00:00
Timo Sirainen
5b5df3ebbe /VERSION printed time wrong, hopefully the last version fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 02:21:27 +00:00
Timo Sirainen
6720940e1a Leading zeros didn't work well in IRSSI_VERSION_TIME.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 01:41:29 +00:00
Timo Sirainen
5f271da0a4 Print IRSSI_VERSION_TIME in /VERSION too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2259 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:39:24 +00:00
Timo Sirainen
7d722f6ca3 irssi --version now prints the IRSSI_VERSION_TIME as well
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:33:44 +00:00
Timo Sirainen
1aed7cb956 IRSSI_VERSION_DATE is now a number, so you can do #iffing with it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 19:28:44 +00:00
Timo Sirainen
740ab0d550 warning fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 22:04:28 +00:00
Timo Sirainen
020861c698 Netsplit saved the NICK_REC, but didn't save the dynamically allocated strings
which were part of it. Removed it now and replaced it with saving only
op/halfop/voice status. Might have caused some crashes? (hopefully did :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 23:32:46 +00:00
Timo Sirainen
45bb286d59 307 line is used for /USERIP in undernet. Also changed some other alternative
reply handlers to call event_received() instead of print it itself.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-10 00:38:12 +00:00
Timo Sirainen
15e815e8d3 Better support for halfops, patch by yathen@web.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 17:13:48 +00:00
Timo Sirainen
a8419ed5b9 Support for OPN's channel forwarding.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2227 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 17:13:10 +00:00
Timo Sirainen
9f4ba1f5d9 /IGNORE list: Show the -pattern and also show if the regexp is invalid.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-08 14:41:57 +00:00
Timo Sirainen
9b08e5c640 /SET hide_mirc_colors - patch by paul@raade.org
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 22:46:09 +00:00
Timo Sirainen
3f275ebd55 Added support for 326 and 327 whois numerics in OPN.
Removed keeping track of ban exceptions and invite list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 19:40:37 +00:00
Timo Sirainen
4c6237256f /IRCNET ADD -usermode option added.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:29:48 +00:00
Timo Sirainen
be8778052e On nick collision kills, reconnect back immediately. On any other type of
kills, stop reconnecting to the server entirely.

When reconnecting to server and setting back the old user mode, only use the
modes that we actually wanted to change with /MODE commands, don't try to
set back modes given to us by server (eg. +r).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:10:41 +00:00
Timo Sirainen
2e78d926ef $winref and $winname shouldn't crash if there's no active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2201 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 20:57:28 +00:00
Timo Sirainen
575a5a3b8b Don't match nicks in -nick hilights.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-04 14:08:34 +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
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
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
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
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
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
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
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
Timo Sirainen
8fd09aa09f /WINDOW NAME now complains if you try to change the window's name to
something that's already in use.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:16:28 +00:00
Timo Sirainen
d133a90eaa 377 numeric seems to be used as motd by some servers..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 21:19:35 +00:00
Timo Sirainen
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..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 12:51:28 +00:00
Timo Sirainen
637a3c76c1 data_is_empty() might have crashed when it was called at the startup when
there was no active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 12:38:03 +00:00
Timo Sirainen
7bdd1cbec9 Added /FORMAT names_prefix to print prefix at the beginning of each /NAMES
list line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:11:02 +00:00
Timo Sirainen
29aa8ef2c8 /SET autocreate_split_windows - If autocreated windows should be split
windows instead of hidden.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2118 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:25:38 +00:00
Timo Sirainen
1eff191e65 Added halfop support for nick modes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:22:12 +00:00
Timo Sirainen
26128a3de2 Previous commit in core/commands.c broke /^cmd (command output hiding).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:08:37 +00:00
Timo Sirainen
0fc752528f /BIND works a bit better again when parsing the given key.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2110 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:56:00 +00:00
Timo Sirainen
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).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2107 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:04:58 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 22:34:50 +00:00
Timo Sirainen
dc11f23afd /HILIGHT -actcolor didn't work with -nick (which was default)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2100 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 21:10:39 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:47:36 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:42:36 +00:00
Timo Sirainen
360083dea8 Added /EXEC -level option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:37:55 +00:00
Timo Sirainen
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.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:06:57 +00:00
Timo Sirainen
381c823e1a Don't add space after tab-completed nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 18:06:15 +00:00
Timo Sirainen
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 "".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2088 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 17:21:11 +00:00
Timo Sirainen
0c79d92d5d data_is_empty() didn't check properly for $0-$9 variables and broke
statusbar.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 16:38:00 +00:00
Timo Sirainen
65c9a361ab If /SET dcc_upload_path is empty, we should use the current directory, not
root directory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2074 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 02:46:26 +00:00
Timo Sirainen
b3c0778dc4 Filename completion for /DCC SEND looked files from wrong default directory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 02:25:42 +00:00
Timo Sirainen
ff2357f16b Event 001 wasn't printed to screen.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 01:30:13 +00:00
Timo Sirainen
edf0e479b5 Added new formats for ops/halfops/voices in /NAMES list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2067 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:27:58 +00:00
Timo Sirainen
7433dafcb1 Execute ~/.irssi/startup before autoconnecting to servers. This way you can
get autoconnecting work with dynamically loaded chat protocols.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 19:37:18 +00:00
Timo Sirainen
bfe3e83b62 Even if notice is from server, print it to given target, since it could be
meant for some channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 13:43:05 +00:00
Timo Sirainen
58eb5f783d When printing /IGNORE list, if there's no ignores print the
IGNORE_NO_IGNORES format which wasn't used before for anything..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2049 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 13:40:51 +00:00
Timo Sirainen
05d3bb58cb added assert to window_item_add().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 16:51:56 +00:00
Timo Sirainen
4322da78aa When printing notify joins/leaves, don't print them with hilight color after
all.. they're annoying when they create autolog files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 22:51:50 +00:00
Timo Sirainen
fc91857029 Changed the escaping system - theme_format_expand_data()'s
EXPAND_FLAG_IGNORE_EMPTY now also checks if the argument is a $variable that
is empty. Statusbar now first expands the formats and after then expands
$variables. Should fix at least when trying to print #$$$ channel in
statusbar.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 20:02:15 +00:00
Timo Sirainen
c6302cd6e7 Lag checking fixes - should work fine again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 13:47:51 +00:00
Timo Sirainen
a9a380fd54 settings_save() now sends "setup saved" signal - patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-14 16:28:56 +00:00
Timo Sirainen
e66ec6cf8b Redirection fixes - added count parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 22:15:04 +00:00
Timo Sirainen
af6b115527 --version now shows the date version too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:42:26 +00:00
Timo Sirainen
850cf993eb Moved rewritten server redirection code from core to irc. This new code
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 18:59:19 +00:00
Timo Sirainen
6a82e806b4 Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
6197339b8d /CHANNEL xxx - don't crash if not connected to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 11:47:52 +00:00
Timo Sirainen
5397b33d2d removed, not needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 20:13:24 +00:00
Timo Sirainen
dd04f35cc6 Stupid me, remembered wrong how PARAM_FLAG_OPTCHAN worked. This broke /CTCP,
/NCTCP and /NOTICE for non-channel targets. Back to old code, except "*" is
now treated as active target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 14:36:51 +00:00
Timo Sirainen
e69f081127 * works now as active channel with /NOTICE, /CTCP and /NCTCP.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 18:36:40 +00:00
Timo Sirainen
f354fe54c7 Moved some stuff from irc to core. Added command_bind_proto() function to
bind protocol-specific commands. Added #define command_bind_irc() for easier
access. CMD_IRC_SERVER(server) check should be done at the beginning of each
command requiring IRC server as active server, it handles it correctly the
cases when it is not. Did some other cleanups as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 01:05:14 +00:00
Timo Sirainen
95b94ed83c server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
#define server_ischannel(server, data) and it's now used everywhere..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:52:23 +00:00
Timo Sirainen
4f58b17ecb /WINDOW SERVER -unsticky crashed irssi if it was used when you weren't connected to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 16:15:47 +00:00
Timo Sirainen
2ba339a26b Added support for using terminfo/termcap instead of curses. By default,
configure chooses to use ncurses if found, of terminfo if only curses was
found. --with-terminfo parameter can be used to specify if you want it or
not.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 11:30:26 +00:00
Timo Sirainen
d4178292e5 Renamed /FORMAT whois_oper_type to whois_oper which is now removed.
whois_oper wasn't really used anywhere AFAIK.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 12:02:10 +00:00
Timo Sirainen
2a75c88f99 Added support for changing indentation behaviour with modules.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:52:15 +00:00
Timo Sirainen
e4f34d9cd3 When logs are rotated, automatically create the new directory where to open
the log if it has changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 21:26:58 +00:00
Timo Sirainen
230a51cefd Remove SYNTAX: OPER from here - it's already in core (and syntax.pl gets
twice the same syntaxes currently..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 20:11:18 +00:00
Timo Sirainen
bc8ee2d26c Don't expand %{ and %} in themes to { and } - they could be treated as
abstracts again. Printing %{ and %} now prints just { and }. This fixes
printing {stuff} in statusbar (eg. {nick}).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 17:56:42 +00:00
Timo Sirainen
3ae5080619 /TOPIC <tab> inserts the topic in active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:22:06 +00:00
Timo Sirainen
d4ef1bdd03 When printing server disconnection texts, use the server parameter for
printformat() so the texts go to correct windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:09:17 +00:00
Timo Sirainen
75ebab8089 Get the server tag to query from dcc->servertag, not dcc->server->tag, to
make it work correctly when accepting dcc chat when not connected to server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:26:40 +00:00
Timo Sirainen
f33c283317 /BIND -delete doesn't anymore leave empty {} blocks in configuration file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:20:37 +00:00
Timo Sirainen
b3779bc7a5 -ansicolors -mirccolors => -colors in /LOG OPEN syntax, since there's only -colors currently..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15 15:31:40 +00:00
Timo Sirainen
4e9ff3d6d8 $winname expando didn't change on "window changed" signal.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 11:25:26 +00:00
Timo Sirainen
dbe49236d2 Configurable statusbar - see default config file (irssi.conf) for example
how to configure it. Added %> format which clears to end of line using the
current bg color. Added support for multiple input lines (just the core, not
used anywhere yet).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 16:11:13 +00:00
Timo Sirainen
c988af4150 Added MODULE_DATA_UNSET() macro and started using it. Just to make sure we
don't try to access free'd data.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02 07:55:51 +00:00
Timo Sirainen
56331f78e0 Use the nick as target when printing notify messages, so they go to query windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 12:05:50 +00:00
Timo Sirainen
de0ab10145 /SET translation was broken - fixed by lam@e-gate.pl.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 07:04:11 +00:00
Timo Sirainen
bb507a8b85 /SET translation now says if there were any errors
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22 11:25:08 +00:00
Timo Sirainen
e41f1dc73f bind_key format updated. Doesn't truncate the key now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-21 14:09:44 +00:00
Timo Sirainen
29d983093e PARAMS -> ARGS fix again..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 16:50:27 +00:00
Timo Sirainen
7814192f03 special vars: added PARSE_FLAG_ONLY_PARAMS. Theme loading now uses it so
you can use $C etc. in themes to print the active channel. printformat()
also expands it now correctly to the server/target where the message was
printed, not to the active window's server/target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 15:58:14 +00:00
Timo Sirainen
0abee30dc2 "Unknown chat network" error now tells to create it with /IRCNET ADD
(..which is a bit wrong with non-IRC..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-18 15:37:07 +00:00
Timo Sirainen
56b7f5ecbf Print the log's expanded file name when complaining about not being able to
create log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-17 13:04:23 +00:00
Timo Sirainen
50eae89a96 /BIND ^W-1 was treated as ^W + '-' + '1', not as ^W + '1'..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:32:43 +00:00
Timo Sirainen
5360b3eaaf escape_target() didn't escape / chars properly, it just crashed irssi..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:20:10 +00:00
Timo Sirainen
3432f02a05 It's now possible to stop single character /BINDs from printing to input
line. Hiascii characters didn't work properly with /BIND.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:15:17 +00:00
Timo Sirainen
8cab35aed3 Server notices shouldn't contain target field when printing it, it's always
you anyway.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:02:17 +00:00
Timo Sirainen
eb9f1eb985 autolog: target name is now always lowercased with irc protocol.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 17:47:31 +00:00
Timo Sirainen
5c45593f02 /WINDOW ITEM MOVE didn't work properly if there was space after parameter
(..which tab-completion added..)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08 18:57:09 +00:00
Timo Sirainen
ff884ba0bb Print the server tag in "query started" messages with query->server_tag, not
query->server->tag since query->server can be NULL when restoring window
layout.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 16:32:35 +00:00
Timo Sirainen
d1e0a0f44f Check that word isn't empty instead of just assuming it isn't. This one
probably caused several completion problems.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28 11:12:03 +00:00
Timo Sirainen
2dae72a698 removed accidental 'i' :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:54:54 +00:00
Timo Sirainen
5bf0edbb35 Added server tag to query_start format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:32:32 +00:00
Timo Sirainen
1c07041811 Added option /SET autolog_colors. Colors are now off by default for /WINDOW
LOGs too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-20 12:01:01 +00:00
Timo Sirainen
0d5e569195 Some internal changes how /SERVER command works. Added /SERVER PURGE
[<target>] command. The channel output is purged at /PART if the output
queue is larger than 10.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:19:06 +00:00
Timo Sirainen
6c022b0a5e Some support for lain ircd's /SETHOST - It /PART + /JOINs all channels, so
add all the joined channels to window binds temporarily so /PART doesn't
close the windows if /SET autoclose_windows is ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 12:33:29 +00:00
Timo Sirainen
ed93f91d96 Typofix - might have caused a crash if channel was destroyed with /WINDOW
CLOSE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:22:19 +00:00
Timo Sirainen
803d805016 Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].

NOTE: all modules now need to call register_module() in their init()
function.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
78b1e8d9d6 "IRC Net" -> "Network" in /SERVER LIST and /CHANNEL LIST
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 22:01:38 +00:00
Timo Sirainen
f370a3cc2e /INVITELIST prints "Invite list is empty" message and complains about not
being synced. Changed level to CLIENTNOTICE when printing the "no bans"
message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 14:00:57 +00:00
Timo Sirainen
4e3b1bba62 /LOG OPEN -color, /SET awaylog_colors - specifies that the color codes
should be written to log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 13:51:49 +00:00
Timo Sirainen
53c13065d2 One more limit to "key" names - it can't start with a digit. This allows us
to use /BIND foo meta2-18~ etc. more easily.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:05:36 +00:00
Timo Sirainen
55be71a726 Bugfix to keyb. code :) And now the "key" names can contain only
alphanumeric + '_' characters, which makes /BIND foo meta-5~ work again
because 5~ are treated separately, not as one "key" name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:02:06 +00:00
Timo Sirainen
22e5f3a3fe Keyboard code fixes - meta-arrows etc. should work now correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 16:48:34 +00:00
Timo Sirainen
a444a3c92a /WINDOW CLOSE <first> didn't work if <last> too wasn't specified..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 13:05:57 +00:00
Timo Sirainen
22e1a6dacc /VERSION command and /SV alias now print the version date too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 00:50:22 +00:00
Timo Sirainen
98b82723a1 Added function expand_escapes() which handles now escaping /EVAL and input
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e
(ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:00:25 +00:00
Timo Sirainen
b667af72aa Restoring window layout shouldn't make the queries active.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:23:25 +00:00
Timo Sirainen
c86333393c Changed signal / function names for /LAYOUT stuff. /LAYOUT RESET now resets
the split windows too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:05:50 +00:00
Timo Sirainen
4737d16290 Fixed leaking window binds. They were added but rarely removed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 16:08:47 +00:00
Timo Sirainen
9beaf82839 /SET autofocus_new_items ON - if newly created window items should be set
active automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:29:56 +00:00
Timo Sirainen
f124f07a4e /NOTIFY printed '!' character after nick if mask was given.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 12:50:49 +00:00
Timo Sirainen
45bb5c3cee Restoring layout for split windows works betters now. Some sticky window
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands
/WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window
only inside split windows. mainwindows-save.c -> mainwindows-layout.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 12:41:10 +00:00
Timo Sirainen
dcf1bdb82c /UNIGNORE - skip spaces at end of line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-04 01:36:39 +00:00
Timo Sirainen
ce0bd80b05 Added sticky window information to /WINDOW.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 22:54:08 +00:00
Timo Sirainen
daaf2756ca Minor cleanup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:50:34 +00:00
Timo Sirainen
79ae6fceb3 /WINDOW command now prints all information related to window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:04:39 +00:00
Timo Sirainen
279f149295 /TOGGLE didn't send "setup changed" signal
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 12:24:24 +00:00
Timo Sirainen
6c2f9c685a --enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.

filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 09:17:53 +00:00
Timo Sirainen
2d5edb8c4d /NAMES #channel_you're_not_joined doesn't print the "total of xx nick" line
anymore - it was always just full of 0 and people thought it was a bug (it's
a missing feature :).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 05:32:38 +00:00
Timo Sirainen
c4fe917be3 " <tab>" in query printed glib warnings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1677 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:38:31 +00:00
Timo Sirainen
bdde1d884c /NOTIFY, /NOTIFY -list: Added "The notify list is empty" message
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:46:34 +00:00
Timo Sirainen
2a44f98a51 Added "Closed query with nick" message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:41:01 +00:00
Timo Sirainen
d1d13a4b36 Escape % chars in logs so strftime() won't mess with them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:35:10 +00:00
Timo Sirainen
11072cc4d7 Removed unused signal_gui_print_text, added a g_return_if_fail(dest->window
!= NULL) to "print text" signal - window should be set or it is treated as
GUI print event.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1666 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:16:27 +00:00
Timo Sirainen
802ee7564c Fixed /RELOAD crashing without parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 00:27:23 +00:00
Timo Sirainen
9668285467 OK, no more forcing the reuse_unused_windows. It's up to the user to set it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:40:00 +00:00
Timo Sirainen
0fa4e20497 /SET reuse_unused_windows is now forced ON only if /SET autocreate_windows
is ON and autoclose_windows is OFF.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1662 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:28:46 +00:00
Timo Sirainen
35ce180f10 --hostname and --nick options didn't have effect for autoconnected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1661 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:24:45 +00:00
Timo Sirainen
3fb7a4115d added destroy() function to WI_ITEM_REC. This fixes a potential crash when
"window item destroy" signal was being used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1655 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:49:08 +00:00
Timo Sirainen
219d276b0a bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1654 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:38:46 +00:00
Timo Sirainen
f81291622f buffer overflow fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 19:16:21 +00:00
Timo Sirainen
fc4f81c751 SYNTAX: ACTION updated - target is required
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 17:40:56 +00:00
Timo Sirainen
559a5be42f fixed a small memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-22 12:08:36 +00:00
Timo Sirainen
40ffd87ded Irssi::printformat() called printformat_window() to print the text which
lost server/target information. Added printtext_dest() function which it
uses now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-18 19:03:07 +00:00
Timo Sirainen
088358ca61 /NAMES -count now prints only the "total" line, not "users(#channel)" anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-17 18:22:24 +00:00
Timo Sirainen
7e630b22cf added another hilight kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 17:20:23 +00:00
Timo Sirainen
118b5f48a2 Hilight fixes - mode lines shouldn't be hilighted accidentally anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 19:03:27 +00:00
Timo Sirainen
27fcabbc19 Previous foreach fixes to /FOREACH WINDOW too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 18:21:44 +00:00
Timo Sirainen
c1ac5765b3 New /IGNOREs weren't immediately effective for nicks in channel. Some small
fixes for unignoring levels with /IGNORE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:50:26 +00:00
Timo Sirainen
79d1d7089a Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
c930f8f8e6 command option/parameter completion was case sensitive (ie. /MSG <tab>
didn't, work, /msg <tab> did)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1624 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 20:06:00 +00:00
Timo Sirainen
4425f87f98 /NAMES -count: print only the Total xxx nicks line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:22 +00:00
Timo Sirainen
fca13a0fba removed a useless "fix"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:08 +00:00
Timo Sirainen
2ddba459c0 Moved location of config, theme and doc files. Added debian dir for building a .deb easily.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-05 23:16:18 +00:00
Timo Sirainen
3eca462859 Removed GLIB warning at certain condition with tab completion.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1606 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-03 22:21:40 +00:00
Timo Sirainen
f70160c503 /SET netsplit_nicks_hide_threshold must not be smaller than /SET
netsplit_max_nicks or no nicks were printed with netsplits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:11:43 +00:00
Timo Sirainen
f20a6b0198 If .theme suffix was given for /SET theme, irssi printed "theme changed to
xxx" message every time any setting was changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1596 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:10:48 +00:00
Timo Sirainen
84e8d9acfa whois_away had one extra space at the beginning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 19:03:55 +00:00
Timo Sirainen
b62615e32a Nick changes were printed twice in queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 22:40:24 +00:00
Timo Sirainen
77b72271c8 when theme is changed, it should print the message to status window, not to active window..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 17:43:53 +00:00
Timo Sirainen
d7342a6c4f removed useless #define
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1581 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 22:54:51 +00:00
Timo Sirainen
53975363ce Using different ports in one server for different chat networks didn't work
properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1580 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:47:31 +00:00
Timo Sirainen
5cb945cedf Don't autoclose windows with bound items.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:31:26 +00:00
Timo Sirainen
69c864f8d5 Added -delete option to /WINDOW THEME. /WINDOW THEME without parameters
prints the active theme.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:16:43 +00:00
Timo Sirainen
0db8e96019 Fixed window specific themes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:05:04 +00:00
Timo Sirainen
75543048b5 Added -v / --version command line option. Moved POPT_AUTOHELP option to
fe-common from fe-text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 20:22:43 +00:00
Timo Sirainen
8ec78b0723 use signal_add_last() to bind the "message xxx" signals when printing them,
so that scripts/modules can stop the signal without affecting the rest of
the functionality.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:29:16 +00:00
Timo Sirainen
f5a161bee9 added whois abstract to themes. should make it easier to change whois output
in theme


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:04:54 +00:00
Timo Sirainen
6362ab86f6 "print text finished" -> "gui print text finished". Added %[options] format
for printing text. The syntax for options is [+-]<option>[+-]<option>...
Currently supports options 't' = timestamp, 'T' = server tag, 's' =
line_start, 'S' = line_start_irssi. -s or -S means don't print the
line_start. For example %[-st+T] would never print line_start or timestamp
to line, but would always print server tag to line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 21:28:00 +00:00
Timo Sirainen
3f2b189a4c /WINDOW SERVER -sticky / -unsticky crashed if the tag wasn't given and
there was no active server in window


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 23:12:43 +00:00
Timo Sirainen
0192a6fb97 Multiple /LAYOUT SAVEd queries in same window didn't get restored to the
same window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:15:38 +00:00
Timo Sirainen
4da53bb5f4 When disconnecting from server when you had queries without active server
irssi printed some glib errors.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:14:48 +00:00
Timo Sirainen
a128998010 Joins to channel now adds the nick to completion list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:45:47 +00:00
Timo Sirainen
54242cdac5 own nick changed were printed as if it was done by someone else
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:38:36 +00:00
Timo Sirainen
81268205ca The automatic query rename wrote the "nick changed" messages to channels
windows too. Now it's done only in the query window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:31:15 +00:00
Timo Sirainen
5aa56a08f9 beep check: don't beep with NO_ACT message level rather than NOHILIGHT since
NOHILIGHT is sent with public messages and someone may want to beep when
they're received.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 20:21:03 +00:00
Timo Sirainen
3609f6f243 Added support for bahamut @+#channel notices. Removed notice_public_ops
format, notice_public is just fine if the channel just contains @ or @+
at the beginning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04 19:50:16 +00:00
Timo Sirainen
4ee6270965 'Y' answer shouldn't be case-sensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1533 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 20:20:22 +00:00
Timo Sirainen
fc3918b0f0 dcc, flood and notifylist aren't compiled as loadable modules anymore,
no-one wants that and irssi crashes in AIX because of it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:39:45 +00:00
Timo Sirainen
28899856a4 removed "print text stripped" signal, the stripped text is now sent in
"print text" signal's third parameter


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-31 22:35:49 +00:00
Timo Sirainen
7cab17c2c9 Added formats to /SET texts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1517 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-26 19:20:45 +00:00
Timo Sirainen
3e825325b8 nick completion: don't add the same nick to completion list twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1515 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:38:07 +00:00
Timo Sirainen
47f272da98 nonstrict completion bugfixes, my mistakes :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1514 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:33:35 +00:00
Timo Sirainen
40f47a0a5f /SET completion_strict OFF - specifies if the tab nick completion should
ignore non-alphanumeric characters. Alieases are now completed in command
completion. Patch by fuchs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1513 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:29:31 +00:00
Timo Sirainen
c2b2d45bd6 Getting rid of gettext, moved some _(..) texts to themes and left some error
messages hard coded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:13:59 +00:00
Timo Sirainen
fe5c94b050 Small speedup when pressing unbound keys.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 17:07:40 +00:00
Timo Sirainen
e792c23d54 /IGNORE: -word -> -full, like it's with /HILIGHT.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 15:35:43 +00:00
Timo Sirainen
33baf1d618 /LOAD notifies that dynamic modules aren't supported instead of being quiet
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1493 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 15:20:15 +00:00
Timo Sirainen
3bd6666aea Don't crash if config file had keyboard = { .. } in it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1491 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 19:53:56 +00:00
Timo Sirainen
0ec7e8ed58 netjoins should display the @, + etc. before the nick again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:42:05 +00:00
Timo Sirainen
749e70cad6 more config file handling fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:23:58 +00:00
Timo Sirainen
bffe51861f fixed config file handling
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1485 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:04:14 +00:00
Timo Sirainen
1f23c05ee7 CHANNEL_REC->get_join_data() - Returns the information needed to call
SERVER_REC->channels_join() for this channel. Usually just the channel name,
but may contain also the channel key.

If we receive PART-message to channel that hasn't received a JOIN yet,
don't destroy the channel. It's probably because we did quickly /PART +
/JOIN.

Moved /CYCLE to fe-common/core, it doesn't close the window for the cycled
channel anymore if you had autoclosing on.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 16:08:48 +00:00
Timo Sirainen
d44b803c3c Don't place any window items to windows which have name. Window level
doesn't have any effect to it anymore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1481 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:32:57 +00:00
Timo Sirainen
897a1ffa86 /LOG OPEN: it was checking /JOIN's options and printed errors if any /LOG
OPEN -option was used..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:26:22 +00:00
Timo Sirainen
9cc1675e1d /NAMES needs only one argument, fixes "/NAMES -ops #a " where irssi thought
the channel was "#a " and instead of "#a"..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1478 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:18:18 +00:00
Timo Sirainen
c7274cb00e /IGNORE now defaults to ALL level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:19:16 +00:00
Timo Sirainen
f3f8eb620a added "dcc request send" signal - irssi now prints "DCC CHAT/SEND request
sent to nick".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1472 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:55:18 +00:00
Timo Sirainen
cb28685574 "dcc error file not found" -> "dcc error file open". Print the actual error
message based on errno, don't just assume the file wasn't found.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:43:59 +00:00
Timo Sirainen
c61edaf7c9 always round up the kB value so we won't have 0kB file sizes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 11:52:32 +00:00
Timo Sirainen
4c42e7d894 /SET hide_server_tags
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-10 19:54:48 +00:00
Timo Sirainen
4c8ad5a4c5 some fixes, saving is still broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1464 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-08 18:05:53 +00:00
Timo Sirainen
711c17b746 keyboard handling rewrite
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-06 19:28:15 +00:00
Timo Sirainen
0cb1752123 related changes to textbuffer update..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1444 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:54:06 +00:00
Timo Sirainen
ece1ac9dee ']' missing from /SET syntax
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-09 16:16:09 +00:00
Timo Sirainen
8b61b9679c log->temp -> !log->temp .. closed non-autologs instead of autologs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-28 22:38:52 +00:00
Timo Sirainen
3f0498eb20 When closing autologs, don't crash if some other temporary log is open, like
awaylog.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-26 02:02:50 +00:00
Timo Sirainen
7ed4e7ee7c don't crash with themes without replaces block. don't crash with themes with
highascii characters.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-24 16:03:05 +00:00
Timo Sirainen
2426cc20c7 Parting channels and disconnecting from servers didn't close the autologs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-21 00:21:45 +00:00
Timo Sirainen
8a9fcb53fc Send notify out messages with HILIGHT level too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20 02:00:17 +00:00
Timo Sirainen
6e57a9e94e /HILIGHT -full didn't work, and -word was treated as -word + -full. Updated
/HELP hilight.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 06:58:13 +00:00
Timo Sirainen
002960765f fixed small hilight memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:34:42 +00:00
Timo Sirainen
d9008ae249 %F = blinking on/off. several fixes to make blinking work better. some
hilight fixes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:32:32 +00:00
Timo Sirainen
c3da7fa8ab Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET
hilight_act_color now use %codes for specifying color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 01:52:43 +00:00
Timo Sirainen
6806a0b7df Irssi now asks if you want to remove unknown settings from configuration
file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 23:57:24 +00:00
Timo Sirainen
9a7524ae75 emphasis works with actions now
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 22:14:50 +00:00
Timo Sirainen
db7c60b9a5 /WINDOW CLOSE [<first> [<last>] - you can close multiple windows once now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 21:05:40 +00:00
Timo Sirainen
7aa9a8e626 ^O reset only colors, not underlines etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 17:34:28 +00:00
Timo Sirainen
87777968c3 Beginnings of configurable statusbar. The existing items can be configured
in default.theme.

If some abstract isn't set in theme, it fallbacks to the one in
default.theme now. This should help with old themes, and maybe themes
that don't change something should just keep those parts commented out..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:26:12 +00:00
Timo Sirainen
1d453ed92c %n+bg color change doesn't anymore set foreground black. changed theme's
default_bold_color to default_real_color.

Activity list printed first item with white always. Color redrawed itself
every second.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 19:43:32 +00:00
Timo Sirainen
7ced2beab4 added format_real_length()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 10:34:04 +00:00
Timo Sirainen
4a4bf68727 /DCC CLOSE CHAT <unknown> signal: we were checking for "GET" here, not
"CHAT"..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:48:41 +00:00
Timo Sirainen
f5d67dcb5c Command history: allow "next history" to jump back to last msg in
history if we already went over it with "prev history" once.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:45:56 +00:00
Timo Sirainen
484f62f757 added server_change_nick() function for servers.[ch]. Lots of fixes for
support to multiple identical nicks. Should work now properly :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 10:30:41 +00:00
Timo Sirainen
0530039b9f /SET names_max_width - buffer overflowed if it was too small..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 09:04:53 +00:00
Timo Sirainen
b23e544d57 /NAMES didn't stop the signal properly so /NAMES list was printed twice
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1347 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 08:10:01 +00:00
Timo Sirainen
4c7b07ed3f IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory and
at connect() time it's decided which one should be used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 01:47:13 +00:00
Timo Sirainen
d0a4404bdf /NAMES: -ops -halfops -voices -normal options added. /NAMES without
parameters now prints nicklist in active channel, /NAMES ** shows all
nicks in all channels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 00:14:00 +00:00
Timo Sirainen
c5cccfcdaa fe-common/irc/flood removed. Some autoignore / ignore -time updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:27:07 +00:00
Timo Sirainen
6ae8ab5766 not needed anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1329 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:20:26 +00:00
Timo Sirainen
1a61f989e1 When /SET autoclose_windows is ON, don't destroy windows if they have
some level set (like /join -w + /part in status window)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1327 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 22:03:00 +00:00
Timo Sirainen
ab5166033c I knew removing those checks from "channel created" and "query created"
signals broke something :) -window option to /JOIN and /QUERY. This
time don't check for any item with same server/name, but check that the
item itself doesn't have window set yet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1326 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:57:31 +00:00
Timo Sirainen
f71afe835a /JOIN #channel and /QUERY nick won't anymore automatically move
channel/query to active window but send a notice to user how to move
it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1325 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:51:57 +00:00
Timo Sirainen
9a5b97164e Always save theme to ~/.irssi/ no matter where it was read from.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:16:40 +00:00
Timo Sirainen
7118830573 window_set_active() doesn't anymore send "window changed" signal if
window is being set to NULL.

Restoring /LAYOUT SAVEd split windows crashed at startup because of
this. Maybe it shouldn't change the window to NULL? Well, at least I
got it to work at all... :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:11:43 +00:00
Timo Sirainen
bc0069c02f ignore_get_key() moved to fe-common, fixed printing "*" ignore key.
Doesn't print unignore messages when /RELOADing config.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 20:55:06 +00:00
Timo Sirainen
4f2be94115 /BANTYPE -> /SET ban_type. /BAN: -type option added to override default
ban type.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 20:48:23 +00:00
Timo Sirainen
25a013e4c8 "channel created", "query created" .. don't abort adding window item
even if there already exists another with same name. not sure if this
breaks something but at least doing that breaks some things, like
/join #a and /query #a after that :)

}CVS: ----------------------------------------------------------------------


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 19:56:11 +00:00
Timo Sirainen
f9474e2c3d DCC actions have now ACTIONS level as well as the DCCMSGS.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:40:50 +00:00
Timo Sirainen
5c436a20a6 HILIGHT level didn't work with logs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:40:25 +00:00
Timo Sirainen
46d93a3f4b /SET beep_when_window_active + some cleanups
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1313 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:30:21 +00:00
Timo Sirainen
fcd8810b6c Removed all beep handling from text printing. If you want to beep just
send "beep" signal.

/LAST -clear crashed if window contained only lastlog lines. Some other
minor cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:22:09 +00:00
Timo Sirainen
6f5adbf96c /SET -clear didn't work with booleans
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1307 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 16:14:28 +00:00
Timo Sirainen
72daabc5f6 kb -> kB
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-02 18:20:54 +00:00
Timo Sirainen
f7aae08152 /WINDOW PREV -> /WINDOW PREVIOUS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27 08:39:04 +00:00
Timo Sirainen
39e2a4225c Printing channel bans print them now with target parameter set, so with
status window they get printed to channel window instead of status window.
Same for End of b/e/I lists. A few other cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 21:29:42 +00:00
Timo Sirainen
acf0dd879e /HELP can now display help of non-commands if the file just exists in
help directory


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1289 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 20:51:26 +00:00
Timo Sirainen
e2ff4550ea Word highlighting was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1286 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 10:52:29 +00:00
Timo Sirainen
62a7faf5b2 strip_real_length(): initialize last_color_pos and last_color_len to
-1. Word hilighting crashed if there was no colors set in the line..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 08:35:53 +00:00
Timo Sirainen
fc17069cec Autoignore fixes by fuchs (not tested, hope it works ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 06:09:48 +00:00
Timo Sirainen
a2a6c7e293 Make a temporary window bind if you get kicked from channel. Never
allow any window items to go to windows with sticky binds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 05:49:30 +00:00
Timo Sirainen
930ccf5238 /SAVEWINDOWS -> /LAYOUT SAVE. Added /LAYOUT RESET. Initialize GLib log
-> Irssi windows _after_ windows are created..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1278 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 19:19:24 +00:00
Timo Sirainen
7103fc87b8 /FOREACH server|channel|query|window <command>
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 18:41:45 +00:00
Timo Sirainen
4a35a41c85 Support for several unrealircd WHOIS replies, patch by Mark Glines
<paranoid@deathsdoor.com>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 18:32:15 +00:00
Timo Sirainen
4718edf055 added format_get_length() for getting length of text part in a format
string. gui_printtext() now works like printtext_string() so %s won't
accidentally crash it. /SET prompt can now have %formats.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 04:21:15 +00:00
Timo Sirainen
481f4bc327 /SET resolve_prefer_ipv6 - should we prefer IPv6 or IPv4 addresses in
host name resolving. /SERVER ADD: added options -4 and -6. Fixed crash
at startup if server didn't have chat network set. "Connecting to xxx
[ip]" is now displayed before calling connect(), so if it fails we'll
still get the IP it's trying to connect to.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 16:23:28 +00:00
Timo Sirainen
7a6c3f0b7c Errors reading/writing config and theme files are now handled properly
and printed to screen


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 01:54:14 +00:00
Timo Sirainen
25845074d6 Reload theme after /SET theme if it was modified.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 01:12:47 +00:00
Timo Sirainen
43323fd24c multi identical nick fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 00:33:51 +00:00
Timo Sirainen
8f98e4b608 /SERVER: if there's no servers, print "Not connected to any servers"
instead of just being quiet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 14:50:53 +00:00
Timo Sirainen
374df6c5f1 /TOGGLE without parameters now complains not having enough parameters..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1259 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 07:16:32 +00:00
Timo Sirainen
4550204783 Moved /HELP to fe-help.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:44:15 +00:00
Timo Sirainen
f453e84436 /NETSPLIT prints nicks now sorted and prints @ or + before channel if
user was opped/voiced before split.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:33:39 +00:00
Timo Sirainen
c1c7674ae2 Highlight colors can now have background color set with fg,bg. Works
with activity list too, useful for example blinking.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:25:24 +00:00
Timo Sirainen
1117638b52 Moved autoconnects and command line parameter parsing from irc to core.
Added not_initialized parameter to chat protocols that are created
using chat_protocol_get_unknown(). /CONNECT doesn't crash now with
non-initialized protocols but instead complains about them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:50:08 +00:00
Timo Sirainen
1ee25967d8 window_bind_remove_unsticky(): crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1246 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:26:32 +00:00
Timo Sirainen
6a469c46bb Support for multiple identical nicknames.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 22:46:25 +00:00
Timo Sirainen
be6ba53fa4 Config file: ircnets -> chatnets, added type = "chat protocol" to
chatnet config. Moved reading chatnets to core. Lots of other
multiprotocol updates.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 19:44:22 +00:00
Timo Sirainen
e5f1216797 log_write_rec(): added level parameter. writing /LASTLOG to log files
doesn't anymore print the current timestamp at the start of line since
/LASTLOG messages have their original timestamp already.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 12:08:31 +00:00
Timo Sirainen
abe4ddb52a /LOAD module tries to load "module_core" instead. If it wasn't found,
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.

Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:35:35 +00:00
Timo Sirainen
8d86fc75ef added fe-dcc.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 20:49:45 +00:00
Timo Sirainen
5e3a3e88a8 added fe-exec.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 16:07:35 +00:00
Timo Sirainen
f4aef7c706 Added PROCESS_REC to fe-exec.h and perl support for it. "exec new" and
"exec remove" sends PROCESS_REC as first argument. Added "exec input"
signal to perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-13 19:26:43 +00:00
Timo Sirainen
429ce5a2b3 Removed SYNTAX: LOG LIST - the commands is /LOG
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-11 00:15:32 +00:00
Timo Sirainen
355e7dd841 theme->default_color is now used again, added default_bold_color which
is used with default bolds since A_NORMAL|A_BOLD doesn't seem to do
anything with curses..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 10:19:47 +00:00
Timo Sirainen
98a73539ae /EXEC -interactive: Creates a query-like window item. Text written to
it is sent to executed process, like /EXEC -in.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 09:54:51 +00:00
Timo Sirainen
ddf6810b0e Changed window->waiting_channels ("servertag name" format) to
bound_items containing WINDOW_BIND_REC structures. If you now use
/SAVEWINDOWS, the item will _always_ be restored to saved window even
if there was already some other item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 09:12:53 +00:00
Timo Sirainen
7c21fb84ee /SET hilight_act_color - default color to use for highlighting in
activity line


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 08:44:19 +00:00
Timo Sirainen
194dd60f36 /SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.
Forced max. 6 columns limit to /HELP


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:54:09 +00:00
Timo Sirainen
89abfaf9cf sticky_refnum is now saved and restored
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 03:12:22 +00:00
Timo Sirainen
980d6ca3fd /WINDOW SERVER: added -sticky and -unsticky options. If window server
is sticky, it will never be automatically changed, and it cannot be
changed to anything else without -unsticky option. Should be useful for
people who want status or msgs windows for each server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1196 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 03:10:30 +00:00
Timo Sirainen
54870f51fd window_item_set_active(): window->active_server was set wrong if there
was multiple items in window from different servers.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1195 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 02:13:13 +00:00
Timo Sirainen
e4f7d55ce9 DCC cleanups - split DCC_REC to CHAT|GET|SEND_DCC_RECs. Plugins should
now be able to add whatever new DCC types.

Nick changes affect DCC chats. /WHOIS without parameters works properly
in DCC CHAT queries.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 02:02:26 +00:00
Timo Sirainen
118f9a11eb DCC chat nicks are in /MSG completion list now if chat isn't in query.
Sending actions to non-query DCC chats now display the target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1193 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09 22:00:51 +00:00
Timo Sirainen
1dfd86fe95 /SET opermode - set this mode when you get ircop status.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08 09:24:25 +00:00
Timo Sirainen
45ad955d9e /ACTION didn't print the target when there was no query/channel where
to print the action


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 22:10:57 +00:00
Timo Sirainen
70322d695f Don't autolog CTCPs by default (so CTCP floods don't create lots of
useless files)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:56:51 +00:00
Timo Sirainen
7612cf4773 added fe-channels.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 23:29:39 +00:00
Timo Sirainen
e2acaaa067 Added gui_printtext() function for printing text in printtext() format
to screen in specified position.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 19:29:38 +00:00
Timo Sirainen
4dd1d73f80 Print own mode changes immediately to screen without the 2sec wait.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 21:21:19 +00:00
Timo Sirainen
9044226d6e Print the color hilight with two digits so it won't accidentally use the
next char if it's numeric.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:53:09 +00:00
Timo Sirainen
8acf2cd5f9 /nctcp crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-29 12:39:13 +00:00
Timo Sirainen
e09be2c7b4 /SET activity_hide_targets now hides them even if level is MSGS. Only
activity of highlighted text is not hidden.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 19:31:45 +00:00
Timo Sirainen
3db17abb4d /SET hilight_levels -> hilight_level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 19:11:34 +00:00
Timo Sirainen
3927ef9713 /HELP, /NAMES: using now the column helper function in misc.c. /NAMES
moved to core and is printed immediately instead of sending /NAMES
request to server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1162 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:46:00 +00:00
Timo Sirainen
4339c9a7ed WINDOW_REC: added width and height variables
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:44:29 +00:00