Timo Sirainen
0fe183b8c9
Don't crash if dcc chated user changes nick
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 15:55:27 +00:00
Timo Sirainen
372903e72e
Fix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 15:52:04 +00:00
Timo Sirainen
cf1b6078dd
Crashed with spaces in filenames, patch by Francesco Fracassi
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-14 12:28:29 +00:00
Timo Sirainen
777bb76195
noinst_HEADERS -> pkginc_HEADERS
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-10 20:30:57 +00:00
Timo Sirainen
af4bcb70f2
Passive DCC support by Francesco Fracassi (francesco.f at openssl.it)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 22:06:41 +00:00
Timo Sirainen
1c318ec775
/set -default dcc_autoget_max_size crashed
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 17:13:40 +00:00
Timo Sirainen
2d4a7d3595
0.8.8 with a few backwards compatibility fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 14:25:34 +00:00
Timo Sirainen
91be647710
Don't crash with /DCC SEND nick ""
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:49:51 +00:00
Timo Sirainen
aa78361f24
Allow /SET dcc_own_ip to be non-local address.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:33:25 +00:00
Timo Sirainen
65463924d2
Added DCC SERVER support by Mark Trumbull
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-01 16:02:43 +00:00
Timo Sirainen
a619fe9a2c
Network fixes. DCC fixes for IPv6 + BSDs.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09 23:34:41 +00:00
Timo Sirainen
bd6fe052bc
Added time, size and level setting types. Breaks some settings - I'll add
...
automatic converter to these settings later. Meanwhile you CVS users can
fix your config files yourself :)
Time settings allow using "days", "hours", "minutes", "seconds" and
"milliseconds" or several of their abbreviations. For example "5d 4h
5msecs".
Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their
abbrevations. For example "5MB".
Level settings are currently handled pretty much the way they were before.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 17:54:13 +00:00
Timo Sirainen
6825f1e67e
GC fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 20:30:03 +00:00
Timo Sirainen
dc8bd638e3
Irssi now uses 64bit file offets if it's only supported by system. Also did
...
a few changes to DCC so that it should be possible to send >4GB files.
DCC protocol uses 32bit "n bytes transferred" notifications, so I had to
bend the protocol a bit to allow 64bit files by truncating the value to
lowest 32bits. I'm not sure how other clients handle those notifications,
but irssi uses it only to figure out when the DCC SEND transfer is complete,
so it's quite safe to assume that if we've managed to write() all the bytes
and we receive the last 32bit of file size, it means the total file size
instead of the total - (n+1)*4GB.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 17:48:40 +00:00
Timo Sirainen
c2d0adc47c
/SET dcc_send_replace_space_with_underscore ON was buggy.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 12:18:11 +00:00
Timo Sirainen
e5d506e31e
Less strict error checking, and notify about every error we do see.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3007 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:51:04 +00:00
Timo Sirainen
f167270a6b
If /DCC SEND file isn't found, complain about it
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:27:55 +00:00
Timo Sirainen
d6c1cfa14b
Don't rename our nick in DCC chats when connecting to server before we know
...
what nick the server gave to us (ie. may not be the same as the nick we
requested).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3000 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-13 13:02:29 +00:00
Timo Sirainen
be1cd41a34
Fixes to allow -append and -prepend work when there's only one file being
...
sent to wanted nick + typo bugfix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2997 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 08:01:22 +00:00
Timo Sirainen
087e5ee525
whops, forgot to add
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 07:35:44 +00:00
Timo Sirainen
488e7b70f4
DCC send supports now queueing. Patch by Heikki Orsila <heikki@ee.tut.fi>,
...
although I did pretty heavy changes which hopefully didn't break it too
badly :)
New syntax: DCC SEND [-append | -prepend | flush | -rmtail | -rmhead] <nick>
-<file> [<file> ...]
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-11 06:35:12 +00:00
Timo Sirainen
55c2e7a066
/SET dcc_file_create_mode wasn't used. Also print strerror() message if
...
creation fails.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:26:26 +00:00
Timo Sirainen
70ac684095
in_addr_t wasn't too standard, so use guint32 after all.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 07:29:48 +00:00
Timo Sirainen
c5095a422c
s/guint32/in_addr_t/ actually.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:42:37 +00:00
Timo Sirainen
9805841e61
DCC was broken with some 64bit systems (64bit unsigned long)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:36:20 +00:00
Timo Sirainen
13effe87e4
removed the stupid error-parameters from net_connect*() calls. errno can be
...
used just fine.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:05:14 +00:00
Timo Sirainen
137aaeb499
"/MSG *" works now properly with dcc chat queries.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:39:35 +00:00
Timo Sirainen
eddc3d90c6
net_ip2host() and net_host2ip() now treat any IPv6 IPs as 0.0.0.0, if IPv6
...
support isn't enabled in irssi. Also DCC's human readable IP address is
taken from DCC SEND request directly with IPv6.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 16:52:36 +00:00
Timo Sirainen
6f7485b8fa
net_connect*() contains now error parameter, so it can be used to properly
...
check the errno if connect() fails.
Added support for connecting to named UNIX sockets. Some cleanups with
session handling / server connecting as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 14:43:16 +00:00
Timo Sirainen
c8187a9a76
crashfix for previous ~/. kludge
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 12:59:39 +00:00
Timo Sirainen
e6aa8415ef
kludgeing: don't autoget files beginning with '.' if dcc_download_path is
...
home dir.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16 18:00:47 +00:00
Timo Sirainen
4a93232462
dcc reject bugfix went wrong, fixed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:20:02 +00:00
Timo Sirainen
583417d66e
irssi didn't notice if DCC send connection died.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2777 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:19:13 +00:00
Timo Sirainen
5b5cd255e9
don't send DCC REJECT when closing a connected DCC connection.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 18:47:49 +00:00
Timo Sirainen
3f43df1db8
warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2708 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-23 08:53:23 +00:00
Timo Sirainen
92b780ff60
/SET dcc_send_replace_space_with_underscore - patch by nix@suhs.nu
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-18 15:25:00 +00:00
Timo Sirainen
aa95b7f305
/SET dcc_autoget_max_size default changed to 0 (disabled) - it's pretty
...
stupid default since no-one wants it anyway
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-11 13:54:23 +00:00
Timo Sirainen
bd00ff54c2
Fixed one error and several warnings with GLIB 2.0
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-10 02:53:06 +00:00
Timo Sirainen
bb3a1787b4
Listen for DCC connections in all interfaces
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 19:40:40 +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
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
64e98b7f4a
Correctly handle DCC GET write() failures.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2427 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 18:42:23 +00:00
Timo Sirainen
f8114c834f
DCC /MSG handlers broke /MSG -ircnet
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-06 18:07:55 +00:00
Timo Sirainen
d1ade13a71
Broke DCC CHAT queries.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 21:20:05 +00:00
Timo Sirainen
30a4a2ab76
Ignore /SET dcc_autoresume if /SET dcc_autoget is OFF.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:23:56 +00:00
Timo Sirainen
f4897860b5
toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in some
...
systems, use our own is_...() functions now instead.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27 20:45:59 +00:00
Timo Sirainen
d6abc84ab5
Connection tag variable wasn't deinitialized, so when destroying a DCC
...
record it might have stopped a wrong timeout/io func (or probably not,
because new source func was allocated soon after, and it'd have the same tag
which would just be free'd twice).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2324 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 02:18:37 +00:00
Timo Sirainen
103d668974
When creating a file for DCC download, make sure we won't run into any race
...
conditions if /SET dcc_download_path was set to some directory where other
users could write files as well. Also, the created file mode is always 0600
now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-17 22:51:28 +00:00
Timo Sirainen
6e4730b65d
Added "message dcc xxx" signals for printing DCC messages.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-09 16:04:53 +00:00
Timo Sirainen
e6f006009f
/SET dcc_own_ip now affects also which interface irssi uses to connect to
...
outgoing DCC connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2150 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:35:47 +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
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
6a82e806b4
Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
f354fe54c7
Moved some stuff from irc to core. Added command_bind_proto() function to
...
bind protocol-specific commands. Added #define command_bind_irc() for easier
access. CMD_IRC_SERVER(server) check should be done at the beginning of each
command requiring IRC server as active server, it handles it correctly the
cases when it is not. Did some other cleanups as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 01:05:14 +00:00
Timo Sirainen
20e26554cd
The new /SET dcc_port range didn't work properly..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-12 12:19:59 +00:00
Timo Sirainen
db2a25d22d
/SET dcc_port accepts now port range (eg. "10000 20000")
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10 20:21:05 +00:00
Timo Sirainen
803d805016
Module loading updates - /LOAD shows now also the statically loaded modules.
...
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].
NOTE: all modules now need to call register_module() in their init()
function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
e72780d4d6
DCC_REC was missing MODULE_DATA_INIT() / .._DEINIT()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30 10:11:33 +00:00
Timo Sirainen
fc3918b0f0
dcc, flood and notifylist aren't compiled as loadable modules anymore,
...
no-one wants that and irssi crashes in AIX because of it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:39:45 +00:00
Timo Sirainen
da9d55f403
/SET dcc_own_ip for specifying own IP to use in DCC requests
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1512 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:16:38 +00:00
Timo Sirainen
f3f8eb620a
added "dcc request send" signal - irssi now prints "DCC CHAT/SEND request
...
sent to nick".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1472 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:55:18 +00:00
Timo Sirainen
cb28685574
"dcc error file not found" -> "dcc error file open". Print the actual error
...
message based on errno, don't just assume the file wasn't found.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:43:59 +00:00
Timo Sirainen
f3ccfa567d
dcc_autoget_lowports -> dcc_autoaccept_lowports since dcc chat uses it too
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20 16:35:00 +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
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
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
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
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
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
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
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
3f1b28ead9
item_get_dcc(void *item) -> WI_ITEM_REC *item
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1088 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 09:26:45 +00:00
Timo Sirainen
be4b473be5
/SET dcc_autoresume - like /SET dcc_autoget, but resume the files if
...
they're already found. Also fixed file transfer being stuck when
resuming file that was already fully sent (happened with both send and
get). /dcc close was also broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1051 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 16:14:19 +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
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
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
1c9f45b4a4
Use GIOChannel instead of sockets directly. Helps porting to win32 :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 22:57:18 +00:00
Timo Sirainen
d1d70fd5d7
s/enum GInputCondition/int/ - enums aren't supposed to orred together i
...
think.. at least MIPSpro gave warnings about it and it also feels wrong :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 23:29:32 +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
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
090e88b34d
If other side replies to our DCC CHAT request with DCC CHAT request of
...
their own (maybe we were inside firewall and other side noticed it),
connect to it immediately.
Don't allow more than one identical DCC request, if more is received
just update the port of the previous request.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 03:08:32 +00:00
Timo Sirainen
54815d198b
Check that enough parameters are given to /DCC CLOSE
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17 02:45:04 +00:00
Timo Sirainen
63491d7d4f
/SET dcc_autodisplay_dialog isn't used for anything, removed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-11 00:56:13 +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
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
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
c529fe0096
Added syntaxes of all commands in comments, they're going to be used to
...
autogenerate help files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:19:22 +00:00
Timo Sirainen
bd9e53a5d2
A few extra checks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@524 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 14:07:20 +00:00
Timo Sirainen
271ebb5be7
Use net-sendbuffer with DCC chat.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:43:42 +00:00
Timo Sirainen
ee226421f1
Implemented network transmit buffer. If all data couldn't be sent
...
immediately, it's sent after a small timeout. This cleans up some code
with IRC command sending.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@478 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 19:00:41 +00:00
Timo Sirainen
796d51afe4
Fixed DCC stuff. Added DCCMSGS level for DCC chat messages.
...
Actions match now either MSGS or PUBLIC level as well as the ACTIONS
level always.
Added DCCMSGS level to default highlight levels. Highlighting works
with other than public messages now even if -nick option is used.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@463 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:04:03 +00:00
Timo Sirainen
dcc2e89b2e
Enabled lots of GCC warnings, fixed those that were easy to fix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-10 23:00:56 +00:00
Timo Sirainen
6c9655a513
If there was any spaces after /DCC CHAT nick (like after used nick
...
completion), Irssi used the spaces as part of the nick. /MSG =nick
would also fail because of it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@425 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04 18:56:39 +00:00
Timo Sirainen
2cb75b5eb2
cmd_get_params() calls had wrong parameter counts.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-20 09:21:54 +00:00
Timo Sirainen
a5d31a195d
Changed option handling in /commands. Irssi will now complain about
...
unknown options and missing option arguments.
Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 01:18:12 +00:00
Timo Sirainen
8ea2400269
Added /SET reuse_unused_windows setting, default is OFF
...
If window_close_on_part is ON, we don't anymore close the window if we
get kicked or connection gets lost. Also don't close DCC chat window if
the other side disconnects.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 12:22:56 +00:00
Timo Sirainen
5a94ff859c
Added Irssi::Dcc::values(), updated a few other DCC things too.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@306 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-09 17:29:12 +00:00