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

1169 Commits

Author SHA1 Message Date
Timo Sirainen
00abe69923 removing second last unique nick didn't work properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 23:55:33 +00:00
Timo Sirainen
21ce8803d6 some perl fixes. NICK_REC is also now "iobject"..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 12:09:38 +00:00
Timo Sirainen
d2e7e041ff /SERVER: don't set reconnection to TRUE if we're not disconnecting from
any server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-05 16:11:53 +00:00
Timo Sirainen
d8128cdcda removed Flood.xs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 16:22:00 +00:00
Timo Sirainen
484f62f757 added server_change_nick() function for servers.[ch]. Lots of fixes for
support to multiple identical nicks. Should work now properly :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 10:30:41 +00:00
Timo Sirainen
f167516d23 fixed minor memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 09:09:59 +00:00
Timo Sirainen
0530039b9f /SET names_max_width - buffer overflowed if it was too small..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 09:04:53 +00:00
Timo Sirainen
5f0b432beb "command window prev" -> "command window previous"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 08:10:45 +00:00
Timo Sirainen
b23e544d57 /NAMES didn't stop the signal properly so /NAMES list was printed twice
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1347 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 08:10:01 +00:00
Timo Sirainen
f56ddd872a /SET autostick_split_windows (default ON) - should we do /WINDOW STICK
ON to all new split windows and hidden windows that are created inside
it. This hopefully makes it easier to use split windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 05:46:09 +00:00
Timo Sirainen
24e36e0081 More statusbar size fixes. Shouldn't corrupt entry line anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:52:17 +00:00
Timo Sirainen
a1842e6baa Statusbar could have gotten to endless loop trying to grow size of some
item when there was no space left.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:35:12 +00:00
Timo Sirainen
cf376ba806 Send "chat protocol deinit" signal when protocol is being
deinitialized. Servers and reconnections are automatically disconnected
for the protocol when it's being deinitialized.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:25:21 +00:00
Timo Sirainen
0be624272c Forced IPv4 connection to host with only IPv6 address should use the
IPv6 address..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:05:16 +00:00
Timo Sirainen
62bd2045bb union { .. } addr removed from IPADDR - it hasn't been actually used
for a long time..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:00:35 +00:00
Timo Sirainen
38fbd48712 save_ips() wasn't working properly..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 02:58:26 +00:00
Timo Sirainen
0b76253492 Ignores without -time were unignored immediately..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1337 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 02:49:01 +00:00
Timo Sirainen
160da45261 /WINDOW SHOW didn't work properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 02:26:35 +00:00
Timo Sirainen
4c7b07ed3f IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory and
at connect() time it's decided which one should be used.


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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 00:14:00 +00:00
Timo Sirainen
c5cccfcdaa fe-common/irc/flood removed. Some autoignore / ignore -time updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:27:07 +00:00
Timo Sirainen
6ae8ab5766 not needed anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1329 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:20:26 +00:00
Timo Sirainen
060756da9f /CONNECT -ircnet "" - even if someone does this don't make the server
tag empty :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1328 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 22:06:45 +00:00
Timo Sirainen
1a61f989e1 When /SET autoclose_windows is ON, don't destroy windows if they have
some level set (like /join -w + /part in status window)


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


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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1325 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:51:57 +00:00
Timo Sirainen
d4558de232 /SET prompt - if target had %c or something in it, it shouldn't be
treated as color code. So color codes can now be used in /SET prompt
string itself, but in none of the $variables it uses.


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

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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:11:43 +00:00
Timo Sirainen
1b8705bd44 Make sure there's always at least one column even if there's items
wider than max. width allows.


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


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


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

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


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

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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:22:09 +00:00
Timo Sirainen
88094fa9f2 delete_next_word key implemented, patch by Tinuk
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:04:10 +00:00
Timo Sirainen
95c17bafc4 /LASTLOG: -case option for case-sensitive matches. -force option is now
required to print lastlogs longer than 1000 lines.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:45:35 +00:00
Timo Sirainen
a47ce2c449 Added strstr_full() and strstr_full_case()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:34:35 +00:00
Timo Sirainen
2f4969aefc make -> $(MAKE)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:18:17 +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
51c1fee749 fixed some signed/unsigned issues
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-28 19:26:21 +00:00
Timo Sirainen
fb488720f5 functions returning void shouldn't do return xx
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-28 18:48:23 +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
64e52b7e26 /WINDOW STICKY -> /WINDOW STICK
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27 08:00:45 +00:00
Timo Sirainen
5627e7a822 nick_nfind(): gets stuck to endless loop if there's multiple identical
nicks in channel.. Luckily this is no problem with IRC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 12:08:53 +00:00
Timo Sirainen
ed27007383 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 11:37:12 +00:00
Timo Sirainen
456836e49c We should define AF_INET6, not PF_INET6..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1293 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 05:55:51 +00:00
Timo Sirainen
afacade780 Fixed for building from objdir
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 05:12:04 +00:00
Timo Sirainen
86d4a229d6 #include "config.h", not "../config.h" so building from objdir works
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 05:02:33 +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
469fde3618 Verify in configure that linking with perl's LDFLAGS actually works. If
perl lib dir is set, add 'use lib "/perl/lib/dir"' before each script
automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 20:39:35 +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
95fb3f5623 /SET autoignore_levels -> autoignore_level. Fixed a memory leak.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 10:52:01 +00:00
Timo Sirainen
432ac912c1 Removed AUTOIGNORE_REC since it doesn't exist anyremo
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 09:03:30 +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
13712d83b2 /IRCNET ADD didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 05:19:11 +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
a04a1c6f21 Entry line works now properly with very long prompts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 19:00:07 +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
db4e159870 DCC CTCP replies weren't handled properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 05:11:26 +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
634acd267c Define AF_INET6 if it isn't already defined
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 03:46:27 +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
2aeb9259e0 DCC updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 02:37:01 +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
4803538e39 my_perl fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 00:48:30 +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
c3cebfd93d Instead of directly calling beep(), send "beep" signal which default
behaviour is to call beep()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 14:55:42 +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
bd92708f22 level_get() check wasn't case-insensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 12:10:36 +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
6ee833f0a5 updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:37:44 +00:00
Timo Sirainen
2e1466d210 /LASTLOG syntax updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:27:24 +00:00
Timo Sirainen
6b4a838813 Moved /LASTLOG handling to lastlog.c. Added options -file <filename>
for writing lastlog to file, -window <ref#|name> for specifying which
window's lastlog to print (output is always to active window) and
-clear option to remove all lastlog lines from window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:23:04 +00:00
Timo Sirainen
1191bc2c2c level_get() prototype was missing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1254 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 05:03:42 +00:00
Timo Sirainen
a191df786d /RECONNECT ALL - reconnects to all servers in reconnection queue
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1253 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:50:58 +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
19dff227d8 Removed /SET dcc_block_size and /SET dcc_fast_send - fast send is now
always used and dcc_block_size is useless with it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:40:06 +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
42634d83bc /RECONNECT reconnects now to server with identical settings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:27:10 +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
b8375d471f Connection updates: moved /SERVER and /CONNECT to core from irc.
Several other related multiprotocol updates.

Removed /SILCSERVER from SILC, /CONNECT and /SERVER should work
properly now. Rejoining channels after reconnection works.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:15:15 +00:00
Timo Sirainen
fa1715b515 If reading host answer from pipe failed, set the error message to
"Host name lookup: g_strerror(errno)"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:13:02 +00:00
Timo Sirainen
2790a3b0b5 When reading data from socket, read max. 5kB at a time so we won't get
stuck if socket just keeps sending more and more data.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:12:06 +00:00
Timo Sirainen
0123ba3b26 chat_protocol_register() didn't work properly when the chat protocol
was already registered.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 23:40:18 +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
c2a1971cc3 updates for latest changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1240 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 20:32:22 +00:00
Timo Sirainen
b0178d7248 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 00:11:23 +00:00
Timo Sirainen
0d4d9204a9 Support for multiple identically named nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1238 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 21:46:35 +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
513e140bce Irssi::command_bind(): Don't run the command twice. Log updated for
log_write_rec()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 12:23:18 +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
c0726196ea Moved fe stuff from perl-common to perl-fe.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 11:33:12 +00:00
Timo Sirainen
5807efc587 more static perl fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 11:05:29 +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
2517c4099a ig_module_build_path() prototype was missing..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:26:59 +00:00
Timo Sirainen
657defae1d added g_module_build_path()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:09:49 +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
e9b4784836 If log file locking fails, check that it failed because file was
locked, not because filesystem doesn't know locks or some other reason.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 20:21:18 +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
187412eb7c Perl 5.6 wants PREFIX=xx, not LIB=xx when default isn't used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-15 00:05:22 +00:00
Timo Sirainen
935ec3a9a4 #include "perl-common.h" to define my_perl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-14 23:44:34 +00:00
Timo Sirainen
bebb9d3de8 irssi_perl_interp -> my_perl and made it non-static. should help compiling
with some weird perl implementations.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-14 22:06:47 +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
677e0a6736 Updates so that DCC stuff compiles again. Still missing DCC chat/get/send
specific stuff.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-12 16:31:33 +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
5ab27ea604 /SAVEWINDOWS saves now split windows
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 07:26:54 +00:00
Timo Sirainen
88b091cc95 Write buffer - logs and rawlogs write to files through this. By default
everything gets written immediately, but you can make it wait until
there's specified amount of data in buffer or write once in a hour or
so. Useful for people who want to keep hard disk at sleep at nights but
still want to log.

/SET write_buffer_mins, /SET write_buffer_kb: When to flush buffer.
/FLUSHBUFFER: Flush the buffer immediately


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1201 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 05:54:35 +00:00
Timo Sirainen
5061783f4c added descriptions for left_window and right_window
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 05:34:46 +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
0de0499fd8 /WINDOW STICK [ON|OFF|<ref#>] - stick window to specified main window.
After setting window to sticky non-sticky windows can't replace the
active sticky one. Each main window can have it's own sticky window
group.

/WINDOW LEFT, /WINDOW RIGHT - Go to previous/next window in the current
sticky window group, or if there's no sticky windows go to
previous/next non-sticky window. Alt-Left/Right keys default to these
commands now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:43:21 +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
8938a0f42b /CONNECT, /SERVER: added -4 and -6 options for specifying if we should
connect to IPv4 or IPv6 address of the server. If -host or /SET
hostname is set irssi determines from it if it should use IPv4 or v6.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09 21:26:50 +00:00
Timo Sirainen
6358c2d627 #include "irc-channels.h"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08 16:54:52 +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
e06e831608 /LOAD ./path/module - loads module from path relative to current
directory instea of trying to find it from ~/.irssi/modules or
$PREFIX/lib/modules


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-07 19:36:45 +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
16012d63ce check_ignore() didn't check correctly if everything in specified level
was ignored


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:49:57 +00:00
Timo Sirainen
c741abe23f '=' isn't really necessary, warn if it's missing but don't fail without
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1185 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:42:58 +00:00
Timo Sirainen
3f113f51b9 make deinitialization between screen_refresh_freeze() and
screen_refresh_thaw() so screen won't get redrawn needlessly


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-05 01:06:42 +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
e9b48e8942 irc_nick_insert(): Irssi::Nick, Irssi::Channel -> Irssi::Irc::...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 18:14:20 +00:00
Timo Sirainen
6ad5d24e0d DCC RESUME, DCC ACCEPT: we might have crashed with invalid parameters.
Some other "cleanups".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 17:38:01 +00:00
Timo Sirainen
e387516951 Nicklist updates so that protocol specific xxx_NICK_REC can be used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-02 22:10:20 +00:00
Timo Sirainen
7240717198 get_max_column_count(), columns_sort_list(): fixed to work properly
with empty list


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-02 22:09:11 +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
b24243e45a /SB STATUS: for debugging mostly, displays number of lines and used kBs
of memory per window and totally


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:11:47 +00:00
Timo Sirainen
2a31ecaa32 Ugly quick hack to make act: never disappear but print as much activity
to statusbar as fits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 11:23:29 +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