1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

733 Commits

Author SHA1 Message Date
Timo Sirainen
fcd8810b6c Removed all beep handling from text printing. If you want to beep just
send "beep" signal.

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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

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


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


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


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


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


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


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


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


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


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

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


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


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


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


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


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


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


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


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