1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-06 04:53:38 -04:00
Commit Graph

393 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
84d672ee42 If msg comes from unknown channel (like when you just closed some
channel window and server sends the last msg to the channel) irssi now
prints the msg to active window instead of sending glib warning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1026 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-29 00:11:24 +00:00
Timo Sirainen
db5e7f3731 emphasis moved to fe-messages. added a few checks so that non-words
aren't treated as emphasis


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-28 17:04:33 +00:00
Timo Sirainen
06a6428d83 security fixes from 0.7.97.2
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:48:42 +00:00
Timo Sirainen
2e9487d42a /SERVER REMOVE: port parameter should be optional
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1014 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:36:00 +00:00
Timo Sirainen
01d4c070e3 Don't check queries whose address isn't known yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 17:27:23 +00:00
Timo Sirainen
4957c7b98b don't display ignored quit messages..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1012 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 11:12:52 +00:00
Timo Sirainen
b16f473e9b don't autochange nicks from dcc connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1011 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19 10:40:41 +00:00
Timo Sirainen
f61bde7d3c Autologging: '/' -> '_' - don't even accidentally try to log to
#../../../file if you happen to join to such channel..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1009 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 17:15:14 +00:00
Timo Sirainen
634dfd41e8 quit messages shouldn't crash :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1008 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-18 14:00:26 +00:00
Timo Sirainen
bbc33bff5e /SET prompt, /SET prompt_window - Specifies the text in prompt.
'prompt' is used when channel or query is active in window and
'prompt_window' is used with empty windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 07:39:22 +00:00
Timo Sirainen
aac80846b8 Settings are now stored in module-specific blocks. Irssi complains
about all unknown settings that are found inside those blocks.

Left backwards compatibility kludge which should be removed in 0.7.98.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 05:44:45 +00:00
Timo Sirainen
fc491c5f8d Some minor query fixes. Nick changes are also detected by checking if
query with another nick from same address if found.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 02:20:22 +00:00
Timo Sirainen
6e19541f46 Improved nick_match_msg() - it shouldn't give wrong matches as easily
anymore. Also supports multiple targets in one line (nick1,nick2: hello)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 01:20:21 +00:00
Timo Sirainen
057ec3b8a8 Print quit messages from nick in query windows also
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 00:26:21 +00:00
Timo Sirainen
eafb6fe82f Theme saving to home dir didn't work correctly if globaldir already had
the same theme.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17 00:04:51 +00:00
Timo Sirainen
2e033b5c6d Error message was missing from theme_save_failed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-16 23:36:42 +00:00
Timo Sirainen
2937e72a68 fixed $topic uninit
added $winref


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10 05:51:52 +00:00
Timo Sirainen
8d98e80a6b -querychans option for servers and ircnets which specifies how many
channels to query in one line with MODE/WHO commands after joined to a
number of channels. Default is 10 which works usually, with some very
stupid servers (just found one) this has to be set to 1 however.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-09 19:12:49 +00:00
Timo Sirainen
9f2f1dc70a Server events: switched order of data and server parameters. it's now
SERVER_REC *server, const char *data, .. hope this doesn't cause too
many problems :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 21:12:52 +00:00
Timo Sirainen
358848c80f /^command should stop also "print starting" and "print format" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 11:01:37 +00:00
Timo Sirainen
c5bb780a93 removed useless if condition
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 03:56:32 +00:00
Timo Sirainen
7e781736c6 use format_get_text_theme_charargs() instead of ..._args() in
printformat_module_dest() since we already have arguments in char **
table.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04 03:37:22 +00:00