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

1515 Commits

Author SHA1 Message Date
Timo Sirainen
1b42f89ccb $*, $~ and $-n should still work with PARAM_FLAG_ONLY_PARAMS.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 16:43:24 +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
8104317897 perl_signal_remove() didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20 14:21:46 +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
2655c1ffe0 ..the same fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-13 13:08:25 +00:00
Timo Sirainen
8e6f743893 Don't crash if the IRC server doesn't print your nick in /NAMES list after
join.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-13 13:06:19 +00:00
Timo Sirainen
20e26554cd The new /SET dcc_port range didn't work properly..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-12 12:19:59 +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
c7f7ec4391 /LOAD fixes for modules with no core part, and /LOAD ~/...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 17:38:47 +00:00
Timo Sirainen
41df7da60e Added option /SET channel_sync - if disabled irssi disables the channel
syncing entirely. This breaks /BAN and probably something else too. Just a
temporarily kludge until I fix this properly (on demand /USERHOST at /BAN
time, etc.).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1786 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11 15:45:42 +00:00
Timo Sirainen
db2a25d22d /SET dcc_port accepts now port range (eg. "10000 20000")
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10 20:21:05 +00:00
Timo Sirainen
460281eb8a /SET override_coredump_limit - sets core file size to unlimited if set ON
(default).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10 19:50:53 +00:00
Timo Sirainen
9dd057825b Disabled using idcok() which caused redrawing problems with netbsd.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10 15:34:49 +00:00
Timo Sirainen
be6cf00ebb Restoring split windows layout didn't work properly (didn't I already commit
this days ago?)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-09 12:20:17 +00:00
Timo Sirainen
8e3005a1c1 /WINDOW MOVE UP|DOWN might have crashed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1780 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-09 12:12:28 +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
477e1615af Loading modules that didn't have "core" part didn't work (eg. irc_proxy).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08 18:02:49 +00:00
Timo Sirainen
1cb3f94eeb Use only the first word from username when sending it to server.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1776 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-06 13:12:52 +00:00
Timo Sirainen
cac1cbf2cf mainwindow_set_size() called mainwindow_shrink() improperly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 20:27:43 +00:00
Timo Sirainen
099c83a98e Expando lookup crashed with hi-ascii chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31 16:47:14 +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
6597d2d1c6 Added command /RESIZE for resizing the terminal when SIGWINCH isn't supported.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28 12:24:46 +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
bdaeaa11cd /LASTLOG: start parameter wasn't handled correctly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 14:08:35 +00:00
Timo Sirainen
2d37f461ac Module loading fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 13:52:14 +00:00
Timo Sirainen
422ef7759d typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 11:55:08 +00:00
Timo Sirainen
fd69089568 added textui
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-17 11:51:21 +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
Timo Sirainen
295d16536e quitmsg_is_split() fix - the hosts must contain the domain part now (ie.
"word1 word2" isn't a netsplit)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 13:17:11 +00:00
Timo Sirainen
6c022b0a5e Some support for lain ircd's /SETHOST - It /PART + /JOINs all channels, so
add all the joined channels to window binds temporarily so /PART doesn't
close the windows if /SET autoclose_windows is ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 12:33:29 +00:00
Timo Sirainen
1de695ae1a Rewrote quitmsg_is_split(). A bit faster now and doesn't match to quit
messages like "foo. bar."


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:53:08 +00:00
Timo Sirainen
87a439e994 Irssi::TextUI::TextBufferVew should also contain the scroll..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:24:11 +00:00
Timo Sirainen
5694dbfdb7 Updated for view->scroll.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:23:22 +00:00
Timo Sirainen
ed93f91d96 Typofix - might have caused a crash if channel was destroyed with /WINDOW
CLOSE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 11:22:19 +00:00
Timo Sirainen
3deb0a7b66 --more-- checker uses now "gui print text finished" signal. "gui " part was
missing from signal_remove("gui print text finished") in gui-printtext.c..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1752 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 01:19:34 +00:00
Timo Sirainen
285b33e992 /SET scroll ON - should the windows be scrolled by default when you're at
bottom. /WINDOW SCROLL ON|OFF|DEFAULT - Window specific scrolling behaviour,
also saved in windows layout.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 01:14:26 +00:00
Timo Sirainen
51b1d80fbe Removed trigraphs by adding "" in the middle.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:53:56 +00:00
Timo Sirainen
1cd033943a Added missing module_register() calls.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:43:50 +00:00
Timo Sirainen
803d805016 Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].

NOTE: all modules now need to call register_module() in their init()
function.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
f584c1013c minor speedups and signal removing fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:03:02 +00:00
Timo Sirainen
78b1e8d9d6 "IRC Net" -> "Network" in /SERVER LIST and /CHANNEL LIST
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 22:01:38 +00:00
Timo Sirainen
85862082b3 max_query_chans set to 1 by default. Set to 10 in networks where it's known
to work.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1745 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 14:14:09 +00:00
Timo Sirainen
f370a3cc2e /INVITELIST prints "Invite list is empty" message and complains about not
being synced. Changed level to CLIENTNOTICE when printing the "no bans"
message.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 14:00:57 +00:00
Timo Sirainen
4e3b1bba62 /LOG OPEN -color, /SET awaylog_colors - specifies that the color codes
should be written to log file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13 13:51:49 +00:00
Timo Sirainen
08b9062028 textbuffer_view_remove_line() fixes (with a small kludge..)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1741 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 18:25:43 +00:00
Timo Sirainen
53c13065d2 One more limit to "key" names - it can't start with a digit. This allows us
to use /BIND foo meta2-18~ etc. more easily.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:05:36 +00:00
Timo Sirainen
55be71a726 Bugfix to keyb. code :) And now the "key" names can contain only
alphanumeric + '_' characters, which makes /BIND foo meta-5~ work again
because 5~ are treated separately, not as one "key" name.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 17:02:06 +00:00
Timo Sirainen
22e5f3a3fe Keyboard code fixes - meta-arrows etc. should work now correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 16:48:34 +00:00
Timo Sirainen
a444a3c92a /WINDOW CLOSE <first> didn't work if <last> too wasn't specified..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12 13:05:57 +00:00
Timo Sirainen
33fbc0a069 Removed some extra ';' chars which made it not compile with perl 5.00x.
textbuffer_get_lines() now actually returns the value.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 10:26:02 +00:00
Timo Sirainen
01d3e74f63 Added Irssi::TextUI.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1733 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 01:59:36 +00:00
Timo Sirainen
22e1a6dacc /VERSION command and /SV alias now print the version date too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1732 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09 00:50:22 +00:00
Timo Sirainen
2aaed8dc0b Irssi crashed if script died in a signal handler.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1730 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 22:43:00 +00:00
Timo Sirainen
c54646cad9 "mail counter" signal is now sent when mail counter is updated in statusbar.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:12:38 +00:00
Timo Sirainen
98b82723a1 Added function expand_escapes() which handles now escaping /EVAL and input
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e
(ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 20:00:25 +00:00
Timo Sirainen
b667af72aa Restoring window layout shouldn't make the queries active.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:23:25 +00:00
Timo Sirainen
c86333393c Changed signal / function names for /LAYOUT stuff. /LAYOUT RESET now resets
the split windows too.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 18:05:50 +00:00
Timo Sirainen
072a4c774f If we receive INVITE for a channel that is added with /CHANNEL ADD -auto,
join it immediately.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1724 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 17:47:54 +00:00
Timo Sirainen
a8193b168a Never insert NUL characters to entry line (Ctrl-Space)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 16:39:27 +00:00
Timo Sirainen
59a1a4d649 /BAN [-type] -> /BAN [-normal | -user | -host | -domain | -custom <type>].
Added ban type "User"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 16:22:01 +00:00
Timo Sirainen
4737d16290 Fixed leaking window binds. They were added but rarely removed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 16:08:47 +00:00
Timo Sirainen
d248a87497 one more extra cleanup for textbuffer_remove_all_lines()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:48:54 +00:00
Timo Sirainen
b9a83129fe Some extra cleanups for /SB CLEAR.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:43:07 +00:00
Timo Sirainen
9beaf82839 /SET autofocus_new_items ON - if newly created window items should be set
active automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 15:29:56 +00:00
Timo Sirainen
a99458ebe5 /WINDOW BALANCE didn't work properly when topicbar was off. Added a few
comments to mainwindows.h


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 14:43:14 +00:00
Timo Sirainen
f124f07a4e /NOTIFY printed '!' character after nick if mask was given.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08 12:50:49 +00:00
Timo Sirainen
be601764ae Irssi crashed if loading script failed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 21:03:26 +00:00
Timo Sirainen
b80d4e62ab /SCRIPT RESET didn't work properly (start/stop functions were called in
wrong order). Added a few extra deinits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 15:25:41 +00:00
Timo Sirainen
1db558b8ea Windows' parent weren't saved (but was restored..)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1711 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 15:16:26 +00:00
Timo Sirainen
45bb5c3cee Restoring layout for split windows works betters now. Some sticky window
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands
/WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window
only inside split windows. mainwindows-save.c -> mainwindows-layout.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07 12:41:10 +00:00
Timo Sirainen
6a422552d5 /MSG * in empty window now prints "not joined" error
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-05 06:45:29 +00:00
Timo Sirainen
f4e7b4a705 statusbar_item_redraw() didn't work properly with multiple split windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-04 02:31:36 +00:00
Timo Sirainen
dcf1bdb82c /UNIGNORE - skip spaces at end of line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-04 01:36:39 +00:00
Timo Sirainen
80793ace1c /WINDOW STICK changes - If ref# is given and it's in another split window,
it's moved to the active split window - even if the window was already
sticky in the other one.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 23:39:35 +00:00
Timo Sirainen
ce0bd80b05 Added sticky window information to /WINDOW.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 22:54:08 +00:00
Timo Sirainen
daaf2756ca Minor cleanup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:50:34 +00:00
Timo Sirainen
79ae6fceb3 /WINDOW command now prints all information related to window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03 20:04:39 +00:00
Timo Sirainen
137b3ae504 Stop scripts when there's error in signal/timeout/input handler.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-31 01:22:32 +00:00
Timo Sirainen
642622624d --with-perl-path -> --with-perl-lib=[site|vendor|DIR] with some fixes to
make it work better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 22:10:11 +00:00
Timo Sirainen
6acc71e9a2 bugfix for parameter handling...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 13:07:26 +00:00
Timo Sirainen
fedc4dac4f /SCRIPT FLUSH -> /SCRIPT RESET. Fixed parameter handling for /SCRIPT
LOAD & UNLOAD.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1689 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 13:06:21 +00:00
Timo Sirainen
82034efb11 Script name is printed now correctly if there's an error in
timeouts/signals.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1688 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 12:56:57 +00:00
Timo Sirainen
279f149295 /TOGGLE didn't send "setup changed" signal
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-30 12:24:24 +00:00
Timo Sirainen
892d627fb4 "\n", not '\n'..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 13:14:32 +00:00
Timo Sirainen
7c358c1844 /SCRIPT EXEC took only one argument. /SCRIPT LIST is now printed with
CLIENTCRAP level. maybe local($/) = '\n' in irssi-core.pl now resets it
correctly? ..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 13:13:16 +00:00
Timo Sirainen
0163f2771f Signals weren't removed correctly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 12:56:37 +00:00
Timo Sirainen
3fc2d6ad7f don't use strict since it was forced to scripts too. added a missing $.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 12:18:58 +00:00
Timo Sirainen
5f3fc50f51 forgot module-formats.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 12:14:08 +00:00
Timo Sirainen
6c2f9c685a --enable-perl* -> --with-perl*. Added a new libfe_perl which handles /SCRIPT
commands. /RUN -> /SCRIPT LOAD, /PERLFLUSH -> /SCRIPT FLUSH, /PERL ->
/SCRIPT EXEC. Added /SCRIPT UNLOAD, /SCRIPT LIST. Lots of cleanups.

filename_complete() has extra argument for "default directory" which is
searched if no path is given when completing.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1680 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 09:17:53 +00:00
Timo Sirainen
2d5edb8c4d /NAMES #channel_you're_not_joined doesn't print the "total of xx nick" line
anymore - it was always just full of 0 and people thought it was a bug (it's
a missing feature :).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 05:32:38 +00:00
Timo Sirainen
4740336c3f fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1678 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:51:29 +00:00
Timo Sirainen
c4fe917be3 " <tab>" in query printed glib warnings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1677 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:38:31 +00:00
Timo Sirainen
af86920d3f bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 04:03:58 +00:00
Timo Sirainen
81eb94fa9b Use INSTALLDIRS=perl option with MakeMaker if perl install directory is
specified.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 03:56:46 +00:00
Timo Sirainen
d06cd9ddbb Resize fixes. Now SIGWINCH only sets a flag that a resize check is needed.
Resizes are checked/done 2 times a second.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1671 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 02:25:55 +00:00
Timo Sirainen
bdde1d884c /NOTIFY, /NOTIFY -list: Added "The notify list is empty" message
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:46:34 +00:00
Timo Sirainen
2a44f98a51 Added "Closed query with nick" message.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:41:01 +00:00
Timo Sirainen
d1d13a4b36 Escape % chars in logs so strftime() won't mess with them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:35:10 +00:00
Timo Sirainen
11072cc4d7 Removed unused signal_gui_print_text, added a g_return_if_fail(dest->window
!= NULL) to "print text" signal - window should be set or it is treated as
GUI print event.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1666 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:16:27 +00:00
Timo Sirainen
6ec7e12967 Added a small sanity check - the condition should never happen, but it seems
to have happened with one guy.. perhaps something else had corrupted memory.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 01:14:25 +00:00
Timo Sirainen
802ee7564c Fixed /RELOAD crashing without parameters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29 00:27:23 +00:00
Timo Sirainen
9668285467 OK, no more forcing the reuse_unused_windows. It's up to the user to set it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1663 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:40:00 +00:00
Timo Sirainen
0fa4e20497 /SET reuse_unused_windows is now forced ON only if /SET autocreate_windows
is ON and autoclose_windows is OFF.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1662 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:28:46 +00:00
Timo Sirainen
35ce180f10 --hostname and --nick options didn't have effect for autoconnected servers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1661 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-28 23:24:45 +00:00
Timo Sirainen
3fb7a4115d added destroy() function to WI_ITEM_REC. This fixes a potential crash when
"window item destroy" signal was being used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1655 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:49:08 +00:00
Timo Sirainen
219d276b0a bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1654 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26 01:38:46 +00:00
Timo Sirainen
7a9a50f70b get the version from IRSSI_VERSION, not VERSION. #include "signals.h" was
missing from proxy.c


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 20:07:10 +00:00
Timo Sirainen
5eca2d861f fixed using already free'd memory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 19:29:50 +00:00
Timo Sirainen
f81291622f buffer overflow fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 19:16:21 +00:00
Timo Sirainen
fc4f81c751 SYNTAX: ACTION updated - target is required
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 17:40:56 +00:00
Timo Sirainen
338e58cbad Don't crash when trying to bless NULLs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-24 22:21:48 +00:00
Timo Sirainen
559a5be42f fixed a small memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-22 12:08:36 +00:00
Timo Sirainen
40ffd87ded Irssi::printformat() called printformat_window() to print the text which
lost server/target information. Added printtext_dest() function which it
uses now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-18 19:03:07 +00:00
Timo Sirainen
088358ca61 /NAMES -count now prints only the "total" line, not "users(#channel)" anymore
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-17 18:22:24 +00:00
Timo Sirainen
fbe38dd2c8 command_runsub() - ignore multiple spaces between /COMMAND SUBCOMMAND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 20:23:59 +00:00
Timo Sirainen
0d3b5c729f Added Irssi::command_bind_first() and Irssi::command_bind_last()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 20:03:36 +00:00
Timo Sirainen
7e630b22cf added another hilight kludge
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 17:20:23 +00:00
Timo Sirainen
40c7fa1190 --home, --config parameters now expand relative paths to absolute at startup.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1635 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 16:56:52 +00:00
Timo Sirainen
581fc794b4 forgot to add textbuffer-reformat.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1634 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16 16:10:12 +00:00
Timo Sirainen
118b5f48a2 Hilight fixes - mode lines shouldn't be hilighted accidentally anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 19:03:27 +00:00
Timo Sirainen
27fcabbc19 Previous foreach fixes to /FOREACH WINDOW too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 18:21:44 +00:00
Timo Sirainen
fd547c3ebe textui isn't done yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1631 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 15:16:38 +00:00
Timo Sirainen
c1ac5765b3 New /IGNOREs weren't immediately effective for nicks in channel. Some small
fixes for unignoring levels with /IGNORE.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:50:26 +00:00
Timo Sirainen
316bd7d142 Moved awaylog to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1629 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 14:07:48 +00:00
Timo Sirainen
de5348a084 Another /FOREACH update - it only goes through the current
servers/channels/queries, if the command creates new ones it skips them (ie.
/FOREACH CHANNEL /CYCLE works now).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 13:49:57 +00:00
Timo Sirainen
7f9959274c /SB REDRAW functionality - not fully working yet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 13:13:46 +00:00
Timo Sirainen
79d1d7089a Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15 00:39:48 +00:00
Timo Sirainen
bcbb55dd1e /FOREACH won't crash now if the command removes the item being accessed
(ie. /foreach server disconnect should work)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 23:24:05 +00:00
Timo Sirainen
c930f8f8e6 command option/parameter completion was case sensitive (ie. /MSG <tab>
didn't, work, /msg <tab> did)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1624 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 20:06:00 +00:00
Timo Sirainen
7b4e1cb8a1 rm -f the libirc_proxy.a before ln -s.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1621 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 19:16:53 +00:00
Timo Sirainen
cb763a0b52 "gui dialog" signals can now be safely emitted before the GUI is initialized
- the texts are queued until the GUI initialization is done and re-emitted.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1618 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 19:10:17 +00:00
Timo Sirainen
b500815724 Cut the messages sent to rawlog to 510 chars too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:52:53 +00:00
Timo Sirainen
4425f87f98 /NAMES -count: print only the Total xxx nicks line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1615 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:22 +00:00
Timo Sirainen
fca13a0fba removed a useless "fix"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 18:19:08 +00:00
Timo Sirainen
b365a78a5a uname() returns non-negative if successful, not necessarily 0.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-13 19:17:43 +00:00
Timo Sirainen
a5a277c94d Compiles now statically to irssi with --with-modules=proxy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-13 13:09:58 +00:00
Timo Sirainen
9eed52fa40 Replaced GList by adding prev/next pointers to LINE_REC. This should make
some things faster and take a bit less memory. Also fixed an evil memory
leak.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1611 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12 21:44:01 +00:00
Timo Sirainen
dd37b9ca2c Removed everything from @EXPORT - they weren't supposed to be there.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1610 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12 19:51:33 +00:00
Timo Sirainen
5311736a68 Irssi::Server::command() - window item parameter should be NULL
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1609 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-12 19:44:54 +00:00
Timo Sirainen
3cea29ae82 Makefile fixed to use module directory again. If /SET irssiproxy_ports has
'*' as server tag, it will match for any of the servers (useful if you're
only using one). Fixed a crash if client sent a request to server and quit
before the reply was received.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-10 19:10:37 +00:00
Timo Sirainen
2ddba459c0 Moved location of config, theme and doc files. Added debian dir for building a .deb easily.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-05 23:16:18 +00:00
Timo Sirainen
3eca462859 Removed GLIB warning at certain condition with tab completion.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1606 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-03 22:21:40 +00:00