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

2393 Commits

Author SHA1 Message Date
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
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
61e8c12bb5 Irssi::timeout_add() - don't allow smaller values than 10
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2658 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-09 05:18:11 +00:00
Timo Sirainen
4187402348 workaround for some server that doesn't reply anything to pings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-05 09:09:30 +00:00
Timo Sirainen
52fee01584 if /CONNECT -! ircnet couldn't connect to first server, next was tried but
-! was forgotten.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2653 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-03 14:08:52 +00:00
Timo Sirainen
980f3b01c5 print() fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2651 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-01 18:57:40 +00:00
Timo Sirainen
bb3a1787b4 Listen for DCC connections in all interfaces
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 19:40:40 +00:00
Timo Sirainen
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
dc4b7456dc with 10 char usernames, ban "*234567890" instead of "*12345678*"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-31 12:04:57 +00:00
Timo Sirainen
230735f18b bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 20:59:37 +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
0d26146cf6 Perl's print and printf calls now write the text to irssi's window. You
can give the level like a file handle, eg. "print CRAP 'text';". You can
also give the window/server/target with $fh = $window->create_handle([level])
and $server->create_handle(target, [level]). Patch by juerd@juerd.nl


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 19:37:12 +00:00
Timo Sirainen
40bdfc4d70 Input lines are now never destroyed and they're associated to statusbar
name, so scripts can now do any statusbar changes without input line being
cleared.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 19:06:47 +00:00
Timo Sirainen
c9f6f04079 destruct level isn't touched anymore, it crashes irssi with a few people..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-24 16:35:20 +00:00
Timo Sirainen
1872087642 $topic shouldn't crash if query doesn't have a valid address set yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2639 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-23 17:42:48 +00:00
Timo Sirainen
8d2a14b476 Add server tag as well to topicbar with queries
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-22 22:30:45 +00:00
Timo Sirainen
650292613e /CLEAR <refnum> now clears specified window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-19 17:24:28 +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
091095fff3 Allow /OP, etc. commands for server operators as well. They may not work
everywhere, but the whole point of the check was to avoid accidental /OP *
or something while not opped in some huge channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 09:13:18 +00:00
Timo Sirainen
500ae5773e If autojoining to !channel failed because it didn't exist, create it by
joining to !!channel


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 02:50:12 +00:00
Timo Sirainen
0a02833d0e fallback to rename() if link() isn't supported on the filesystem, so people
can still download files to such FSes..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-17 00:59:46 +00:00
Timo Sirainen
88654c4468 term_deinit() should set SIGCONT back to default, so if it's sent after that
it won't crash (gnome-terminal does that for some reason)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 23:17:33 +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
665ad121a8 "make clean" now cleans all perl subdirs properly too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2621 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-16 11:14:35 +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
e1ff1b014a Dropped the bot-plugin. It's not useful to anyone really.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2619 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-15 21:07:19 +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
6a89217d6a Get the terminal size at startup with ioctl() and use it. Fixes at least
NetBSD.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2616 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:46:48 +00:00
Timo Sirainen
85a1b122cd Scrolling was buggy with "ri" method, it tried to used "rin" as well
which crashed irssi.. Happened at least with NetBSD/sparc.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:33:33 +00:00
Timo Sirainen
bd7e173c63 Fixed that "nick already in split list, how?" bug with a patch from fuchs.
I didn't realize someone else could change nick to one in the split list. :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 23:01:57 +00:00
Timo Sirainen
2a1b4c0a17 $window->command() changed active window temporarily to wanted one and then
back to old one. This wasn't very good idea if the old window was destroyed
by the command..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 21:59:16 +00:00
Timo Sirainen
2ab05e7872 $cumode and $cumode_space should do stuff only to IRC servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 11:36:31 +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
265ecbc74d Don't crash if there's no prefixes (botti doesn't) when loading module.
Patch by aldem-irssi@aldem.net


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-14 01:54:05 +00:00
Timo Sirainen
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
3800c07a32 bit fields should be unsigned type always (unsigned int dirty:1).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:23:38 +00:00
Timo Sirainen
c726496953 proper checking for lseek() failure
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:19:04 +00:00
Timo Sirainen
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
86dcbd11e4 If queried nick did a nick change, it might have crashed irssi.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2599 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 03:06:31 +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
4770c1c4ee *** empty log message ***
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 02:59:01 +00:00
Timo Sirainen
bfb8e8da33 removed the debugging code..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2593 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:33:30 +00:00
Timo Sirainen
8ba1989227 Set ownnick to channel->NULL when the nick record is destroyed. Should fix
some perl script errors.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:30:20 +00:00
Timo Sirainen
2a57e797ce When IPv4 or v6 wasn't forced, irssi picked improperly IPv4 even if there
was only v6 address.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 01:21:11 +00:00
Timo Sirainen
7b1d5ed41a added some debugging code to irssi_bless_iobject() - can it really be an
overflow? :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-13 00:40:12 +00:00
Timo Sirainen
65e87c9861 fix to some broken "ircds"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-12 20:51:03 +00:00
Timo Sirainen
d5564a0e01 New queries should begin with last_unread_msg timestamp set to now. This
fixes /SET autoclose_query >0 + /SET autocreate_own_query ON closing queries
created by your /MSG almost immediately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2588 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 18:20:42 +00:00
Timo Sirainen
f4bd37a406 make clean should remove libirc_proxy.a symlink
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 18:14:29 +00:00
Timo Sirainen
5fde51a364 added ownnick to Irssi::Channel
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 16:44:42 +00:00
Timo Sirainen
2865d3a33f /SET max_wildcard_modes 0 should disable the checking
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 04:30:13 +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
Timo Sirainen
abe4e30256 Safer flood protection for lines longer than 100 chars. Maybe even a bit too
safe but generally you write lines less than 100 chars so it shouldn't
really matter. Calculated (2 + line_length/100) in seconds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 03:11:18 +00:00
Timo Sirainen
1528cfc9d7 All control chars in statusbar items are now displayed reversed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 02:07:05 +00:00
Timo Sirainen
966ed97f2a Added -4 | -6 to /SERVER ADD syntax.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 21:38:10 +00:00
Timo Sirainen
1855e6cc5c /SERVER ADD -ircnet should add the network to config with the same case as
in /IRCNET list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2568 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:58:16 +00:00
Timo Sirainen
1997b58c3a whops, stupid utf-8 bug :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:43:35 +00:00
Timo Sirainen
ba09292f55 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:40:06 +00:00
Timo Sirainen
9398746e61 Automatically change the nick to correct case in queries (eg. you did
/QUERY nick, and the nick really was Nick, irssi would change the query to
Nick as well)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2565 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:23:22 +00:00
Timo Sirainen
9d423576aa If -4 or -6 option is used with /SERVER, force the correct protocol match.
eg. /SERVER -6 host either connects to IPv6 host or fails.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:14:04 +00:00
Timo Sirainen
b18af319cf term_addch() : utf-8 fixes for cursor positioning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2563 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 19:03:27 +00:00
Timo Sirainen
e5ab1daf30 When input line is in redirection mode, allow empty lines (eg. enter after
/OPER now aborts it)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2562 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:36:35 +00:00
Timo Sirainen
25ed0acc65 If you had query with "X" but the nick really was "x", and after nick change
to "X" you saw "X changed nick to X"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:23:37 +00:00
Timo Sirainen
aae7eae9a0 Added /SET max_wildcard_modes (default 6) - if a wildcard to /OP, /DEOP,
/VOICE or /DEVOICE matches more nicks than this, -yes option is required.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:15:03 +00:00
Timo Sirainen
15e716e283 Added '.' to known nick flag characters. Also supports having multiple flag
chars in /NAMES list, so eg. "@+nick" works or ".@nick" which is already
used by some servers.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 16:00:38 +00:00
Timo Sirainen
b89fb4a549 Never ignore kick msg if you get kicked from channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2558 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:46:22 +00:00
Timo Sirainen
6d6b02d10e Netjoins in +channels were printed as if users joined to "channel" and all
of them had ops, so the message always went to status/active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:42:52 +00:00
Timo Sirainen
0d54e4e299 SIGHUP now does /RELOAD - useful with for example /SBAR prompt DISABLE when
you don't have an input line to recover :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:20:44 +00:00
Timo Sirainen
ee8229be48 /CYCLE tried to do /PART twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:12:13 +00:00
Timo Sirainen
a868bbe124 /CAT prints files now with CLIENTCRAP + NEVER level, so timestamps aren't
printed. Also since /AWAY prints the awaylog using /CAT, we don't get
timestamps there either now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 15:07:57 +00:00
Timo Sirainen
ca234bdf5e *** empty log message ***
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:55:46 +00:00
Timo Sirainen
418678bc95 /CYCLE reason didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:46:40 +00:00
Timo Sirainen
44247af3ff /KNOCKOUT code was a bit stupid, and the timeout checking wasn't very
/accurate.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:31:07 +00:00
Timo Sirainen
8d245f2ddf Don't send -autosendcmd after /UPGRADE.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:28:08 +00:00
Timo Sirainen
9293d23da2 /SET autoclose_query - now only last received private message affects when
the query is closed, ie. /WHOIS requests or nick changes don't reset the
counter.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:24:08 +00:00
Timo Sirainen
b67e363cde Foreground ANSI colors weren't working
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:22:59 +00:00
Timo Sirainen
7c9ac989ff No more infobar, but in empty windows topicbar contains the URL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10 14:02:33 +00:00
Timo Sirainen
95d8b617ae Irssi didn't work properly if read() returned only partial utf8 character
string.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 17:54:38 +00:00
Timo Sirainen
34e5a31673 "use Irssi" now prints a warning if it's used outside irssi, but doesn't
die.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-09 12:17:32 +00:00