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

2079 Commits

Author SHA1 Message Date
Timo Sirainen
0ffcbdc9b4 Removed memory debugging code. It's a lot easier to check for buffer
overflows with electric fence and memory leaks with memprof.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:30:19 +00:00
Timo Sirainen
5bcb8251f5 Ignoring CTCPs shouldn't ignore DCC CTCPs, we're checking DCC level for
ignoring them now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:16:24 +00:00
Timo Sirainen
2079164128 Actually, we do want to have the space after nick completion.. :) It's much
more often wanted than not, and I can't really think of any way to figure
out if we want space or not.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:06:57 +00:00
Timo Sirainen
3819189ef4 Irssi::Irc::Dcc::* is now correctly blessed instead of using Irssi::Irc::Dcc
always. did s/irssi_bless/iobject_bless/, added simple_iobject_bless which
DCC uses.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2092 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 19:36:21 +00:00
Timo Sirainen
99a6a85b85 Chat protocol ID was assumed to be 8bit or less, this may not be so since
the ID is taken from generic unique ID-pool which grows fast.. Now the we'll
divide the 32bit number to 16bit chat protocol ID and 16bit object ID. They
might not fit either, so I think I'll need to rewrite this part of code some
day :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 18:46:40 +00:00
Timo Sirainen
381c823e1a Don't add space after tab-completed nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 18:06:15 +00:00
Timo Sirainen
04bb4bbf39 moved the dirty_check() before fe_common_core_finish_init() so that if
~/.irssi/startup file does something that wants to change the prompt it
would work..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2089 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 17:31:33 +00:00
Timo Sirainen
f5c9e3648e "message irc notice" - when figuring out if it's server notice or not,
check also if address == "" instead of just == NULL. At least if perl script
emits the signal it gets "".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2088 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 17:21:11 +00:00
Timo Sirainen
c710ca1d7e Redraw the screen before emitting "irssi init finished" signal, so we have
input entry created if someone wants to change prompt.


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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 16:38:00 +00:00
Timo Sirainen
d56ed85d91 With /SET window_auto_change ON, irssi might have crashed if input entry was
not visible at that time.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 15:59:55 +00:00
Timo Sirainen
d5f22075c7 /UPGRADE now remembers user mode, patch by lam@e-gate.pl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 15:45:40 +00:00
Timo Sirainen
55137fa30d get_argument() - allow arglist to be NULL, just assume that there's no
arguments then.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 14:17:16 +00:00
Timo Sirainen
01404a3713 /CONNECT -! doesn't autojoin to channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 14:02:27 +00:00
Timo Sirainen
4978d4cd14 Irssi printed GLib error if no PATH was set..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 13:55:28 +00:00
Timo Sirainen
78f9c141dc /UPGRADE didn't work properly when you were connected to multiple servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 13:52:10 +00:00
Timo Sirainen
5656ad352d session_set_binary() - we can't get the full path to irssi binary from
argv[0] and we need it, so its searched now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 13:33:28 +00:00
Timo Sirainen
ee708c1469 -botcmd isn't now sent to channels when /UPGRADEing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 13:14:37 +00:00
Timo Sirainen
cf0b863f39 /SET join_auto_chans_on_invite - patch by tygrys@moo.pl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 13:02:39 +00:00
Timo Sirainen
0f865f87b9 Removed GLib error when doing /RELOAD.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2076 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 12:46:15 +00:00
Timo Sirainen
1599a51b13 Topics weren't restored on /UPGRADE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 12:42:48 +00:00
Timo Sirainen
65c9a361ab If /SET dcc_upload_path is empty, we should use the current directory, not
root directory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2074 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 02:46:26 +00:00
Timo Sirainen
b3c0778dc4 Filename completion for /DCC SEND looked files from wrong default directory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 02:25:42 +00:00
Timo Sirainen
bd2af6cb98 Added syntax comment for /UPGRADE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 02:00:18 +00:00
Timo Sirainen
a1b151d8d3 A few more updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2071 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 01:54:02 +00:00
Timo Sirainen
bbbb36cf19 /UPGRADE - upgrade-on-the-fly feature. Currently only moves the active
server connections to the new irssi process, but that should be enough to
never quit from IRC again :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 01:48:58 +00:00
Timo Sirainen
ff2357f16b Event 001 wasn't printed to screen.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 01:30:13 +00:00
Timo Sirainen
c94606e27a Data sent to server with /RAWQUOTE didn't show up properly in rawlog unless
it ended with \r\n.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2068 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 23:29:18 +00:00
Timo Sirainen
edf0e479b5 Added new formats for ops/halfops/voices in /NAMES list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2067 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:27:58 +00:00
Timo Sirainen
18bc86bfe7 --more-- works again, better than ever :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:17:31 +00:00
Timo Sirainen
99120dc508 back to "Irssi didn't always remove the statusbar item from screen when it
should have." bug - this time with right-aligned items :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2065 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:15:56 +00:00
Timo Sirainen
0be0cc8198 term_refresh(): Change the color to black after everything is done. It's
annoying when the color usually was left to the statusbar's color and when
ssh connection to irssi dropped, the terminal's background changed to blue..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 22:09:02 +00:00
Timo Sirainen
5ee08ed3c9 Added ctcp_register() and ctcp_unregister() for registering CTCP commands.
It's used by CTCP CLIENTINFO to print list of known CTCP commands. Also
added CTCP USERINFO command + /SET ctcp_userinfo_reply.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 21:36:11 +00:00
Timo Sirainen
7433dafcb1 Execute ~/.irssi/startup before autoconnecting to servers. This way you can
get autoconnecting work with dynamically loaded chat protocols.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 19:37:18 +00:00
Timo Sirainen
8e20972f4f Irssi::Server::print()'s level parameter wasn't optional like in other
print()s.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2061 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 19:01:47 +00:00
Timo Sirainen
1bc6c723ed typobugfix for previous commit.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 18:16:14 +00:00
Timo Sirainen
b4f40ca9e0 Don't handle keypresses when there's no active entry in screen.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2059 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 18:12:28 +00:00
Timo Sirainen
11b175d702 After calls to statusbar_item_register() and statusbar_item_unregister(),
the statusbars should be redrawn. This also fixes the crash at quit when
using statusbar perl scripts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 18:06:51 +00:00
Timo Sirainen
1fdd933d25 If you did quickly /WHOIS existing_nick, /WHOIS not_existing_nick, irssi
printed one extra "End of WHOIS" message in screen.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 17:41:10 +00:00
Timo Sirainen
c511376d13 Added Chatnet, Process and updated redirection text.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 17:13:24 +00:00
Timo Sirainen
73a3b8d908 Irssi::Chatnet can now be accessed from perl.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 16:36:31 +00:00
Timo Sirainen
c374e628dc Added Irssi::chatnets() and chatnet_find()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2054 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 16:27:49 +00:00
Timo Sirainen
51db872da0 /SCRIPT UNLOAD didn't destroy the perl package from memory. Also the scripts
weren't destroyed when error occured in them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2053 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 16:16:13 +00:00
Timo Sirainen
034e75ee19 Stop the redirection if we receive unknown event and it's not numeric.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 15:07:03 +00:00
Timo Sirainen
a1197a5c08 Fixed the "multiple space split" fix :) It was causing crashes, strange that
it worked in my tests..


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


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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2049 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 13:40:51 +00:00
Timo Sirainen
100d92dff0 Reply to PINGs ourself if destination was proxy's address, our own nick or
no destination at all.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2048 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 12:35:19 +00:00
Timo Sirainen
5802ec5a34 Sometimes when changing from split window to another, irssi crashed/messed
up the screen. Happened mostly if the window layout was saved.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 11:56:41 +00:00
Timo Sirainen
0abb62a471 When destroying data used from server in "server disconnected" signal, set
the data to NULL as well, the server record is still used after the signal
is finished (the channels it uses are destroyed, which may trigger scripts
etc.)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 10:55:14 +00:00