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

1337 Commits

Author SHA1 Message Date
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