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

1054 Commits

Author SHA1 Message Date
Timo Sirainen
d4879020da /HILIGHT listing was missing space sometimes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3092 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-06 19:20:24 +00:00
Timo Sirainen
4c506b4352 don't crash with /set completion_keep_privates 0
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-31 16:06:47 +00:00
Timo Sirainen
43893ce50e typo: themes weren't defaulting their abstracts to internal theme
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 16:11:16 +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
9c18cb00e7 Added support to define new default abstracts at runtime.
Irssi::abstracts_register([key => value, ...]);


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 15:25:10 +00:00
Timo Sirainen
9ef3044e98 /set ignore_hide_targets supports now also checking for servertag/target
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3076 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 14:20:08 +00:00
Timo Sirainen
a3914f2586 Added 308 whois numeric
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-27 08:33:41 +00:00
Timo Sirainen
d5bc95bc22 Make sure we aren't using a destroyed theme
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 08:36:25 +00:00
Timo Sirainen
e0c66e3122 Previous theme patch fixes by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-11 10:00:51 +00:00
Timo Sirainen
6825f1e67e GC fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 20:30:03 +00:00
Timo Sirainen
bb55d3ff4d A few fixes to make irssi work with garbage collected GLIB.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 17:31:26 +00:00
Timo Sirainen
54000e1908 make printnicks global
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 20:52:33 +00:00
Timo Sirainen
abd9e6f616 Better support %n in theme abstracts. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04 20:51:51 +00:00
Timo Sirainen
ed444e1c5f /NETSPLIT now prints the server tag as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-28 23:19:03 +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
ecff491e02 Prettier displaying of DCC transfers, including adding ETA.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:48:03 +00:00
Timo Sirainen
7c7afe9f54 completion_msg() is now public
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3019 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21 18:24:51 +00:00
Timo Sirainen
0368fa6b5b Try to choose better the window where we print when matching by level and
multiple windows have a match. Should fix problems with query windows with a
default msgs window + /SET window_check_level_first ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3002 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-15 09:04:47 +00:00
Timo Sirainen
9b8406f335 /WINDOW NAME x, /WINDOW NAME X shouldn't complain about existing window
having same name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3001 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-15 09:03:35 +00:00
Timo Sirainen
b5a13fd80b Don't highlight whois_extra and whois_special lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-13 09:24:25 +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
ca4328e3ab Added #define DEFAULT_SERVER_ADD_PORT to common.h which /SERVER ADD uses as
default port. Fixed autoconnecting to use port 0 (default) instead of forced
6667.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-21 19:05:44 +00:00
Timo Sirainen
37995ea05f /SERVER and /DISCONNECT handlers moved from irc to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-21 19:03:47 +00:00
Timo Sirainen
2db9e25f5e don't crash when trying to print with non-existent module in theme..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-18 13:19:45 +00:00
Timo Sirainen
b5e80f3507 When ignoring without any options, don't print the []
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-16 19:35:09 +00:00
Timo Sirainen
93253a7353 Adde -servertag to /MSG completion always with >1 connected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-16 19:13:46 +00:00
Timo Sirainen
36ad96ed2c Complete tags to /RECONNECT too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 18:34:11 +00:00
Timo Sirainen
fb5c4c8037 More tab completion: /DISCONNECT, /SERVER ADD|REMOVE, /STATS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 16:12:01 +00:00
Timo Sirainen
77b3ab3c44 Autolog shouldn't crash when lines are written without destination window
(can happen at /upgrade)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:33:55 +00:00
Timo Sirainen
55c2e7a066 /SET dcc_file_create_mode wasn't used. Also print strerror() message if
creation fails.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:26:26 +00:00
Timo Sirainen
4ed5e9adf6 Correct handling of /NOTICE @#channel, patch by dg
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 15:18:32 +00:00
Timo Sirainen
fae3ae2bfc Better print /HILIGHT lines. Also cleanup for /IGNORE lines.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 12:03:37 +00:00
Timo Sirainen
45883d7f36 Better message for /IGNORE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:57:01 +00:00
Timo Sirainen
9ab017b3fa /LAYOUT SAVE doesn't crash anymore with /EXEC -interactives
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2945 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:52:13 +00:00
Timo Sirainen
7c11b314eb /UNQUERY and /WINDOW GOTO now ignores trailing whitespace
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14 11:39:36 +00:00
Timo Sirainen
01c9fddeba Less kludgy way to handle /SET skip_motd. Works now with laggy servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-10 01:55:24 +00:00
Timo Sirainen
3a7f566173 /QUERY reverted back.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-06 16:20:42 +00:00
Timo Sirainen
145b91bf6c msgs window didn't include ACTIONS but status did, so private actions went
always to status window if both status+msgs existed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-03 22:21:32 +00:00
Timo Sirainen
1c7fc48b08 "/QUERY" no longer unqueries, but just complains about not getting enough
parameters. Lets see how many people dislike this change...


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-19 15:07:57 +00:00
Timo Sirainen
fe73785c7a /CYCLE !channel works now properly too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-18 17:44:04 +00:00
Timo Sirainen
777349ecc1 !channels weren't rejoined to correct window after reconnect/cycle.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-18 17:02:58 +00:00
Timo Sirainen
74e9e265a5 when server connection was finished, it didn't move from connect_server to
active_server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-15 01:04:40 +00:00
Timo Sirainen
bb2ed605e5 added /WINDOW MOVE FIRST and /WINDOW MOVE LAST.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2923 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:30:05 +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
a83366069f window->active_server used to hold non-connected servers, but that was
removed before because it created several problems, especially with scripts.
however that change made /server and /disconnect annoying to use with
non-connected servers.

so, now we have window->connect_server as well. either active_server or
connect_server is set, but never both. commands that can deal properly with
non-connected servers can now use the connect_server, while everyone else
happily thinks that no server is active.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2921 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 23:14:04 +00:00
Timo Sirainen
06ef9b523f autologs weren't closed when channel was left, or query was destroyed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2911 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-07 18:16:59 +00:00
Timo Sirainen
b532986e5b changed /FORMAT default_event -> default_event_server (sorry for breaking
some themes, this is just so much better name for it :) and added a new
default_event, which is the format for default numeric events from your
current server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-31 16:13:18 +00:00
Timo Sirainen
886c92e141 /FOREACH WINDOW /WINDOW CLOSE could crash irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2907 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:45:43 +00:00
Timo Sirainen
a6c4e47376 A few missing parts from SSL patch.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 19:40:04 +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
0c359be8e5 Added $2 = numeric to /FORMAT default_event
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-22 21:10:40 +00:00
Timo Sirainen
38ce412a5d /RELOADing broken theme file doesn't crash irssi anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-22 20:49:07 +00:00
Timo Sirainen
3303db4e87 Added support for 439 numeric ("Target change too fast") which may tell that
join was aborted.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-21 17:26:40 +00:00
Timo Sirainen
eb0bb65c7f comment update
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16 16:20:49 +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
ddfc6aebcc comment update
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:45:16 +00:00
Timo Sirainen
35889a4ca8 the -nick fix broke things :) now a proper fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:39:07 +00:00
Timo Sirainen
ac86432503 nick tracking change: now it renames the query only if the old nick doesn't
exist in any channel with you


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 21:13:33 +00:00
Timo Sirainen
e1b4a2ff8e Query nick tracking: don't change query's nick if both the old and new nicks
exist in one channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2860 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 20:48:03 +00:00
Timo Sirainen
ea24fe9aeb fixed query to work with nicks beginning with '-' char
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 18:03:40 +00:00
Timo Sirainen
b9b0917897 strip_codes() didn't handle ANSI colors properly, and if used at the end of
line it might have crashed irssi (especially with topics). yeah, remote
crash. great.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-19 03:06:05 +00:00
Timo Sirainen
648a43ce14 updated dancer's channel forwarding support - using +f channel mode now, and
we won't print whois_modes anymore after forwarding.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-13 21:59:25 +00:00
Timo Sirainen
cfa4966dc3 Wallop actions fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2852 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-13 21:47:40 +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
da1252cf2c /NAMES list isn't displayed on join when channel is joined because of
/UPGRADE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 23:40:37 +00:00
Timo Sirainen
191db05893 use signal_add_last("channel joined") for printing /NAMES list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2847 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 23:36:07 +00:00
Timo Sirainen
55b4ae92b8 Added /SET show_names_on_join, /QUOTE NAMES #channel now prints the names
list in raw format rather than just ignoring the reply and printing the
nicks from cache.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:41:38 +00:00
Timo Sirainen
82a6407634 /SET -default changes setting to it's default value.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:22:38 +00:00
Timo Sirainen
694251442c Lines beginning with '#' in ~/.irssi/startup file are now treated as
comments


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 19:23:13 +00:00
Timo Sirainen
f40e9513b2 When completing words beginning with '/' or '~' chars, treat them as
filenames.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 19:22:16 +00:00
Timo Sirainen
5cfaa5bb7a Finally - /^msg nick never autocreates an empty window anymore. Added new
extern int command_hide_output which can be used to check if /^ was used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2839 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-05 20:11:10 +00:00
Timo Sirainen
2013e4b004 /UNALIAS didn't work if it had space at the end.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 21:23:34 +00:00
Timo Sirainen
9092649c74 /AWAY reason tab completion shouldn't append space at the end.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 21:23:17 +00:00
Timo Sirainen
0b121d3816 Don't set window's server yet at "server looking" stage, as everything isn't
initialized yet and some things could crash irssi. But this is rather nice
feature actually, /disconnect and /server would work nicely before server is
even being connected to .. i guess i should figure out a better way to do
this, "server init" signal or something.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2835 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 21:18:32 +00:00
Timo Sirainen
1c2be864ee /exec -interactive window items didn't have get_target() which crashed
irssi at some point if they were used. patch by peder.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2834 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 20:47:36 +00:00
Timo Sirainen
8d41e24b58 Support for 330 whois event (auth) in qnet
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2833 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04 20:04:46 +00:00
Timo Sirainen
4fe68fcdd0 Don't show the full channel name with own joins, because it's logged into
different file than everything else. You can still see the full name with
/WHOIS.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-31 17:02:28 +00:00
Timo Sirainen
8f00c21b98 "message own_public" should be printed with channel's visible_name, not
name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2831 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-31 16:47:08 +00:00
Timo Sirainen
700df91429 /ALIAS and /UNALIAS completion, patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:58:38 +00:00
Timo Sirainen
137aaeb499 "/MSG *" works now properly with dcc chat queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:39:35 +00:00
Timo Sirainen
b95f6acc4f /AWAY reason tab completion, patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2824 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 16:30:19 +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
dc0088f584 hilight + keyboard fixes so it's possible for xirssi to modify them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2816 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 06:50:50 +00:00
Timo Sirainen
86ab5ade86 /IGNORE -pattern now always assumes you want to create a new ignore. If you
wish to update existing, /UNIGNORE it first.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 07:48:23 +00:00
Timo Sirainen
3b5b10791a banlist_find() is now public. "event 367" (banlist) shows now ban number in
our list, if it's known.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 03:07:57 +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
e177b3fe94 Added /COMPLETION -delete and some fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16 06:21:21 +00:00
Timo Sirainen
622d239deb Added /COMPLETION command for tab + auto-completion. Config file format
changed for both as well, so you need to re-add them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16 01:42:15 +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
d39b8363ef /SET help_path now supports multiple paths separated with ':' - patch by c0ffee
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 19:26:25 +00:00
Timo Sirainen
9d9ac40cad /FORMAT whowas change: ircname -> was, maybe this will make automatic
whowas-on-whois replies a bit more noticeable.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2785 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 15:30:23 +00:00
Timo Sirainen
15eaa7cc88 Split nick and host for topic info format.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 15:18:10 +00:00
Timo Sirainen
22e9fa49dc "alias xx", not "aliases xx"..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2780 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 14:23:05 +00:00
Timo Sirainen
a74c8e4d55 added "alias added" and "alias removed" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 14:06:08 +00:00
Timo Sirainen
ed1eb46eb4 /set hide_mirc_colors -> /set hide_colors, which also hides ANSI colors.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2776 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 00:51:07 +00:00
Timo Sirainen
8e1233e395 removed the complaining about NULLs in string formats, they're more trouble
than worth I think.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 21:57:51 +00:00
Timo Sirainen
c75099cbab closing /EXEC -interactive window may have crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 19:00:38 +00:00
Timo Sirainen
1ae2d31cc8 window_bind_add() the query->server_tag, not server->tag as server can be
null and crash.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2766 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 18:32:50 +00:00
Timo Sirainen
7e9f47e8f9 /SET hilight_nick_matches - NO disables hilighting your own nick at
beginning of line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-08 10:59:47 +00:00
Timo Sirainen
b7583c188e window_set_name() - when setting it to "", set it NULL instead.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-04 23:07:43 +00:00
Timo Sirainen
8a7bc3b667 don't leave active_win corrupted if last window is killed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-04 19:44:25 +00:00
Timo Sirainen
70d377b865 Added completion for /LOAD and /WINDOW ITEM MOVE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 22:39:06 +00:00
Timo Sirainen
f376e558f7 reversed the window->items change, it broke ^X
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 22:35:01 +00:00
Timo Sirainen
55c2554dba format_read_arglist() now prints the format name also when complaining about
parameters.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02 15:55:26 +00:00
Timo Sirainen
73b099cef5 Removed the "GLib" text from glib_error format, to stop people thinking they
have something to do with glib itself.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-01 18:30:45 +00:00
Timo Sirainen
947c1bb1c6 /notice *, /ctcp * and /nctcp * crashed if there wasn't active window item.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30 22:39:13 +00:00
Timo Sirainen
9aa40d0e58 keep the window items sorted in window->items list, based on when they were
last active (just like windows list)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-30 00:30:53 +00:00
Timo Sirainen
904a4fa830 make sure nick changes in query don't print warning if query->address is
null


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-29 00:11:18 +00:00
Timo Sirainen
cb85b0081e added host param to your_nick_changed format too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 11:29:49 +00:00
Timo Sirainen
086e8ac2ff mode change printing fixes, forgot to commit :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2731 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 11:28:21 +00:00
Timo Sirainen
4b45f190a2 add temporary window bind if connection is lost with dcc chat.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2729 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 21:09:39 +00:00
Timo Sirainen
18143d6bd8 /layout save saves !channels using the short name now, so they work properly
again


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 20:13:27 +00:00
Timo Sirainen
2321deb9d3 /EXEC -quiet now hides the output entirely.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2724 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 18:34:40 +00:00
Timo Sirainen
f1efdc6eaa /BIND list changes: added header/footer, added %#, bind_key -> bind_list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 02:07:18 +00:00
Timo Sirainen
131326fb49 removed handling of "you're not chanop" event so that the default handler
may print the server which sends it (useful with desyncs)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 20:02:52 +00:00
Timo Sirainen
64c8feeede %# now toggles monospace font on/off. fe-text doesn't care about it, but
gtk/kde UI does. By default, all lists are printed using monospace fonts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 15:43:09 +00:00
Timo Sirainen
88ee09e526 /WINDOW GOTO channel|query didn't work if their server was different from
the one in active window. Also removed a kludge of automatically trying to
find #-prefixed channels if it wasn't given.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 13:01:06 +00:00
Timo Sirainen
90f7cd904c some nick change events didn't print the address parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-25 15:47:06 +00:00
Timo Sirainen
1c72768b93 added host parameter to /format nick_changed, own_nick_changed and
chanmode_change


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-24 08:52:33 +00:00
Timo Sirainen
22c0877b56 "message mode" -> "message irc mode", also added in signals.txt
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-22 09:12:41 +00:00
Timo Sirainen
bcc1bc73be struct naming changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-21 17:31:23 +00:00
Timo Sirainen
97af1210e1 signal leak fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-19 08:32:46 +00:00
Timo Sirainen
8936da1f6d /QUERY existing_nick now switches to the window where it exists, instead of
complaining about /window item move (same fix as to /join recently).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 21:04:25 +00:00
Timo Sirainen
970b49df1a "gui print text" signal changed, last parameter is now TEXT_DEST_REC, not
level.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 21:02:41 +00:00
Timo Sirainen
1ab2cfc1b1 /WINDOW ITEM GOTO now accepts a number too, to jump to nth window item.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-17 15:30:26 +00:00
Timo Sirainen
ccc66293c2 signal leak fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 14:33:47 +00:00
Timo Sirainen
53d595ba7f fixed several signal leaks
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 14:06:57 +00:00
Timo Sirainen
15667ec7ff GLib errors printed to stderr didn't contain \n
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15 13:52:23 +00:00
Timo Sirainen
e03bd9b727 /EXEC -interactive : only numbered /execs should have the % prefix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-14 16:30:13 +00:00
Timo Sirainen
d25bb43043 /WINDOW NAME now ignores if you're setting same name to it without
complaining.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-14 16:26:08 +00:00
Timo Sirainen
607b440627 If some keycombo can't be expanded, add it to state list as-is so it can use
existing combos given by GUI.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2671 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-13 12:28:01 +00:00
Timo Sirainen
0d89364768 Wrong casting with glib2 fix - GSearchFunc, not GCompareFunc :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2670 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 22:58:26 +00:00
Timo Sirainen
5ff21626b2 address parameter was missing from /FORMAT invite, nick_changed, kick and
topic.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 22:55:10 +00:00
Timo Sirainen
d5c15a8ee3 /EXEC -out now sends /msg -nick | -channel so it works properly with silc
channels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 19:45:59 +00:00
Timo Sirainen
dfed19a3c8 window_change_server() : don't change server if it's being disconnected.
fixes a crash with multiple channels being in one windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12 19:41:51 +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
c89ee2a92e Removed the now useless "/window item move" help with /join
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2661 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-09 19:06:20 +00:00
Timo Sirainen
b1a385b2b4 /JOIN #existing_channel jumps to the window where it's joined.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2660 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-09 19:05:44 +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
1f1dd3fea8 Added "nothing" action to /BIND.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 20:41:07 +00:00
Timo Sirainen
753f3666aa Sort /HELP output better when using multiple categories. Patch by c0ffee.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-19 12:28:55 +00:00
Timo Sirainen
ee3a30e16b $1 can now be used as server tag in /SET autolog_path. This is useful when
you want to log for specified tag before the server exists yet so $tag
wouldn't work. This happens at least when queries print the "querying nick"
text at startup.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 13:28:20 +00:00
Timo Sirainen
0687b42b3e /PART in SILC destroys the channel immediately, so we'll need to check
that it's not destroyed when doing it in /CYCLE..


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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 00:05:55 +00:00
Timo Sirainen
7d58cc000f Don't crash when trying to print text when there's no windows yet. Also
print the text to stdout.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 06:44:06 +00:00
Timo Sirainen
064d8d3926 "make dist" now doesn't add irc.c / irc-modules.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:30:07 +00:00
Timo Sirainen
fc20431dbb when autochanging query's nick to be correct case, don't print the
"nick changed" message


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2600 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:15:39 +00:00
Timo Sirainen
649253e180 ARGH! I hate this new behaviour of CVS not asking if I want to abort
the message - have to RTFM to see if I can get old behaviour back :)

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

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


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2598 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:02:55 +00:00
Timo Sirainen
8fa39c23a7 default_color checks moved from fe-text to fe-common, so they work properly
with window-specific themes. also should fix some weird problems related to
them and gui_printtext_after().


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:45:57 +00:00