Timo Sirainen
05d3bb58cb
added assert to window_item_add().
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-16 16:51:56 +00:00
Timo Sirainen
4322da78aa
When printing notify joins/leaves, don't print them with hilight color after
...
all.. they're annoying when they create autolog files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 22:51:50 +00:00
Timo Sirainen
fc91857029
Changed the escaping system - theme_format_expand_data()'s
...
EXPAND_FLAG_IGNORE_EMPTY now also checks if the argument is a $variable that
is empty. Statusbar now first expands the formats and after then expands
$variables. Should fix at least when trying to print #$$$ channel in
statusbar.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 20:02:15 +00:00
Timo Sirainen
c6302cd6e7
Lag checking fixes - should work fine again.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2016 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 13:47:51 +00:00
Timo Sirainen
a9a380fd54
settings_save() now sends "setup saved" signal - patch by peder@ifi.uio.no
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-14 16:28:56 +00:00
Timo Sirainen
e66ec6cf8b
Redirection fixes - added count parameter.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 22:15:04 +00:00
Timo Sirainen
af6b115527
--version now shows the date version too.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:42:26 +00:00
Timo Sirainen
850cf993eb
Moved rewritten server redirection code from core to irc. This new code
...
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 18:59:19 +00:00
Timo Sirainen
6a82e806b4
Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
6197339b8d
/CHANNEL xxx - don't crash if not connected to server.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 11:47:52 +00:00
Timo Sirainen
5397b33d2d
removed, not needed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 20:13:24 +00:00
Timo Sirainen
dd04f35cc6
Stupid me, remembered wrong how PARAM_FLAG_OPTCHAN worked. This broke /CTCP,
...
/NCTCP and /NOTICE for non-channel targets. Back to old code, except "*" is
now treated as active target.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-04 14:36:51 +00:00
Timo Sirainen
e69f081127
* works now as active channel with /NOTICE, /CTCP and /NCTCP.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-03 18:36:40 +00:00
Timo Sirainen
f354fe54c7
Moved some stuff from irc to core. Added command_bind_proto() function to
...
bind protocol-specific commands. Added #define command_bind_irc() for easier
access. CMD_IRC_SERVER(server) check should be done at the beginning of each
command requiring IRC server as active server, it handles it correctly the
cases when it is not. Did some other cleanups as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 01:05:14 +00:00
Timo Sirainen
95b94ed83c
server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). Added
...
#define server_ischannel(server, data) and it's now used everywhere..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01 22:52:23 +00:00
Timo Sirainen
4f58b17ecb
/WINDOW SERVER -unsticky crashed irssi if it was used when you weren't connected to server.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29 16:15:47 +00:00
Timo Sirainen
2ba339a26b
Added support for using terminfo/termcap instead of curses. By default,
...
configure chooses to use ncurses if found, of terminfo if only curses was
found. --with-terminfo parameter can be used to specify if you want it or
not.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28 11:30:26 +00:00
Timo Sirainen
d4178292e5
Renamed /FORMAT whois_oper_type to whois_oper which is now removed.
...
whois_oper wasn't really used anywhere AFAIK.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-25 12:02:10 +00:00
Timo Sirainen
2a75c88f99
Added support for changing indentation behaviour with modules.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24 22:52:15 +00:00
Timo Sirainen
e4f34d9cd3
When logs are rotated, automatically create the new directory where to open
...
the log if it has changed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 21:26:58 +00:00
Timo Sirainen
230a51cefd
Remove SYNTAX: OPER from here - it's already in core (and syntax.pl gets
...
twice the same syntaxes currently..)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 20:11:18 +00:00
Timo Sirainen
bc8ee2d26c
Don't expand %{ and %} in themes to { and } - they could be treated as
...
abstracts again. Printing %{ and %} now prints just { and }. This fixes
printing {stuff} in statusbar (eg. {nick}).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 17:56:42 +00:00
Timo Sirainen
3ae5080619
/TOPIC <tab> inserts the topic in active channel.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 11:22:06 +00:00
Timo Sirainen
d4ef1bdd03
When printing server disconnection texts, use the server parameter for
...
printformat() so the texts go to correct windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 21:09:17 +00:00
Timo Sirainen
75ebab8089
Get the server tag to query from dcc->servertag, not dcc->server->tag, to
...
make it work correctly when accepting dcc chat when not connected to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:26:40 +00:00
Timo Sirainen
f33c283317
/BIND -delete doesn't anymore leave empty {} blocks in configuration file.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20 11:20:37 +00:00
Timo Sirainen
b3779bc7a5
-ansicolors -mirccolors => -colors in /LOG OPEN syntax, since there's only -colors currently..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15 15:31:40 +00:00
Timo Sirainen
4e9ff3d6d8
$winname expando didn't change on "window changed" signal.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14 11:25:26 +00:00
Timo Sirainen
dbe49236d2
Configurable statusbar - see default config file (irssi.conf) for example
...
how to configure it. Added %> format which clears to end of line using the
current bg color. Added support for multiple input lines (just the core, not
used anywhere yet).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13 16:11:13 +00:00
Timo Sirainen
c988af4150
Added MODULE_DATA_UNSET() macro and started using it. Just to make sure we
...
don't try to access free'd data.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02 07:55:51 +00:00
Timo Sirainen
56331f78e0
Use the nick as target when printing notify messages, so they go to query windows.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 12:05:50 +00:00
Timo Sirainen
de0ab10145
/SET translation was broken - fixed by lam@e-gate.pl.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-01 07:04:11 +00:00
Timo Sirainen
bb507a8b85
/SET translation now says if there were any errors
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22 11:25:08 +00:00
Timo Sirainen
e41f1dc73f
bind_key format updated. Doesn't truncate the key now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-21 14:09:44 +00:00
Timo Sirainen
29d983093e
PARAMS -> ARGS fix again..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 16:50:27 +00:00
Timo Sirainen
7814192f03
special vars: added PARSE_FLAG_ONLY_PARAMS. Theme loading now uses it so
...
you can use $C etc. in themes to print the active channel. printformat()
also expands it now correctly to the server/target where the message was
printed, not to the active window's server/target.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 15:58:14 +00:00
Timo Sirainen
0abee30dc2
"Unknown chat network" error now tells to create it with /IRCNET ADD
...
(..which is a bit wrong with non-IRC..)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-18 15:37:07 +00:00
Timo Sirainen
56b7f5ecbf
Print the log's expanded file name when complaining about not being able to
...
create log file.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-17 13:04:23 +00:00
Timo Sirainen
50eae89a96
/BIND ^W-1 was treated as ^W + '-' + '1', not as ^W + '1'..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:32:43 +00:00
Timo Sirainen
5360b3eaaf
escape_target() didn't escape / chars properly, it just crashed irssi..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:20:10 +00:00
Timo Sirainen
3432f02a05
It's now possible to stop single character /BINDs from printing to input
...
line. Hiascii characters didn't work properly with /BIND.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:15:17 +00:00
Timo Sirainen
8cab35aed3
Server notices shouldn't contain target field when printing it, it's always
...
you anyway.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1790 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 18:02:17 +00:00
Timo Sirainen
eb9f1eb985
autolog: target name is now always lowercased with irc protocol.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 17:47:31 +00:00
Timo Sirainen
5c45593f02
/WINDOW ITEM MOVE didn't work properly if there was space after parameter
...
(..which tab-completion added..)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08 18:57:09 +00:00
Timo Sirainen
ff884ba0bb
Print the server tag in "query started" messages with query->server_tag, not
...
query->server->tag since query->server can be NULL when restoring window
layout.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 16:32:35 +00:00
Timo Sirainen
d1e0a0f44f
Check that word isn't empty instead of just assuming it isn't. This one
...
probably caused several completion problems.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28 11:12:03 +00:00
Timo Sirainen
2dae72a698
removed accidental 'i' :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:54:54 +00:00
Timo Sirainen
5bf0edbb35
Added server tag to query_start format.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23 10:32:32 +00:00
Timo Sirainen
1c07041811
Added option /SET autolog_colors. Colors are now off by default for /WINDOW
...
LOGs too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-20 12:01:01 +00:00
Timo Sirainen
0d5e569195
Some internal changes how /SERVER command works. Added /SERVER PURGE
...
[<target>] command. The channel output is purged at /PART if the output
queue is larger than 10.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:19:06 +00:00