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
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
8009aae044
tss@iki.fi -> cras@irssi.org
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-01 22:52:51 +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
91882b1a2b
irc_send_cmd_split() printed glib warning if nick parameter didn't exist.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-29 19:39:57 +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
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
7d0af00133
perl hash length fixes, they're also automatically checked now in
...
autogen.sh (by peder)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2736 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 13:24:27 +00:00
Timo Sirainen
c8188b61a8
$witem->{data_level} didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 11:30:49 +00:00
Timo Sirainen
5960fcf8cf
added %# to a few "/window" lines.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 11:30:31 +00:00
Timo Sirainen
f515c16890
minor fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-28 11:30:09 +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
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
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
abdd0f04c5
Irssi::Theme::get_format() now uses format tag instead of number.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 19:42:15 +00:00
Timo Sirainen
ad9329a1a6
added Irssi::Theme::get_format()
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 19:35:17 +00:00
Timo Sirainen
a68d8dd539
Irssi::format_get_text() didn't work
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 18:41:59 +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
c5a6c78ba4
Irssi::command_bind*() commands were still using broken old signal
...
priorities
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 17:57:29 +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
e447edc0e8
signal_add_first("event join".. so normal join handlers can know about the
...
nick.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-27 01:38:30 +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
33738b682c
Don't treat +d as regular channel mode.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-26 13:04:16 +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
0cc7baa7df
channel->topic_by now always contains the host info too (nick!user@host).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-24 12:38:27 +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
30802787dc
added $query->{last_unread_msg}
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-23 17:31:50 +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
3f43df1db8
warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2708 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-23 08:53:23 +00:00
Timo Sirainen
e47cab1ecc
Added setby-parameter to "nick mode changed" and "channel mode changed"
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-22 09:47:13 +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
92b780ff60
/SET dcc_send_replace_space_with_underscore - patch by nix@suhs.nu
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-18 15:25:00 +00:00
Timo Sirainen
77b25c1ac7
sig_gui_print_text: don't crash if dest is NULL.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-18 07:47:27 +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
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
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
9b74ba4e5c
fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-16 19:51:44 +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
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
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
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
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
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
aa95b7f305
/SET dcc_autoget_max_size default changed to 0 (disabled) - it's pretty
...
stupid default since no-one wants it anyway
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-11 13:54:23 +00:00
Timo Sirainen
bd00ff54c2
Fixed one error and several warnings with GLIB 2.0
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-10 02:53:06 +00:00
Timo Sirainen
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