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

2435 Commits

Author SHA1 Message Date
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
f31b59b48b support for threaded perl. patch by mls@suse.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-19 14:30:10 +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
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
70ac684095 in_addr_t wasn't too standard, so use guint32 after all.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2918 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 07:29:48 +00:00
Timo Sirainen
c5095a422c s/guint32/in_addr_t/ actually.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:42:37 +00:00
Timo Sirainen
9805841e61 DCC was broken with some 64bit systems (64bit unsigned long)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14 00:36:20 +00:00
Timo Sirainen
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
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
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
6019a5cd15 Don't crash if /SET irssiproxy_ports is changed while having connected
clients


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:59:13 +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
fd6fe24317 a bit more fixes for +k updating
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2906 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:46:48 +00:00
Timo Sirainen
1faed99b33 Don't update channel key from 324 numeric, some servers send channel key as
"*" in it which breaks irssi.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2905 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 19:42:23 +00:00
Timo Sirainen
746ae09050 wait a bit longer before sending massjoin signal. also added a comment how
it's supposed to work.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-27 12:45:09 +00:00
Timo Sirainen
fce48d905b moved ncurses/terminfo/etc. libs away from PROG_LIBS which should be list of
common libraries for all ui frontends..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2899 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 23:58:59 +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
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
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
1b8e6d2e5b Don't crash if someone msgs you without host address (eg. dircproxy). Fix by
Antti.Siiskonen@tut.fi


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-26 15:12:32 +00:00
Timo Sirainen
4bb26bb951 If script returns 0 while it's being loaded, it's terminated without any
error message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 16:04:11 +00:00
Timo Sirainen
c7cfe9f3cb actually, eval {} it anyway so the script can be unloaded even if UNLOAD
fails..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 15:52:31 +00:00
Timo Sirainen
7c92a27256 better way to check if UNLOAD exists
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 15:49:12 +00:00
Timo Sirainen
0f8a81fdb1 UNLOAD method is called now for all scripts before they're destroyed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-25 15:44:48 +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
0b12cfe47b When checking for autojoin-on-invite channels, also check the short !channel
names.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-22 20:35:43 +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
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
452db286da another crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 15:12:34 +00:00
Timo Sirainen
577c6fdb78 crashfix for sbitem->{window}
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 14:40:23 +00:00
Timo Sirainen
c7d1fa390b Added window variable to Irssi::TextUI::StatusbarItem
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-08 13:56:00 +00:00
Timo Sirainen
d5ded8f977 Changed CTCP handler to remove the later \001 only if it was at the end of
the line, so you couldn't hide text by typing eg. \001foo\001hidden text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2870 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-05 01:38:49 +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
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
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
e7902ae551 Using Irssi::Ignore crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-04 13:18:17 +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
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
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
b38316c8ba Moved setlocale() at the beginning of initialization, should fix regexp
crashes with non-C locale.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01 17:32:05 +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
80b8d0628a $X expando didn't check if server type was irc properly, and crashed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-10 20:56:24 +00:00
Timo Sirainen
b2a7ac4686 irsis --dummy fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-07 15:52:16 +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
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
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
964ff29779 /SET irssiproxy_bind specifies the IP where to listen in, patch by BC-bd
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:14:31 +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
6910ca4d25 Added default meta-d = delete_next_word
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2840 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 19:15:43 +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
d1e55d91b7 "/MODE !channel" should send the full name to server
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2838 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-05 12:20:46 +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
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
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
a6d6ade680 event_cannot_join() - changed check from NAMES got -> JOIN got, so the
channel isn't destroyed if join is received. dircproxy sent us 477 with
+channels before names list, and irssi aborted the join.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:50:55 +00:00
Timo Sirainen
137aaeb499 "/MSG *" works now properly with dcc chat queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 17:39:35 +00:00
Timo Sirainen
eddc3d90c6 net_ip2host() and net_host2ip() now treat any IPv6 IPs as 0.0.0.0, if IPv6
support isn't enabled in irssi. Also DCC's human readable IP address is
taken from DCC SEND request directly with IPv6.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 16:52:36 +00:00
Timo Sirainen
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
6b7c38d1c6 use Symbol qw(delete_packge) -> use Symbol; Symbol::delete_package(). Maybe
this helps with perl 5.004 not to crash at beginning, or maybe not :) Can't
test myself.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2823 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26 14:36:44 +00:00
Timo Sirainen
933cbfe4b0 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-21 07:33:23 +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
09505d628c Irssi::get_gui() now returns IRSSI_GUI_xxx which is in use.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-20 03:25:48 +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
7437bbea5f When reconnected to server, send the away message directly to server instead
of calling /AWAY, so the away is set only to that one server..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 12:59:59 +00:00
Timo Sirainen
e2ffdfec50 don't crash if server sends us !channel name less than 6 chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19 08:18:09 +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
b9eda1adb6 External indent functions (theme_indent module) weren't working properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 11:51:04 +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
5be5d14890 Stop reconnecting on kills only if the kill was done by operator, not
server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18 05:59:13 +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
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
7b2f9bc50a removed useless functions
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2804 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 21:00:38 +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
ede752530e new !channel support was buggy, as I tried it only with channel names having
less than 5 chars :) Now it works so that if you join !channel, you see it
as !channel. If you join !ABCDEchannel, you'll again see that.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 14:49:15 +00:00
Timo Sirainen
c8187a9a76 crashfix for previous ~/. kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17 12:59:39 +00:00
Timo Sirainen
e6aa8415ef kludgeing: don't autoget files beginning with '.' if dcc_download_path is
home dir.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16 18:00:47 +00:00
Timo Sirainen
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
ee80e7601a ^ key couldn't be used with /BIND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-15 23:20:19 +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
b933f62111 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 18:25:21 +00:00
Timo Sirainen
a5f4fd43cc don't add same ban more than once to banlist.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 18:16:17 +00:00
Timo Sirainen
2adba92338 fixed memory leaks with several functions.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 17:57:19 +00:00
Timo Sirainen
d68bbeb5ef don't use TIOCGWINSZ terminal size if it returns only 0x0.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 17:11:04 +00:00
Timo Sirainen
ed966c6921 changed log domain and changed few g_return_if_fails to g_asserts. the
domain change makes all glib warnings be printed into stderr instead of
trying to print them into irssi window which most probably would just
mysteriously crash.

also irssi doesn't now crash if it thinks screen height is 0 :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2787 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 17:07:37 +00:00
Timo Sirainen
9a435e68f9 make sure the statusbar item fills the space it's given, so it won't corrupt
the statusbar.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2786 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 16:05:30 +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
0a4cedd83d Added format_create_dest() + $dest->print() functions. here's also our first
magic perl variable - many thanks to Qrczak for helping with it :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 14:45:54 +00:00
Timo Sirainen
9c038783a4 timeout_add_once() didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 13:50:45 +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
3ac451c608 some optimizations to not uselessly hide/show/move cursor - hope i didn't
break anything :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 14:48:11 +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
4a93232462 dcc reject bugfix went wrong, fixed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:20:02 +00:00
Timo Sirainen
583417d66e irssi didn't notice if DCC send connection died.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2777 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-12 11:19:13 +00:00
Timo Sirainen
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
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
bd4f506b63 added format_get_length(), format_real_length() and strip_codes()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 22:17:16 +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
308779dd4d freeze/thaw before/after running glib main loop, so the cursor isn't moved
uselessly around.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11 01:35:37 +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
d11483db4d typofix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 20:40:36 +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
5b5cd255e9 don't send DCC REJECT when closing a connected DCC connection.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 18:47:49 +00:00
Timo Sirainen
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
903ca7b757 more fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 13:13:06 +00:00
Timo Sirainen
d8fdfd225c another terminfo fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-10 12:35:05 +00:00
Timo Sirainen
7574aa5b62 separated author email
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09 13:08:04 +00:00
Timo Sirainen
ac61d08976 fixed /WHO handling
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09 03:01:40 +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
24c4a2e86d link with -export-dynamic. normally glib includes the dynamic linking info,
but not in all systems.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-08 00:27:46 +00:00
Timo Sirainen
c1384d919b return value wasn't a good idea after all - added Irssi::timeout_add_once()
instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-07 23:40:21 +00:00
Timo Sirainen
0d76b65381 non-zero return value in timeout and input handlers now stops it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-07 23:03:30 +00:00
Timo Sirainen
9405dc2ce8 fixed buffer overflow - happened at least when hitting ^A after writing
enough text to input line. usually didn't crash..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-06 04:58:47 +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
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