1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00
Commit Graph

2907 Commits

Author SHA1 Message Date
Wouter Coekaerts
f5793daed5 Make /LASTLOG -after/-before work without text to match
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4601 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-22 19:31:47 +00:00
Emanuele Giaquinta
de4c2af324 Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automake
PACKAGE/VERSION ones.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-07 14:55:14 +00:00
Emanuele Giaquinta
39d42bdad4 Fix /window goto to reach all the items with the same name when there
are more than two.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4595 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04 16:38:01 +00:00
Emanuele Giaquinta
9af4399089 Replace 0 with NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4591 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04 12:49:57 +00:00
Wouter Coekaerts
dfb892559c Add Perl bindings for some gui_entry methods.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4590 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-04 08:35:59 +00:00
Jilles Tjoelker
5a639efef3 - Make notices to +#channel (and all other STATUSMSG=)
appear in the channel window.
- Make actions and ctcp to @#channel etc appear in the
  channel window.
- Clean up the code a little.

This fixes bug #46 apart from incoming msg to +#channel.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4589 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-03 17:24:25 +00:00
Emanuele Giaquinta
3823400390 Sort the layout to save by refnum.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 14:27:18 +00:00
Emanuele Giaquinta
022b6f183a Fix typo.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4585 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 14:15:12 +00:00
Emanuele Giaquinta
927f7bc53e Remove backward compatibility for very old options.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4584 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 14:06:38 +00:00
Emanuele Giaquinta
e55d0a862c Change 'actlist_moves' boolean to 'actlist_sort' string which specifies the
sorting type to use for the activity bar:
- refnum (default)
- recent (same as actlist_moves on)
- level (sort by window level, same ordering used by active_window command)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4583 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-26 13:53:22 +00:00
Jilles Tjoelker
380d0d3d38 SSL: Fix assertion failures when net_connect_ip() detects
an error, e.g. bad bind address, localhost connection
refused.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4577 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-08 19:00:42 +00:00
Jilles Tjoelker
55c2d17c2b Fix crash when SSL-connecting to something which closes
the connection immediately. Also clarify the error message
when the SSL handshake fails.
This bug was introduced after 0.8.11.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4576 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-08 18:39:32 +00:00
Jilles Tjoelker
3b72b51257 Update channel forwarding code.
This is now on numeric 470 instead of 379.
It works with hyperion and charybdis, and puts the
channel you were forwarded to in the window the original
channel would be in.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4575 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-08 16:44:35 +00:00
Jilles Tjoelker
131d92c4d3 Fix 477 numeric broken by r4572
(should be displayed in status if it's a join failure,
channel window otherwise)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4574 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-07 10:49:19 +00:00
Jilles Tjoelker
3f84c9d19d /lastlog -file: use stdio instead of two write(2) calls per line
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4573 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-06 21:54:32 +00:00
Jilles Tjoelker
8312144547 Move the check for 4xx numeric for join failures last, so
that the CHANNEL_REC is still around when handlers for
specific numerics are executed. This allows removing the
ugly special case for 437; I will also use this for 470
(channel forwarding).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4572 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-07-06 21:43:23 +00:00
Jilles Tjoelker
0b8bee080a If 001 has not been received yet, also treat "Banned" or
"Bad user info" (case insensitive) in an ERROR message as
an indication of a server ban.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-29 18:45:14 +00:00
Emanuele Giaquinta
566f6d24be Do not require that a line matches the input level to add it to the
'after' context, so that '/lastlog -hilight -after 10 foo' has the same
semantic as '/lastlog -hilight -before 10 foo'.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4570 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-28 22:50:58 +00:00
Emanuele Giaquinta
bc45b39030 Do not compile the regexp if the input string is empty.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-28 18:29:03 +00:00
Emanuele Giaquinta
b67f641ac1 Remove cuix from trunk.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4560 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-17 14:40:13 +00:00
Jilles Tjoelker
98e3a37d7b Use $(mkdir_p) instead of if [ ! -d X ]; then mkdir X; fi,
fixing a race condition with parallel builds.

Submitted by mandriva
Slightly simplified by me


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4559 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-17 13:22:36 +00:00
Emanuele Giaquinta
95a1e5dce3 Document -window option of join command.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4557 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 15:11:42 +00:00
Emanuele Giaquinta
d434820cd7 Use again MSGLEVEL_NICKS for printing a nick change in queries, broken in
r2389.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4556 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 15:02:17 +00:00
Emanuele Giaquinta
f0cf56bda4 Revert r4549.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4555 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 14:58:13 +00:00
Emanuele Giaquinta
3845518b3a Fix comment.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16 14:50:05 +00:00
Jochen Eisinger
d700521273 fix off by one error when extracting e.g. fe from fe_silc
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4553 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-14 19:12:10 +00:00
Timo Sirainen
8e178969ac Removed special error==1 handling from net_gethosterror(). It wasn't used
anymore, and even when it originally was used it was wrong.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4551 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 19:37:06 +00:00
Emanuele Giaquinta
3a1ef5d9eb Make /window goto start searching at the window after the active one and stop
at the one before, bug #332.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4550 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 18:00:26 +00:00
Emanuele Giaquinta
d51a03ed01 Make -window option of /join and /query accept an optional numeric argument
that specifies the refnum of the window to create the item in, bug #203.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4549 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 17:15:14 +00:00
Emanuele Giaquinta
db0eac61e4 When parsing a '@' option verify that the whole argument, rather than only the
first character, is numeric.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-10 17:07:31 +00:00
Jilles Tjoelker
9d6335735b Add support for the ACCEPT command, which is part of the
CALLERID server side ignore system in hybrid7 and derived
ircds.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4546 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08 18:49:24 +00:00
Jilles Tjoelker
10ae40c368 Various updates/enhancements/fixes to the help files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4545 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-08 15:59:02 +00:00
Jilles Tjoelker
ff63982d4f Don't add the same mask to the knockout list multiple times.
This fixes bug #510. Note that #510 only happened if multiple
bans were sent before the MODE came back and multiple unbans
were sent before the MODE came back.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06 17:57:28 +00:00
Emanuele Giaquinta
0bfffb33ce Enhance /set completer to complete option names also when a command option
is present and to complete option values.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4543 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06 17:49:10 +00:00
Emanuele Giaquinta
64e6e92f20 Add g_strdup forgotten in r4471.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4542 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06 16:55:48 +00:00
Jilles Tjoelker
78e24b0378 Put "account" before services login name (330 numeric, whois_extra).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4541 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-05 20:24:33 +00:00
Emanuele Giaquinta
51ab0c1350 Cleanup cmd_set by moving the code to print the settings matching a
pattern in its own function and using settings_get_record for exact
matching.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4540 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-05 12:03:18 +00:00
Emanuele Giaquinta
1e5554a203 Remove code duplication.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4539 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-05 11:27:58 +00:00
Emanuele Giaquinta
b228bb30f5 Change active_window to select, when there is more than one window
with the highest data level, the window with the lowest refnum.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4538 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-04 09:59:03 +00:00
Jilles Tjoelker
c0674522ae - Repair channels_rejoin_unavailable. Enabled by default,
this retries joins that failed because of netsplits
  (channel temporarily unavailable (437), duplicate channel)
  A few servers abuse 437 for juped channels which should
  not be retried, you should disable channels_rejoin_unavailable
  if this is a problem.
- Display 437 and 407 numerics if channels_rejoin_unavailable
  is not enabled.

Bug #495


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4537 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-03 13:08:47 +00:00
Emanuele Giaquinta
273152762f Rewrite SSL connection/handshake code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4536 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 23:56:51 +00:00
Emanuele Giaquinta
5bcafebbd4 Assume width 1 for control characters in places where a non-negative width is
expected.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4535 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 13:56:35 +00:00
Emanuele Giaquinta
d3687d8a97 Rename IS_PRINTABLE macro to unichar_isprint and move it to utf8.h.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4534 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 13:19:05 +00:00
Jochen Eisinger
bd7bc8781b skip fe_common prefix when freeing prefix list
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4533 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-31 06:37:13 +00:00
Jilles Tjoelker
1f009670a1 Apply patch from bug #202 (from "Irssi Fan"); when calling
reconnect_save_status() for a server that has not sent 001
yet, do not free and reallocate conn->channels twice, and do
not copy the channels if server->connrec->no_autojoin_channels
is set. It seems a special case because reconnect_save_status()
is not usually called for servers that have not sent 001
yet, but it can't really hurt.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4532 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-30 21:18:22 +00:00
Emanuele Giaquinta
b05e103ad9 Cleanup and optimize a bit sig_statusbar_activity_hilight.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4531 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-30 21:17:59 +00:00
Emanuele Giaquinta
326084e883 Do not install utf8.h, it is a private header.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-30 17:30:35 +00:00
Emanuele Giaquinta
152acd26ec Fix build after last change to option processing.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-29 08:19:24 +00:00
Jilles Tjoelker
ee2c45beec - Display more numerics (such as cannot send to channel,
cannot /msg, user is +g) in the channel or query window,
  if any.
- Put the target name in front of "generic" numerics
  printed to the channel/query window (useful if there are
  multiple in one window, or if there is no such window).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-28 13:59:05 +00:00
Emanuele Giaquinta
20d8f4d26b Hide --session from --help output and remove its mention from the manual,
internal use only.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4525 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-26 12:19:08 +00:00