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

2109 Commits

Author SHA1 Message Date
Timo Sirainen
c9f6f04079 destruct level isn't touched anymore, it crashes irssi with a few people..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 16:35:20 +00:00
Timo Sirainen
1872087642 $topic shouldn't crash if query doesn't have a valid address set yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2639 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-23 17:42:48 +00:00
Timo Sirainen
8d2a14b476 Add server tag as well to topicbar with queries
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-22 22:30:45 +00:00
Timo Sirainen
650292613e /CLEAR <refnum> now clears specified window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-19 17:24:28 +00:00
Timo Sirainen
753f3666aa Sort /HELP output better when using multiple categories. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-19 12:28:55 +00:00
Timo Sirainen
091095fff3 Allow /OP, etc. commands for server operators as well. They may not work
everywhere, but the whole point of the check was to avoid accidental /OP *
or something while not opped in some huge channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 09:13:18 +00:00
Timo Sirainen
500ae5773e If autojoining to !channel failed because it didn't exist, create it by
joining to !!channel


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 02:50:12 +00:00
Timo Sirainen
0a02833d0e fallback to rename() if link() isn't supported on the filesystem, so people
can still download files to such FSes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 00:59:46 +00:00
Timo Sirainen
88654c4468 term_deinit() should set SIGCONT back to default, so if it's sent after that
it won't crash (gnome-terminal does that for some reason)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 23:17:33 +00:00
Timo Sirainen
ee3a30e16b $1 can now be used as server tag in /SET autolog_path. This is useful when
you want to log for specified tag before the server exists yet so $tag
wouldn't work. This happens at least when queries print the "querying nick"
text at startup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 13:28:20 +00:00
Timo Sirainen
665ad121a8 "make clean" now cleans all perl subdirs properly too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2621 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 11:14:35 +00:00
Timo Sirainen
0687b42b3e /PART in SILC destroys the channel immediately, so we'll need to check
that it's not destroyed when doing it in /CYCLE..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2620 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 21:32:22 +00:00
Timo Sirainen
e1ff1b014a Dropped the bot-plugin. It's not useful to anyone really.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2619 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 21:07:19 +00:00
Timo Sirainen
df7c90463a updated not_good_idea text
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2618 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 20:59:00 +00:00
Timo Sirainen
25d5e26e7b /SERVER ADD -ircnet value wasn't strdup()ed so it might have done something
nasty, at least during quit might have crashed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 00:05:55 +00:00
Timo Sirainen
6a89217d6a Get the terminal size at startup with ioctl() and use it. Fixes at least
NetBSD.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2616 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:46:48 +00:00
Timo Sirainen
85a1b122cd Scrolling was buggy with "ri" method, it tried to used "rin" as well
which crashed irssi.. Happened at least with NetBSD/sparc.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:33:33 +00:00
Timo Sirainen
bd7e173c63 Fixed that "nick already in split list, how?" bug with a patch from fuchs.
I didn't realize someone else could change nick to one in the split list. :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:01:57 +00:00
Timo Sirainen
2a1b4c0a17 $window->command() changed active window temporarily to wanted one and then
back to old one. This wasn't very good idea if the old window was destroyed
by the command..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 21:59:16 +00:00
Timo Sirainen
2ab05e7872 $cumode and $cumode_space should do stuff only to IRC servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 11:36:31 +00:00
Timo Sirainen
7d58cc000f Don't crash when trying to print text when there's no windows yet. Also
print the text to stdout.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 06:44:06 +00:00
Timo Sirainen
265ecbc74d Don't crash if there's no prefixes (botti doesn't) when loading module.
Patch by aldem-irssi@aldem.net


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 01:54:05 +00:00
Timo Sirainen
064d8d3926 "make dist" now doesn't add irc.c / irc-modules.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:30:07 +00:00
Timo Sirainen
3800c07a32 bit fields should be unsigned type always (unsigned int dirty:1).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:23:38 +00:00
Timo Sirainen
c726496953 proper checking for lseek() failure
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:19:04 +00:00
Timo Sirainen
fc20431dbb when autochanging query's nick to be correct case, don't print the
"nick changed" message


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2600 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:15:39 +00:00
Timo Sirainen
86dcbd11e4 If queried nick did a nick change, it might have crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2599 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:06:31 +00:00
Timo Sirainen
649253e180 ARGH! I hate this new behaviour of CVS not asking if I want to abort
the message - have to RTFM to see if I can get old behaviour back :)

So, this+previous commit: "make distclean" should remove irc.c and
irc-modules.c since they're generated by configure.

!user part is optional in IRC prefix, so nick@server is now handled
correctly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2598 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:02:55 +00:00
Timo Sirainen
4770c1c4ee *** empty log message ***
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 02:59:01 +00:00
Timo Sirainen
bfb8e8da33 removed the debugging code..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2593 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:33:30 +00:00
Timo Sirainen
8ba1989227 Set ownnick to channel->NULL when the nick record is destroyed. Should fix
some perl script errors.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:30:20 +00:00
Timo Sirainen
2a57e797ce When IPv4 or v6 wasn't forced, irssi picked improperly IPv4 even if there
was only v6 address.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:21:11 +00:00
Timo Sirainen
7b1d5ed41a added some debugging code to irssi_bless_iobject() - can it really be an
overflow? :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 00:40:12 +00:00
Timo Sirainen
65e87c9861 fix to some broken "ircds"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-12 20:51:03 +00:00
Timo Sirainen
d5564a0e01 New queries should begin with last_unread_msg timestamp set to now. This
fixes /SET autoclose_query >0 + /SET autocreate_own_query ON closing queries
created by your /MSG almost immediately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2588 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 18:20:42 +00:00
Timo Sirainen
f4bd37a406 make clean should remove libirc_proxy.a symlink
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 18:14:29 +00:00
Timo Sirainen
5fde51a364 added ownnick to Irssi::Channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 16:44:42 +00:00
Timo Sirainen
2865d3a33f /SET max_wildcard_modes 0 should disable the checking
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 04:30:13 +00:00
Timo Sirainen
8fa39c23a7 default_color checks moved from fe-text to fe-common, so they work properly
with window-specific themes. also should fix some weird problems related to
them and gui_printtext_after().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:45:57 +00:00
Timo Sirainen
abe4e30256 Safer flood protection for lines longer than 100 chars. Maybe even a bit too
safe but generally you write lines less than 100 chars so it shouldn't
really matter. Calculated (2 + line_length/100) in seconds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:11:18 +00:00
Timo Sirainen
1528cfc9d7 All control chars in statusbar items are now displayed reversed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 02:07:05 +00:00
Timo Sirainen
966ed97f2a Added -4 | -6 to /SERVER ADD syntax.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 21:38:10 +00:00
Timo Sirainen
1855e6cc5c /SERVER ADD -ircnet should add the network to config with the same case as
in /IRCNET list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2568 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:58:16 +00:00
Timo Sirainen
1997b58c3a whops, stupid utf-8 bug :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:43:35 +00:00
Timo Sirainen
ba09292f55 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:40:06 +00:00
Timo Sirainen
9398746e61 Automatically change the nick to correct case in queries (eg. you did
/QUERY nick, and the nick really was Nick, irssi would change the query to
Nick as well)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2565 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:23:22 +00:00
Timo Sirainen
9d423576aa If -4 or -6 option is used with /SERVER, force the correct protocol match.
eg. /SERVER -6 host either connects to IPv6 host or fails.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:14:04 +00:00
Timo Sirainen
b18af319cf term_addch() : utf-8 fixes for cursor positioning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:03:27 +00:00
Timo Sirainen
e5ab1daf30 When input line is in redirection mode, allow empty lines (eg. enter after
/OPER now aborts it)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2562 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:36:35 +00:00
Timo Sirainen
25ed0acc65 If you had query with "X" but the nick really was "x", and after nick change
to "X" you saw "X changed nick to X"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:23:37 +00:00