1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

1568 Commits

Author SHA1 Message Date
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
Timo Sirainen
05bb4cf82f void should be in separate line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1604 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-01 10:53:35 +00:00
Timo Sirainen
3005cad5c3 use Irssi; use Irssi::Irc and use Irssi::UI are now automatically called so
you won't need to add those to scripts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30 11:53:03 +00:00
Timo Sirainen
e72780d4d6 DCC_REC was missing MODULE_DATA_INIT() / .._DEINIT()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1602 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30 10:11:33 +00:00
Timo Sirainen
f1ecfca8a7 Updates to perl documentation. Moved Rawlog->{lines} to Rawlog::get_lines()
instead.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-30 09:49:59 +00:00
Timo Sirainen
aae1efa61a Moved screen_refresh_thaw() in initialization before the
fe_common_core_finish_init() so that if it prints something it gets printed
to screen immediately. Also doing it afterwards triggered some screen
updating bug and the printed lines were left blank until screen was
refreshed..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1599 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:24:52 +00:00
Timo Sirainen
5120660bf5 Removed the "domain is 2 or 3 chars" check from quitmsg_is_split() since
Undernet nowadays prints "*.net *.split" quit message for netsplits and
the netsplit quit message can't be faked anyway with current IRC servers.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1598 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:14:44 +00:00
Timo Sirainen
f70160c503 /SET netsplit_nicks_hide_threshold must not be smaller than /SET
netsplit_max_nicks or no nicks were printed with netsplits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:11:43 +00:00
Timo Sirainen
f20a6b0198 If .theme suffix was given for /SET theme, irssi printed "theme changed to
xxx" message every time any setting was changed.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1596 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 23:10:48 +00:00
Timo Sirainen
f9c9e6fc75 Windowitem->{type} wasn't set properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1595 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 22:57:03 +00:00
Timo Sirainen
76e0e448af Added some new variables for UI::Window
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1594 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 22:51:37 +00:00
Timo Sirainen
7ffe6ace97 removed fe-perl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1592 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 22:27:02 +00:00
Timo Sirainen
dead8321a8 UI fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 21:14:10 +00:00
Timo Sirainen
78986b59c8 Irssi::xx -> Irssi::UI::xx
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 21:11:29 +00:00
Timo Sirainen
f0ccd539df Added size/skipped to Dcc::Send / Get records
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1588 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 20:41:35 +00:00
Timo Sirainen
84e8d9acfa whois_away had one extra space at the beginning.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-29 19:03:55 +00:00
Timo Sirainen
b62615e32a Nick changes were printed twice in queries.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 22:40:24 +00:00
Timo Sirainen
77b72271c8 when theme is changed, it should print the message to status window, not to active window..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28 17:43:53 +00:00
Timo Sirainen
c249f62544 Don't print GLIB critical when trying to bless unknown iobject - this could
well happen with some unknown objects like /EXEC -interactive's WI_ITEM_REC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 23:05:20 +00:00
Timo Sirainen
89d7498019 Moved fe_perl module to use Irssi::UI .. this breaks several scripts that
use UI-specific code, but simply adding the "use Irssi::UI;" after use
Irssi; should work. make install now removes libfe_perl.* files from global
module directory, but if you have it somewhere else you should manually
remove it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1582 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 22:56:17 +00:00
Timo Sirainen
d7342a6c4f removed useless #define
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1581 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 22:54:51 +00:00
Timo Sirainen
53975363ce Using different ports in one server for different chat networks didn't work
properly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1580 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:47:31 +00:00
Timo Sirainen
5cb945cedf Don't autoclose windows with bound items.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1579 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:31:26 +00:00
Timo Sirainen
f98b77c4a2 Don't reply to CTCP PINGs longer than 100 bytes (see the comment).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1578 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:26:33 +00:00
Timo Sirainen
31794553e6 /NICK: don't bother trying to change the nick to the one you already have
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1577 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:20:26 +00:00
Timo Sirainen
69c864f8d5 Added -delete option to /WINDOW THEME. /WINDOW THEME without parameters
prints the active theme.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:16:43 +00:00
Timo Sirainen
0db8e96019 Fixed window specific themes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 21:05:04 +00:00
Timo Sirainen
75543048b5 Added -v / --version command line option. Moved POPT_AUTOHELP option to
fe-common from fe-text.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27 20:22:43 +00:00
Timo Sirainen
f4e65d6222 Don't send unaway to server if we're not away.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:33:43 +00:00
Timo Sirainen
8ec78b0723 use signal_add_last() to bind the "message xxx" signals when printing them,
so that scripts/modules can stop the signal without affecting the rest of
the functionality.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:29:16 +00:00
Timo Sirainen
f5a161bee9 added whois abstract to themes. should make it easier to change whois output
in theme


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 22:04:54 +00:00
Timo Sirainen
6362ab86f6 "print text finished" -> "gui print text finished". Added %[options] format
for printing text. The syntax for options is [+-]<option>[+-]<option>...
Currently supports options 't' = timestamp, 'T' = server tag, 's' =
line_start, 'S' = line_start_irssi. -s or -S means don't print the
line_start. For example %[-st+T] would never print line_start or timestamp
to line, but would always print server tag to line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 21:28:00 +00:00
Timo Sirainen
af4d6bebe3 Added $cumode expando which works like $P, but prints voices/halfops also.
Changed statusbar to use $cumode. Patch by fuchs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1567 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 19:27:26 +00:00
Timo Sirainen
740f041c26 Perl blessing fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1566 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 17:01:42 +00:00
Timo Sirainen
d0de9fe229 "log rotate" -> "log rotated"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1565 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 16:47:56 +00:00
Timo Sirainen
8b733e0568 special-vars: added flag PARSE_FLAG_ESCAPE_THEME to escape { and } chars
with % char. Used this with statusbar items - now for example "{error xxx}"
topic won't print it with error color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1564 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 15:33:07 +00:00
Timo Sirainen
b642a0e16f moved "log rotate" after the logging was stopped.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1561 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 13:55:50 +00:00
Timo Sirainen
4ad8ebba7e "log rotate" signal added
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 13:49:51 +00:00
Timo Sirainen
3d2f2704c0 added real_fname to log record.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26 13:47:38 +00:00
Timo Sirainen
9799b5ad94 The same "irssi init finished" / perl init fix for fe-none
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1558 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-21 07:13:09 +00:00
Timo Sirainen
5ddb29fb33 if perl is compiled statically, initialize it after the "irssi init
finished" signal so for example ~/.irssi/startup is run before the perl
autorun scripts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-21 07:10:25 +00:00
Timo Sirainen
f7e9649286 /SET scrollback_lines 0 now means unlimited.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-18 15:32:05 +00:00
Timo Sirainen
7c9438c172 channel_set_singlemode() : don't do anything if you're not channel op/halfop
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-12 00:08:14 +00:00
Timo Sirainen
3a0534da46 plain objects weren't blessed correctly in lists
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 23:54:50 +00:00
Timo Sirainen
3f2b189a4c /WINDOW SERVER -sticky / -unsticky crashed if the tag wasn't given and
there was no active server in window


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 23:12:43 +00:00
Timo Sirainen
651972ab33 $/ was set to undef for perl scripts. removed unused variable.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1552 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 22:39:32 +00:00
Timo Sirainen
4c51bc9755 get_max_column_count() didn't work properly if items had wider items than
max_width.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 15:05:08 +00:00
Timo Sirainen
0192a6fb97 Multiple /LAYOUT SAVEd queries in same window didn't get restored to the
same window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:15:38 +00:00
Timo Sirainen
4da53bb5f4 When disconnecting from server when you had queries without active server
irssi printed some glib errors.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-11 00:14:48 +00:00
Timo Sirainen
a128998010 Joins to channel now adds the nick to completion list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:45:47 +00:00
Timo Sirainen
54242cdac5 own nick changed were printed as if it was done by someone else
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1547 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:38:36 +00:00
Timo Sirainen
81268205ca The automatic query rename wrote the "nick changed" messages to channels
windows too. Now it's done only in the query window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 23:31:15 +00:00
Timo Sirainen
9cef658661 max_cmds_at_once and max_query_chans weren't saved between reconnects to
server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 22:52:54 +00:00
Timo Sirainen
b0f75f79a2 Getting optional channel parameter was buggy - it used already free'd memory
and assumed the command handler was given CHANNEL_REC even while it could
have been any other WI_ITEM_REC ..though it used only the WI_ITEM_REC parts
so it didn't really matter..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 22:19:15 +00:00
Timo Sirainen
5aa56a08f9 beep check: don't beep with NO_ACT message level rather than NOHILIGHT since
NOHILIGHT is sent with public messages and someone may want to beep when
they're received.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10 20:21:03 +00:00
Timo Sirainen
fdb57e148c "complete word" signal works now with perl and it's possible to manipulate
the completion list.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08 22:27:06 +00:00
Timo Sirainen
c9ccfcd408 added topic_by, topic_time
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1541 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08 21:20:15 +00:00
Timo Sirainen
7773aabb2c Try to keep the number after server tag always the same when there's
multiple connections to the same server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1540 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-08 21:19:08 +00:00
Timo Sirainen
bd7cc25590 resizing empty windows didn't work properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04 21:58:47 +00:00
Timo Sirainen
3609f6f243 Added support for bahamut @+#channel notices. Removed notice_public_ops
format, notice_public is just fine if the channel just contains @ or @+
at the beginning.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04 19:50:16 +00:00
Timo Sirainen
f079263035 /LOAD: when using '.' character in module name irssi printed glib error
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1537 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-04 18:40:50 +00:00
Timo Sirainen
af7c5fd221 bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1536 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-02 12:35:25 +00:00
Timo Sirainen
05777636a7 Replaced all direct curses calls with screen_xx() wrappers. This should
enable us to optionally use termcap directly.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 21:49:07 +00:00
Timo Sirainen
6f5c1117de moved /SET ignore_signals to core.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 20:21:07 +00:00
Timo Sirainen
4ee6270965 'Y' answer shouldn't be case-sensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1533 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 20:20:22 +00:00
Timo Sirainen
e403244a2d Resizing window destroyed curses window, but didn't update the view's curses
window which kept using the old one, and probably crashed soon.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1532 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 19:12:07 +00:00
Timo Sirainen
3f0e76d516 more #endif WANT_BIG5 -> #endif changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1531 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:49:32 +00:00
Timo Sirainen
fc3918b0f0 dcc, flood and notifylist aren't compiled as loadable modules anymore,
no-one wants that and irssi crashes in AIX because of it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:39:45 +00:00
Timo Sirainen
99e9ab582f added Irssi::parse_special()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 17:53:14 +00:00
Timo Sirainen
62aa12c411 s/newline/new_line/ - AIX curses (or something) seems to use #define
newline for something


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1528 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 17:48:41 +00:00
Timo Sirainen
3d370cd3e0 Removed gccism: #endif WANT_BIG5 -> #endif
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1527 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 17:45:36 +00:00
Timo Sirainen
28899856a4 removed "print text stripped" signal, the stripped text is now sent in
"print text" signal's third parameter


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-31 22:35:49 +00:00
Timo Sirainen
3bc5752be6 Split window fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-31 10:51:21 +00:00
Timo Sirainen
39d54da896 added missing ')' from last patch :) and now /last 0<number> (eg. /last 050)
also isn't treated as counter.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-30 14:45:31 +00:00
Timo Sirainen
0f62f9c21c /LAST <number> <non-number> (eg. /last 5 -) should treat the number as text,
not as count parameter. This way you don't have to type "/last 5 - -" if you
want to search for string "5" from lastlog.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-30 14:41:01 +00:00
Timo Sirainen
5f6d953602 Irssi::command_runsub() - patch by fuchs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-30 08:58:48 +00:00
Timo Sirainen
7cab17c2c9 Added formats to /SET texts.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1517 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-26 19:20:45 +00:00
Timo Sirainen
3e825325b8 nick completion: don't add the same nick to completion list twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1515 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:38:07 +00:00
Timo Sirainen
47f272da98 nonstrict completion bugfixes, my mistakes :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1514 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:33:35 +00:00
Timo Sirainen
40f47a0a5f /SET completion_strict OFF - specifies if the tab nick completion should
ignore non-alphanumeric characters. Alieases are now completed in command
completion. Patch by fuchs.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1513 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:29:31 +00:00
Timo Sirainen
da9d55f403 /SET dcc_own_ip for specifying own IP to use in DCC requests
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1512 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22 00:16:38 +00:00
Timo Sirainen
62dc0e36eb scrolling in empty windows crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 23:50:13 +00:00
Timo Sirainen
666f4b2463 get_max_column_count() didn't return correct value in save_column_widths
when it returned only one column.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 23:46:48 +00:00
Timo Sirainen
24e88a6772 irc_parse_prefix() didn't work properly if user name had ! characters.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 23:14:04 +00:00
Timo Sirainen
d9bf6afc0a removing line from the top of the screen crashed irssi
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-21 22:45:49 +00:00
Timo Sirainen
c7d4b81069 Split windows created with /WINDOW SHOW are now sticky if
/SET autostick_split_windows is ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1506 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-18 14:54:02 +00:00
Timo Sirainen
2338954e8a textbuffer_view_redraw() - call werase() before drawing anything, this
hopefully helps with some buggy curseses.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1505 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 21:01:00 +00:00
Timo Sirainen
a914b60689 don't crash with /WINDOW HIDE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1504 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:52:43 +00:00
Timo Sirainen
c2b2d45bd6 Getting rid of gettext, moved some _(..) texts to themes and left some error
messages hard coded.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 20:13:59 +00:00
Timo Sirainen
fe5c94b050 Small speedup when pressing unbound keys.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1502 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 17:07:40 +00:00
Timo Sirainen
ccccd1fdc4 some comment changes, moved nearest_power() to misc.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1501 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 16:50:52 +00:00
Timo Sirainen
a88cd53ea5 raw() mode also disabled SIGINT == ^C, so remove the 5x^C = SIGTERM.
Also use sigaction() instead of signal() with /SET ignore_signals.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1500 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 11:47:21 +00:00
Timo Sirainen
31499f142c cbreak() -> raw() - this fixes at least the Ctrl-4 abort.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 11:24:33 +00:00
Timo Sirainen
af08857261 KEY_RESIZE isn't defined in all curseses, #ifdef it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1498 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-17 11:13:06 +00:00
Timo Sirainen
32902afcd0 new /KICKBAN code crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 22:23:51 +00:00
Timo Sirainen
27ceadbff3 /UNBAN now supports unbanning multiple bans with ban# (/unban 1 4 6)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1496 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 17:35:24 +00:00
Timo Sirainen
e792c23d54 /IGNORE: -word -> -full, like it's with /HILIGHT.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 15:35:43 +00:00
Timo Sirainen
33baf1d618 /LOAD notifies that dynamic modules aren't supported instead of being quiet
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1493 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14 15:20:15 +00:00
Timo Sirainen
3bd6666aea Don't crash if config file had keyboard = { .. } in it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1491 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 19:53:56 +00:00
Timo Sirainen
8d6d0ee43e config_node_remove() - NULL parent is treated as root node
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 19:53:39 +00:00
Timo Sirainen
f1774f1a3b cmd_get_params() crashed in some conditions
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 18:44:51 +00:00
Timo Sirainen
0ec7e8ed58 netjoins should display the @, + etc. before the nick again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1488 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:42:05 +00:00
Timo Sirainen
f89d89b0e7 statusbar was a bit broken when using split windows
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:35:38 +00:00
Timo Sirainen
749e70cad6 more config file handling fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:23:58 +00:00
Timo Sirainen
bffe51861f fixed config file handling
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1485 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 17:04:14 +00:00
Timo Sirainen
1f23c05ee7 CHANNEL_REC->get_join_data() - Returns the information needed to call
SERVER_REC->channels_join() for this channel. Usually just the channel name,
but may contain also the channel key.

If we receive PART-message to channel that hasn't received a JOIN yet,
don't destroy the channel. It's probably because we did quickly /PART +
/JOIN.

Moved /CYCLE to fe-common/core, it doesn't close the window for the cycled
channel anymore if you had autoclosing on.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 16:08:48 +00:00
Timo Sirainen
7a1e526391 MODE +k handler was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 16:06:45 +00:00
Timo Sirainen
e3b33796ff Moved PARAM_FLAG_OPTCHAN handling to core. Removed support for adding own
command parameter parsers, it's probably useless now that opt.channels are
in core.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1482 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 15:48:09 +00:00
Timo Sirainen
d44b803c3c Don't place any window items to windows which have name. Window level
doesn't have any effect to it anymore.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1481 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:32:57 +00:00
Timo Sirainen
897a1ffa86 /LOG OPEN: it was checking /JOIN's options and printed errors if any /LOG
OPEN -option was used..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1480 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:26:22 +00:00
Timo Sirainen
0701f53e63 PL_na doesn't exist in Perl 5.004, don't use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1479 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:23:09 +00:00
Timo Sirainen
9cc1675e1d /NAMES needs only one argument, fixes "/NAMES -ops #a " where irssi thought
the channel was "#a " and instead of "#a"..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1478 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:18:18 +00:00
Timo Sirainen
e3805b63a5 Line removing fixes, /LAST -clear fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1477 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 14:12:21 +00:00
Timo Sirainen
4e06d50255 updated /BIND help, removed special_char bind command and added insert_text.
It can be used to add text to entry line, $variables also works with it (eg.
/BIND ^T /TOPIC $topic)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1476 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:44:23 +00:00
Timo Sirainen
c7274cb00e /IGNORE now defaults to ALL level
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:19:16 +00:00
Timo Sirainen
912cf63c07 resizing terminal with /CLEARed empty windows scrolled those windows so that
the last screenful of text was visible again.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1474 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:08:47 +00:00
Timo Sirainen
1cc3891821 KEY_RESIZE is sent when screen is resized, ignore it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 13:01:46 +00:00
Timo Sirainen
f3f8eb620a added "dcc request send" signal - irssi now prints "DCC CHAT/SEND request
sent to nick".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1472 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:55:18 +00:00
Timo Sirainen
cb28685574 "dcc error file not found" -> "dcc error file open". Print the actual error
message based on errno, don't just assume the file wasn't found.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:43:59 +00:00
Timo Sirainen
4a2c02a6af /SET kick_first_on_kickban for /KICKBAN and /KNOCKOUT - patch by
Jakub Jankowski <shasta@irc.pl>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1469 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 12:00:23 +00:00
Timo Sirainen
c61edaf7c9 always round up the kB value so we won't have 0kB file sizes..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11 11:52:32 +00:00
Timo Sirainen
4c42e7d894 /SET hide_server_tags
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-10 19:54:48 +00:00
Timo Sirainen
88bfb3bf1e support for +O mode
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-09 14:37:48 +00:00
Timo Sirainen
4c8ad5a4c5 some fixes, saving is still broken
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1464 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-08 18:05:53 +00:00
Timo Sirainen
711c17b746 keyboard handling rewrite
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-06 19:28:15 +00:00
Timo Sirainen
de3116ef54 fixed potential crash
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1459 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-01 11:37:50 +00:00
Timo Sirainen
6d4f2ab6fa --with-big5 enables Chinese Big5 charset support. Patch by vanilla@freebsd.org
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-01 09:38:06 +00:00
Timo Sirainen
53474a2163 "ban ..." signals didn't send channel info
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1457 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-25 04:10:19 +00:00
Timo Sirainen
a321ad0150 /SET indent_always - should we indent the long words that are forcibly
wrapped to next line. Default is ON.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1456 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-22 23:20:42 +00:00
Timo Sirainen
c2483eff4e CTCP version reply has now $sysarch by default
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1455 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 20:02:29 +00:00
Timo Sirainen
0bd5755a2d added $sysarch
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1454 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 20:00:23 +00:00
Timo Sirainen
014c07d71c Added TEXT_DEST_REC to perl, fixed "print text..." signal declarations.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1453 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 19:24:20 +00:00
Timo Sirainen
463d5fbd2f Irssi::printformat() didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 19:08:21 +00:00
Timo Sirainen
cb4ce9f1b2 potential crash fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1451 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20 17:35:29 +00:00
Timo Sirainen
7acb8fa027 added/removed some checks
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1450 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-16 16:46:34 +00:00
Timo Sirainen
26312fae9a split windows were broken. added some checks to textbuffer.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1449 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-16 16:44:10 +00:00
Timo Sirainen
8405520f5b resize fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1446 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 23:44:31 +00:00
Timo Sirainen
529e204139 some resize problems fixed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1445 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 23:24:19 +00:00
Timo Sirainen
0cb1752123 related changes to textbuffer update..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1444 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:54:06 +00:00
Timo Sirainen
5d5b9cbc28 bugfixes for multiple windows support :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1443 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:40:45 +00:00
Timo Sirainen
adb7eced39 Rewrote text buffer handling in windows - try #3.
/SET scrollback_save_formats + /SB REDRAW is broken currently. There's some
other minor things that might need to be changed.

This time it allows the same window to be visible multiple times in screen,
like you could make a new split window where to scroll back and find
something while still seeing the new messages at the other window, this
however doesn't work yet but it should be quite easy to make it :)

I've tested that pretty much everything should work with this, new lines can
be added at any position and lines can be removed from any position and
screen should be updated properly. Screen resizing should also work
perfectly now (maybe it did previously too, not sure) and hopefully now we
won't see any of those ugly strange bugs some people were having. Also this
time the same code isn't written 2-3 times to do some specific thing, like
scrolling has now only one view_scroll() function instead of the 3 separate
functions it used to have :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-14 22:24:56 +00:00
Timo Sirainen
ece1ac9dee ']' missing from /SET syntax
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-09 16:16:09 +00:00
Timo Sirainen
86f5d9c0b4 removed unused colors
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01 01:39:28 +00:00
Timo Sirainen
e9b4833c48 gui_window_line2text(): don't keep track of colors - if fg or bg doesn't
change, just use FORMAT_COLOR_NOCHANGE instead of figuring out what it
should be.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1435 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01 00:31:02 +00:00
Timo Sirainen
4b5803d6d7 removed some unused includes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-01 00:25:47 +00:00
Timo Sirainen
2e2edcd54a fixed commented out module_load()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1433 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-31 01:54:53 +00:00
Timo Sirainen
93f102213b http://irssi.org -> http://irssi.org/
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-29 14:38:29 +00:00
Timo Sirainen
8b61b9679c log->temp -> !log->temp .. closed non-autologs instead of autologs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-28 22:38:52 +00:00
Timo Sirainen
ad2b694585 module_get_name() should be inside #ifdef HAVE_GMODULE
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-28 21:32:10 +00:00
Timo Sirainen
3f0498eb20 When closing autologs, don't crash if some other temporary log is open, like
awaylog.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1424 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-26 02:02:50 +00:00
Timo Sirainen
7ed4e7ee7c don't crash with themes without replaces block. don't crash with themes with
highascii characters.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1422 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-24 16:03:05 +00:00
Timo Sirainen
eba784876e fixes, hopefully works correctly finally :) patch by fuchs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1420 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-24 12:45:04 +00:00
Timo Sirainen
62dae68191 ignore_check(): don't crash if nick is NULL - shouldn't really ever happen?
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-24 12:41:43 +00:00
Timo Sirainen
2426cc20c7 Parting channels and disconnecting from servers didn't close the autologs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-21 00:21:45 +00:00
Timo Sirainen
ae6d2014e5 added /SET proxy_password
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20 23:24:45 +00:00
Timo Sirainen
f3ccfa567d dcc_autoget_lowports -> dcc_autoaccept_lowports since dcc chat uses it too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20 16:35:00 +00:00
Timo Sirainen
8a9fcb53fc Send notify out messages with HILIGHT level too.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-20 02:00:17 +00:00
Timo Sirainen
93141c3a86 /RAWQUOTE: like /QUOTE, but don't add line feed after the command, and don't
truncate line to 512 bytes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1410 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-18 23:00:53 +00:00
Timo Sirainen
4a967a5d5c moved stuff from net-internal.h to network.h. HPUX needed one of the
#includes in there to work.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1409 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-18 21:39:24 +00:00
Timo Sirainen
6e57a9e94e /HILIGHT -full didn't work, and -word was treated as -word + -full. Updated
/HELP hilight.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 06:58:13 +00:00
Timo Sirainen
002960765f fixed small hilight memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:34:42 +00:00
Timo Sirainen
d9008ae249 %F = blinking on/off. several fixes to make blinking work better. some
hilight fixes.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 02:32:32 +00:00
Timo Sirainen
c3da7fa8ab Hilighting updates. /HILIGHT -color, /SET hilight_color and /SET
hilight_act_color now use %codes for specifying color.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 01:52:43 +00:00
Timo Sirainen
aa4a4d4072 Added some debug messages..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1401 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17 00:55:47 +00:00
Timo Sirainen
6806a0b7df Irssi now asks if you want to remove unknown settings from configuration
file.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 23:57:24 +00:00
Timo Sirainen
9a7524ae75 emphasis works with actions now
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1399 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 22:14:50 +00:00
Timo Sirainen
ebe99f825c quit_message setting moved from irc to core
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1398 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-16 22:14:21 +00:00
Timo Sirainen
9e1cbb2637 Text buffer: Saving pointer to char[] didn't work correctly with
netbsd/alpha which caused crash soon after startup. Changed the code a bit,
I'm not sure if it's still correct ANSI C but at least it seems to work fine
with netbsd/alpha now :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1397 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 22:33:58 +00:00
Timo Sirainen
db7c60b9a5 /WINDOW CLOSE [<first> [<last>] - you can close multiple windows once now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 21:05:40 +00:00
Timo Sirainen
6fda90e72b server_connect_own_ip_save(): fixed some nasty typos that could have
crashed irssi when using vhosts


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 20:48:57 +00:00
Timo Sirainen
cd9c127aab /NICK could have changed nick to some other nick than we specified
(/NICK nick!blah -> nick)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1394 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 17:39:23 +00:00
Timo Sirainen
7aa9a8e626 ^O reset only colors, not underlines etc.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 17:34:28 +00:00
Timo Sirainen
ae68205a5b bugfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1392 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 16:11:09 +00:00
Timo Sirainen
689fb5a267 if $(MAKE) crap -> ($(MAKE) || $(MAKE)), a lot better :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1391 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 15:42:11 +00:00
Timo Sirainen
c6843a71a5 if ! $(MAKE) -> if $(MAKE); then echo; else
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1390 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 15:23:00 +00:00
Timo Sirainen
69469fe1c8 signal_add_first("setup changed", .. so if some other "setup changed"
handler wants to ask $Z it works properly. This fix is kind of a kludge,
some better way should be found to fix these kind of problems (just
g_strdup() them?)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 03:01:04 +00:00
Timo Sirainen
99e7b28eef minor cleanup
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:48:04 +00:00
Timo Sirainen
dcb652bc4d when some statusbar item was forced to be removed because of lack of space,
it still used 2 chars.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:31:36 +00:00
Timo Sirainen
87777968c3 Beginnings of configurable statusbar. The existing items can be configured
in default.theme.

If some abstract isn't set in theme, it fallbacks to the one in
default.theme now. This should help with old themes, and maybe themes
that don't change something should just keep those parts commented out..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1386 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:26:12 +00:00
Timo Sirainen
aa526bed41 * level is now same as ALL
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 02:22:44 +00:00
Timo Sirainen
885e7fa0ec Reconnecting shouldn't lose the address family.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-14 22:36:04 +00:00
Timo Sirainen
adec7641f0 net_listen() works now properly with --enable-ipv6 and a system that doesn't
have a working IPv6 support


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1382 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-14 22:26:00 +00:00
Timo Sirainen
1d453ed92c %n+bg color change doesn't anymore set foreground black. changed theme's
default_bold_color to default_real_color.

Activity list printed first item with white always. Color redrawed itself
every second.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 19:43:32 +00:00
Timo Sirainen
7ced2beab4 added format_real_length()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 10:34:04 +00:00
Timo Sirainen
4d5da596c9 Statusbar rewrites. Colors are currently not configurable at all, but other
than that, it should work better.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1379 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-12 10:33:13 +00:00
Timo Sirainen
ef1d2e3b43 make distclean works now properly for common/ and irc/ directories (by tko)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1378 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-11 02:33:00 +00:00
Timo Sirainen
93397f3fe0 buggy fix, fixed :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10 23:33:56 +00:00
Timo Sirainen
118aa7e88e nick_hash_remove(): GLIB didn't change the hash table key like I thought, so
we need to first remove it from the hash, then insert again..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10 23:23:32 +00:00
Timo Sirainen
9f9490eb8b Don't cast time_t to int. Don't go playing with memory you just free'd. Some
other cleanups


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10 18:22:58 +00:00
Timo Sirainen
11c54b6109 typofix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-10 02:30:11 +00:00
Timo Sirainen
7f12b1cd6c updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 14:54:23 +00:00
Timo Sirainen
4a4bf68727 /DCC CLOSE CHAT <unknown> signal: we were checking for "GET" here, not
"CHAT"..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:48:41 +00:00
Timo Sirainen
f5d67dcb5c Command history: allow "next history" to jump back to last msg in
history if we already went over it with "prev history" once.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:45:56 +00:00
Timo Sirainen
2968d45f82 /SET scroll_page_count - don't crash if /0 is given. Works now properly
if /0.xx is given.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1364 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:27:40 +00:00
Timo Sirainen
57493acd39 /CONNECT -ircnet didn't load ircnet specific settings correctly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1363 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-08 00:24:27 +00:00
Timo Sirainen
4eb054f4bb If one server fails because of DNS error, don't stop reconnecting to
entire chatnet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1361 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 23:57:19 +00:00
Timo Sirainen
9f28d16456 /LASTLOG -window unknown crashed irssi
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1360 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 23:55:54 +00:00
Timo Sirainen
00abe69923 removing second last unique nick didn't work properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1359 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 23:55:33 +00:00
Timo Sirainen
21ce8803d6 some perl fixes. NICK_REC is also now "iobject"..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1358 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-07 12:09:38 +00:00
Timo Sirainen
d2e7e041ff /SERVER: don't set reconnection to TRUE if we're not disconnecting from
any server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1357 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-05 16:11:53 +00:00
Timo Sirainen
d8128cdcda removed Flood.xs
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1356 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 16:22:00 +00:00
Timo Sirainen
484f62f757 added server_change_nick() function for servers.[ch]. Lots of fixes for
support to multiple identical nicks. Should work now properly :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 10:30:41 +00:00
Timo Sirainen
f167516d23 fixed minor memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 09:09:59 +00:00
Timo Sirainen
0530039b9f /SET names_max_width - buffer overflowed if it was too small..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 09:04:53 +00:00
Timo Sirainen
5f0b432beb "command window prev" -> "command window previous"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 08:10:45 +00:00
Timo Sirainen
b23e544d57 /NAMES didn't stop the signal properly so /NAMES list was printed twice
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1347 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 08:10:01 +00:00
Timo Sirainen
f56ddd872a /SET autostick_split_windows (default ON) - should we do /WINDOW STICK
ON to all new split windows and hidden windows that are created inside
it. This hopefully makes it easier to use split windows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 05:46:09 +00:00
Timo Sirainen
24e36e0081 More statusbar size fixes. Shouldn't corrupt entry line anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:52:17 +00:00
Timo Sirainen
a1842e6baa Statusbar could have gotten to endless loop trying to grow size of some
item when there was no space left.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:35:12 +00:00
Timo Sirainen
cf376ba806 Send "chat protocol deinit" signal when protocol is being
deinitialized. Servers and reconnections are automatically disconnected
for the protocol when it's being deinitialized.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:25:21 +00:00
Timo Sirainen
0be624272c Forced IPv4 connection to host with only IPv6 address should use the
IPv6 address..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:05:16 +00:00
Timo Sirainen
62bd2045bb union { .. } addr removed from IPADDR - it hasn't been actually used
for a long time..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 03:00:35 +00:00
Timo Sirainen
38fbd48712 save_ips() wasn't working properly..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1338 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 02:58:26 +00:00
Timo Sirainen
0b76253492 Ignores without -time were unignored immediately..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1337 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 02:49:01 +00:00
Timo Sirainen
160da45261 /WINDOW SHOW didn't work properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 02:26:35 +00:00
Timo Sirainen
4c7b07ed3f IPv6 fixes. Everything now keeps both v4 and v6 addresses in memory and
at connect() time it's decided which one should be used.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 01:47:13 +00:00
Timo Sirainen
d0a4404bdf /NAMES: -ops -halfops -voices -normal options added. /NAMES without
parameters now prints nicklist in active channel, /NAMES ** shows all
nicks in all channels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04 00:14:00 +00:00
Timo Sirainen
c5cccfcdaa fe-common/irc/flood removed. Some autoignore / ignore -time updates.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:27:07 +00:00
Timo Sirainen
6ae8ab5766 not needed anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1329 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 23:20:26 +00:00
Timo Sirainen
060756da9f /CONNECT -ircnet "" - even if someone does this don't make the server
tag empty :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1328 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 22:06:45 +00:00
Timo Sirainen
1a61f989e1 When /SET autoclose_windows is ON, don't destroy windows if they have
some level set (like /join -w + /part in status window)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1327 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 22:03:00 +00:00
Timo Sirainen
ab5166033c I knew removing those checks from "channel created" and "query created"
signals broke something :) -window option to /JOIN and /QUERY. This
time don't check for any item with same server/name, but check that the
item itself doesn't have window set yet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1326 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:57:31 +00:00
Timo Sirainen
f71afe835a /JOIN #channel and /QUERY nick won't anymore automatically move
channel/query to active window but send a notice to user how to move
it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1325 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:51:57 +00:00
Timo Sirainen
d4558de232 /SET prompt - if target had %c or something in it, it shouldn't be
treated as color code. So color codes can now be used in /SET prompt
string itself, but in none of the $variables it uses.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1324 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:34:06 +00:00
Timo Sirainen
9a5b97164e Always save theme to ~/.irssi/ no matter where it was read from.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:16:40 +00:00
Timo Sirainen
7118830573 window_set_active() doesn't anymore send "window changed" signal if
window is being set to NULL.

Restoring /LAYOUT SAVEd split windows crashed at startup because of
this. Maybe it shouldn't change the window to NULL? Well, at least I
got it to work at all... :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:11:43 +00:00
Timo Sirainen
1b8705bd44 Make sure there's always at least one column even if there's items
wider than max. width allows.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 21:01:18 +00:00
Timo Sirainen
bc0069c02f ignore_get_key() moved to fe-common, fixed printing "*" ignore key.
Doesn't print unignore messages when /RELOADing config.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 20:55:06 +00:00
Timo Sirainen
4f2be94115 /BANTYPE -> /SET ban_type. /BAN: -type option added to override default
ban type.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 20:48:23 +00:00
Timo Sirainen
25a013e4c8 "channel created", "query created" .. don't abort adding window item
even if there already exists another with same name. not sure if this
breaks something but at least doing that breaks some things, like
/join #a and /query #a after that :)

}CVS: ----------------------------------------------------------------------


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 19:56:11 +00:00
Timo Sirainen
f9474e2c3d DCC actions have now ACTIONS level as well as the DCCMSGS.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:40:50 +00:00
Timo Sirainen
5c436a20a6 HILIGHT level didn't work with logs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:40:25 +00:00
Timo Sirainen
46d93a3f4b /SET beep_when_window_active + some cleanups
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1313 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:30:21 +00:00
Timo Sirainen
fcd8810b6c Removed all beep handling from text printing. If you want to beep just
send "beep" signal.

/LAST -clear crashed if window contained only lastlog lines. Some other
minor cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:22:09 +00:00
Timo Sirainen
88094fa9f2 delete_next_word key implemented, patch by Tinuk
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 18:04:10 +00:00
Timo Sirainen
95c17bafc4 /LASTLOG: -case option for case-sensitive matches. -force option is now
required to print lastlogs longer than 1000 lines.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:45:35 +00:00
Timo Sirainen
a47ce2c449 Added strstr_full() and strstr_full_case()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:34:35 +00:00
Timo Sirainen
2f4969aefc make -> $(MAKE)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 17:18:17 +00:00
Timo Sirainen
6f5adbf96c /SET -clear didn't work with booleans
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1307 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03 16:14:28 +00:00
Timo Sirainen
72daabc5f6 kb -> kB
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-02 18:20:54 +00:00
Timo Sirainen
51c1fee749 fixed some signed/unsigned issues
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-28 19:26:21 +00:00
Timo Sirainen
fb488720f5 functions returning void shouldn't do return xx
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-28 18:48:23 +00:00
Timo Sirainen
f7aae08152 /WINDOW PREV -> /WINDOW PREVIOUS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27 08:39:04 +00:00
Timo Sirainen
64e52b7e26 /WINDOW STICKY -> /WINDOW STICK
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-27 08:00:45 +00:00
Timo Sirainen
5627e7a822 nick_nfind(): gets stuck to endless loop if there's multiple identical
nicks in channel.. Luckily this is no problem with IRC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 12:08:53 +00:00
Timo Sirainen
ed27007383 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 11:37:12 +00:00
Timo Sirainen
456836e49c We should define AF_INET6, not PF_INET6..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1293 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 05:55:51 +00:00
Timo Sirainen
afacade780 Fixed for building from objdir
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 05:12:04 +00:00
Timo Sirainen
86d4a229d6 #include "config.h", not "../config.h" so building from objdir works
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-23 05:02:33 +00:00
Timo Sirainen
39e2a4225c Printing channel bans print them now with target parameter set, so with
status window they get printed to channel window instead of status window.
Same for End of b/e/I lists. A few other cleanups.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 21:29:42 +00:00
Timo Sirainen
acf0dd879e /HELP can now display help of non-commands if the file just exists in
help directory


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1289 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 20:51:26 +00:00
Timo Sirainen
469fde3618 Verify in configure that linking with perl's LDFLAGS actually works. If
perl lib dir is set, add 'use lib "/perl/lib/dir"' before each script
automatically.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 20:39:35 +00:00
Timo Sirainen
e2ff4550ea Word highlighting was buggy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1286 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 10:52:29 +00:00
Timo Sirainen
95fb3f5623 /SET autoignore_levels -> autoignore_level. Fixed a memory leak.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 10:52:01 +00:00
Timo Sirainen
432ac912c1 Removed AUTOIGNORE_REC since it doesn't exist anyremo
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 09:03:30 +00:00
Timo Sirainen
62a7faf5b2 strip_real_length(): initialize last_color_pos and last_color_len to
-1. Word hilighting crashed if there was no colors set in the line..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 08:35:53 +00:00
Timo Sirainen
fc17069cec Autoignore fixes by fuchs (not tested, hope it works ;)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 06:09:48 +00:00
Timo Sirainen
a2a6c7e293 Make a temporary window bind if you get kicked from channel. Never
allow any window items to go to windows with sticky binds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1280 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 05:49:30 +00:00
Timo Sirainen
13712d83b2 /IRCNET ADD didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22 05:19:11 +00:00
Timo Sirainen
930ccf5238 /SAVEWINDOWS -> /LAYOUT SAVE. Added /LAYOUT RESET. Initialize GLib log
-> Irssi windows _after_ windows are created..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1278 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 19:19:24 +00:00
Timo Sirainen
a04a1c6f21 Entry line works now properly with very long prompts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 19:00:07 +00:00
Timo Sirainen
7103fc87b8 /FOREACH server|channel|query|window <command>
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 18:41:45 +00:00
Timo Sirainen
4a35a41c85 Support for several unrealircd WHOIS replies, patch by Mark Glines
<paranoid@deathsdoor.com>


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 18:32:15 +00:00
Timo Sirainen
db4e159870 DCC CTCP replies weren't handled properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 05:11:26 +00:00
Timo Sirainen
4718edf055 added format_get_length() for getting length of text part in a format
string. gui_printtext() now works like printtext_string() so %s won't
accidentally crash it. /SET prompt can now have %formats.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1273 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 04:21:15 +00:00
Timo Sirainen
634acd267c Define AF_INET6 if it isn't already defined
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-21 03:46:27 +00:00
Timo Sirainen
481f4bc327 /SET resolve_prefer_ipv6 - should we prefer IPv6 or IPv4 addresses in
host name resolving. /SERVER ADD: added options -4 and -6. Fixed crash
at startup if server didn't have chat network set. "Connecting to xxx
[ip]" is now displayed before calling connect(), so if it fails we'll
still get the IP it's trying to connect to.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 16:23:28 +00:00
Timo Sirainen
2aeb9259e0 DCC updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1267 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 02:37:01 +00:00
Timo Sirainen
7a6c3f0b7c Errors reading/writing config and theme files are now handled properly
and printed to screen


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1266 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 01:54:14 +00:00
Timo Sirainen
25845074d6 Reload theme after /SET theme if it was modified.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 01:12:47 +00:00
Timo Sirainen
4803538e39 my_perl fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 00:48:30 +00:00
Timo Sirainen
43323fd24c multi identical nick fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20 00:33:51 +00:00
Timo Sirainen
c3cebfd93d Instead of directly calling beep(), send "beep" signal which default
behaviour is to call beep()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1262 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 14:55:42 +00:00
Timo Sirainen
8f98e4b608 /SERVER: if there's no servers, print "Not connected to any servers"
instead of just being quiet.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 14:50:53 +00:00
Timo Sirainen
bd92708f22 level_get() check wasn't case-insensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1260 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 12:10:36 +00:00
Timo Sirainen
374df6c5f1 /TOGGLE without parameters now complains not having enough parameters..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1259 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 07:16:32 +00:00
Timo Sirainen
6ee833f0a5 updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1258 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:37:44 +00:00
Timo Sirainen
2e1466d210 /LASTLOG syntax updated
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1256 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:27:24 +00:00
Timo Sirainen
6b4a838813 Moved /LASTLOG handling to lastlog.c. Added options -file <filename>
for writing lastlog to file, -window <ref#|name> for specifying which
window's lastlog to print (output is always to active window) and
-clear option to remove all lastlog lines from window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1255 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 06:23:04 +00:00
Timo Sirainen
1191bc2c2c level_get() prototype was missing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1254 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 05:03:42 +00:00
Timo Sirainen
a191df786d /RECONNECT ALL - reconnects to all servers in reconnection queue
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1253 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:50:58 +00:00
Timo Sirainen
4550204783 Moved /HELP to fe-help.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:44:15 +00:00
Timo Sirainen
f453e84436 /NETSPLIT prints nicks now sorted and prints @ or + before channel if
user was opped/voiced before split.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 04:33:39 +00:00
Timo Sirainen
19dff227d8 Removed /SET dcc_block_size and /SET dcc_fast_send - fast send is now
always used and dcc_block_size is useless with it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:40:06 +00:00
Timo Sirainen
c1c7674ae2 Highlight colors can now have background color set with fg,bg. Works
with activity list too, useful for example blinking.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 03:25:24 +00:00
Timo Sirainen
1117638b52 Moved autoconnects and command line parameter parsing from irc to core.
Added not_initialized parameter to chat protocols that are created
using chat_protocol_get_unknown(). /CONNECT doesn't crash now with
non-initialized protocols but instead complains about them.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:50:08 +00:00
Timo Sirainen
42634d83bc /RECONNECT reconnects now to server with identical settings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:27:10 +00:00
Timo Sirainen
1ee25967d8 window_bind_remove_unsticky(): crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1246 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:26:32 +00:00
Timo Sirainen
b8375d471f Connection updates: moved /SERVER and /CONNECT to core from irc.
Several other related multiprotocol updates.

Removed /SILCSERVER from SILC, /CONNECT and /SERVER should work
properly now. Rejoining channels after reconnection works.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:15:15 +00:00
Timo Sirainen
fa1715b515 If reading host answer from pipe failed, set the error message to
"Host name lookup: g_strerror(errno)"


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:13:02 +00:00
Timo Sirainen
2790a3b0b5 When reading data from socket, read max. 5kB at a time so we won't get
stuck if socket just keeps sending more and more data.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1243 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19 02:12:06 +00:00
Timo Sirainen
0123ba3b26 chat_protocol_register() didn't work properly when the chat protocol
was already registered.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1242 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 23:40:18 +00:00
Timo Sirainen
6a469c46bb Support for multiple identical nicknames.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 22:46:25 +00:00
Timo Sirainen
c2a1971cc3 updates for latest changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1240 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 20:32:22 +00:00
Timo Sirainen
b0178d7248 crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1239 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18 00:11:23 +00:00
Timo Sirainen
0d4d9204a9 Support for multiple identically named nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1238 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 21:46:35 +00:00
Timo Sirainen
be6ba53fa4 Config file: ircnets -> chatnets, added type = "chat protocol" to
chatnet config. Moved reading chatnets to core. Lots of other
multiprotocol updates.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1237 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 19:44:22 +00:00
Timo Sirainen
513e140bce Irssi::command_bind(): Don't run the command twice. Log updated for
log_write_rec()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1236 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 12:23:18 +00:00
Timo Sirainen
e5f1216797 log_write_rec(): added level parameter. writing /LASTLOG to log files
doesn't anymore print the current timestamp at the start of line since
/LASTLOG messages have their original timestamp already.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 12:08:31 +00:00
Timo Sirainen
c0726196ea Moved fe stuff from perl-common to perl-fe.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 11:33:12 +00:00
Timo Sirainen
5807efc587 more static perl fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 11:05:29 +00:00
Timo Sirainen
abe4ddb52a /LOAD module tries to load "module_core" instead. If it wasn't found,
it fallbacks to "module" again. If it is found, it tries to load several
other modules too, like irc_module, fe_module and fe_irc_module.

Split perl module to perl_core and fe_perl. Removed "_common" from some
fe_common modules.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:35:35 +00:00
Timo Sirainen
2517c4099a ig_module_build_path() prototype was missing..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:26:59 +00:00
Timo Sirainen
657defae1d added g_module_build_path()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1222 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-17 10:09:49 +00:00
Timo Sirainen
8d86fc75ef added fe-dcc.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 20:49:45 +00:00
Timo Sirainen
e9b4784836 If log file locking fails, check that it failed because file was
locked, not because filesystem doesn't know locks or some other reason.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 20:21:18 +00:00
Timo Sirainen
5e3a3e88a8 added fe-exec.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-16 16:07:35 +00:00
Timo Sirainen
187412eb7c Perl 5.6 wants PREFIX=xx, not LIB=xx when default isn't used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-15 00:05:22 +00:00
Timo Sirainen
935ec3a9a4 #include "perl-common.h" to define my_perl
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-14 23:44:34 +00:00
Timo Sirainen
bebb9d3de8 irssi_perl_interp -> my_perl and made it non-static. should help compiling
with some weird perl implementations.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1213 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-14 22:06:47 +00:00
Timo Sirainen
f4aef7c706 Added PROCESS_REC to fe-exec.h and perl support for it. "exec new" and
"exec remove" sends PROCESS_REC as first argument. Added "exec input"
signal to perl.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1212 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-13 19:26:43 +00:00
Timo Sirainen
677e0a6736 Updates so that DCC stuff compiles again. Still missing DCC chat/get/send
specific stuff.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-12 16:31:33 +00:00
Timo Sirainen
429ce5a2b3 Removed SYNTAX: LOG LIST - the commands is /LOG
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-11 00:15:32 +00:00
Timo Sirainen
355e7dd841 theme->default_color is now used again, added default_bold_color which
is used with default bolds since A_NORMAL|A_BOLD doesn't seem to do
anything with curses..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 10:19:47 +00:00
Timo Sirainen
98a73539ae /EXEC -interactive: Creates a query-like window item. Text written to
it is sent to executed process, like /EXEC -in.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 09:54:51 +00:00
Timo Sirainen
ddf6810b0e Changed window->waiting_channels ("servertag name" format) to
bound_items containing WINDOW_BIND_REC structures. If you now use
/SAVEWINDOWS, the item will _always_ be restored to saved window even
if there was already some other item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1204 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 09:12:53 +00:00
Timo Sirainen
7c21fb84ee /SET hilight_act_color - default color to use for highlighting in
activity line


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 08:44:19 +00:00
Timo Sirainen
5ab27ea604 /SAVEWINDOWS saves now split windows
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 07:26:54 +00:00
Timo Sirainen
88b091cc95 Write buffer - logs and rawlogs write to files through this. By default
everything gets written immediately, but you can make it wait until
there's specified amount of data in buffer or write once in a hour or
so. Useful for people who want to keep hard disk at sleep at nights but
still want to log.

/SET write_buffer_mins, /SET write_buffer_kb: When to flush buffer.
/FLUSHBUFFER: Flush the buffer immediately


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1201 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 05:54:35 +00:00
Timo Sirainen
5061783f4c added descriptions for left_window and right_window
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 05:34:46 +00:00
Timo Sirainen
194dd60f36 /SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.
Forced max. 6 columns limit to /HELP


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:54:09 +00:00
Timo Sirainen
0de0499fd8 /WINDOW STICK [ON|OFF|<ref#>] - stick window to specified main window.
After setting window to sticky non-sticky windows can't replace the
active sticky one. Each main window can have it's own sticky window
group.

/WINDOW LEFT, /WINDOW RIGHT - Go to previous/next window in the current
sticky window group, or if there's no sticky windows go to
previous/next non-sticky window. Alt-Left/Right keys default to these
commands now.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 04:43:21 +00:00
Timo Sirainen
89abfaf9cf sticky_refnum is now saved and restored
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 03:12:22 +00:00
Timo Sirainen
980d6ca3fd /WINDOW SERVER: added -sticky and -unsticky options. If window server
is sticky, it will never be automatically changed, and it cannot be
changed to anything else without -unsticky option. Should be useful for
people who want status or msgs windows for each server.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1196 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 03:10:30 +00:00
Timo Sirainen
54870f51fd window_item_set_active(): window->active_server was set wrong if there
was multiple items in window from different servers.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1195 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 02:13:13 +00:00
Timo Sirainen
e4f7d55ce9 DCC cleanups - split DCC_REC to CHAT|GET|SEND_DCC_RECs. Plugins should
now be able to add whatever new DCC types.

Nick changes affect DCC chats. /WHOIS without parameters works properly
in DCC CHAT queries.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10 02:02:26 +00:00
Timo Sirainen
118f9a11eb DCC chat nicks are in /MSG completion list now if chat isn't in query.
Sending actions to non-query DCC chats now display the target.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1193 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09 22:00:51 +00:00
Timo Sirainen
8938a0f42b /CONNECT, /SERVER: added -4 and -6 options for specifying if we should
connect to IPv4 or IPv6 address of the server. If -host or /SET
hostname is set irssi determines from it if it should use IPv4 or v6.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1192 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09 21:26:50 +00:00
Timo Sirainen
6358c2d627 #include "irc-channels.h"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08 16:54:52 +00:00
Timo Sirainen
1dfd86fe95 /SET opermode - set this mode when you get ircop status.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1190 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-08 09:24:25 +00:00
Timo Sirainen
e06e831608 /LOAD ./path/module - loads module from path relative to current
directory instea of trying to find it from ~/.irssi/modules or
$PREFIX/lib/modules


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-07 19:36:45 +00:00
Timo Sirainen
45ad955d9e /ACTION didn't print the target when there was no query/channel where
to print the action


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1188 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 22:10:57 +00:00
Timo Sirainen
70322d695f Don't autolog CTCPs by default (so CTCP floods don't create lots of
useless files)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:56:51 +00:00
Timo Sirainen
16012d63ce check_ignore() didn't check correctly if everything in specified level
was ignored


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:49:57 +00:00
Timo Sirainen
c741abe23f '=' isn't really necessary, warn if it's missing but don't fail without
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1185 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-06 21:42:58 +00:00
Timo Sirainen
3f113f51b9 make deinitialization between screen_refresh_freeze() and
screen_refresh_thaw() so screen won't get redrawn needlessly


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-05 01:06:42 +00:00
Timo Sirainen
7612cf4773 added fe-channels.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1183 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 23:29:39 +00:00
Timo Sirainen
e2acaaa067 Added gui_printtext() function for printing text in printtext() format
to screen in specified position.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 19:29:38 +00:00
Timo Sirainen
e9b48e8942 irc_nick_insert(): Irssi::Nick, Irssi::Channel -> Irssi::Irc::...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 18:14:20 +00:00
Timo Sirainen
6ad5d24e0d DCC RESUME, DCC ACCEPT: we might have crashed with invalid parameters.
Some other "cleanups".


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1178 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-03 17:38:01 +00:00
Timo Sirainen
e387516951 Nicklist updates so that protocol specific xxx_NICK_REC can be used
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-02 22:10:20 +00:00
Timo Sirainen
7240717198 get_max_column_count(), columns_sort_list(): fixed to work properly
with empty list


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-02 22:09:11 +00:00
Timo Sirainen
4dd1d73f80 Print own mode changes immediately to screen without the 2sec wait.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 21:21:19 +00:00
Timo Sirainen
9044226d6e Print the color hilight with two digits so it won't accidentally use the
next char if it's numeric.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:53:09 +00:00
Timo Sirainen
b24243e45a /SB STATUS: for debugging mostly, displays number of lines and used kBs
of memory per window and totally


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 20:11:47 +00:00
Timo Sirainen
2a31ecaa32 Ugly quick hack to make act: never disappear but print as much activity
to statusbar as fits.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1172 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31 11:23:29 +00:00
Timo Sirainen
8acf2cd5f9 /nctcp crashed
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-29 12:39:13 +00:00
Timo Sirainen
e09be2c7b4 /SET activity_hide_targets now hides them even if level is MSGS. Only
activity of highlighted text is not hidden.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28 19:31:45 +00:00