1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04:00
Commit Graph

846 Commits

Author SHA1 Message Date
Timo Sirainen
2faf78fe7c ban -> bans, just like in .c file :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1087 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:44:02 +00:00
Timo Sirainen
14dbcd00bf "return 1" doesn't anymore stop signals in perl scripts. Fixed
Irssi::signal_stop() to properly stop the signal from going to other
perl scripts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1086 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:23:06 +00:00
Timo Sirainen
a2d9661982 Don't write indent spaces to empty lines
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 08:05:14 +00:00
Timo Sirainen
9745db6925 Fixes for printing errors in themes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:58:15 +00:00
Timo Sirainen
f8f6d7670a Template packing: After $variables the color could be anything, don't
even try to guess it.

Some changes to templates in theme. Nick mode is now separate argument.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07 07:48:56 +00:00
Timo Sirainen
069d9f3f02 nick_match_msg() : check was case sensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 23:49:19 +00:00
Timo Sirainen
341cd55587 Perl updates. Lots of updates to perl documentation :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:59:28 +00:00
Timo Sirainen
dd68c2fa5f Removed window parameter from window_item_remove() and
window_item_destroy()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:58:28 +00:00
Timo Sirainen
28465db59c theme updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1078 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 21:57:06 +00:00
Timo Sirainen
ba4b59d134 When msg list is full, remove old messages, not new messages..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06 15:39:36 +00:00
Timo Sirainen
0a44c31101 /HELP: Set indent to 0 when printing text. syntax.pl now changes tabs
to 9 spaces at the start of lines in help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 09:43:38 +00:00
Timo Sirainen
19d111eff4 printtext_string() fix, should actually work now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1073 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:34:39 +00:00
Timo Sirainen
86aa2d514d Added printtext_string() which works like printtext(), except it prints
text from a string, so that %s, %d, etc. don't work. Changed perl's
Irssi::print() use this instead as well as /HELP printer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 08:30:01 +00:00
Timo Sirainen
5eaec93b29 Removed wrong SYNTAX: NOTICE, it's already correctly in irc/core
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1070 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:26:06 +00:00
Timo Sirainen
64dcb756b6 /BIND comment updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1069 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 07:22:58 +00:00
Timo Sirainen
b4f4a1a9dd In "Configuration file was modified ..." text, added "Use /SAVE or
/RELOAD to get rid of this message."


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1068 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05 06:49:47 +00:00
Timo Sirainen
59d46dcadf MIRC colors >=16 changed to work as in MIRC (color %= 16)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1066 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:20:09 +00:00
Timo Sirainen
93c0086d41 Complain about errors in theme file
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1065 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 19:01:01 +00:00
Timo Sirainen
d431bea439 Renamed libtool-static to libtool-shared. Generating it should now also
work properly with older libtool versions than 1.3.5.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:35:26 +00:00
Timo Sirainen
596ef586b2 Added keyboard_entry_redirect() function to keyboard.[ch] which sends
the signal "gui entry redirect" signal. Added possibility to keep the
entry hidden.

/OPER [<nick> [<password>]] - syntax changed. If password isn't given,
it's asked.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 18:01:51 +00:00
Timo Sirainen
d844880515 /UNBAN <ref#> works. /BAN list shows reference numbers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:28:26 +00:00
Timo Sirainen
f3f80c1499 Allow stopping signal more than once without sending GLib warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1061 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:27:21 +00:00
Timo Sirainen
60df6d7be8 fixed minor memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 17:13:29 +00:00
Timo Sirainen
fe8710ac41 Unbinding commands didn't work properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 09:45:46 +00:00
Timo Sirainen
69f3b3f159 /LIST: don't require -yes option if there's 1000 channels or less.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:49:48 +00:00
Timo Sirainen
131825ea0e /WINDOW NUMBER: fixed small memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04 08:35:33 +00:00
Timo Sirainen
1e4c658a18 Removed the "signal" and "last signal" signals. Changed perl's
signaling system to work without them, it should now work faster and
better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1053 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-03 07:34:12 +00:00
Timo Sirainen
db66d47e26 "No such nick xx" is printed now with nick argument so it could get
printed to query window with xx


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1052 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 19:15:24 +00:00
Timo Sirainen
be4b473be5 /SET dcc_autoresume - like /SET dcc_autoget, but resume the files if
they're already found. Also fixed file transfer being stuck when
resuming file that was already fully sent (happened with both send and
get). /dcc close was also broken.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1051 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 16:14:19 +00:00
Timo Sirainen
d58ea58abc net_accept(), net_getsockname() IPv6 fixes pointed out by pv2b :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1050 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 07:05:07 +00:00
Timo Sirainen
806e1f0765 removed the win32 EINPROGRESS define, that wouldn't work anyway
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1049 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-02 05:55:36 +00:00
Timo Sirainen
ebeb48d307 Query bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1048 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 19:29:05 +00:00
Timo Sirainen
3ef279fd1c /SET windows_auto_renumber - should window refnums be packed when some
window is destroyed


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:32:48 +00:00
Timo Sirainen
4613196cd2 /WINDOW NUMBER: -sticky option added. Closing windows before a sticky
window won't change refnum of the sticky window and windows after it


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:30:23 +00:00
Timo Sirainen
8b5475f789 int:1 -> unsigned int:1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1045 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 18:13:54 +00:00
Timo Sirainen
08b869e8ee ischannel()'s parameter updated from char -> char* as done in C API.
[irc_]query_create()'s SERVER_REC* parameter -> char *server_tag


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:34:03 +00:00
Timo Sirainen
c2ea82642d Some query changes. They should now work properly with /SAVEWINDOWS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:13:55 +00:00
Timo Sirainen
21865aa8de MODULE_DATA(item) -> window_item_window(item) - forgot to change these
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 17:07:08 +00:00
Timo Sirainen
2ae679be08 added "message own_public" and "message own_private" events that are
sent when /msg command is used. this way we don't need to parse the
/msg's options everywhere. also efnet @#channels support works now better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 16:57:25 +00:00
Timo Sirainen
219c83ae6a window_item_create(): when there's multiple choices where the window
item could be placed, the first window is now selected instead of the
last accessed one of them (which most people think of as a random
window).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 14:57:55 +00:00
Timo Sirainen
acf60a729c small extra checks to /whois redirect checking
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 14:42:22 +00:00
Timo Sirainen
d304bc65ca Perl's ldflags usually include at least -lm and maybe some others too.
But in some OSes adding shared library dependencies to other shared
libs don't work (or maybe I'd need to do something differently :), so
check in configure that if it doesn't work, perl is never even tried to
be built as module.

On the other hand, if it does work irssi now links with libperl.so if
it's found instead of libperl.a which was always used before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1035 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 10:42:15 +00:00
Timo Sirainen
4a33801669 Added/moved several "typedef struct _XXX XXX;" to common.h so that
they're known to all files and I don't need those stupid "void *xxx"
anymore just to avoid useless #include. Header files themselves don't
either include others as often anymore.

Added channel->ownnick to point to our NICK_REC in channel's nicks.
Gives a minor speedup in few places :)

Moved completion specific lastmsgs from channel/server core records to
fe-common/core specific records. Also changed the nick completion logic
a bit so it should work better now. Removed
completion_keep_publics_count setting, but changed the meaning of
completion_keep_publics to same as _count was before. Nick completion
doesn't have any time specific code anymore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 07:45:54 +00:00
Timo Sirainen
21f9da6092 When joining to !channel because of "407 duplicate channel", it just
means that there's some server sync problems. rejoining after a while
should work again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 04:33:27 +00:00
Timo Sirainen
078a10900f don't do emphasis on nicks in channel (<nick1> _nick2_: hello won't underline)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 04:22:31 +00:00
Timo Sirainen
ab0c12b74c removed FIXME text :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:43:11 +00:00
Timo Sirainen
f372f6d327 pidwait: send status as second agument.
Implemented EPIC-compatible /EXEC


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30 00:42:47 +00:00
Timo Sirainen
1257104980 comment update :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 21:56:25 +00:00
Timo Sirainen
86b714881c Irssi::print() doesn't call printtext() with args (.., "%s", text)
since it broke %_ etc. formats. But instead of crashing every time
someone prints %s with Irssi::print(), irssi now checks all those
formats and prints them as-is.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1028 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 19:48:02 +00:00
Timo Sirainen
e50535a64e Irssi::signal_emit() was broken.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 19:22:00 +00:00