Timo Sirainen
1141081c34
parse_time_interval: x days were actually returned as hours. weeks were
...
returned as hours*7.. which also means I calculated the max. return value of
over 1 year wrong. It's actually 24 days, but it's hopefully enough. Removed
"weeks" unit to discourage usage of large values..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 17:26:43 +00:00
Timo Sirainen
b7ed8cec6c
Don't reconnect with invalid own hostname.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3141 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:33:53 +00:00
Timo Sirainen
f764a8665c
Time parsing: allow omitting time unit without warning for backwards
...
compatibility.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:22:07 +00:00
Timo Sirainen
b5dd35aad5
cleanup
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 16:14:25 +00:00
Timo Sirainen
d4d2e91f81
Added /set chanmode_verbose. patch by c0ffee.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-31 15:05:52 +00:00
Timo Sirainen
bb441ebbde
unsigned long -> gsize
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3132 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11 01:59:31 +00:00
Timo Sirainen
1d31048105
unsigned long -> gsize
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3131 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11 01:53:51 +00:00
Timo Sirainen
1826812c9d
Changed some checks i_isspace() -> ' ' so that TAB isn't included in checks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11 00:19:34 +00:00
Timo Sirainen
9ae4779c87
64bit fixes by Stefan Fent
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3129 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-06 23:53:51 +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
5fcdf3cb83
Fix crash with unloading module, by c0ffee
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3112 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-05-13 17:57:48 +00:00
Timo Sirainen
25fdeeaa8d
Removed execute(), not used.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3107 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-31 04:03:06 +00:00
Timo Sirainen
144d9640a6
GC fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3102 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25 03:31:19 +00:00
Timo Sirainen
842a51c760
parse_time_interval() fallbacked to milliseconds, not seconds. some code
...
cleanups. patch by Peder
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-08 20:54:36 +00:00
Timo Sirainen
bba71c7053
s/size/time/ in warning message
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 07:58:30 +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
3a1ceaf3d0
don't bother with inlining at all, it doesn't help that much and I'm not
...
sure how to do it properly without warnings :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:59:29 +00:00
Timo Sirainen
c4c6428185
fix compiler warnings
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:20:24 +00:00
Timo Sirainen
0743ce0e39
Compiler warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3054 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 16:36:26 +00:00
Timo Sirainen
27f54e286f
Added no_connect to SERVER_CONNECT_REC, also exported a few other variables
...
to perl.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 11:39:31 +00:00
Timo Sirainen
45f86f7b5f
Broke irssi_binary path.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 11:23:28 +00:00
Timo Sirainen
439818bcf8
Made irssi_binary global and exported to perl as get_irssi_binary().
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-03 22:37:02 +00:00
Timo Sirainen
ad1136267f
no, /connect -! shouldn't send the /ircnet -autosendcmd, channel's botcmd
...
should still be sent..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3036 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-01 16:28:12 +00:00
Timo Sirainen
b25d6f0e04
/CONNECT -! shouldn't send autosendcmds when joining channels.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-01 16:08:23 +00:00
Timo Sirainen
7fc3a951cd
and remove outdated comment :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:38:48 +00:00
Timo Sirainen
bae71dff48
If bind() fails when connecting, don't fallback to default address. Should
...
make it easier to notice invalid settings or figure out why it's not
working..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-29 13:38:21 +00:00
Timo Sirainen
b669dfaaaa
net_gethostbyaddr() was pretty much broken.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 23:43:42 +00:00
Timo Sirainen
5b60b859d4
/SET resolve_reverse_lookup to do reverse lookups for server when
...
/connecting. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 15:39:39 +00:00
Timo Sirainen
ad27d4aac4
Create log file directories using /set log_create_file_mode + exec-bit.
...
Patch by Noah Levitt <nlevitt at columbia.edu>
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 20:18:24 +00:00
Timo Sirainen
5bf764ac14
doc/syntax updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3020 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:34:54 +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
e4accf9c80
Timeout server connections if they're not in fully connected stage in /SET
...
server_connect_timeout seconds.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-19 11:55:36 +00:00
Timo Sirainen
e3c041955f
cmd_get_quoted_param() didn't work properly if it was used with last word
...
(ie. like ended with '"', which broke eg. /dcc send "file")
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-17 15:28:40 +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
71442509d0
Fixed some "buffer overflow" alerts when playing with buggy /EVAL values.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-05 13:10:58 +00:00
Timo Sirainen
39fc0f5ea1
compiling fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-28 01:12:09 +00:00
Timo Sirainen
d58e119a98
Exported expando interface to perl. Fix for statusbar deinit.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-27 22:30:41 +00:00
Timo Sirainen
9f089f360d
GLIB2 support for SSL code. Patch by vjt@users.sf.net
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-26 18:56:35 +00:00
Timo Sirainen
fe4cdce6e6
Handle correctly g_get_home_dir() returning NULL, assume it's the current
...
directory then.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-19 17:48:10 +00:00
Timo Sirainen
80a3674acb
The setting is of course "cmdchars", not "cmdchar"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:35:59 +00:00
Timo Sirainen
98316be40d
$k - first character in CMDCHARS
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:24:22 +00:00
Timo Sirainen
fa1687596c
updated /reconnect syntax.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:58:47 +00:00
Timo Sirainen
b0896601c5
/RECONNECT <tag>|* [<quit message>] - if tag is a connected server tag that
...
server is reconnected with specified quit message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:58:22 +00:00
Timo Sirainen
7d5ee9db1f
$chatnet, $tag, $Y and $N expandos' change signals were incorrectly set,
...
resulting non-updating statusbar
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:36:49 +00:00
Timo Sirainen
525773aa80
If reconnection was aborted by trying to reconnect to another server, the
...
channels and usermode wasn't restored.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30 21:43:46 +00:00
Timo Sirainen
28faa953be
irssi stuck to infinite loop if it wasn't compiled with gmodule.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-30 00:40:08 +00:00
Timo Sirainen
3dda9ab2df
statusbar is now also updated for connecting-servers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:23:57 +00:00
Timo Sirainen
930dd40815
no, didn't work, again :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 22:55:25 +00:00
Timo Sirainen
05577dce01
tag generation didn't check the tags from connecting servers, so same tag
...
could have been duplicated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 22:46:18 +00:00
Timo Sirainen
910749a2a0
banned/dns_error state was set to servers in setup, but never reset, which
...
means irssi stopped reconnecting to those servers forever if they occured
once.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-07 17:13:00 +00:00
Timo Sirainen
8790f97869
right. maybe now builds with glib2 right?
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:37:49 +00:00
Timo Sirainen
a17321c5c8
fixes to work with glib2 (untested...)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:34:55 +00:00
Timo Sirainen
1c33e3e896
/SERVER -ssl option was lost while reconnecting if server existed in /SERVER
...
LIST without SSL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2894 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 22:53:55 +00:00
Timo Sirainen
1539cf81f3
Added OpenSSL support by vjt@users.sf.net. Also fixes a possible crash after
...
using /SERVER ADD -ircnet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:32:15 +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
2ad623acd0
/DISCONNECT <tag> works again for not-yet-connected servers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-09 11:17:31 +00:00
Timo Sirainen
0a1e18b50d
If log file path contains any $variables or %time codes, create the
...
whole directory structure to the log file. This way log files created with
/LOG OPEN properly create the directories at startup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 20:46:14 +00:00
Timo Sirainen
d11cb0f2c2
'\' characters in nicks were skipped when sending messages in queries.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 16:20:10 +00:00
Timo Sirainen
c9f5eafb3d
since some servers nowadays don't like having "-" as user/realname, changed
...
the username default to "unknown" and realname default to username.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 16:12:16 +00:00
Timo Sirainen
9b74acc9ab
cmd_get_quoted_params() fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:38:48 +00:00
Timo Sirainen
80cc61b63f
Empty lines can be now sent to /EXEC -interactive windows.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-07 15:32:17 +00:00
Timo Sirainen
357bd2f1a4
Levels are now defined as enums, not #defines.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:43:57 +00:00
Timo Sirainen
b152578725
server_find_tag() shouldn't return servers in lookup_servers list,
...
especially now that they're not fully initialized in their lookup-state
yet..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-30 18:06:08 +00:00
Timo Sirainen
6871f558b5
when destroying channel, it really should be removed also from
...
server->channels list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2829 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-28 20:36:42 +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
4aa0b9111e
/UPGRADE was broken, changed again the server connection code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20 04:12:12 +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
1d10483021
Updating existing ignore didn't recompile the regexp.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2812 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 05:05:20 +00:00
Timo Sirainen
8bfd16b374
still fixing
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2811 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 04:36:06 +00:00
Timo Sirainen
1bc83aba29
servertag needs to be saved too ..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 04:18:52 +00:00
Timo Sirainen
b96222b311
save temporary ignores to config file with timestamp when to unignore.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2809 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 04:16:51 +00:00
Timo Sirainen
3eaeeac4f2
channel_setup_create() didn't set record type.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2808 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 03:26:04 +00:00
Timo Sirainen
afed99da62
more typedef struct separations.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 21:01:06 +00:00
Timo Sirainen
3ecf864f18
!channel fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 15:22:05 +00:00
Timo Sirainen
d346fbe1a9
Better !channel support - window items now have "visual_name" and channels
...
and queries also have "name". Normally they're identical but with !channels
the visible_name contains the short !channel name, while name contains
full !ABCDEchannel name.
The visible_name should be used whenever displaying the channel name, or as
printtext()'s target. So, this breaks a few scripts in !channels, they need
to be modified to use $channel->{visible_name} instead.
Also /LAYOUT SAVE should finally work properly with !channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16 00:34:37 +00:00
Timo Sirainen
a26be5e37d
moved timestamp_format into lookandfeel category
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 22:53:16 +00:00
Timo Sirainen
8df077426d
server_setup_add() now emits signal "server setup updated"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 00:37:48 +00:00
Timo Sirainen
1acc2be4e3
broke CHAT_PROTOCOL_REC into struct + typedef.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 22:41:22 +00:00
Timo Sirainen
ea4be04a07
removed unused #defines.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-05 15:39:40 +00:00
Timo Sirainen
17d5b644f4
query->createtime wasn't set
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 14:08:20 +00:00
Timo Sirainen
da867d4d68
added signal_continue() for continuing signal emission with new parameters.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 21:53:25 +00:00
Timo Sirainen
cdec9aa9c6
check_address() didn't initialize *wildcards variable properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2709 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-23 08:57:38 +00:00
Timo Sirainen
cb7b881d70
when queried nick changes, "window item name changed" signal is sent too.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2695 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 21:03:04 +00:00
Timo Sirainen
c7320514aa
fixes for new signaling code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-16 18:11:06 +00:00
Timo Sirainen
8f63d1e86f
display the refcount properly when complaining that signal is still
...
referenced
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 14:10:26 +00:00
Timo Sirainen
8b9c4823bf
Rewritten signal handling code - it wasn't supposed to come before 0.9 irssi
...
but it doesn't break much things and is needed for Qt port :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 13:59:09 +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
52fee01584
if /CONNECT -! ircnet couldn't connect to first server, next was tried but
...
-! was forgotten.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2653 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-03 14:08:52 +00:00
Timo Sirainen
bfae72766e
Don't set channel->server = NULL when disconnecting, so scripts can still
...
use it in eg. "channel destroyed". Patch by Qrczak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 19:07:23 +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
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
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
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
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
0d54e4e299
SIGHUP now does /RELOAD - useful with for example /SBAR prompt DISABLE when
...
you don't have an input line to recover :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:20:44 +00:00
Timo Sirainen
8d245f2ddf
Don't send -autosendcmd after /UPGRADE.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:28:08 +00:00
Timo Sirainen
9293d23da2
/SET autoclose_query - now only last received private message affects when
...
the query is closed, ie. /WHOIS requests or nick changes don't reset the
counter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:24:08 +00:00
Timo Sirainen
911f69dc3a
/UPGRADE saves now topic_time and topic_by.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 18:12:45 +00:00
Timo Sirainen
be0e7f04b7
if gethostbyname() failed, the return value was returned incorrectly
...
(accidentally cvs committed it after some of my test)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2516 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-18 19:48:35 +00:00
Timo Sirainen
4646cb7ec9
still one isxdigit() -> i_isxdigit()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 19:41:34 +00:00
Timo Sirainen
c02ac34c65
Log writing sometimes might have produced some glib errors.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 14:41:38 +00:00
Timo Sirainen
490e411814
Don't crash if special vars line ends with '$'.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-17 09:37:23 +00:00
Timo Sirainen
6f136674e9
Removed useless casting.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16 13:32:53 +00:00
Timo Sirainen
b38f4da166
renamed old config_node_index() to config_node_nth(). added new
...
config_node_index() function. added config_node_section_index() for
adding/moving node to specified position in list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2460 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 22:18:35 +00:00
Timo Sirainen
99c3c13f13
fixed module_uniq_destroy() calls
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2444 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-15 08:37:06 +00:00
Timo Sirainen
c2d8dc7eee
PARAM_FLAG_OPTCHAN_NAME check didn't work properly and it was always
...
assumed, so * didn't work as channel parameter. also changed the how
PARAM_FLAG_OPTCHAN_NAME was defined.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2435 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13 14:09:21 +00:00
Timo Sirainen
c0980aacdd
missed isxdigit() -> i_isxdigit() change
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2432 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-12 03:04:34 +00:00
Timo Sirainen
5fb5230963
Added IRSSI_GLOBAL_CONFIG as well
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2420 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:35:21 +00:00
Timo Sirainen
464ff76954
added #define IRSSI_HOME_CONFIG
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 14:33:42 +00:00
Timo Sirainen
9575eecb39
Removed some old backwards compatibility code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 11:04:08 +00:00
Timo Sirainen
2891a871b7
only the first of --home / --config parameters were parsed, which broke eg.
...
irssi which was started with --config and /UPGRADEd.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2401 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 19:30:58 +00:00
Timo Sirainen
7b70a3d91a
'-' option as last parameter didn't work (eg. /LAST -)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 19:27:47 +00:00
Timo Sirainen
0141801e2d
Set objects ->type = 0 when freeing to make sure we notice immediately if
...
they're being used after freed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-07 19:17:36 +00:00
Timo Sirainen
cf83236346
printtext(): you can now specify server target with tag name instead of
...
record. This is useful with DCC chats when you know the initial server tag
but the server might be already disconnected.
So what this means is that you now get ~/irclogs/ircnet/=nick.log instead of
~/irclogs/=nick.log :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-04 04:27:45 +00:00
Timo Sirainen
82b0c081e2
Server referencing in /EVAL really should have checked if the server wasn't
...
NULL :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 23:14:22 +00:00
Timo Sirainen
ebaea06eb9
target_type for "/MSG *" wasn't set properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 21:58:14 +00:00
Timo Sirainen
7c94cb083f
Added target_type to send_message(), -channel and -nick parameters to /MSG
...
to specify if it's supposed to be to channel/nick. /MSG -channel is used
automatically by irssi when sending messages to channel (the "normal" way
without /msg). This should help with protocols that don't have any channel
name prefixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 21:53:37 +00:00
Timo Sirainen
6ea882f893
Added missing #include
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 19:24:51 +00:00
Timo Sirainen
e8957938ea
A bit more safer now to use /EVAL with a command that disconnects from
...
server.. Also added a FIXME: window item would need reference counting as
well, eg. "/EVAL win close;say hello" wouldn't work now.. But that's probably
job for the rewrite irssi. don't go use things like that :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 18:32:46 +00:00
Timo Sirainen
aa544dec32
Added PARAM_FLAG_OPTCHAN_NAME which is like PARAM_FLAG_OPTCHAN, but doesn't
...
allow using "*" to specify active channel. Used with /OP, /DEOP, /VOICE and
/DEVOICE so you can do /OP * again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03 18:24:22 +00:00
Timo Sirainen
0ce3f8243e
Comments are now allowed everywhere in config files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:37:44 +00:00
Timo Sirainen
33d30268b4
added some pointer casting to get rid of warnings with some compilers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-01 20:14:30 +00:00
Timo Sirainen
aed634ae08
/CONNECT and /SERVER crashed without parameters
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-30 22:00:06 +00:00
Timo Sirainen
0edf041e14
..and of course I broke IPv4 net_gethostbyname() with it :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 23:11:22 +00:00
Timo Sirainen
13eb6379e7
OK, looks like I was doing stupid things with IPv6 hostname lookups :) Back
...
when I originally wrote that code, there wasn't any man pages for them and I
couldn't really find any good docs either, so I just copy&pasted some code
from somewhere and it seemed to work. Anyway, it was doing reverse name
lookup for uninitialized host name which really wasn't a good idea :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 22:16:40 +00:00
Timo Sirainen
f2a4a97668
net_gethostbyname() fix for ipv6.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-29 21:26:41 +00:00
Timo Sirainen
747d0f19ca
Fixed a few minor memleaks. Don't use g_strdup() in lib-popt because it may
...
be freed with a real free() call instead of g_free().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2352 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 15:20:57 +00:00
Timo Sirainen
08c23ce6d4
Don't change the "wanted nick" when receiving NICK event from server, unless
...
we did the /NICK change. This is useful with the new irc servers changing
your nick to your UID instead of killing you, at reconnect time you'd get
"invalid nick" when irssi would try setting the UID as your nick..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-28 05:28:25 +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
0f1550dbf8
Added -rawlog <file> option to /CONNECT and /SERVER, so you can get the
...
rawlog from servers that disconnect you too fast.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2346 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-26 12:43:47 +00:00
Timo Sirainen
e00877e89b
/SERVER ADD -noproxy wasn't saved to config
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2345 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-25 02:28:42 +00:00
Timo Sirainen
182adb805c
/SERVER ADD: added -noproxy option and -proxy which just removes the
...
-noproxy.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-24 20:57:16 +00:00
Timo Sirainen
d74d284463
Fixed a small memory leak when connected to same network twice.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-24 01:19:52 +00:00
Timo Sirainen
4c4f7ec042
last commit was only partial :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 21:04:39 +00:00
Timo Sirainen
92eaf0dc9a
Never reconnect immediately to server when server is being disconnected -
...
this could lead scripts (or maybe even irssi itself) handle the partially
disconnected server wrong. Also moved the server->disconnected = TRUE before
the "server disconnected" signal is sent, this makes sure the
server_disconnect() is never called twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 21:04:04 +00:00
Timo Sirainen
0157d234f8
Added /SET proxy_string_after setting which gets sent after NICK/USER, bnc
...
wants this.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22 20:29:45 +00:00
Timo Sirainen
f12d3914e5
Added -before and -after options to /LASTLOG. You can also use
...
-<number> to specify both before and after values.
Added special "#" option name to commands which specifies that
-<number> parameter is allowed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2331 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 16:57:06 +00:00
Timo Sirainen
bba5603903
Autosaving settings and autoflushing write buffer might have stopped from
...
working sometimes because of missing "return 1".
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2325 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 03:30:28 +00:00
Timo Sirainen
c20cc9bb1f
Added -noproxy option to /CONNECT and /SERVER.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-19 23:21:24 +00:00
Timo Sirainen
ab19c70aa1
Removed module_data from NICK_REC. It's not used for anything and just takes memory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-15 14:07:19 +00:00
Timo Sirainen
dff49792ed
Settings names are now case-insensitive.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-12 14:32:28 +00:00
Timo Sirainen
1d7a8245ca
Whops, didn't actually fix the connection_lost :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11 05:48:37 +00:00
Timo Sirainen
6d44620b4a
When commands were being parsed, the currectly active server should have been referenced, but the code was accidentally in subcommand parser not in the main one.. Also, the connection_lost wasn't checked after parsing the command and might have caused a glib error.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2307 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-11 05:47:52 +00:00
Timo Sirainen
a01aab7a64
Changed level HILIGHT -> HILIGHTS.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2297 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-08 07:36:40 +00:00
Timo Sirainen
41e92b3062
the same #ifdef { parsing problem..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2296 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04 21:28:26 +00:00
Timo Sirainen
8996062276
moved the two { chars inside #ifdef #else #endif to one { outside it, so it won't confuse some parsers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04 21:27:28 +00:00
Timo Sirainen
855f467474
Use static arrays, so it works with non-ansi C compilers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2294 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-04 21:20:32 +00:00
Timo Sirainen
a72f7244ff
server_disconnect() should do nothing if you call it twice, especially it
...
shouldn't emit the "server disconnected" again.
We'll now handle the remaining data coming from server after disconnection.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-02 21:21:49 +00:00
Timo Sirainen
f594121100
Accidentally had committed a debug thing.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2289 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-31 16:31:08 +00:00
Timo Sirainen
bf5b6c08c5
Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20 02:14:49 +00:00
Timo Sirainen
6720940e1a
Leading zeros didn't work well in IRSSI_VERSION_TIME.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16 01:41:29 +00:00
Timo Sirainen
7bda808395
Added $versiontime and Irssi::version_time()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 23:26:09 +00:00
Timo Sirainen
1aed7cb956
IRSSI_VERSION_DATE is now a number, so you can do #iffing with it
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 19:28:44 +00:00
Timo Sirainen
26d9da61c8
net_listen(): when socket() failed because we tried to use IPv6, we should
...
have falled back to IPv4, but wrong errno was checked.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 22:19:54 +00:00
Timo Sirainen
6774b4b30f
Added reference counting to server record. At least now we don't accidentally
...
use a destroyed server record when some /command disconnects the server
(shouldn't happen really) or when irc_send_cmd() fails sending data to server
and disconnects the server (I don't know if this ever happens, but if it does,
it very well could have caused crashes)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14 01:54:12 +00:00
Timo Sirainen
15e815e8d3
Better support for halfops, patch by yathen@web.de
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 17:13:48 +00:00
Timo Sirainen
e8696c711e
Regexp-ignores weren't compiled at startup - thanks to Manoj Kasichainula
...
for noticing this, I never tried restarting when trying to reproduce the
regexp problems :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2226 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-09 16:06:52 +00:00
Timo Sirainen
5dfe5f8a5d
$!xx! history search didn't work because history_func() got also the
...
trailing '!' character.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 19:45:47 +00:00
Timo Sirainen
4c6237256f
/IRCNET ADD -usermode option added.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:29:48 +00:00
Timo Sirainen
6be1390303
/UPGRADE broke reconnections to server.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:05:54 +00:00
Timo Sirainen
5524f89d71
/UPGRADE shouldn't begin server reconnections in old client.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-01 20:23:48 +00:00
Timo Sirainen
4ebe07e0d1
command_unbind() - don't crash if trying to unbind a command not registered
...
in given module.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2166 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-29 22:05:24 +00:00
Timo Sirainen
c3429fa50e
/UPGRADE: when trying to restore connection to server of which chat
...
protocol is unknown, close the specified handle.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2148 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 17:03:00 +00:00
Timo Sirainen
ed4d24b282
/UPGRADE: Irssi no longer asks for /NAMES list from server when
...
rejoining channels, but the nick list is transferred in session file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2144 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 16:13:12 +00:00
Timo Sirainen
5347d24e61
Doing /RECONNECT while server was still being connected to, irssi
...
didn't disconnect the server so you ended up having two connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-25 15:05:38 +00:00
Timo Sirainen
24015a360a
/FOREACH QUERY did actually same as /FOREACH CHANNEL :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-21 17:50:58 +00:00
Timo Sirainen
cd09cd6332
Still forgot to add pidwait_get_pids() here.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:54:21 +00:00
Timo Sirainen
d4d2fe5e80
added function pidwait_get_pids() which session.c uses - forgot to commit
...
last time :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2132 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:48:43 +00:00
Timo Sirainen
94be91c30e
--session broke --help output
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:36:12 +00:00
Timo Sirainen
b24629822e
/UPGRADE: waited pids are now transferred to new client so we don't leave
...
zombie processes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2129 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 20:29:45 +00:00
Timo Sirainen
c355002886
using signal_add() instead of signal_add_first() again. the ..first() wasn't
...
really needed and it broke autoaway.pl script .. which is because
/DISCONNECT and /UPGRADE commands destroy the server record, but it's still
left in the signal's parameter. Guess I'll need to add reference counting to
server record as well..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 12:51:28 +00:00
Timo Sirainen
72d943acdb
/UPGRADE: --home and --config parameters weren't passed to new irssi.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 03:19:02 +00:00
Timo Sirainen
9cf8d32198
Typobugfix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2120 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 02:48:53 +00:00
Timo Sirainen
e0841d15a2
/UPGRADE now saves the session, disconnects the servers so that the socket
...
isn't closed but irssi thinks its disconnected, then it quits irssi, and as
the last command executes the new irssi. This way we get clean
deinitialization so irssi can close log files, destroy scripts, etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2114 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 01:47:29 +00:00
Timo Sirainen
bb3592f5c7
/UPGRADE: server command queue is now flushed to make sure everything
...
gets sent to server. Channels are now stored in in config blocks
instead of just in one string, this way we can restore the topic and
key. Away status in server is also restored.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2113 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 01:29:23 +00:00
Timo Sirainen
333f6a3bab
Added net_sendbuffer_flush() for flushing the buffer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2112 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20 00:54:51 +00:00
Timo Sirainen
44565932e3
Don't break if /CHANNEL ADD -bots list has bots separated with more than
...
one space.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2109 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:12:00 +00:00
Timo Sirainen
baf8ac392c
grab the "send command" event with signal_add_first().
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2108 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 23:09:29 +00:00
Timo Sirainen
879702897b
eval_special_string() : spaces are now ignored after ';' separator (so
...
/alias echo foo; echo bar works properly). Also if there was any empty
commands they're now ignored.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2105 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 22:44:04 +00:00
Timo Sirainen
60dbc68bdf
Removed memdebug stuff.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2097 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19 20:41:30 +00:00
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
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
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
e3fea8cf01
"setup reread" signal now sends the config file as parameter. Added
...
Irssi::get_irssi_dir() and Irssi::get_irssi_config(). Patch by peder@linpro.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 11:50:14 +00:00
Timo Sirainen
c6302cd6e7
Lag checking fixes - should work fine again.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 13:47:51 +00:00
Timo Sirainen
c17439820d
Don't crash when connecting to server with unknown chat protocol (eg.
...
specified in config file but module not loaded yet).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 00:21:24 +00:00
Timo Sirainen
636b7ab3ac
typofix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-14 16:31:09 +00:00
Timo Sirainen
a9a380fd54
settings_save() now sends "setup saved" signal - patch by peder@ifi.uio.no
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-14 16:28:56 +00:00
Timo Sirainen
1673246497
%X should generate "time changed" every second too.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 22:03:07 +00:00
Timo Sirainen
381f410058
extra check to make sure the "timer changed" signal is sent at startup.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1993 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 14:17:23 +00:00
Timo Sirainen
24d51a694b
/RAWLOG commands should work immediately after connection to server was
...
accepted (ie. don't wait for 001 event from server).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1982 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 20:05:10 +00:00
Timo Sirainen
850cf993eb
Moved rewritten server redirection code from core to irc. This new code
...
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 18:59:19 +00:00
Timo Sirainen
712f3b383d
net_listen(): if creating IPv6 socket fails because of EPROTONOSUPPORT, try
...
without IPv6.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-10 20:15:24 +00:00
Timo Sirainen
9abd857618
net_connect(): if bind() fails, set the address back to INADDR_ANY to make sure it doesn't leave the socket in buggy state.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1978 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-07 14:35:00 +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
6e24ac82ed
Commands that accepeted * parameter as active channel didn't work properly -
...
active channel was used but the * wasn't removed from parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1961 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 13:16:36 +00:00
Timo Sirainen
06435bea22
/RECONNECT ALL crashed irssi (typofix - s/unref/ref/ :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 12:58:36 +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
95b94ed83c
server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
...
#define server_ischannel(server, data) and it's now used everywhere..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:52:23 +00:00
Timo Sirainen
00f94a93a5
Crashfix when module didn't contain deinit() function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-31 23:30:34 +00:00
Timo Sirainen
ee93268315
changed default log directory mode to 0700 and file mode to 0600.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-31 15:18:18 +00:00
Timo Sirainen
f7683c0423
Added a bit better error reporting.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1911 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:24:14 +00:00
Timo Sirainen
e4f34d9cd3
When logs are rotated, automatically create the new directory where to open
...
the log if it has changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 21:26:58 +00:00
Timo Sirainen
89794348b1
Checking that autojoined channels weren't already joined in same chatnet had
...
a typo so it checked all servers that the channel wasn't joined.
s/servers/chatnet_servers/
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 09:33:32 +00:00
Timo Sirainen
905a5127f4
if \x isn't a known escape sequence, it should print just x, not \x.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 18:58:09 +00:00
Timo Sirainen
388d2e1f44
deinit() function is now checked and saved when loading module. Unloading
...
modules that had module_deinit() function (not module_core_deinit()) wasn't
called before. Also, error message wasn't printed if module didn't have the
_core part and wasn't really irssi module.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 16:23:43 +00:00
Timo Sirainen
1256621041
Added reference counter to SERVER_CONNECT_REC. Since it's being moved around
...
a lot in reconnects etc. this should make it easier to track when it's
supposed to be destroyed. Hopefully fixes a crash I assume is related to
this but couldn't find..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 13:59:07 +00:00
Timo Sirainen
ae1b5b0d50
added irssi_init_finished variable to core.h which is TRUE after "irssi init
...
finished" signal is sent.
Perl scripts aren't now autoloaded until irssi_init_finished is TRUE (fixes
the crash at startup).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 13:22:28 +00:00
Timo Sirainen
06c431bcd7
Don't autojoin channels that have already been joined in some other server
...
connection in same chat network. This has mostly been just annoying, and
this enables us to add eg. 20 channels autojoinable, then create 2 server
connections and irssi will automatically join the first 10 in first
connection and 10 other in the later (well, or at least if the 10 later
channels get "not enough channels" message from server before the connection
is finished, which well might not happen .. problem :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1875 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:08:49 +00:00
Timo Sirainen
e5c9dc37dc
Check time changes every half a second instead of every second.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:06:58 +00:00
Timo Sirainen
e5abcdb76c
fix a fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 22:02:55 +00:00
Timo Sirainen
097206878d
When assiging chatnet to server connect record, always try to get the name
...
from chatnets list so the case will be correct.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:39:01 +00:00
Timo Sirainen
476b5ec863
$~ crashed if arglist was empty
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:30:24 +00:00
Timo Sirainen
16247b8c34
fixed a small memleak when unloading module
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15 18:37:13 +00:00
Timo Sirainen
53d5c92cf4
Fixed some memory leaks.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 14:14:54 +00:00
Timo Sirainen
42f5b80f2a
"extern const char *default_config;" - some other parts of irssi might want
...
to use the default config also.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 15:17:54 +00:00
Timo Sirainen
c988af4150
Added MODULE_DATA_UNSET() macro and started using it. Just to make sure we
...
don't try to access free'd data.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02 07:55:51 +00:00
Timo Sirainen
26d84e25ab
added expando_get_signals() and special_vars_get_signals() to return list
...
of signals the expandos use. Also added "time changed" signal which gets
emitted when $Z changes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-23 17:32:05 +00:00
Timo Sirainen
82ce76100c
s/PARAM_FLAGS_ONLY_PARAMS/PARAM_FLAG_ONLY_ARGS/ since they're called
...
arguments everywhere :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1804 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 16:44:22 +00:00
Timo Sirainen
1b42f89ccb
$*, $~ and $-n should still work with PARAM_FLAG_ONLY_PARAMS.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 16:43:24 +00:00
Timo Sirainen
7814192f03
special vars: added PARSE_FLAG_ONLY_PARAMS. Theme loading now uses it so
...
you can use $C etc. in themes to print the active channel. printformat()
also expands it now correctly to the server/target where the message was
printed, not to the active window's server/target.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 15:58:14 +00:00
Timo Sirainen
eb9f1eb985
autolog: target name is now always lowercased with irc protocol.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 17:47:31 +00:00
Timo Sirainen
c7f7ec4391
/LOAD fixes for modules with no core part, and /LOAD ~/...
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 17:38:47 +00:00
Timo Sirainen
460281eb8a
/SET override_coredump_limit - sets core file size to unlimited if set ON
...
(default).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10 19:50:53 +00:00
Timo Sirainen
477e1615af
Loading modules that didn't have "core" part didn't work (eg. irc_proxy).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08 18:02:49 +00:00
Timo Sirainen
099c83a98e
Expando lookup crashed with hi-ascii chars.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 16:47:14 +00:00
Timo Sirainen
2d37f461ac
Module loading fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 13:52:14 +00:00
Timo Sirainen
0d5e569195
Some internal changes how /SERVER command works. Added /SERVER PURGE
...
[<target>] command. The channel output is purged at /PART if the output
queue is larger than 10.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:19:06 +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
f584c1013c
minor speedups and signal removing fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:03:02 +00:00
Timo Sirainen
4e3b1bba62
/LOG OPEN -color, /SET awaylog_colors - specifies that the color codes
...
should be written to log file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 13:51:49 +00:00
Timo Sirainen
98b82723a1
Added function expand_escapes() which handles now escaping /EVAL and input
...
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e
(ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:00:25 +00:00
Timo Sirainen
072a4c774f
If we receive INVITE for a channel that is added with /CHANNEL ADD -auto,
...
join it immediately.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1724 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 17:47:54 +00:00
Timo Sirainen
6a422552d5
/MSG * in empty window now prints "not joined" error
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-05 06:45:29 +00:00
Timo Sirainen
0163f2771f
Signals weren't removed correctly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 12:56:37 +00:00
Timo Sirainen
802ee7564c
Fixed /RELOAD crashing without parameters.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 00:27:23 +00:00
Timo Sirainen
3fb7a4115d
added destroy() function to WI_ITEM_REC. This fixes a potential crash when
...
"window item destroy" signal was being used.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1655 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:49:08 +00:00
Timo Sirainen
5eca2d861f
fixed using already free'd memory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 19:29:50 +00:00
Timo Sirainen
fbe38dd2c8
command_runsub() - ignore multiple spaces between /COMMAND SUBCOMMAND
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 20:23:59 +00:00
Timo Sirainen
40c7fa1190
--home, --config parameters now expand relative paths to absolute at startup.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1635 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 16:56:52 +00:00
Timo Sirainen
c1ac5765b3
New /IGNOREs weren't immediately effective for nicks in channel. Some small
...
fixes for unignoring levels with /IGNORE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:50:26 +00:00
Timo Sirainen
316bd7d142
Moved awaylog to core.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1629 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:07:48 +00:00
Timo Sirainen
de5348a084
Another /FOREACH update - it only goes through the current
...
servers/channels/queries, if the command creates new ones it skips them (ie.
/FOREACH CHANNEL /CYCLE works now).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 13:49:57 +00:00
Timo Sirainen
79d1d7089a
Added --home and --config command line parameters to irssi to specify
...
locations for ~/.irssi and ~/.irssi/config
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
bcbb55dd1e
/FOREACH won't crash now if the command removes the item being accessed
...
(ie. /foreach server disconnect should work)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 23:24:05 +00:00
Timo Sirainen
cb763a0b52
"gui dialog" signals can now be safely emitted before the GUI is initialized
...
- the texts are queued until the GUI initialization is done and re-emitted.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1618 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 19:10:17 +00:00
Timo Sirainen
b365a78a5a
uname() returns non-negative if successful, not necessarily 0.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-13 19:17:43 +00:00
Timo Sirainen
2ddba459c0
Moved location of config, theme and doc files. Added debian dir for building a .deb easily.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-05 23:16:18 +00:00
Timo Sirainen
53975363ce
Using different ports in one server for different chat networks didn't work
...
properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1580 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:47:31 +00:00
Timo Sirainen
d0de9fe229
"log rotate" -> "log rotated"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1565 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 16:47:56 +00:00
Timo Sirainen
8b733e0568
special-vars: added flag PARSE_FLAG_ESCAPE_THEME to escape { and } chars
...
with % char. Used this with statusbar items - now for example "{error xxx}"
topic won't print it with error color.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 15:33:07 +00:00
Timo Sirainen
b642a0e16f
moved "log rotate" after the logging was stopped.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 13:55:50 +00:00
Timo Sirainen
4ad8ebba7e
"log rotate" signal added
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 13:49:51 +00:00
Timo Sirainen
4c51bc9755
get_max_column_count() didn't work properly if items had wider items than
...
max_width.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 15:05:08 +00:00
Timo Sirainen
b0f75f79a2
Getting optional channel parameter was buggy - it used already free'd memory
...
and assumed the command handler was given CHANNEL_REC even while it could
have been any other WI_ITEM_REC ..though it used only the WI_ITEM_REC parts
so it didn't really matter..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 22:19:15 +00:00
Timo Sirainen
7773aabb2c
Try to keep the number after server tag always the same when there's
...
multiple connections to the same server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1540 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08 21:19:08 +00:00
Timo Sirainen
f079263035
/LOAD: when using '.' character in module name irssi printed glib error
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1537 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04 18:40:50 +00:00
Timo Sirainen
6f5c1117de
moved /SET ignore_signals to core.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 20:21:07 +00:00
Timo Sirainen
666f4b2463
get_max_column_count() didn't return correct value in save_column_widths
...
when it returned only one column.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 23:46:48 +00:00
Timo Sirainen
c2b2d45bd6
Getting rid of gettext, moved some _(..) texts to themes and left some error
...
messages hard coded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:13:59 +00:00
Timo Sirainen
ccccd1fdc4
some comment changes, moved nearest_power() to misc.h
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1501 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 16:50:52 +00:00
Timo Sirainen
f1774f1a3b
cmd_get_params() crashed in some conditions
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 18:44:51 +00:00
Timo Sirainen
1f23c05ee7
CHANNEL_REC->get_join_data() - Returns the information needed to call
...
SERVER_REC->channels_join() for this channel. Usually just the channel name,
but may contain also the channel key.
If we receive PART-message to channel that hasn't received a JOIN yet,
don't destroy the channel. It's probably because we did quickly /PART +
/JOIN.
Moved /CYCLE to fe-common/core, it doesn't close the window for the cycled
channel anymore if you had autoclosing on.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 16:08:48 +00:00
Timo Sirainen
e3b33796ff
Moved PARAM_FLAG_OPTCHAN handling to core. Removed support for adding own
...
command parameter parsers, it's probably useless now that opt.channels are
in core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1482 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 15:48:09 +00:00
Timo Sirainen
0bd5755a2d
added $sysarch
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1454 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 20:00:23 +00:00
Timo Sirainen
ad2b694585
module_get_name() should be inside #ifdef HAVE_GMODULE
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-28 21:32:10 +00:00
Timo Sirainen
62dae68191
ignore_check(): don't crash if nick is NULL - shouldn't really ever happen?
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-24 12:41:43 +00:00
Timo Sirainen
ae6d2014e5
added /SET proxy_password
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20 23:24:45 +00:00
Timo Sirainen
4a967a5d5c
moved stuff from net-internal.h to network.h. HPUX needed one of the
...
#includes in there to work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1409 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-18 21:39:24 +00:00
Timo Sirainen
d9008ae249
%F = blinking on/off. several fixes to make blinking work better. some
...
hilight fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:32:32 +00:00
Timo Sirainen
c3da7fa8ab
Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET
...
hilight_act_color now use %codes for specifying color.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 01:52:43 +00:00
Timo Sirainen
6806a0b7df
Irssi now asks if you want to remove unknown settings from configuration
...
file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 23:57:24 +00:00
Timo Sirainen
ebe99f825c
quit_message setting moved from irc to core
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 22:14:21 +00:00
Timo Sirainen
6fda90e72b
server_connect_own_ip_save(): fixed some nasty typos that could have
...
crashed irssi when using vhosts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 20:48:57 +00:00
Timo Sirainen
69469fe1c8
signal_add_first("setup changed", .. so if some other "setup changed"
...
handler wants to ask $Z it works properly. This fix is kind of a kludge,
some better way should be found to fix these kind of problems (just
g_strdup() them?)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 03:01:04 +00:00
Timo Sirainen
aa526bed41
* level is now same as ALL
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:22:44 +00:00
Timo Sirainen
885e7fa0ec
Reconnecting shouldn't lose the address family.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-14 22:36:04 +00:00
Timo Sirainen
adec7641f0
net_listen() works now properly with --enable-ipv6 and a system that doesn't
...
have a working IPv6 support
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-14 22:26:00 +00:00
Timo Sirainen
93397f3fe0
buggy fix, fixed :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10 23:33:56 +00:00
Timo Sirainen
118aa7e88e
nick_hash_remove(): GLIB didn't change the hash table key like I thought, so
...
we need to first remove it from the hash, then insert again..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10 23:23:32 +00:00
Timo Sirainen
57493acd39
/CONNECT -ircnet didn't load ircnet specific settings correctly
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1363 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:24:27 +00:00
Timo Sirainen
4eb054f4bb
If one server fails because of DNS error, don't stop reconnecting to
...
entire chatnet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 23:57:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f771409214
Ignores without nick masks didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1168 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:54:25 +00:00
Timo Sirainen
c4753213fe
Ignore didn't check properly nick masks that contained only nick
...
without mask part (!*).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1167 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:43:13 +00:00
Timo Sirainen
4bcae4c071
get_max_column_count() didn't work properly when there was only one item
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1166 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:37:13 +00:00
Timo Sirainen
f5ea5348c0
get_max_column_count(): we didn't handle correctly a situation where
...
last column of the list was empty
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:27:09 +00:00
Timo Sirainen
adf8b864fc
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 16:17:53 +00:00
Timo Sirainen
e75ce196e8
get_max_column_count(), columns_sort_list(): helper functions for
...
printing column lists
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1160 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 15:43:38 +00:00
Timo Sirainen
b4a56832cb
backwards compatibility fix: when changing ircnet -> chatnet, the
...
chatnet name in memory was corrupted
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1159 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 10:19:53 +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
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
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
1bfa0e1ee3
Nickmatch cache. A couple of helper functions to check if channel nicks
...
belong to something. Used for checking nickmasks in highlighting and
ignores (well, ignore isn't done yet).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21 04:09:48 +00:00
Timo Sirainen
443ba1a97d
nickliset_set_host() for setting host, sends signal "nicklist host changed".
...
Changed "nick gone|serverop" -> "nicklist gone|serverop changed"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21 00:49:52 +00:00
Timo Sirainen
babf7c77ac
net_getservbyport() - Get name of TCP service
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:23:35 +00:00
Timo Sirainen
0ef53540c0
Minor speedup, return immediately if masks == ""
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:23:11 +00:00
Timo Sirainen
769815a3f4
signal_emit() - one parameter after last one wasn't NULL but was taken
...
from va_list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1132 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-18 02:01: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
ac6cb753af
nickmatch-cache.[ch] wasn't supposed to be included yet..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1126 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16 00:19:45 +00:00
Timo Sirainen
e66e10af19
Check if libtool creates libraries in .libs dir. Check if -lgmodule
...
doesn't work. #include "../config.h" instead of <config.h>, this should
fix problems when config.h is found in some -I dir.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16 00:14:14 +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
c49b5adc1b
Added nicklist_rename()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1115 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14 18:30:02 +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
1698500f80
$[.10]var truncates the var to 10 chars, but doesn't pad if var is
...
shorter than 10 chars
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1105 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-12 17:05:05 +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
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
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
14dbcd00bf
"return 1" doesn't anymore stop signals in perl scripts. Fixed
...
Irssi::signal_stop() to properly stop the signal from going to other
perl scripts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:23:06 +00:00
Timo Sirainen
069d9f3f02
nick_match_msg() : check was case sensitive
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 23:49:19 +00:00
Timo Sirainen
b4f4a1a9dd
In "Configuration file was modified ..." text, added "Use /SAVE or
...
/RELOAD to get rid of this message."
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1068 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 06:49:47 +00:00
Timo Sirainen
f3f80c1499
Allow stopping signal more than once without sending GLib warning
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1061 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:27:21 +00:00
Timo Sirainen
1e4c658a18
Removed the "signal" and "last signal" signals. Changed perl's
...
signaling system to work without them, it should now work faster and
better.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1053 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-03 07:34:12 +00:00
Timo Sirainen
d58ea58abc
net_accept(), net_getsockname() IPv6 fixes pointed out by pv2b :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 07:05:07 +00:00
Timo Sirainen
806e1f0765
removed the win32 EINPROGRESS define, that wouldn't work anyway
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1049 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 05:55:36 +00:00
Timo Sirainen
ebeb48d307
Query bugfixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1048 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 19:29:05 +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
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
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
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
1257104980
comment update :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 21:56:25 +00:00
Timo Sirainen
1a536c204c
Instead of trying to send data to server every 1/10th of second, send
...
it whenever there's space in buffer using g_input_add() with G_IO_WRITE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:22:35 +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
99b29df17c
put back ircnet -> chatnet backwards compatibility, this time modify
...
the config file to use chatnet so after .98 we could remove this
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:47:33 +00:00
Timo Sirainen
db2c620951
when changing config file to new format send "setup changed" signal at
...
startup so that some settings that were tried to be used before
settings_check() was called would be properly loaded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1015 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:42:56 +00:00
Timo Sirainen
cf0c2a7fb6
removed backwards compatibility from ircnet -> chatnet change
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1006 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:40:59 +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
8cd67ba344
Destroy all settings and commands used by modules when they're unloaded.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 04:14:47 +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
3011d2c01c
removed useless chat_type checks
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 01:37:12 +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
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
9681252b4c
added $topic expando
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:41:01 +00:00
Timo Sirainen
9157c49b84
$T in empty window crashed
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:15:57 +00:00
Timo Sirainen
210409bc0b
'_' character wasn't treated as acceptable $variable_name character.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@986 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:11:36 +00:00
Timo Sirainen
877ec1793a
Don't crash with /reconnect <unknown tag>
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09 22:58:59 +00:00
Timo Sirainen
e6cc73bd4b
net_receive(), net_transmit(): error handling was buggy
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-08 20:13:21 +00:00
Timo Sirainen
d3e9880f48
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-08 15:47:18 +00:00
Timo Sirainen
a99e93ef5d
NICK_REC can be now inherited
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06 01:07:21 +00:00
Timo Sirainen
809fa17d82
Use hardcoded array for signals instead of dynamic (pretty useless, "10
...
is enough for everybody" :). Check sysname/sysrelease only once at
beginning and use those values rest of the time.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06 01:06:35 +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
346808789c
net_gethostbyname_nonblock(): don't crash if net_gethosterror() returns
...
error message as NULL.
Initialize winsock with win32.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@966 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 19:43:12 +00:00
Timo Sirainen
d1eaeca255
Split expandos from special-vars.c to expandos.c. Added list of signals
...
to each expando that can might change it's value.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 00:53:04 +00:00
Timo Sirainen
5f941b8fa6
added signal_add_to_id()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 23:53:28 +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
e18d43cef7
cmd_get_params() didn't work correctly if we didn't want any paramers
...
but only options.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 20:35:44 +00:00
Timo Sirainen
c8a90566ca
/RECONNECT without any parameters and when not connected to any server
...
reconnects to first server in reconnect list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:31:17 +00:00
Timo Sirainen
e7bfb7fe88
added g_timeval_cmp()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 23:12:42 +00:00
Timo Sirainen
a01275959d
cmd_options_get_server() : allow NULL cmd argument
...
eval_special_string() : if any of the commands separated with ; used
the arguments ($0, $1, etc.) don't anymore append all the arguments
after other commands.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@903 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 22:58:45 +00:00
Timo Sirainen
cbf45ea6bf
stristr() and stristr_full() didn't work correctly with empty needle
...
argument.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-30 01:14:49 +00:00
Timo Sirainen
1ca99a108c
file_checksum() shouldn't crash if it can't open the file.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@896 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-29 16:05:15 +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
f9653a5e1e
some updates for checking when to not autosave config.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 02:26:13 +00:00
Timo Sirainen
a954fa03d0
Added modify counter which is increased every time something is changed
...
in configuration.
Autosaving settings doesn't even try to save them if config isn't
changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 02:17:14 +00:00
Timo Sirainen
532d6c1e9d
Added some magic to /SERVER - if there's no server to disconnect from
...
in active server, irssi checks if some reconnection should be used
instead.
If there's one reconnection, /SERVER always uses it.
If there's reconnection to same host, it will be used (+same port is
preferred)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 02:09:15 +00:00
Timo Sirainen
2e96f68445
mkpath() crashed with paths that didn't start with /
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-25 20:54:24 +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
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
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
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
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
61f33a6bb2
Some sizeof() fixes to IPv6 support when connecting to IPv4 addresses.
...
Linux didn't seem to have any problem with these but some other OSes
did.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@835 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-11 20:27:37 +00:00
Timo Sirainen
d49248c7fe
level_get() didn't check ambiguous commands correctly - dcc always failed
...
because it was partial for dccmsgs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-08 23:40:34 +00:00
Timo Sirainen
499db646e1
minor speed enhance
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 01:46:25 +00:00
Timo Sirainen
228c0842fc
minor cleanups
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 01:42:21 +00:00
Timo Sirainen
6e27475e98
Updated stristr() and stristr_full() to be a bit faster.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 01:25:46 +00:00
Timo Sirainen
4301e04791
Regexp ignores are now compiled when they're created, not every time
...
they're checked (every time a new line is received). This should reduce
some CPU load when using them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@812 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-07 00:06:35 +00:00
Timo Sirainen
da4d8445f1
small "fix"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-02 16:29:05 +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
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
b875e2e29d
signal_stop(); signal_emit("same signal", ...); didn't work. other way
...
around it did though
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@785 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27 01:18:16 +00:00
Timo Sirainen
e0bc134d66
Win32 updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-26 18:57:23 +00:00
Timo Sirainen
df10f182c0
Some fixes for compiling with Win32 :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-26 18:12:20 +00:00
Timo Sirainen
cefc72bfe7
Log items weren't read correctly from config
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-18 21:29:22 +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
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
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
f9a07afa5e
match_nick_flags() didn't check that the nick actually began with a flag.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 02:10:22 +00:00
Timo Sirainen
015a598fa3
[irc_]channels_setup_[de]init() calls were in wrong places.
...
Reconnection forgot to join to old channels after the first
reconnection try.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 01:43:05 +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
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
0ef25c9fb4
match_wildcards() failed if there was * at the end of the mask but
...
otherwise data matched (str* vs. str)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-13 21:47:32 +00:00
Timo Sirainen
55299b6b4a
Ignore was moved to core.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@729 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-11 22:01:23 +00:00
Timo Sirainen
3c78d95614
Moved ignore to core.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-09 23:40:18 +00:00
Timo Sirainen
0158782b02
Keyboard should never get stuck again when receiving huge amounts of
...
text from server that irssi doesn't handle fast enough.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-01 22:12:01 +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
414348ca3c
forgot to add this
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 22:59:37 +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
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
e256b3a108
Moved /DISCONNECT to core, other multiprotocol fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:47:51 +00:00
Timo Sirainen
ec8c613101
module deinit fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@686 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:46:20 +00:00
Timo Sirainen
29c8c6e1cd
net_gethostbyaddr() fixed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:45:17 +00:00
Timo Sirainen
79100fea45
modules are deinitialized at quit.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 23:43:53 +00:00
Timo Sirainen
b6de29afbd
/SERVER irc.server.org 1234 now connects to port 1234 always even if
...
some other port is specified for the same server in setup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27 00:25:26 +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
64e0b8d96b
backwards compatibility for s/ircnet/chanet/ change.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@673 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-26 21:39:33 +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
4969326cd6
line_split() : use g_memmove() instead of memcpy() .. hm. how could
...
this even work before? :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@650 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-06 21:54:53 +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
3edf444ca1
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-02 19:29:32 +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
28a7908e73
Added chat protocol register. Changed all chat_type fields to use it.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-01 00:26:46 +00:00
Timo Sirainen
b4bdec4436
Object type checking fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-30 22:29:55 +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
776895eeac
log_day_change was never printed in logs.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@629 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-25 21:10:05 +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
2e3a056110
/LAST - didn't work right.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:48:29 +00:00
Timo Sirainen
a02b903252
/MSG -servertag crashed irssi.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@609 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-15 21:54:33 +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
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
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
138079e3bd
Fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-31 20:40:24 +00:00
Timo Sirainen
c8706013f8
Moved some IRC specific server stuff to generic server stuff.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:30:54 +00:00
Timo Sirainen
87a8f71344
Bugfixes for non-irc server handling.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-30 17:19:16 +00:00
Timo Sirainen
ca402b6f66
send() - ignore EPIPE return value and just return "0 bytes sent". The broken
...
connection will be noticed after recv().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-29 15:35:45 +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
7f3f53bffe
net_sendbuffer_send(): use const void *data instead of void *data
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:41:34 +00:00
Timo Sirainen
76be0d746e
Added handle != -1 check to net_sendbuffer_create()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@520 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 13:34:39 +00:00
Timo Sirainen
a3a066e9cf
Don't allow recursive aliases.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@517 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 12:47:14 +00:00
Timo Sirainen
f83f64b6be
/SET settings_autosave - If set ON, settings are automatically saved
...
when quitting and once per hour.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@516 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 12:29:50 +00:00
Timo Sirainen
1a655f3575
is_numeric() returns now FALSE if it was given empty string.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@514 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 11:54:54 +00:00
Timo Sirainen
d9b661a1fb
Moved /SAVE and /RELOAD to fe-common. Print "config saved" and
...
"config reloaded" messages.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 22:05:29 +00:00
Timo Sirainen
aec85e1dbd
uname() return value checking fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@508 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22 19:14:57 +00:00
Timo Sirainen
8454f25561
Don't save autologs.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@501 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-21 22:55:20 +00:00
Timo Sirainen
11bac62935
typofix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@482 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 20:38:09 +00:00
Timo Sirainen
c2397475c5
Cleaned up code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-16 20:18:05 +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
2afaadb2d7
module_find_id() and module_find_id_str() didn't work right if the
...
requested module didn't have the specified uniqid.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@464 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-15 13:07:16 +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
8bea491a57
Moved is_base_command() from command completion to command_have_sub()
...
in core/commands.
/HELP <command with subcommands> works now right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09 00:03:46 +00:00
Timo Sirainen
21999ae205
Implemented runtime loadable modules. /LOAD loads a module, /UNLOAD
...
unloads it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@420 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 22:04:00 +00:00
Timo Sirainen
eee71a093a
Logs were closed and entirely removed after doing /RELOAD.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@418 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 18:52:15 +00:00
Timo Sirainen
b9cfabc419
/^command hides the output of the command, it's not written to log
...
either. Good for sending passwords for example.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 17:57:10 +00:00
Timo Sirainen
2f97b822fb
"Temporary error in nameserver" shouldn't remove server reconnections.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 11:56:38 +00:00
Timo Sirainen
c15f655bca
Automatic command and option completion didn't check ambiguous commands
...
right. For example /VER didn't work because there was /VERSION command
too..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02 11:30:19 +00:00
Timo Sirainen
68994bd738
Removed some warning messages.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 22:01:36 +00:00
Timo Sirainen
39282a342f
If joined channel had some low-ascii (color codes), they were displayed
...
wrong in statusbar and prompt. Also, if you're invited to some channel,
print the lowascii so that you can see them (^B, etc.)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-30 19:54:34 +00:00
Timo Sirainen
77adc998ef
/REHASH -> /RELOAD so it won't collide with the server's rehash command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 22:29:06 +00:00
Timo Sirainen
7e531cec7a
Automatic command completion and a few other fixes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 17:15:37 +00:00
Timo Sirainen
c248de0eca
-options can now be completed with tabulator. There's also automatic
...
completion for them, like instead of /join -invite you can use just
/join -i.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28 15:36:57 +00:00
Timo Sirainen
0dbfd281c9
Created signal_get_uniq_id() macro. Added some documentation about
...
signals to design.txt.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 23:39:23 +00:00
Timo Sirainen
69b8d4f81b
Subcommand and command parameter completion works now also if you use
...
alias as the base command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-25 22:59:49 +00:00
Timo Sirainen
d110c9cb3b
Added g_dirname() so ig_free() won't complain when free()ing it.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@366 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 10:02:39 +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
8fa6ca5e61
File name completion for /DCC SEND
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 15:58:40 +00:00
Timo Sirainen
f0d6ef99dc
Completion list is now sorted.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-17 13:16:42 +00:00
Timo Sirainen
919abb2c6f
/EVAL will now expand \n and \t to newline and tab.
...
If you /SET expand_escapes ON and type \n or \t to text line, they
will be expanded.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@326 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-11 22:58:17 +00:00
Timo Sirainen
89b47010b3
Changed the behaviour of how to handle "send command" signal (text you
...
typed to entry field).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 23:20:22 +00:00
Timo Sirainen
fbb5cd6990
same cmdchar twice ignores aliases ignores aliases - not any two cmdchars
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@316 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 22:48:18 +00:00
Timo Sirainen
9b6d5f7e99
Rotate time names changed :) week -> weekly, day -> daily, etc.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-10 08:39:19 +00:00
Timo Sirainen
0a1282765e
Use INADDR_BROADCAST if INADDR_NONE isn't defined.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-06 19:13:35 +00:00
Timo Sirainen
7755aae26b
0.7.90 released.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 16:01:19 +00:00
Timo Sirainen
a7f5540cba
/IRCNET command.
...
PARAM_FLAG_NOQUOTES flag for cmd_get_params()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 14:52:47 +00:00
Timo Sirainen
35fab0c9ef
Lots of DCC related fixes.
...
Added command_bind_first() and command_bind_last() functions.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 01:36:07 +00:00
Timo Sirainen
3d39cded63
bits2level() with zero as argument printed some glib warnings.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-03 18:54:59 +00:00
Timo Sirainen
0e65ba80ca
common-setup.h wasn't removed from here - Made rawlog to use
...
"log_create_mode" setting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02 01:04:42 +00:00
Timo Sirainen
4dd5c50390
match_wildcards() didn't work right if data contained '*' characters and
...
we were matching it to '*'..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 17:17:45 +00:00
Timo Sirainen
e5385ceb35
cmd_get_params() fixes:
...
- arguments and optional channel flags couldn't be used together
- -- argument treats the rest of the text as non-arguments, like
/topic -- -hello- sets the topic to -hello-.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-01 16:46:50 +00:00
Timo Sirainen
329fbd3ee8
signal_stop_by_name() didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 17:10:22 +00:00
Timo Sirainen
93173356bb
--with-modules=xxx builds now specified extra modules to irssi binary.
...
memdebug (if enabled) doesn't now by default check for buffer overflows
since it's a huge slowup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-29 16:37:00 +00:00
Timo Sirainen
64810700e2
Didn't compile with IPv6 support.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 17:12:44 +00:00
Timo Sirainen
2440a5b0b6
Unline glib.h tells, g_getenv() doesn't return newly allocated string
...
after all..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:54:43 +00:00
Timo Sirainen
69d15cfd79
If server's host name lookup fails, don't try to reconnect back to it.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 13:09:22 +00:00
Timo Sirainen
6e2f0ec988
"/ text" sends "text" to active channel.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@233 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 12:58:14 +00:00
Timo Sirainen
96020e6999
With some systems Irssi didn't notice if connect() failed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 12:52:38 +00:00
Timo Sirainen
76605ad0ae
Added bot plugin, it also has almost-functional botnet.
...
Changed configure.in's functionality so that you could tell what modules you
want to build in main irssi binary and it will create automatically the .c
files that need to call the module_init()/deinit() functions.
Fixed several minor things..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-25 11:30:47 +00:00
Timo Sirainen
ae25925a1f
Some logging fixes. Flood checking had a memory leak. Query had a small
...
memory leak. Text buffer fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@226 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-18 08:46:56 +00:00
Timo Sirainen
cbdaf7d06d
Lots of changes again. Biggest ones:
...
- window's text buffer should work better
- themes are almost working, you can change the text formats with /format
- automatically try to rejoin the channel after 5 minutes if the join there
failed because it was "temporarily unavailable" (netsplits)
- generally cleaning code..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15 08:25:45 +00:00
Timo Sirainen
bb4d7566c2
iconfig's caching was a bit buggy - it didn't notice if some config node was
...
removed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-10 13:57:42 +00:00
Timo Sirainen
93d6032151
- Compiling fixes
...
- GNOME version isn't anymore build here so you don't need all that GTK and
GNOME crap to compile irssi-text.
- Some fixes to compile with -ansi -pedantic
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-09 11:42:42 +00:00
Timo Sirainen
d3dc9a1307
.. lots of changes ..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04 10:32:42 +00:00
Timo Sirainen
a5a66264de
Perl working again, better than ever (unless there's bugs :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-28 08:07:42 +00:00
Timo Sirainen
9cbf26d519
If we return with cmd_param_error() or cmd_return_error(), call
...
signal_stop() so if the command is bound multiple times (like core, which
does the functionality and fe-common which prints the texts) it won't print
the error message ever twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-27 12:21:37 +00:00
Timo Sirainen
2b711f1383
updates
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:43:45 +00:00
Timo Sirainen
9044f31921
fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 09:37:31 +00:00
Timo Sirainen
c95034c6de
..adding new files..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26 08:03:38 +00:00