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

828 Commits

Author SHA1 Message Date
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
Timo Sirainen
669c2c18d8 Removed own_wall msg format, using now the same as @#channel messages.
Added printing of ctcps, notices, actions and /WALLs to
fe-irc-messages.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 10:16:43 +00:00
Timo Sirainen
5e3aa6f077 Emphasis are now expanded with own public/private messages. Added some
checks when not to expand: before _word_ must be space or beginning of
the line, next char after _word_ must not be '_' or '*'.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 09:31:45 +00:00
Timo Sirainen
56abbcd2e3 Ignoring updates. Added support for nickmatch cache. One ignore can't
have both except and normal levels. Nick ignoring checks now with both
old and new nicks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 07:22:22 +00:00
Timo Sirainen
6c32ffdc4f Print notify joins, unaways and unidles with HILIGHT level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1154 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 04:07:52 +00:00
Timo Sirainen
a4cdb86128 /SET timestamp_format now specifies format of $Z. timestamp msg format
now uses $Z instead of that horrible $[-2.0]3:$[-2.0]4 that no-one
understood :) It's still possible to use the old method too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 04:03:56 +00:00
Timo Sirainen
90e0d79d2a Added TXT_WINDOW_LEVEL, changed most of the /WINDOW commands to print
output to active window, not status window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1152 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:52:29 +00:00
Timo Sirainen
f382abee30 %N does now same as %n, except in .theme files it always does the
terminal default color while %n sets the "previous color".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:41:17 +00:00
Timo Sirainen
cff8ba0c92 /SET beep_on_msg -> /SET beep_msg_level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:19:19 +00:00
Timo Sirainen
5e8d21e68d /SET beep_on_msg -> beep_msg_level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1146 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:19:06 +00:00
Timo Sirainen
f6e9160bc9 Netjoin mode printing: handle +v and +h like +o was handled (joins:
@opnick +voicenick %halfopick)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1145 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:17:55 +00:00
Timo Sirainen
00492856da Spaces at the start of line confused the completion some.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1144 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 03:04:44 +00:00
Timo Sirainen
4cbabe2a83 nicklist_find() now finds only full nicks, nicklist_find_mask() finds
nick masks. This fixes *a* and similiar emphasis where irssi tried to
find nick mask *a* instead of nick *a*.

Also, emphasis with highascii didn't work unless emphasis_multiword was
set ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 01:45:31 +00:00
Timo Sirainen
db03c25952 nickmatch-cache wasn't initialized if there wasn't hilights = { ... }
block in config file


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-26 18:52:01 +00:00
Timo Sirainen
ff5961dd09 Removed MSGS from hilight_level, not very useful IMHO
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-22 20:17:25 +00:00
Timo Sirainen
c3a6417c0f strip_real_length() : bolds, underlines, etc. one character styling
left it to infinite loop


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-22 19:35:07 +00:00
Timo Sirainen
391a7e5710 Highlighting updates. -word renamed to -full. Added new -word option
meaning to highlight only the found word in line. Removed -nonick
option but added -line which means pretty much the same. -actcolor
specifies what color to show in activity list, default is the same as
-color. Also uses the nick cache to match nickmasks faster.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21 04:14:24 +00:00
Timo Sirainen
ce6e5a12f9 DCC cleanups - half rewrite. New features: file names with spaces work
properly, you can have multiple dcc chats with same people (or more
useful, same nick in different ircnets), /DCC CHAT|GET|RESUME with no
arguments accepts the last request, notifies if dcc request was sent to
channel, warns about connecting to lowports, /SET dcc_autoget_lowports
specifies if autogetting should work with lowports, complains of
invalid dcc ctcps instead of ignoring. And fixed /SET dcc_autorename
OFF which didn't work before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:30:59 +00:00
Timo Sirainen
c180c61816 memmove() -> g_memmove()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 01:03:18 +00:00
Timo Sirainen
078b63ccbe added channel parameter to quit/nick messages
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16 19:18:39 +00:00
Timo Sirainen
0d62878d6e Fixed some signedness warnings and memdebug.h should compile now fine
with -ansi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15 23:36:11 +00:00
Timo Sirainen
51a4e8bcb9 Use | instead of + when playing with ansi colors. Doesn't change
anything really, except if someone now wants to change ansi colors to
some bright colors it's easier..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1118 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:57:39 +00:00
Timo Sirainen
6f370cf6ff /HELP without any parameters read data outside it's buffer
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:33:30 +00:00
Timo Sirainen
43186de148 Minor speed enhancement
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:31:53 +00:00
Timo Sirainen
93ba91b8ed Added my_asctime()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:16:39 +00:00
Timo Sirainen
d427f74143 Check the return value of strftime() properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:02:03 +00:00
Timo Sirainen
3582973c93 Added "exec new" and "exec remove" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1110 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 23:28:05 +00:00
Timo Sirainen
8cb5ebc0a3 /SET activity_levels, hilight_levels, noact_channels ->
activity_msg_levels, activity_hilight_levels, activity_hide_targets.
Added /SET hilight_levels to specify the default level for /HILIGHTs


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1109 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-13 14:04:11 +00:00
Timo Sirainen
1a3c700838 Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 10:15:34 +00:00
Timo Sirainen
091e06387b /SET theme - complains if theme isn't found. Setting theme's name to
"xxx.theme" now works, too many people tried it with the .theme suffix :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1102 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11 09:14:21 +00:00
Timo Sirainen
d256f71a00 Highlighting cleanups. Added /HILIGHT -priority option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 21:06:45 +00:00
Timo Sirainen
f8f1f814a5 query_find() didn't check for queries with no active server
Some DCC CHAT format fixes


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1097 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 18:56:56 +00:00
Timo Sirainen
d6ee17e8cd /LOAD without parameters prints loaded modules
GLib warnings/criticals are now printed with printformat(), not into
standard output messing up the screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09 17:25:21 +00:00
Timo Sirainen
1de2aade40 In core/module-formats.h: IRCTXT_ -> TXT_
Added "message irc ctcp" signal to print CTCPs


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 19:42:59 +00:00
Timo Sirainen
e46e2b5e09 When using a /command that has only subcommands, print the list of the
subcommands instead of just "unknown command" text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 13:53:58 +00:00
Timo Sirainen
afc9800964 "MODE #channel b" list wasn't printed correctly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 10:11:29 +00:00
Timo Sirainen
9745db6925 Fixes for printing errors in themes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:58:15 +00:00
Timo Sirainen
f8f6d7670a Template packing: After $variables the color could be anything, don't
even try to guess it.

Some changes to templates in theme. Nick mode is now separate argument.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:48:56 +00:00
Timo Sirainen
dd68c2fa5f Removed window parameter from window_item_remove() and
window_item_destroy()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:58:28 +00:00
Timo Sirainen
28465db59c theme updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:57:06 +00:00
Timo Sirainen
ba4b59d134 When msg list is full, remove old messages, not new messages..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 15:39:36 +00:00
Timo Sirainen
0a44c31101 /HELP: Set indent to 0 when printing text. syntax.pl now changes tabs
to 9 spaces at the start of lines in help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 09:43:38 +00:00
Timo Sirainen
19d111eff4 printtext_string() fix, should actually work now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:34:39 +00:00
Timo Sirainen
86aa2d514d Added printtext_string() which works like printtext(), except it prints
text from a string, so that %s, %d, etc. don't work. Changed perl's
Irssi::print() use this instead as well as /HELP printer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:30:01 +00:00
Timo Sirainen
5eaec93b29 Removed wrong SYNTAX: NOTICE, it's already correctly in irc/core
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:26:06 +00:00
Timo Sirainen
64dcb756b6 /BIND comment updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:22:58 +00:00
Timo Sirainen
93c0086d41 Complain about errors in theme file
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1065 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:01:01 +00:00
Timo Sirainen
596ef586b2 Added keyboard_entry_redirect() function to keyboard.[ch] which sends
the signal "gui entry redirect" signal. Added possibility to keep the
entry hidden.

/OPER [<nick> [<password>]] - syntax changed. If password isn't given,
it's asked.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:01:51 +00:00
Timo Sirainen
d844880515 /UNBAN <ref#> works. /BAN list shows reference numbers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:28:26 +00:00
Timo Sirainen
60df6d7be8 fixed minor memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:13:29 +00:00
Timo Sirainen
69f3b3f159 /LIST: don't require -yes option if there's 1000 channels or less.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:49:48 +00:00
Timo Sirainen
131825ea0e /WINDOW NUMBER: fixed small memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:35:33 +00:00
Timo Sirainen
db66d47e26 "No such nick xx" is printed now with nick argument so it could get
printed to query window with xx


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 19:15:24 +00:00
Timo Sirainen
3ef279fd1c /SET windows_auto_renumber - should window refnums be packed when some
window is destroyed


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:32:48 +00:00
Timo Sirainen
4613196cd2 /WINDOW NUMBER: -sticky option added. Closing windows before a sticky
window won't change refnum of the sticky window and windows after it


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:30:23 +00:00
Timo Sirainen
8b5475f789 int:1 -> unsigned int:1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:13:54 +00:00
Timo Sirainen
c2ea82642d Some query changes. They should now work properly with /SAVEWINDOWS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:13:55 +00:00
Timo Sirainen
21865aa8de MODULE_DATA(item) -> window_item_window(item) - forgot to change these
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:07:08 +00:00
Timo Sirainen
2ae679be08 added "message own_public" and "message own_private" events that are
sent when /msg command is used. this way we don't need to parse the
/msg's options everywhere. also efnet @#channels support works now better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 16:57:25 +00:00
Timo Sirainen
219c83ae6a window_item_create(): when there's multiple choices where the window
item could be placed, the first window is now selected instead of the
last accessed one of them (which most people think of as a random
window).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 14:57:55 +00:00
Timo Sirainen
4a33801669 Added/moved several "typedef struct _XXX XXX;" to common.h so that
they're known to all files and I don't need those stupid "void *xxx"
anymore just to avoid useless #include. Header files themselves don't
either include others as often anymore.

Added channel->ownnick to point to our NICK_REC in channel's nicks.
Gives a minor speedup in few places :)

Moved completion specific lastmsgs from channel/server core records to
fe-common/core specific records. Also changed the nick completion logic
a bit so it should work better now. Removed
completion_keep_publics_count setting, but changed the meaning of
completion_keep_publics to same as _count was before. Nick completion
doesn't have any time specific code anymore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 07:45:54 +00:00
Timo Sirainen
078a10900f don't do emphasis on nicks in channel (<nick1> _nick2_: hello won't underline)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 04:22:31 +00:00
Timo Sirainen
ab0c12b74c removed FIXME text :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:43:11 +00:00
Timo Sirainen
f372f6d327 pidwait: send status as second agument.
Implemented EPIC-compatible /EXEC


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:42:47 +00:00
Timo Sirainen
84d672ee42 If msg comes from unknown channel (like when you just closed some
channel window and server sends the last msg to the channel) irssi now
prints the msg to active window instead of sending glib warning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1026 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 00:11:24 +00:00
Timo Sirainen
db5e7f3731 emphasis moved to fe-messages. added a few checks so that non-words
aren't treated as emphasis


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:04:33 +00:00
Timo Sirainen
06a6428d83 security fixes from 0.7.97.2
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:48:42 +00:00
Timo Sirainen
2e9487d42a /SERVER REMOVE: port parameter should be optional
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1014 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:36:00 +00:00
Timo Sirainen
01d4c070e3 Don't check queries whose address isn't known yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:27:23 +00:00
Timo Sirainen
4957c7b98b don't display ignored quit messages..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1012 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 11:12:52 +00:00
Timo Sirainen
b16f473e9b don't autochange nicks from dcc connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1011 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 10:40:41 +00:00
Timo Sirainen
f61bde7d3c Autologging: '/' -> '_' - don't even accidentally try to log to
#../../../file if you happen to join to such channel..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1009 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 17:15:14 +00:00
Timo Sirainen
634dfd41e8 quit messages shouldn't crash :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1008 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 14:00:26 +00:00
Timo Sirainen
bbc33bff5e /SET prompt, /SET prompt_window - Specifies the text in prompt.
'prompt' is used when channel or query is active in window and
'prompt_window' is used with empty windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:39:22 +00:00
Timo Sirainen
aac80846b8 Settings are now stored in module-specific blocks. Irssi complains
about all unknown settings that are found inside those blocks.

Left backwards compatibility kludge which should be removed in 0.7.98.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 05:44:45 +00:00
Timo Sirainen
fc491c5f8d Some minor query fixes. Nick changes are also detected by checking if
query with another nick from same address if found.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 02:20:22 +00:00
Timo Sirainen
6e19541f46 Improved nick_match_msg() - it shouldn't give wrong matches as easily
anymore. Also supports multiple targets in one line (nick1,nick2: hello)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 01:20:21 +00:00
Timo Sirainen
057ec3b8a8 Print quit messages from nick in query windows also
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 00:26:21 +00:00
Timo Sirainen
eafb6fe82f Theme saving to home dir didn't work correctly if globaldir already had
the same theme.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 00:04:51 +00:00
Timo Sirainen
2e033b5c6d Error message was missing from theme_save_failed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-16 23:36:42 +00:00
Timo Sirainen
2937e72a68 fixed $topic uninit
added $winref


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:51:52 +00:00
Timo Sirainen
8d98e80a6b -querychans option for servers and ircnets which specifies how many
channels to query in one line with MODE/WHO commands after joined to a
number of channels. Default is 10 which works usually, with some very
stupid servers (just found one) this has to be set to 1 however.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09 19:12:49 +00:00
Timo Sirainen
9f2f1dc70a Server events: switched order of data and server parameters. it's now
SERVER_REC *server, const char *data, .. hope this doesn't cause too
many problems :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 21:12:52 +00:00
Timo Sirainen
358848c80f /^command should stop also "print starting" and "print format" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 11:01:37 +00:00
Timo Sirainen
c5bb780a93 removed useless if condition
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 03:56:32 +00:00
Timo Sirainen
7e781736c6 use format_get_text_theme_charargs() instead of ..._args() in
printformat_module_dest() since we already have arguments in char **
table.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 03:37:22 +00:00
Timo Sirainen
b67ab7747e In queries the queried nick was always added to completion list even if
the word to be completed didn't start with the same characters


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 02:45:34 +00:00
Timo Sirainen
ed7f8d401f own dcc messages weren't displayed in right window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@951 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 02:26:33 +00:00
Timo Sirainen
a5e46bad36 nl_langinfo() was a bad idea, don't use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 06:39:28 +00:00
Timo Sirainen
af95ca3a7d printtext_multiline(): use the specified level, not MSGLEVEL_NEVER always.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 06:22:35 +00:00
Timo Sirainen
e720a50a8a signal "netsplit add" -> "netsplit new"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:48:01 +00:00
Timo Sirainen
de0e6b0184 Removed targets from printformat()s so all those extra dcc messages
would go to status window instead of the dcc chat queries.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 02:38:42 +00:00
Timo Sirainen
4d39f311f9 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 02:28:01 +00:00
Timo Sirainen
0577583fca Theme updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 02:20:38 +00:00
Timo Sirainen
4c82e70fb5 Remove trailing spaces from all modes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 01:43:07 +00:00
Timo Sirainen
f436a34f61 /SET show_nickmode_empty - when mode is empty, should we display " " or ""
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 01:13:05 +00:00
Timo Sirainen
3a6fef78a2 /SET emphasis - convert _underlined_ and *bold* words (and phrases) to use
real underlines/bolds. patch by tommik.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 00:10:20 +00:00
Timo Sirainen
5e66be312a Theme saving fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@927 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 23:53:35 +00:00
Timo Sirainen
fab312dde3 Print timestamps correctly with /SB REDRAW
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 22:08:07 +00:00
Timo Sirainen
47eda740cc /SET autocreate_windows - should we create new windows for new window
items or just place everything to one window


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@925 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 22:07:24 +00:00
Timo Sirainen
df94b9a44c window_[add|remove]_item -> window_item_[add|remove]
added window_item_destroy(), window_item_remove() doesn't destroy the
item anymore

window_find_item()'s first parameter changed from WINDOW_REC to SERVER_REC


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 19:08:21 +00:00
Timo Sirainen
ed550c01d1 typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 19:06:24 +00:00
Timo Sirainen
1ee8f8fb45 nl_langinfo() didn't work like i thought - fixed :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 19:05:03 +00:00
Timo Sirainen
e881761d86 "window item remove" signal: destroy the channel/query record _last_
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 07:55:55 +00:00
Timo Sirainen
0cb6db26d9 /WINDOW ITEM GOTO <name> - sets <name> window item active in current window
/WINDOW ITEM MOVE <number>|<name> - moves window item to another window
/JOIN #already_joined_channel - same as /WINDOW ITEM MOVE <name>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 06:08:31 +00:00
Timo Sirainen
fda66b542c Nick completion now completes nicks from all channels in active window,
except when completing the first word in line only nicks in active
channel are completed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 05:01:55 +00:00
Timo Sirainen
29f0531550 Use langinfo.h's nl_langinfo(YESEXPR) instead of 'Y'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 04:44:06 +00:00
Timo Sirainen
e4d67a1bc4 Changed init order of fe_channels vs. window_items, now irssi won't print
twice the "talking with xx" and "talking in xx" when using ^X to change
to another channel in window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@911 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 04:43:30 +00:00
Timo Sirainen
6ef409c4d0 internal default.theme is used if it isn't found anywhere
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02 02:01:51 +00:00
Timo Sirainen
f632c4c924 Remove trailing spaces from mode changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-01 01:31:55 +00:00
Timo Sirainen
bb53065bab Netsplit printing fixes.
Print multiple identical mode changes in one line
(mode +o nick by nick1, nick2, nick3)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-01 01:00:28 +00:00
Timo Sirainen
2ea411093a Bugfix for deciding which window to place new window item.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 17:00:51 +00:00
Timo Sirainen
70d49e5042 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 16:32:28 +00:00
Timo Sirainen
6d88345f30 While waiting for more netsplits/netjoins, if anything else is printed
to screen, print the current netsplit/netjoin messages before that text.
not tested, hope it works ;)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 01:44:07 +00:00
Timo Sirainen
18a918791e send "print starting" signal before each printformat() or printtext()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@899 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 01:41:11 +00:00
Timo Sirainen
10fcff30d8 added dccmsgs level to msgs window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-27 11:53:07 +00:00
Timo Sirainen
0d8239e40e config changes, CONFIG_REC is now required parameter for
config_node_set_int/bool() and config_node_add_list()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 10:24:30 +00:00
Timo Sirainen
079932c405 Perl fixes and additions. theme_register() / printformat() works now
with scripts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 09:22:18 +00:00
Timo Sirainen
9a7491fbe6 Mode ignores were checked wrong
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 05:37:18 +00:00
Timo Sirainen
cb03b5c133 netsplit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 05:33:51 +00:00
Timo Sirainen
7fbc915516 theme fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 05:08:11 +00:00
Timo Sirainen
8c02aa15b4 Added -current, -window and -level options to /echo
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 03:52:23 +00:00
Timo Sirainen
504dedeb4e window_find_item() was buggy if window argument was NULL
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 03:52:02 +00:00
Timo Sirainen
49b7992b00 Sometimes netsplit messages didn't get printed at all (those that came
after 3 seconds after split started)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@875 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 03:18:24 +00:00
Timo Sirainen
70bb51db19 /WINDOW <number> is now same as /WINDOW REFNUM <number>
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 02:53:50 +00:00
Timo Sirainen
f9c02639f5 /format -reset crashed irssi
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 02:49:21 +00:00
Timo Sirainen
3fbd7d5c82 Added KILL handling - user/server kills are now printed formatted.
If server kills you, connect back (almost) immediately, it was probably
just nick collision and you really want to connect back soon.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 01:30:05 +00:00
Timo Sirainen
45c9838141 Time formats didn't work in directory name of autologs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-25 16:30:56 +00:00
Timo Sirainen
4e0166a44d more warning fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:06:29 +00:00
Timo Sirainen
1fd6f8faf6 more changes from int xx:1 to unsigned int xx:1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 22:57:59 +00:00
Timo Sirainen
8ce36c05ea several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 21:40:07 +00:00
Timo Sirainen
8fb2249f07 hilight-text: whops, bugfix went wrong :)
fe-text: removed the warning that happened when calling printbeep()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22 20:01:47 +00:00
Timo Sirainen
2912532875 bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22 19:46:43 +00:00
Timo Sirainen
d62177df3c crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@855 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 12:56:27 +00:00
Timo Sirainen
e923b1651a /SCROLLBACK REDRAW - redraw the contents of current window according to
active formats, ie. changing theme changes scrollback.

It's still a bit buggy (can crash) with multiline formats, need to fix
it as soon as I figure out where the problem is..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-21 03:00:05 +00:00
Timo Sirainen
e3084d3ffa Win32 fixes - Irssi now compiles with MSVC++ :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18 15:32:59 +00:00
Timo Sirainen
14e5dc8b8e compiler warning fixes + one real bug in dcc-chat
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18 15:31:28 +00:00
Timo Sirainen
7adca508b1 Use signal.h, not sys/signal.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@847 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 16:55:46 +00:00
Timo Sirainen
39630c3d58 windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] to
fe-windows.[ch]


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 16:27:14 +00:00
Timo Sirainen
2edcdd715f Remember who set the topic and when, display the info when using /TOPIC.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 14:59:32 +00:00
Timo Sirainen
29a64a8924 /SET autocreate_query_level DCCMSGS specifies now if DCC chats should
create query windows automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 02:40:18 +00:00
Timo Sirainen
a890edfd41 Don't close non-autologs when leaving channel / closing query.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@839 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-15 23:34:32 +00:00
Timo Sirainen
99a6645142 Forgot to call formats_init() / ..deinit()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-13 01:52:41 +00:00
Timo Sirainen
d1330fff6d Text printing changes. Formats are now optionally saved to each line so
later if you used /format it would change the old lines too. However
the actual line changing doesn't work yet :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-12 20:20:05 +00:00
Timo Sirainen
a4bb4fb983 /SET activity_level, /SET hilight_level .. which message levels should
be treated as msg/hilight activity. Patch by tommik.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 20:38:50 +00:00
Timo Sirainen
b3b1438d22 when finding window for item, prefer empty windows that don't have
anything waiting channels list to those that have.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 20:38:04 +00:00
Timo Sirainen
2fc8c5b83f Wallop format fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@809 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-05 12:36:58 +00:00
Timo Sirainen
cbcf1b07bc Fixed lag checking when nick was just being changed.
Support for DALnet event 437 "can't change nick while being banned in
some channel" which conflicts with ircnet's "nick/channel temporarily
unavailable"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@806 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-04 16:54:58 +00:00
Timo Sirainen
2ba63e1863 privmsg fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@804 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-02 21:09:21 +00:00
Timo Sirainen
3d551427c6 fixed notices in theme.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-02 17:50:51 +00:00
Timo Sirainen
73858a2e5e Some fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 21:04:01 +00:00
Timo Sirainen
4dcbe05c0f Cleaned up printtext.c, split part of it to formats.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 20:14:19 +00:00
Timo Sirainen
8653c6ea36 /SET log_theme - you can now write to log files with different theme
than to screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 03:01:11 +00:00
Timo Sirainen
80dd793c60 Updated new default.theme to module-formats files.
default.theme still contains the abstracts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 01:52:16 +00:00
Timo Sirainen
1e6f81e38f Compress colors.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 00:48:36 +00:00
Timo Sirainen
1541257ac7 Some fixes for handling %n
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28 00:04:21 +00:00
Timo Sirainen
000ba23aa7 Support for templates in theme files.
module-formats.c files needs to be updated, meanwhile here's default.theme
you can use.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 23:06:26 +00:00
Timo Sirainen
d813ecd194 A simple /EXEC command by Tinuk.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 18:30:36 +00:00
Timo Sirainen
ed1b4e69a9 If nick isn't found from channel (for whatever reason), print the nick
mode as " ", not "".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@786 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 01:19:15 +00:00
Timo Sirainen
9b459cfe46 Fixed glib warning with autologging and queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 15:38:53 +00:00
Timo Sirainen
4ee8b929b9 Key bindings weren't loaded at startup correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 15:00:52 +00:00
Timo Sirainen
688c39045c If window_set_active() was called with NULL window (shouldn't happen
ofter/ever?) irssi added NULL window to windows list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-22 12:33:47 +00:00
Timo Sirainen
0977ab90e5 Logging fixes. Autologging with same named channels in different
networks should work correctly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-17 23:37:21 +00:00
Timo Sirainen
4f997ffe8f Rejoin fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15 21:14:13 +00:00
Timo Sirainen
a2cac63e56 Irssi won't automatically overwrite configuration files if they're
changed while irssi is running:

- /SAVE asks whether to save it or not
- autosave at quit saves it to config.autosave file


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15 19:21:21 +00:00
Timo Sirainen
228c1d7f36 Some hilight+window activity related fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-15 18:04:06 +00:00
Timo Sirainen
6e0d956f3d Netsplit cleanups. Added /SET netsplit_nicks_hide_threshold.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 21:17:45 +00:00
Timo Sirainen
4474c7b822 chanserv url bugfix :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 19:43:01 +00:00
Timo Sirainen
afcf554bf8 Added format for the chanserv url event.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 19:41:47 +00:00
Timo Sirainen
2b4f089bd0 when received event 328 (chanserv url in dalnet) write it to correct
channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 19:28:14 +00:00
Timo Sirainen
bd19c4a7d7 "/whois x x" - if x isn't found irssi now prints "there's no such nick x"
instead of complaining about unknown server x.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 16:02:35 +00:00
Timo Sirainen
148a6692e6 /LAST doesn't print the -!- at the start of lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 14:34:40 +00:00
Timo Sirainen
4c882129c3 /connect + /server server/chatnet completion by tommik.
Completion works now with commands that optionally could have
subcommands, like /server l<tab> could return list (subcommand) or
localhost (server).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 14:32:53 +00:00
Timo Sirainen
98060c3185 Moved nick/msg/channel completion to core with some cleanups.
Moved ignore checking to fe-ignore-messages.c.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 14:07:31 +00:00
Timo Sirainen
8c4b167327 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 02:41:46 +00:00
Timo Sirainen
46424964de /format own_dcc_me -> own_dcc_action
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:09:19 +00:00
Timo Sirainen
d398247f76 Handle event "407 duplicate channel" correctly - happens when trying to
create !channel (/join !!channel) while it already exists.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:03:11 +00:00
Timo Sirainen
6a3efe49ab Autorejoin when join temporarily fails because of netsplit is handled
better now. Irssi prints a nice message about it only once and you can
abort it with /RMREJOINS command.

"channel query" -> "channel joined"

channels_join() must not use cmd_return|param_error() commands since we
don't necessarily call it from command handler and signal_stop() could
cause some damage.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 00:45:16 +00:00
Timo Sirainen
20bac288f6 Forgot to move fe-ignore to core.
/unignore now complains if you don't give parameters to it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 22:26:33 +00:00
Timo Sirainen
1627ad03bd Don't show timestamps when doing /LAST.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@736 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 22:17:37 +00:00
Timo Sirainen
28f3e476da Complain only once with autologging if opening some log file failed
(locked by another irssi)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:53:25 +00:00
Timo Sirainen
e51eba853a Saving theme didn't complain if the save failed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:24:44 +00:00
Timo Sirainen
f07f552661 Moved join, part, quit, kick, nick, invite and topic printing to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-10 00:08:23 +00:00
Timo Sirainen
6fc2a34121 Added -avoid-version options and disable-static for SILC module.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-02 01:11:53 +00:00
Timo Sirainen
b7ce4dc814 fixes .. still not perfect
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-02 01:04:39 +00:00
Timo Sirainen
f0b2564809 Window activity was displayed in wrong window if query windows were
autocreated


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 23:42:58 +00:00
Timo Sirainen
84ebe10cd7 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@711 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 23:37:31 +00:00
Timo Sirainen
54ee1c6e8c /SILENCE updates, added /UNSILENCE command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@706 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 21:00:59 +00:00
Timo Sirainen
c1a191955b Chat protocol updates.
Module loading tries to load first from home dir, then the global dir.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 20:48:10 +00:00
Timo Sirainen
2b8580c8a7 multiprotocol updates. SILC prints channel and private messages now
using the same message formats as IRC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 22:49:48 +00:00
Timo Sirainen
965def294b When connecting to server, change the active window's server if the
window is empty.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 00:11:56 +00:00
Timo Sirainen
3eea53d2ee minor updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-29 23:57:30 +00:00
Timo Sirainen
359453abb0 own_dcc_query fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@695 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 18:54:43 +00:00
Timo Sirainen
195d49f338 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 14:19:17 +00:00
Timo Sirainen
6dd07c76cb fixes for multiprotocol support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 01:31:52 +00:00
Timo Sirainen
833bf37831 Show help with "clientcrap" message level, not "never".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:17:23 +00:00
Timo Sirainen
b363402b5c /BIND <key> /command works now directly instead of needing the
"command" id in the middle


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:14:58 +00:00
Timo Sirainen
407ee2bd1b Closing window didn't update window activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:08:03 +00:00
Timo Sirainen
3d627ca527 if printformat() was given a argument ending with ^C it could mess up
one or two chars of the following text (part/quit messages).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 22:02:19 +00:00
Timo Sirainen
91b4c3af46 PART and QUIT messages set the background color to default before
printing the last "]" char


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@675 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 21:46:50 +00:00
Timo Sirainen
5f752567f6 "NONE" works now with combine_levels(). /WINDOW LEVEL NONE works and if
window doesn't have level it prints "NONE" instead of empty string.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 21:44:20 +00:00
Timo Sirainen
c23403d95e Display CTCP PING replies even if they're not in the form irssi
expected.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@671 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 19:01:40 +00:00
Timo Sirainen
c389144c2a Ping replies should have displayed always with 3 decimals
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 18:09:25 +00:00
Timo Sirainen
48a472728f Added target parameter to own_dcc format
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 17:26:52 +00:00
Timo Sirainen
bb20de0d43 If /SET show_quit_once was set and ignored nick quitted, irssi printed
GLib warning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@666 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-25 13:23:01 +00:00
Timo Sirainen
f76248133a /SET completion_nicks_lowercase
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-22 10:26:52 +00:00
Timo Sirainen
e316475afd Netsplit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-19 21:14:35 +00:00
Timo Sirainen
0790ad02f6 Irssi crashed if you used "/JOIN" or "/JOIN -invite" without connected
to server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@662 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-19 12:55:49 +00:00
Timo Sirainen
8478a63c36 /SET default_nick -> /SET nick
/FORMAT own_me -> /FORMAT own_action


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@654 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 23:24:12 +00:00
Timo Sirainen
ecb334b6cc When pressing line down, the command line wasn't saved to history.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@653 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 23:15:42 +00:00
Timo Sirainen
2d1ac3059a /set autocreate_query -> /set autocreate_query_level
fixes to /ircnet, /server and /channel commands
other updates and fixes


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 21:30:56 +00:00
Timo Sirainen
5b92180b13 Added tab-completion for /BIND's commands.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 19:32:17 +00:00
Timo Sirainen
097bbcef14 Restoring saved windows (/savewindows) didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 19:22:07 +00:00
Timo Sirainen
86a8cc7d6d /bind <key> command <cmd> - <cmd> doesn't need to start with / anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 19:16:02 +00:00
Timo Sirainen
e75bea0afa Actions will now show up in window activity with hilight or
message-color, not the text-color as before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-04 23:39:42 +00:00
Timo Sirainen
755a8d40eb Updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-02 18:53:58 +00:00
Timo Sirainen
cf7eb945ea Highlighting fixes with public messages.
/msg tab completion list growed to size of completion_keep_privates,
the new nicks were removed from list instead of the old nicks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@637 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-29 23:43:59 +00:00
Timo Sirainen
3e2f19b030 updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@634 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-27 23:07:01 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
2e886d62f5 Don't allow sending data to dcc chats if connection isn't finished yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25 22:53:22 +00:00
Timo Sirainen
9a2b8e95ed /BAN could crash when showing bans
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25 10:46:47 +00:00
Timo Sirainen
67cc9af1bd Channel mode handling changed - there's no more mode_xxx fields in
channel structure, but instead just one mode string field. Also
handling half-ops (+h) should work right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-20 07:17:13 +00:00
Timo Sirainen
4476029fdd plugin -> module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:49:02 +00:00
Timo Sirainen
3baf7fbd4c Some changes handling g_input_add() - maybe this helps to problems
where irssi sometimes eats all the cpu.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-15 00:22:08 +00:00
Timo Sirainen
a2d0944eee Some server reconnection fixes. Reconnect now allows you to have
more than one reconnection to the same server.

Changed the deinit() order in IRC module to cleanly free all memory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-14 21:42:37 +00:00
Timo Sirainen
38d257e236 /DCC LIST: % done didn't work right with large files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 15:58:20 +00:00
Timo Sirainen
97c0b8311d Updated /QUERY syntax
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-13 15:28:14 +00:00
Timo Sirainen
98b037ac71 Query windows are now restored if they were saved with /SAVEWINDOWS.
Moved /QUERY command handling to fe-query and simplified handling the
-window option.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@594 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 22:58:16 +00:00
Timo Sirainen
6675cec459 mkpath() - behaves like mkdir -p. Autologging now uses it to create
log directories.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 15:50:50 +00:00
Timo Sirainen
308e84bbc4 WJOIN -> /JOIN -window
WQUERY -> /QUERY -window.
Added support for /QUERY -<server tag>.
Added aliases for WJOIN and WQUERY to default config file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 02:16:52 +00:00
Timo Sirainen
81af47808b Don't trigger window activity when you send /MSG etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-12 01:42:54 +00:00
Timo Sirainen
ccf12d2bfc /LOG: Removed the -rotate option, it was pretty useless since adding
the % formats to file name already tells that the log should be
rotated.

Autologging supports log rotating now too, just add the wanted %
formats to /SET autolog_path


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 22:07:42 +00:00
Timo Sirainen
82d272799c Autologging fixes: Don't log WHOIS replies by default
(autolog_level = all -crap). And with /msg nick1,nick2 don't log to
file nick1,nick2.log but nick1.log and nick2.log separately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 20:13:49 +00:00
Timo Sirainen
8eb324accc When destroying window, change to different window before destroying
window items so that if they print anything, it won't get lost.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@584 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-11 19:57:58 +00:00
Timo Sirainen
fc890ebd82 Added support for dalnet's whois registered event.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 12:23:56 +00:00
Timo Sirainen
d1a25e0fc2 Don't autoclose window after part/unquery if there was still some
channels/queries left in window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-10 11:25:34 +00:00
Timo Sirainen
bcd7b636ed When server is disconnected, change to use some other server in windows
where the server was active, instead of just setting the server to NULL.

Ctrl-X didn't work right if there was no active server in window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-04 15:52:32 +00:00
Timo Sirainen
9b86b024b0 /SAVEWINDOWS - saves the current layout of windows. It's automatically
reloaded at startup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-01 01:02:46 +00:00
Timo Sirainen
869279f285 /wjoin and /wquery commands stopped the "channel created" and
"query created" signals - not good.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-01 00:39:53 +00:00
Timo Sirainen
e32c3bcd33 updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 23:13:11 +00:00
Timo Sirainen
ce821e96a1 Moved lastmsgs variables from irc-server and channel structures to
irc-completion.

/MSG nick completion now gives the nicks in right time order when using
multiple irc networks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@568 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 23:09:39 +00:00
Timo Sirainen
b26ea5d4e7 Don't allow jumping to last line in history from first line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:19:32 +00:00
Timo Sirainen
f2e1be391c Actions didn't trigger window activity
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:16:50 +00:00
Timo Sirainen
3c594edf07 Added names_nick format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:01:56 +00:00
Timo Sirainen
01a4f9fe04 Added output_format_get_text() function for querying text formats.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 22:01:32 +00:00
Timo Sirainen
b82d10ca57 Theme fixes: /RELOAD reloads them, /SET current_theme changes the default
theme, you can have window specific themes with /WINDOW THEME.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 21:16:09 +00:00
Timo Sirainen
7d3e27370d Never beep with texts with MSGLEVEL_NOHILIGHT level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 15:36:40 +00:00
Timo Sirainen
2607b22633 Moved the beep settings_add_xxx() calls from irc to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 18:37:49 +00:00
Timo Sirainen
18bdc77b88 /SET beep_on_msg handling moved to printtext() where it catches all the
levels, not just the IRC levels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:32:55 +00:00
Timo Sirainen
87a8f71344 Bugfixes for non-irc server handling.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:19:16 +00:00
Timo Sirainen
4a4cd43f0f /ECHO didn't print to active window if it was empty and status window
existed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 23:56:09 +00:00
Timo Sirainen
1fe6d11d7e Command completion should override others.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26 17:18:52 +00:00
Timo Sirainen
0b2448b97f /BAN #channel now shows bans and ban exceptions in specified channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@533 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-24 00:11:40 +00:00
Timo Sirainen
c529fe0096 Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:19:22 +00:00
Timo Sirainen
30afa4a611 Implemented /IGNORE -time <seconds>, patch by fuchs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@527 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 14:41:42 +00:00
Timo Sirainen
f38457e710 Printing netsplit nicks printed one too less nicks (netsplit_max_nicks-1)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:11:56 +00:00
Timo Sirainen
d12c861976 Don't print nick changes and quit messages from same nick more than once
in the same window (if you had joined multiple channels in same window).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@518 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 12:56:02 +00:00
Timo Sirainen
e322876342 /NOTIFY -idle fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@515 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 11:55:16 +00:00
Timo Sirainen
1a816b15f5 SET print_active_channel - if you have multiple channels in same window,
should we always print the channel for each message (<nick:#channel>) or
only when the channel isn't active.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@513 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 01:39:08 +00:00
Timo Sirainen
a31ac88d7d Listing keys with /BIND key now checks the keys case-insensitively.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@512 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 00:38:46 +00:00
Timo Sirainen
d9b661a1fb Moved /SAVE and /RELOAD to fe-common. Print "config saved" and
"config reloaded" messages.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 22:05:29 +00:00
Timo Sirainen
511f95ccaf Ignore case when checking key names.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 22:03:37 +00:00
Timo Sirainen
bf77ffaa21 another ircnet == NULL fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 19:03:39 +00:00
Timo Sirainen
0f94de8107 Don't crash at startup if IRC network wasn't specified for some server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@506 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 19:02:39 +00:00
Timo Sirainen
a302e44ba3 Implemented /WINDOW LAST for changing to last current window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@505 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 17:07:27 +00:00
Timo Sirainen
b8a08b235b /HELP wasn't working.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@504 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 16:59:36 +00:00
Timo Sirainen
360149891c Autologging: if we're already logging the item somewhere else, make sure
that log file is open.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 16:02:50 +00:00
Timo Sirainen
edfbd51827 /RELOAD still didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 23:46:24 +00:00
Timo Sirainen
4ba9a1356b You can now change the texts /FORMAT prints itself.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 18:53:04 +00:00
Timo Sirainen
9f4ab07874 /SET completion_disable_auto -> completion_auto
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 18:46:05 +00:00
Timo Sirainen
158817c858 WHOIS bugfix: Don't display the signon time if it isn't known..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-20 23:10:35 +00:00
Timo Sirainen
97599703af Removed notices from default highlight level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@494 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-19 21:47:22 +00:00
Timo Sirainen
073c895a7b "/notify -list " (happened easily when using tab completion) didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@492 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-19 12:19:44 +00:00
Timo Sirainen
d7e017a819 When using status window and query windows, /whois to some queried nick
displyed all replies in query window except idle line in status window.
Also added "x days" to idle line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 23:35:04 +00:00
Timo Sirainen
8828b8cedd /NOTIFY -list displays now "-idle" before the actual idle time..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 23:34:45 +00:00
Timo Sirainen
ff706b45b9 Tab-msgcompletion didn't work right after you had used /msg -ircnet nick
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-18 23:13:32 +00:00
Timo Sirainen
38746398cb Autocompletion is disabled by default
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-17 11:23:04 +00:00
Timo Sirainen
4130241809 reuse_unused_windows is always ON when autoclose_windows is OFF.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 23:49:30 +00:00
Timo Sirainen
e8ed53bd92 /RELOAD broke keyboard bindings
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 16:35:37 +00:00
Timo Sirainen
e2efcbc9fa Use status window by default.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@472 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 15:55:36 +00:00
Timo Sirainen
02d9f0f4e1 Don't print the -!- DCCMSGS level.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@469 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 20:04:44 +00:00
Timo Sirainen
b19e1450e1 -list option to /NOTIFY wasn't specified in command options.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 14:33:35 +00:00
Timo Sirainen
5707140938 A few checks to check that we really are dealing with IRC servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:08:39 +00:00
Timo Sirainen
796d51afe4 Fixed DCC stuff. Added DCCMSGS level for DCC chat messages.
Actions match now either MSGS or PUBLIC level as well as the ACTIONS
level always.

Added DCCMSGS level to default highlight levels. Highlighting works
with other than public messages now even if -nick option is used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@463 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:04:03 +00:00
Timo Sirainen
1b736a68a7 /IGNORE didn't show if it had -replies flag
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-11 10:54:15 +00:00
Timo Sirainen
dcc2e89b2e Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-10 23:00:56 +00:00
Timo Sirainen
07982e1790 MODE checking didn't work right..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@451 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 15:28:05 +00:00
Timo Sirainen
885790d08a Don't add the highlighted window to activity list if it's the current
window..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@447 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 14:25:03 +00:00
Timo Sirainen
cc8ddca122 Use MSGLEVEL_MSGS/CTCPS/ACTIONS | MSGSLVEL_DCC
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@446 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 14:23:56 +00:00
Timo Sirainen
be643cb48a -option tab-completion didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 13:28:14 +00:00
Timo Sirainen
8bea491a57 Moved is_base_command() from command completion to command_have_sub()
in core/commands.

/HELP <command with subcommands> works now right.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 00:03:46 +00:00
Timo Sirainen
abb46a0313 Netsplit changes - all netsplit handling is now in netsplit/netjoin
files and fe-events.c doesn't know anything about it. Hides server +o
mode change messages - it's displayed as '@' char before the nick in
netjoin message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 23:28:31 +00:00
Timo Sirainen
3164aecad0 Implemented /BIND [<key> [<action> [<data>]]] command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@435 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 22:31:11 +00:00
Timo Sirainen
7074381bea Reading and saving keyboard configuration actually works now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-08 21:47:05 +00:00
Timo Sirainen
cd9efdf9fe Tab-completion for /FORMAT.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@433 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-07 20:49:23 +00:00
Timo Sirainen
19643089f1 If message was for you (your nick at start of line), print it with
MSGLEVEL_HILIGHT, instead of the previous _NOHILIGHT..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@432 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 21:47:40 +00:00
Timo Sirainen
0a86cf7e37 /CAT, /HELP xx and reading autorun commands stuck irssi to infinite
loop.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 21:45:54 +00:00
Timo Sirainen
78bbff304e Changed /TOPIC -d to be /TOPIC -delete instead, the automatic option
completion will take care of it.

Added -clear option to /SET.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 19:36:36 +00:00
Timo Sirainen
f1e1907e80 forgot to add this
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@421 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 22:11:56 +00:00
Timo Sirainen
21999ae205 Implemented runtime loadable modules. /LOAD loads a module, /UNLOAD
unloads it.


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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 19:22:30 +00:00
Timo Sirainen
7d1cbac459 Fixed a couple of potential problems if there was longer lines than 64k
in help files, autorun file or /catted file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@417 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 18:23:31 +00:00
Timo Sirainen
b9cfabc419 /^command hides the output of the command, it's not written to log
either. Good for sending passwords for example.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 17:57:10 +00:00
Timo Sirainen
bb76eec0ff When netsplit is over, irssi prints "Netsplit over, joins: (nicks)" and
hides all the real JOIN messages. Fixed also some netsplit bugs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 16:19:26 +00:00
Timo Sirainen
cf7d6915f5 Don't check highlighting if the message was meant for you (your nick at
the start of the line). Also, highlighted texts didn't really set the
window's color right in activity list..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@413 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 12:07:49 +00:00
Timo Sirainen
f4b1470539 The month name parameter was supposed to go to daychange format, not to
timestamp.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-01 21:15:53 +00:00
Timo Sirainen
c0e3f556e4 Fixed crash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-01 00:34:14 +00:00
Timo Sirainen
68994bd738 Removed some warning messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 22:01:36 +00:00
Timo Sirainen
30f4151e51 WI_ITEM_REC was modified, but CHANNEL_REC, etc. wasn't. BIG mistake.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 21:33:57 +00:00
Timo Sirainen
39282a342f If joined channel had some low-ascii (color codes), they were displayed
wrong in statusbar and prompt. Also, if you're invited to some channel,
print the lowascii so that you can see them (^B, etc.)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:54:34 +00:00
Timo Sirainen
58397c1ca9 /MSG completion fixes. /HELP command completion works. Some other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:51:53 +00:00
Timo Sirainen
e90cdaf4ca Lots of /HILIGHT changes. You can use color names with -color. Window
numbers are colored with the highlight color in activity statusbar
item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:50:56 +00:00
Timo Sirainen
5da58d5849 Added "servertag" format - it's displayed before the message if it
comes from a server different than the one active in window, or in all
empty windows if you're connected to multiple servers.

In "daychange" format you can use $3 to print the current month name.
Changed the default to "dd mon yyyy" style.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@397 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:49:12 +00:00
Timo Sirainen
6b7d03e2cf /SET window_close_on_part -> /SET autoclose_windows
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@394 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 22:58:54 +00:00
Timo Sirainen
77adc998ef /REHASH -> /RELOAD so it won't collide with the server's rehash command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 22:29:06 +00:00
Timo Sirainen
f1877ec705 Added options -delete and -reset for /FORMAT. -delete sets the string
empty, and -reset sets it to the original format.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@392 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 22:25:07 +00:00
Timo Sirainen
95b74de316 /HILIGHT changed. -nick option now tells to hilight only the nick, not
the whole line. -mask option matches the text for nick mask (it didn't
even work before).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 21:47:13 +00:00
Timo Sirainen
8fc1e0535c You can send message to different server with /MSG -<server tag> nick...
Tab-completion changes:
 - in empty line, it completed /MSG nick1 fine, but another tab press
   didn't give the next nick.
 - "/command <tab>" doesn't try to complete /command, but instead it tries
   to complete it's subcommand or first parameter.
 - /MSG completion now goes through nicks in ALL servers prefixing the nick
   with -<server tag> if needed.
 - /MSG -tag <tab> completes only nicks in "tag" server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 20:00:39 +00:00
Timo Sirainen
7e531cec7a Automatic command completion and a few other fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 17:15:37 +00:00
Timo Sirainen
dd7ce4af23 You can complete #channels, Irssi uses only the joined channels and
channels in setup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 15:44:43 +00:00
Timo Sirainen
c248de0eca -options can now be completed with tabulator. There's also automatic
completion for them, like instead of /join -invite you can use just
/join -i.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 15:36:57 +00:00
Timo Sirainen
7718294fa0 "print text stripped" signal wasn't resent with MSGLEVEL_HILIGHT level.
This broke at least logging hilighted messages.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 19:11:25 +00:00
Timo Sirainen
2f53972523 Closing active window that had window items could crash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-27 18:26:22 +00:00
Timo Sirainen
0dbfd281c9 Created signal_get_uniq_id() macro. Added some documentation about
signals to design.txt.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 23:39:23 +00:00
Timo Sirainen
69b8d4f81b Subcommand and command parameter completion works now also if you use
alias as the base command.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:59:49 +00:00
Timo Sirainen
0415b1bbce Using \n with /SET expand_escapes ON didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@379 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:40:25 +00:00
Timo Sirainen
4f034717c0 WHOIS and "no such nick" messages are displayed in nick's query window
if it exists + other cleanups and minor changes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@378 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:25:24 +00:00
Timo Sirainen
97bf5f5b39 Settings completion works with /TOGGLE also, it completes only boolean
settings. /SET completion works now even if '/' isn't in command chars.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:14:09 +00:00
Timo Sirainen
892afcb9e6 completing files in root directory put extra / character at the start
of the line


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:05:44 +00:00
Timo Sirainen
0bc084770c File name completion crashed if you tried to complete file in directory
that didn't exist or you didn't have read permission.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@375 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 21:59:30 +00:00
Timo Sirainen
2cb75b5eb2 cmd_get_params() calls had wrong parameter counts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 09:21:54 +00:00
Timo Sirainen
49c4506bd8 Display /ALIAS list sorted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@369 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:25:39 +00:00
Timo Sirainen
e21e289b5d File completion updates:
- ~/ isn't expanded to /home/xxx/
 - . and .. don't show up in list anymore
 - .files won't be added to list unless you try to complete file name
   starting with .


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

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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 01:18:12 +00:00
Timo Sirainen
a9a0f4fd64 Added file name completion for commands /CAT, /RUN, /SAVE, /REHASH and
/RAWLOG OPEN/SAVE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@363 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 16:10:29 +00:00
Timo Sirainen
0762fbc945 "command complete" -> "complete command" so that it won't conflict with
/complete command .. also changed "word complete" to "complete word".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@362 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 16:03:43 +00:00
Timo Sirainen
8fa6ca5e61 File name completion for /DCC SEND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 15:58:40 +00:00
Timo Sirainen
f0d6ef99dc Completion list is now sorted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 13:16:42 +00:00
Timo Sirainen
8c60237fbe Don't add same /command more than once to completion list.
Completion didn't work right when completing subcommands's subcommand.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 13:04:19 +00:00
Timo Sirainen
ea00d4c948 Forgot to add this.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:23:59 +00:00
Timo Sirainen
8ea2400269 Added /SET reuse_unused_windows setting, default is OFF
If window_close_on_part is ON, we don't anymore close the window if we
get kicked or connection gets lost. Also don't close DCC chat window if
the other side disconnects.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:22:56 +00:00
Timo Sirainen
234e95ef94 Rewrite Tab-completion to work with signals - now it should be easy to
add completion to whatever command.


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

Ability to send a command automatically to server IRC network


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@354 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 20:56:58 +00:00
Timo Sirainen
91396de740 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@353 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 19:34:54 +00:00
Timo Sirainen
09e20e1d78 "window changed" signal handler didn't check if the old or new window
is NULL.

window_has_query()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 18:33:08 +00:00
Timo Sirainen
df2ad566d8 Whops, last "fix" broke timestamp's time.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-15 10:39:24 +00:00
Timo Sirainen
b810f0d545 Don't waste time calculating timestamp differeces if the
timestamp_timeout is 0.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 22:31:59 +00:00
Timo Sirainen
6b811b1c2c Don't show "End of WHOWAS" if none of the nicks were found.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 19:40:23 +00:00
Timo Sirainen
6140ab3704 Renamed /SET query_auto_close to autoclose_query.
Added /SET autocreate_own_query - it specifies if we want to create
query window when we send /MSG to someone.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 19:05:51 +00:00
Timo Sirainen
627d288a49 Tab-completion works now with /commands and /set variables, patch by
<Tommi.Komulainen@iki.fi>. Fixed also a few memleaks.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 18:19:05 +00:00
Timo Sirainen
22b12d85ee In netsplit quit messages, display @ in front of operators' nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-14 17:58:14 +00:00