David Leadbeater
f5331a3df5
Make sure NO_ACT isn't cleared when -actcolor %n is used
...
Fixes issue #227 .
2015-04-07 10:26:28 +01:00
Alexander Færøy
ac5aebb91f
Merge pull request #217 from Lohhari/lastlog-date
...
Added a -date parameter to /lastlog to prepend each row with the ...
2015-03-01 11:44:28 +01:00
Hans Nielsen
7beffbdcc5
Add help files for proxy module
2015-02-24 19:53:23 -08:00
Hans Nielsen
bbf404b611
Fix whitespace
2015-02-24 19:53:23 -08:00
Hans Nielsen
178d595c96
Add port to proxy client struct for Perl scripts
2015-02-24 19:53:23 -08:00
Hans Nielsen
6a28bad814
Add boolean toggle for irssiproxy being enabled
2015-02-24 19:52:17 -08:00
Hans Nielsen
aaa0f73eac
Make proxy messages include more detail and add status command
2015-02-24 19:52:17 -08:00
Hans Nielsen
d27c54486f
Change around connection signals in proxy module
...
Change "proxy client connected" to "proxy client connecting" to avoid being confused by clients that have connected but not necessarily authenticated. Emit "proxy client connected" once authenticated, keeping the name for backwards compatibility.
2015-02-24 19:52:17 -08:00
Alexander Færøy
8657cd22cf
Merge pull request #225 from dequis/silence-unused-value-warnings
...
Silence unused value warnings in perl binding code
2015-02-17 11:04:49 +01:00
Ailin Nemui
ee3eaa5428
fix crash in layout code when encountering wrong config
2015-02-17 09:50:55 +01:00
Ailin Nemui
fef25d6a35
Make the config parser more robust
...
We add some additional checks into the config parser's
node_section_index, node_traverse and node_set_str functions. In
particular, we check if the requested node is of scalar or complex type
and whether this matches the value found in the config. If it does not
match, then a warning is issued appropriately and the config is
corrected.
2015-02-17 09:50:55 +01:00
Ailin Nemui
1e4f7e6324
Refuse to load broken configs on irssi start
...
By temporarily raising the fatal log level to critical during irssi
start-up, we make it fail when the config file is broken. This is then
re-set so that /reload of a broken config file will not crash irssi and
just report the errors and gracefully continue instead.
2015-02-17 09:50:55 +01:00
Ailin Nemui
af6b789d2a
Warn the user instead of crashing on wrong config
...
The change introduced in #191 will crash irssi immediately if you
accidentally try to /reload certain broken config files. It is enough to
warn the user in this case, so we turn g_error into g_critical.
2015-02-17 09:50:55 +01:00
Ailin Nemui
96d4fb9156
add CONFIG_REC to config_node_section* APIs
...
this adds the CONFIG_REC * to the config_node_section and
config_node_section_index APIs as they will require access to the config
cache later on to make the config parser more robust.
2015-02-17 09:50:55 +01:00
Alexander Færøy
8e64aee42a
Merge pull request #115 from ailin-nemui/fix-hat-key
...
Make ^ key and Ctrl+^ key usable with /BIND
2015-02-16 22:15:04 +01:00
dequis
8e8bc5fdbc
Silence unused value warnings in perl binding code
...
sed -i 's/hv_store/(void) &/'
This only results in a warning in older gcc versions, but that includes
the one used in the Travis CI environment by default
2015-02-16 13:45:14 -03:00
Vesa Pirila
895ac10c4e
lastlog.c is a mix of tab and space indentation. My changes now use tabs.
2015-02-16 09:49:22 +02:00
mauke
b4b4ebfadf
accept freenode extbans in /ban [ #150 ]
2015-02-08 22:16:01 +01:00
Vesa Pirila
cd5a571fd8
Added customization possibility for the lastlog date format, lastlog_date
2015-02-08 16:58:30 +02:00
Vesa Pirila
466166010b
Added a -date parameter to /lastlog to prepend each row with the row's date
2015-02-08 13:00:51 +02:00
KindOne
4bf9e1f16a
Do not let the ctcp action of an inital query go into the status window.
2015-01-17 08:11:10 -05:00
Alexander Færøy
b2fe861156
Merge pull request #191 from dgl/config-error
...
Die if the wrong type of node is found when traversing config
2015-01-05 01:05:14 +01:00
Alexander Færøy
9abdeb8611
Merge pull request #152 from sebth/master
...
Try to split long lines on spaces
2015-01-05 01:03:58 +01:00
Alexander Færøy
1136ea915a
Merge pull request #164 from ailin-nemui/fix-ansi-reset
...
Fix reset of attributes with ansi
2014-12-16 20:41:22 +01:00
Alexander Færøy
89cdcecf76
Merge pull request #133 from pjcj/master
...
Speed up /reload when there are many ignores.
2014-12-16 20:39:33 +01:00
Alexander Færøy
cd7a30bf9a
Merge pull request #189 from dequis/colorless-green-ideas-blink-furiously
...
Fix blinking/bold text in terminals with no color support
2014-12-16 20:28:56 +01:00
David Leadbeater
db62ddfd55
Die if the wrong type of node is found when traversing config
...
Fixes issue #187 . It's a bit annoying this can't do anything other than
exit, however as there's no schema for the config it's only possible to
validate on use. This level of config can't be accessed from Perl so a
script can't cause Irssi to die (via this method at least).
2014-12-16 12:14:23 +00:00
dequis
367d8efc5f
Fix blinking/bold text in terminals with no color support
...
Before this, doing "TERM=vt100 irssi" showed all text as bold and
blinking because of a failed check of window->term->TI_colors that
was doing (value & 8) and not expecting a value of 0.
The changed lines themselves look a bit weird, but they make more sense
in the context of the original commit, 96a292d4
.
2014-12-14 18:21:40 -03:00
Geert Hauwaerts
08b390b11b
Documentation fix for #185
...
Documentation fix for #185
2014-12-08 21:28:02 +01:00
Alexander Færøy
dbcfb7060b
Merge pull request #161 from anadrome/patch-1
...
Update old bug URLs
2014-12-06 16:12:03 +01:00
Alexander Færøy
d87c494d89
Merge pull request #162 from dequis/self-messages
...
Receive 'self messages' in the right query window
2014-12-06 16:11:15 +01:00
Alexander Færøy
bbd7333924
Merge pull request #171 from vlajos/typofixes-vlajos-20141108
...
typo fixes - https://github.com/vlajos/misspell_fixer
2014-12-06 16:09:11 +01:00
Guillaume BROGI
86d263dd7d
Check for unix sockets when reconnecting
2014-12-03 14:38:01 +01:00
Guillaume BROGI
f0a6e5f82a
Correctly parse unix sockets servers in the config
2014-11-20 17:01:07 +01:00
Ailin Nemui
b03805eeb9
reimplement format and length logic for the entry prompt
2014-11-10 10:53:14 +01:00
Veres Lajos
f285332c5b
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-08 22:26:53 +00:00
Ailin Nemui
77a90effe3
Fix reset of attributes with ansi
...
reported by Christopher Ohlsson (dmnc)
2014-10-28 10:50:26 +01:00
dequis
1edfcedda1
Receive 'self messages' in the right query window
...
Original patch by hondza <sedaj2@gmail.com>, from FS#833. I applied
several needed style changes, and rebased to current HEAD.
This implements the IRCv3.2 self-message extension partially (we can't
announce its support through CAP yet). This is also the format used by
the 'privmsg' znc module, and is already implemented by several other
clients.
2014-10-26 00:33:20 -03:00
mjn
8e29a70a82
Update old bug URLs
...
At some point in the past few years, Flyspray changed its URL scheme from id=nnn to task_id=nnn, which broke some old comments in the source. Update those comments to URLs that still work.
2014-10-25 17:00:27 +02:00
Sebastian Thorarensen
f81a54b937
Try to split long lines on spaces
...
Try to split long lines on spaces to avoid words being splitted. This
can be turned off with the option `split_line_on_space'. The code
assumes that the terminal encoding has ASCII spaces.
2014-10-19 17:03:20 +02:00
Alexander Færøy
8bd575df2e
Disable SSLv3
2014-10-15 10:00:30 +02:00
Alexander Færøy
10078407f6
Remove unnecessary NULL check
...
Fixes : #135
2014-10-11 12:13:22 +02:00
Alexander Færøy
ec0360b921
Merge pull request #147 from ahf/bugfix-143
...
Fix use-after-free bug with cached settings values
2014-10-06 20:43:01 +02:00
Alexander Færøy
3d6051a03e
Merge pull request #140 from sebth/master
...
Make line splitting fail-safe
2014-10-01 21:55:56 +02:00
Alexander Færøy
a2121efed3
Merge pull request #142 from dequis/away-with-no-reason
...
irc_server_send_away: don't send empty param if there's no away reason
2014-10-01 21:54:00 +02:00
Alexander Færøy
d9ea224628
Fix use-after-free bug with cached settings values
...
This patch fixes a couple of use-after-free bugs when caching various
string related setting values.
Fixes : #143
2014-09-30 18:07:13 +02:00
Michael Vetter
51239925ec
source cleanup: remove trailing whitespaces
2014-09-11 19:10:33 +02:00
Ailin Nemui
98435fb464
support storing and replaying the monospace attribute in textbuffer
2014-09-11 18:15:06 +02:00
dequis
d68ee06aa4
irc_server_send_away: don't send empty param if there's no away reason
2014-09-09 21:14:07 -03:00
Sebastian Thorarensen
42a34a78e8
Make line splitting fail-safe
...
The userhost Irssi uses for line splitting can in some cases be wrong,
for instance when a proxy is used or when a server cloaks the hostname
without telling the client. Now Irssi always assumes the userhost is of
maximum length. 10 for username (common value) and 63 for hostname (in
RFC 2812).
2014-09-01 00:24:17 +02:00
Ailin Nemui
9f6c76b028
Add the signal for printtext_after that was missed in the original commit.
...
Now properly sends "gui print text after finished" signal when using
the printtext_after API that was fixed after 0.8.16
2014-08-25 14:50:41 +02:00
Paul Johnson
d9deafe57c
Speed up /reload when there are many ignores.
...
With many ignores (a few thousand) /reload could take so long that connections
were dropped. The problem is that nickmatch_rebuild() was being called for
every ignore. The easy solution is to only call it once at the end.
2014-08-23 21:08:17 +02:00
Alexander Færøy
d40c0704f0
Merge pull request #123 from ailin-nemui/terminfo-scroll-check-bounds
...
Add bounds check to array access in terminfo driver.
2014-08-09 12:24:45 +02:00
Ailin Nemui
836d386823
Add bounds check to array access in terminfo driver.
...
this fixes a crash due to illegal memory access that can occur if
something is printed to the screen on the "terminal resized"
handler. It is not clear to me whether this race condition can be
triggered by external incoming messages, but it might be better safe
than sorry.
2014-08-09 11:40:37 +02:00
tomaw
2346d3b62f
Merge pull request #109 from cpbills/master
...
Fix right aligned statusbar item redrawing
2014-08-08 18:57:50 +01:00
Geert Hauwaerts
f0aa2d2049
Syntax rewrite of U-Z commands
...
Rewrote the syntax documentation of U-Z commands.
2014-08-05 22:00:30 +02:00
Alexander Færøy
b9f532568b
Merge pull request #118 from ailin-nemui/mirc_blink_fix-fix
...
fix mirc_blink_fix
2014-08-05 21:21:37 +02:00
David Leadbeater
1dbc3dba78
Fix rawlog saving after dac67a5
broke it
2014-08-05 17:33:50 +01:00
Ailin Nemui
b602372e78
fix mirc_blink_fix
...
the background colours were totally off with mirc_blink_fix
enabled. oops.
reported by wodim
2014-07-31 03:09:19 +02:00
Geert Hauwaerts
5a4e535cd7
Merge pull request #112 from ailin-nemui/italics-exception
...
fix rules for italics emphasis
2014-07-30 22:24:24 +02:00
Geert Hauwaerts
4beebe3238
Removed the obsolete SQUERY and SERVLIST commands
...
Removed the obsolete SQUERY and SERVLIST commands.
2014-07-30 13:02:26 +02:00
Ailin Nemui
09f23d06b5
Modify escape of ^ key so it can be used as well as Ctrl+^
...
Fixes FS#721
This makes Ctrl+^ and ^ bindable again as different keys. We do this
by escaping single `^` as `^-`, which is not a valid control character
(unlike `^^`)
The original approach suggested in FS#721 is insufficient, it will
break bindings such as `meta-^` because Irssi is convinced that `^`
introduces a Control-key ("key combo") so it is waiting for what may
follow.
2014-07-28 13:58:13 +02:00
Ailin Nemui
07e37c2329
fix rules for italics emphasis
...
while the last patch did stop /path/.xxx from turning italic, it also
stopped any other /emphasis/ from becoming italic. correct this by
testing for ispunct, so spaces are valid italic terminators
2014-07-24 09:42:57 +02:00
Ailin Nemui
1cf7017ac9
fix colour 0 again
...
the previous commit was broken, as it conflicted with the colour
\#000000. Now both the "real colour black" and the "terminal colour 0"
are working.
2014-07-24 00:11:42 +02:00
Ailin Nemui
41fab0707f
restore the colour 0 ("black") that got broken by extended colours
...
the colour 0 was broken by the extended colours patch because it needs
an explicit bit check (lower bits will be false since it is 0)
Thanks to lhynes for the report
2014-07-23 23:42:05 +02:00
Christopher P. Bills
6a5f04b26a
Fix right aligned statusbar item redrawing
...
Fixes Github issue #97 https://github.com/irssi/irssi/issues/97
Fix proposed by ailin-nemui, built and tested on Debian Jessie using
0.8.15 source, tested by GeertHauwaerts as well.
2014-07-22 22:03:46 -04:00
Ailin Nemui
8e062b7bd0
fix uninitialised copy on 24bit colours
2014-07-18 13:56:02 +02:00
Geert Hauwaerts
dde8540e3e
Removed the obsolete RPING command
...
The RPING command is obsolete.
2014-07-14 20:38:01 +02:00
David Hill
6e45d68399
Avoid using uninitalized values.
2014-07-12 16:35:42 -04:00
Geert Hauwaerts
938598e271
Removed the obsolete NOTE command
...
I removed the binding for the NOTE command that doesn't exist anymore on
any major network.
2014-07-09 18:33:10 +02:00
Ailin Nemui
a5a7fdbe5f
more strict rules for italic emphasis to avoid file name clashes
...
this additional check avoids /root/.hiddendir from italicising /root/,
because that is often used in path names
2014-07-08 13:42:06 +02:00
David Leadbeater
7fe47826ea
Suggest /HELP rather than HELP
...
At this point cmdchars is definitely / and the user might not know they
need to add / to a command.
2014-07-08 09:24:12 +01:00
David Leadbeater
4e2299f1b7
Change to printtext for first time message too
2014-07-08 09:23:55 +01:00
David Leadbeater
47d66d214f
Only show banner if not connecting to servers
...
It's tricky to make the banner show first in all cases and it's unlikely
to be seen if someone is connecting to a server already, so just don't
show it.
2014-07-08 01:38:08 +01:00
Alexander Færøy
a9ff985a91
Merge pull request #15 from ailin-nemui/hilights-network-tag
...
FS#155 hilight -tag
2014-07-07 22:49:29 +02:00
Ailin Nemui
d3093418d4
cleanup hilight -network patch
2014-07-07 22:45:29 +02:00
Alexander Færøy
b2c3db4d5b
Fix Clang warnings
...
This patch fixes a few warnings emitted by clang by removing the
initialization of the list by itself.
2014-07-07 22:26:04 +02:00
Alexander Færøy
09a1801186
Merge pull request #58 from ailin-nemui/italics
...
Implement italics support for Irssi
2014-07-07 22:16:23 +02:00
Alexander Færøy
99b629ab20
Merge pull request #29 from sebth/master
...
Properly split long IRC messages
2014-07-07 18:27:57 +02:00
Manuel Leiner
669add63e8
FS#155 hilight -tag
2014-07-07 00:42:50 +02:00
Lukas Mai
225d149968
optionally render /foo/ as italics
2014-07-07 00:32:07 +02:00
Lukas Mai
0e294d5c2e
add italics support; don't use standout for reverse
2014-07-07 00:32:07 +02:00
Geert Hauwaerts
fc00b9e6f0
Added the missing -! and -noautosendcmd options
...
The SERVER ADD completion was missing the -! and -noautosendcmd options.
2014-07-06 23:58:13 +02:00
Geert Hauwaerts
2ff5f5b7e5
Fixed a compiler warning for statusbar_redraw
...
Fixed a compiler warning for statusbar_redraw.
2014-07-06 23:27:55 +02:00
Sebastian Thorarensen
1c73bde239
Fix minor coding style issues in message splitting
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
695a6a7d9b
Allow `server.split_message' being NULL
...
Now a module can set `server.split_message = NULL' to disable message
splitting, instead of having to implement the function.
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
28a3dbe164
Replace an indent of eight spaces with a tab
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
ff08b3b022
Replace a `goto out' with explicit freeing
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
7bfe3a8fa1
Introduce a MAX_USERHOST_LEN constant for IRC
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
29a49c4688
Move the definition of the `split_line' settings
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
bb7bafc93c
Split long IRC `ACTION' messages
...
Add line splitting logic to commands `/me' and `/action'.
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
90f3dd612e
Fix the userhostlen' fallback in
split_message'
...
ferret, the author of `splitlong-safe.pl' pointed out that `userhostlen'
should not only contain the maximum length of the hostname, but also the
maximum length of the username. Now 10 is used as the maximum username
length as a fallback. (`splitlong-safe.pl' uses the same limit.)
The username limit isn't defined in the standard, but 10 is common on
many networks. The odds that something goes wrong here is low, as
1) the fallback limit is only used when the user has not yet joined a
channel
2) the maximum hostname length (63) gives some error margin as the
hostname usually is shorter
2014-07-06 23:24:09 +02:00
Sebastian Thorarensen
281c6d437d
Avoid unnecessary splitting of lines
...
`split_line_end' could force lines to be unnecessarily split. This
commit fixes the problem by making sure that the last line isn't shorter
than `split_line_end'.
2014-07-06 23:24:09 +02:00
Sebastian Thorarensen
5c05c854dc
Add configurable split line prefixes and suffixes
...
Add settings `split_line_start' and `split_line_end' analogous to
`splitlong_line_start' and `splitlong_line_end' in `splitlong.pl'. The
prefixes and suffixes are concatenated with a wrapper function to keep
`recode_split' and `strsplit_len' simple.
2014-07-06 23:24:09 +02:00
Sebastian Thorarensen
e6147fb8f2
Properly split long IRC messages
...
This commit adds handling of long IRC messages to the core. In contrast
to the `splitlong.pl' plugin, multi-byte encoded and recoded messages
are properly split.
To allow for this, a new function has been added to the server struct:
`split_message'. `split_message' returns a string array with the message
splitted to substrings of a length that the server can handle. If a
protocol module doesn't have any limit, it can simply return a singleton
array with a copy of the message.
The `MSG' chat command now calls `split_message' before `send_message',
and emits `message own_public' / `message own_private' with each
substring, so that the string splitting will be visible in the UI.
`split_message' in the IRC module uses `recode_split' which in turn uses
iconv to properly split multi-byte encoded (and recoded) messages.
2014-07-06 23:24:09 +02:00
Alexander Færøy
b03b65e029
Merge pull request #85 from dgl/werror
...
Make configure checks able to build with -Werror
2014-07-06 23:05:34 +02:00
David Leadbeater
dac67a567d
Check return values from some syscalls and warn if they fail
2014-07-06 21:52:03 +01:00
Geert Hauwaerts
bea5cb6d02
Redraw the statusbar after reading the settings
...
I fixed a bug where the statusbar was not redrawn after reading the
settings.
2014-07-06 22:24:16 +02:00
Geert Hauwaerts
8c1e7d9c17
Updated the startup banner + added generic banner
...
I updated the banner displayed when you start Irssi for the first time
and I have added a banner that will be displayed everytime you start
Irssi.
2014-07-06 22:23:17 +02:00
David Leadbeater
7949e4c53f
Initialize in6 correctly
...
This is technically wrong as it then gets used as an IPv4 sockaddr, but it only
needs to be some 0s so this is easier than changing the IPADDR data structure or
adding a new API.
2014-07-06 19:56:13 +01:00
Alexander Færøy
2ff95c0649
Merge pull request #82 from ailin-nemui/256colour-cleanup
...
fix compiler warnings in extended colour code
2014-07-06 19:58:26 +02:00
David Leadbeater
beec29c305
Make configure checks able to build with -Werror
...
Also fix a few compiler warnings, this combined with pull #82 allows me to build
with CFLAGS="-Werror -Wall".
2014-07-06 18:56:17 +01:00
Alexander Færøy
ed51629514
Merge pull request #80 from dgl/noact
...
Change NO_ACT so it can be combined with other levels
2014-07-04 23:48:41 +02:00
Ailin Nemui
c104627462
fix compiler warnings in extended colour code
2014-07-04 12:46:51 +02:00
Alexander Færøy
fd3676e407
Merge pull request #48 from ailin-nemui/256-colour-history
...
256 colour support for Irssi
2014-07-02 23:17:36 +02:00
Alexander Færøy
aa7492d099
Merge pull request #70 from dgl/regexp-pattern-missing
...
Make it more obvious if -pattern wasn't provided to a regexp /ignore
2014-07-02 21:17:51 +02:00
Alexander Færøy
f779e04a9d
Merge pull request #72 from dgl/regexp-error
...
Warn with error if regexp ignore fails to parse
2014-07-02 21:15:45 +02:00
David Leadbeater
a9d9756d4d
Make /ignore -replies work with NO_ACT
2014-06-30 09:35:31 +01:00
Ailin Nemui
96a292d40e
Finish 256 colour support for Irssi
...
256 colour patch is cleaned up and the remaining cases are made work,
this includes especially Theme support, which was not implemented
before. Changes not related to colours were reverted again, making a
review of the two patches against master easier to follow.
As a byproduct of the Hex-colour code parser, the 24bit colours are
also implemented. Actually using them in the terminal is guarded by a
compile time switch (as well as a run time switch), as it breaks the
existing colour protocol and requires additional storage.
To make a seamless usage, down-conversion is provided for 8 and 16
colours.
Diverging from Tom's approach, the colour protocol is reverted back to
the original one. Unfortunately, the changes required in the Theme
engine will break the API.
For more details, please refer to the patch documentation at either
http://irssi-docs.wikispaces.com/Notes-256-Colour or
https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour
2014-06-30 02:41:34 +02:00
David Leadbeater
3698ddfc3b
Add NO_ACT checks for DCC messages
2014-06-30 00:32:21 +01:00
David Leadbeater
e8b0eb4986
Add NO_ACT checks for actions and notices
2014-06-30 00:32:17 +01:00
David Leadbeater
6bbb114046
Remove NO_ACT if we see a user specified hilight
...
In this path we can't look up ignores again because the print text signal
doesn't know the nick, etc. Instead just show it. The user can use -actcolor %n
or make the hilight more specific if desired.
2014-06-30 00:32:09 +01:00
David Leadbeater
d84811b192
Don't expand ALL when combined with NEVER/NO_ACT
2014-06-30 00:31:59 +01:00
David Leadbeater
819f9d16c9
Change NO_ACT so it can be used in addition to other ignores
...
This results in a more flexible system and is less surprising as it means levels
can be used in the way they normally can in an ignore.
As an example the current approach to NO_ACT provides no way to let HILIGHTS
be shown, with this change /set activity_hide_targets can be recreated with:
/ignore #channel NO_ACT
/ignore #channel -except -regexp -pattern . NO_ACT HILIGHTS
(but obviously this can be configured in many more ways if desired).
2014-06-30 00:31:53 +01:00
David Leadbeater
0086211236
Warn with error if regexp ignore fails to parse
2014-06-30 00:23:42 +01:00
David Leadbeater
96701b6c68
Make it more obvious if -pattern wasn't provided to a regexp /ignore
2014-06-30 00:19:27 +01:00
Ailin Nemui
ccc64c0050
forward alternate_nick to Irc::Server attributes
...
add the missing alternate_nick in Irc::Server by making an additional
call to the Irc::Connect filler. this is not quite ideal but might
need bigger refactoring otherwise.
2014-06-30 00:57:07 +02:00
Tom Feist
2d4edc5187
Initial implementation of 256 colour support for Irssi
...
This patch implements some 256 colour support for Irssi up from the
previous 16 colours. Initial parsing of the %x/%X format codes is
implemented and the parser accounts in advances the char* for
that.
The colour attributes are widened from 4 to 8 bit. The colour protocol
is changed to a new format. Some pointers to remaining work are
written in the comment in textbuffer.h.
Note that Irssi already does support requesting 256 colours from the
terminal in the original source code, so this part did not have to be
touched.
2014-06-30 00:54:16 +02:00
Alexander Færøy
2e6f16c0fa
Merge pull request #11 from ailin-nemui/print_text_after_time-api
...
add print_text_after_time to specify time stamp for lines
2014-06-30 00:07:14 +02:00
Alexander Færøy
2b6bba3fd2
Merge pull request #62 from dgl/prefix-nick-flags
...
Use PREFIX from 005 to decide if a nick flag is of op level
2014-06-29 14:32:15 +02:00
Alexander Færøy
aaa0cb6e03
Merge pull request #52 from dgl/stack-cleanup
...
Correct use of perl stack macros
2014-06-29 14:27:12 +02:00
Alexander Færøy
cce0ff80a2
Merge pull request #49 from dgl/stackem
...
Move PUTBACK to within the scope which uses the stack
2014-06-29 14:24:20 +02:00
Ailin Nemui
e71c9f1b06
add print_text_after_time to specify time stamp for lines
...
add signal for line removal from textbuffer
2014-06-27 15:50:36 +02:00
David Leadbeater
6accf50991
Use PREFIX from 005 to decide if a nick flag is of op level
...
Fixes #61 .
2014-06-27 14:13:55 +01:00
Dave Reisner
f0925de16b
s/INCLUDES/AM_CPPFLAGS/g
...
Silences warnings on recent automake such as:
src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-27 09:06:21 -04:00
Alexander Færøy
113f1724d7
Merge pull request #44 from dajohi/g_basename
...
Replace deprecated g_basename with g_path_get_basename.
2014-06-27 14:41:54 +02:00
Alexander Færøy
b8c2915d79
Merge pull request #59 from ailin-nemui/perl-pl-na
...
get rid of PL_na
2014-06-27 14:31:04 +02:00
Alexander Færøy
e4051eb42e
Merge pull request #60 from dgl/perl-no-get-context
...
Define PERL_NO_GET_CONTEXT in all perl source files
2014-06-27 14:25:52 +02:00
David Leadbeater
c5d81c598d
Correct use of perl stack macros
...
Further to pull #49 this is the result of an audit of the use of perl
stack macros. There were several cases where PUTBACK was being called
where the stack pointer could be out-of-date.
Also some misc. cleanup where the macros were used needlessly.
2014-06-27 11:20:48 +01:00
David Leadbeater
211422cbe8
Switch to using G_DISCARD for call_pv
...
PUTBACK was being called even for the error path which didn't use the
stack. Emitting the "script error" signal can involve running Perl code
(Irssi:core::destroy) therefore the stack can be reallocated. This
can result in the perl stack being corrupted because the local stack
pointer is out of date (although as it's use of freed memory the crash
is not always instant).
2014-06-27 11:08:01 +01:00
David Leadbeater
051d1587b0
Add missing include
...
Silences:
listen.c:320:3: warning: implicit declaration of function ‘ascii_strup’ [-Wimplicit-function-declaration]
2014-06-26 01:12:33 +01:00
David Leadbeater
b34ded063b
Remove unused variables to silence compiler warnings
2014-06-26 00:47:49 +01:00
David Leadbeater
86fcadb85d
Add some missing casts to silence compiler warnings
2014-06-26 00:44:07 +01:00
Ailin Nemui
f58a461c54
cleanup char* casts and replace one useless SvPV with SvPV_nolen
2014-06-25 03:17:03 +02:00
David Leadbeater
43df6e424e
Define PERL_NO_GET_CONTEXT in all perl source files
...
This removes the calls to Perl_get_context() that get automatically
added to XS code for ancient source code compatibility reasons.
The result is about a ~60K size reduction in the binary (based on
comparing two 64-bit stripped irssi binaries compiled
--with-perl-staticlib).
2014-06-24 20:20:27 +01:00
Lukas Mai
7dbb8efdde
get rid of PL_na
2014-06-24 16:45:55 +02:00
David Hill
9d6cd87b0f
Replace deprecated g_basename with g_path_get_basename.
2014-06-22 20:39:35 -04:00
Alexander Færøy
c26a634fe6
Merge pull request #53 from dajohi/braces
...
Fix compiler warning.
2014-06-21 10:59:55 +02:00
Alexander Færøy
dcbcb5f04d
Merge pull request #50 from dajohi/cmd_null_deref
...
Avoid potential null dereferences.
2014-06-21 10:53:00 +02:00
David Hill
444f9e4836
Do not break strict-aliasing rules.
...
dcc-send.c:296:2: warning: dereferencing type-punned pointer
will break strict-aliasing rules
2014-06-20 12:43:24 -04:00
David Hill
5419a4b360
Fix compiler warning.
...
network.c:63:2: warning: missing braces around initializer [-Wmissing-braces]
network.c:63:2: warning: (near initialization for 'ip4_any.ip.__u6_addr') [-Wmissing-braces]
2014-06-20 00:41:52 -04:00
David Hill
70a55030d1
Avoid potential null dereferences.
2014-06-20 00:07:47 -04:00
Alexander Færøy
9d0d4d9437
Merge pull request #14 from ailin-nemui/ignore-activity
...
NO_ACT level to ignore activity
2014-06-19 00:15:36 +02:00
Alexander Færøy
ea704df7e0
Merge pull request #20 from ailin-nemui/broken-signal-parser
...
fix signals parser
2014-06-19 00:00:54 +02:00
Ailin Nemui
b05b6cde4d
fix signals parser
2014-06-18 23:54:17 +02:00
Tom Feist
7d87a02522
Add NO_ACT level
...
This patch adds a new NO_ACT level that can be used with /ignore to
ignore activity notifications
2014-06-18 23:40:26 +02:00
Alexander Færøy
b7c1fbd2b9
Merge pull request #42 from dgl/no-dancer
...
Revert "add d,q,f and J to CHANMODES default, to work a bit better with ...
2014-06-18 23:15:47 +02:00
Alexander Færøy
bb11725a52
Merge pull request #23 from ailin-nemui/perl-format_get_text
...
fix implementation of format_get_text script api
2014-06-18 22:56:37 +02:00
Alexander Færøy
53e5f9f26a
Merge pull request #22 from ailin-nemui/perl-package-fixes
...
Correct the packages of the scripting API
2014-06-18 22:53:34 +02:00
Alexander Færøy
8c08eef87a
Merge pull request #12 from ailin-nemui/no-split-utf8
...
no split utf8 from the bug tracker
2014-06-18 22:53:01 +02:00
Kuang-che Wu
fc4a4d2471
Fix UTF-8 character corruption every 32kb of text buffer
2014-06-18 22:47:17 +02:00
David Leadbeater
908913b5de
Revert "add d,q,f and J to CHANMODES default, to work a bit better with dancer and possibly others"
...
This is no longer relevant and most ircds now send a correct isupport
message.
This reverts commit b832f1f7b2
.
2014-06-16 15:35:38 +00:00
David Leadbeater
e3c688d061
Add -usermode to /NETWORK syntax
2014-06-16 14:47:38 +00:00
Ailin Nemui
24ea87bd27
fix implementation of format_get_text script api
2014-06-16 01:55:46 +02:00
Ailin Nemui
21bf59f4c1
correct package of server gui_printtext_after
2014-06-16 01:55:46 +02:00
Ailin Nemui
31c7c8eb95
fix package of term_refresh_* script api
2014-06-16 01:55:46 +02:00
Ailin Nemui
a8c52d8c16
speed up nicklist by using hash
2014-06-15 23:38:05 +02:00
Ailin Nemui
a4c62a3fee
speed up window_item_find by interning name and removing call to channel_find
2014-06-15 23:37:13 +02:00
Jaroslav Škarvada
d1e60a3b8f
Disallow unloading of static modules
2014-06-15 22:48:43 +02:00
Alexander Færøy
75d7e1b0bb
Merge pull request #37 from dajohi/g_ascii_strcasecmp
...
g_strcasecmp -> g_ascii_strcasecmp
2014-06-15 22:36:57 +02:00
David Hill
9e47f34c3f
g_strcasecmp -> g_ascii_strcasecmp
2014-06-15 16:20:58 -04:00
Alexander Færøy
1545e01447
Merge pull request #36 from dajohi/g_tree_foreach
...
Replace deprecated g_tree_traverse with g_tree_foreach.
2014-06-15 22:15:25 +02:00
Marien Zwart
279db87d32
Add support for utf8 chars to /bind
...
Fixes : #18
Fixes: bio#553
2014-06-15 22:01:18 +02:00
David Hill
c40c54d782
Replace deprecated g_tree_traverse with g_tree_foreach.
...
g_tree_foreach traverses the tree in sorted order, which is what
irssi was already doing.
2014-06-15 16:00:26 -04:00
Alexander Færøy
53f50d3dfa
Merge pull request #33 from dajohi/modules_load
...
Silence a compiler warning.
2014-06-15 21:57:42 +02:00
David Hill
5b2d189ab5
Silence a compiler warning.
...
If the first g_module_symbol call failed, module_deinit was set
to value2, which is uninitialized. Move the assignment after
checking variable found to silence the warning.
2014-06-15 15:40:08 -04:00
David Hill
138d4f4555
Replace deprecated g_io_channel_close with g_io_channel_shutdown.
...
g_io_channel_close flushes the buffer and does not return errors.
g_io_channel_shutdown(handle, TRUE, NULL) keeps that behavior.
2014-06-15 15:23:29 -04:00
Alexander Færøy
a68eb46a24
Merge pull request #5 from dajohi/master
...
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
2014-06-15 19:59:10 +02:00
Alexander Færøy
3876cd9417
Merge pull request #13 from ailin-nemui/segfault-no-protocol
...
fix segfault with xmpp query in layout
2014-06-11 12:46:49 +02:00
Ailin Nemui
d4a7d64994
fix segfault with xmpp query in layout
2014-06-11 12:09:18 +02:00
Ailin Nemui
9ee8e66431
fix print_after scrollback
2014-06-11 11:00:26 +02:00
David Hill
8d5142f032
Don't assume the size of time_t.
2014-06-10 12:45:57 -04:00
David Hill
0d4f13d20f
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
2014-06-10 12:06:19 -04:00
Alexander Færøy
68f8229373
Add -ssl_pass to /connect and /server
...
Fixes: Bug #305
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2014-01-11 19:53:17 +00:00
Geert Hauwaerts
03359ba0fe
- Applied a patch from Jaroslav Škarvada (FTBFS if "-Werror=format-security" flag is used | https://bugzilla.redhat.com/show_bug.cgi?id=1037139 )
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2014-01-10 20:29:42 +00:00
Alexander Færøy
aaf4cc33db
Check setuid() and getuid() for errors
...
Thanks to Hector Marco for reporting.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-12-13 22:23:39 +00:00
Alexander Færøy
eb8dfc8cc9
Clean-up after ourselves
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-25 21:35:13 +00:00
Alexander Færøy
4d36a9e498
Add TLSA related signals
...
This patch adds 3 new signals:
* tlsa avalable: emitted if TLSA is available for a given domain.
* tlsa verification success: emitted if the TLSA check was successful.
* tlsa verification failed: emitted if the TLSA check was unsuccessful.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5220 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-23 23:50:32 +00:00
Alexander Færøy
cb873d5b91
Pass SERVER_REC directly to net_connect_ip_ssl
...
This patch refactors how we are passing connection information for SSL
connections. This will allow us to emit signals with a SERVER_REC as
parameter during SSL handshake.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5219 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-23 23:50:26 +00:00
Alexander Færøy
d826896f74
Implement experimental DNSSEC DANE support
...
This patch adds experimental support for the DNSSEC DANE verification
protocol using the libval library from the DNSSEC-Tools package.
Thanks to Thomas Steen Ramussen for creating a test setup and suggesting
the idea of experimenting with DANE support in Irssi :-)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5218 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-23 23:50:14 +00:00
Emanuele Giaquinta
02aa2682dc
Fix crash in mainwindows_resize_smaller when the 'mainwindows' list is empty.
...
The crash can happen if the terminal height decreases before the first window
is created. Based on a patch by Jaroslav Škarvada (red hat bug #796457 ).
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24 14:33:54 +00:00
Emanuele Giaquinta
7ae4919229
Do not set SSL_OP_ALL, it is not needed to disable SSLv2 and it can prevent
...
connections to TLSv1.1 servers from working. Patch by pi-rho.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24 09:50:08 +00:00
Emanuele Giaquinta
00d59cdd8f
Fix grammar of no_completions format, patch by Matt Lewandowsky.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24 09:35:55 +00:00
Emanuele Giaquinta
8e48c6c36a
Properly validate the argument of Irssi::theme_register as an array reference,
...
patch by Olof Johansson.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5214 dbcabf3a-b0e7-0310-adc4-f8d773084564
2012-06-24 09:33:28 +00:00
Alexander Færøy
9cc7ea504c
Fix warning.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-11-21 21:28:28 +00:00
Alexander Færøy
796134ffbd
Add -noautosendcmd to /SERVER and /CONNECT.
...
Passing this option will force Irssi to not execute the content of the
autosendcmd chatnet-setting upon connect.
Fixes : #738
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5209 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-11-21 21:27:58 +00:00
Jase Thew
518b822db4
Replace remaining usage of deprecated g_strdown(). Follow-up to r5138.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-10-30 15:57:42 +00:00
Jilles Tjoelker
cbd163aa5a
Accept names replies with nick!user@host instead of nick
...
if they are somehow enabled (UHNAMES/userhost-in-names).
bug #805
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-05-15 21:13:12 +00:00
Jase Thew
444b42bf3e
Ensure that expando_cumode_space() doesn't free unallocated memory when no
...
prefix exists by conditionally allocating and marking to-be-freed the cumode
string inside of expando_cumode(). (Bug #669 )
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2011-02-10 06:45:51 +00:00
Jase Thew
2bee6f12ae
Add the path contained in the perl_use_lib setting to the search list
...
when attempting to automatically use chat_protocol perl modules. This
fixes the automatic calling of "use Irssi::Irc" when the Irssi perl modules
have been installed in a location outside of perl's site/vendor hierarchy.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-12-09 09:51:58 +00:00
Jilles Tjoelker
81b8dcdeb2
Do not go beyond the end of the string when processing an octal escape.
...
This code is used, for example, when /set expand_escapes on.
I can't reproduce crashes but I can reproduce garbage if I type a\1.
bug #775
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5195 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-11-17 20:41:14 +00:00
Jase Thew
c488c3e58b
Set window binds for channel items as sticky when re-creating window
...
binds as part of /layout save. This addresses the problem of previously
saved channel window items forgetting their windows upon reconnection,
which resulted in them being opened in new windows.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5194 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-10-31 19:40:03 +00:00
Alexander Færøy
e959bd36d4
Strip the argument for boolean options. Patch by Svante Kvarnström. Fixes : #769
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-10-02 21:52:35 +00:00
Alexander Færøy
4976f75295
Fix indention.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5186 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-28 16:15:02 +00:00
Wouter Coekaerts
350b346c84
Add prefixes to irc_nicklist_insert() so that nickrec.prefixes is accurate in the
...
"nicklist new" signal.
Fixes the nicklist sorting on xirssi.
Patch by nenolod.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5184 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-24 14:36:55 +00:00
Wouter Coekaerts
ab33ac15af
Bug #748 : Fix /ignore -network. Patch by pyropeter
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5175 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-07-13 17:56:02 +00:00
Jase Thew
cbe61df25c
When sending a signal to an /exec'd command, send it to the process
...
group id instead of the process id. (This covers the case of /bin/sh
instances which fork/exec commands passed via -c. In such cases,
sending a signal to the stored process id would sent it to the /bin/sh
process itself, not the forked child.)
Add error reporting to sending signals.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-20 19:00:12 +00:00
Jase Thew
c6986ff767
Update help for /exec - clarify use of % prefix for id in command syntax.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-19 21:21:17 +00:00
Jase Thew
ec83dd762a
Fix segfault generated by SSL disconnections. (Bug #752 )
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-05-16 17:50:31 +00:00
Alexander Færøy
daf6adc0b0
Remove warnings about uninitialized variables.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5140 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04 12:19:54 +00:00
Alexander Færøy
ada26a8d21
Add missing includes to shut the compiler up.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-04 12:07:26 +00:00
Alexander Færøy
8728207191
deprecated glib strup/down fixes from exg.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 20:09:37 +00:00
Alexander Færøy
df1d7a7814
glib iochannel fixes from exg.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 20:04:15 +00:00
Alexander Færøy
dd23f39f09
Do not use SSLv2 protocol. From Bazerka.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-04-03 19:09:11 +00:00
Alexander Færøy
0b179c7150
Minor documentation tweak. Thanks to suom1 and mofo.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-25 22:15:15 +00:00
Wouter Coekaerts
1aa10ece88
Fix crash when checking for fuzzy nick match when not on the channel. Reported by Aurelien Delaitre (SATE 2009)
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5126 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-21 20:23:34 +00:00
Alexander Færøy
e37be456cd
Allow servers with the same server and port to be part of multiple networks. This should make life much easier for znc users. Thanks to Tykling, Bazerka and znx.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5125 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-03-21 20:06:10 +00:00
Jilles Tjoelker
7a2c8cbdba
Show new charybdis +q list in channel window (numerics 728 and 729).
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27 22:45:27 +00:00
Wouter Coekaerts
4b751d9df6
Use servertag from the active DCC chat when not connected anymore to the IRC server that started it. This fixes a crash with handling the DCC queue. Reported by Aurelien Delaitre (SATE 2009)
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5122 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27 18:52:41 +00:00
Alexander Færøy
3eea03ccb8
Irssi now detects a paste if it reads at least three bytes in a single read;
...
subsequent reads are associated to the same paste if they happen before
'paste_detect_time' time since the last read. If no read occurs after
'paste_detect_time' time the paste buffer is flushed; if there is at least one
complete line its content is sent as a paste, otherwise it is processed
normally.
Thanks to Emanuele Giaquinta.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5121 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-27 14:57:16 +00:00
Jilles Tjoelker
59142d845d
Show "target changing too fast" messages in the channel/query window.
...
This is about numerics 707 (ratbox and derivatives) and
439 (most other ircds that implement target change
limitations).
If the channel is not yet joined, the message is still
shown in the status window.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5120 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-26 21:01:39 +00:00
Wouter Coekaerts
bf6afc4a94
Add missing include of misc.h for g_input_add_poll (Bug #740 )
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5119 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-25 19:42:58 +00:00
Wouter Coekaerts
dae9a76312
Fix compiling without ssl
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-22 19:37:18 +00:00
Jilles Tjoelker
f32b3938b0
network-openssl: Show why a certificate failed validation.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-02-19 17:29:10 +00:00
Jilles Tjoelker
efd60c2c51
Call OpenSSL_add_all_algorithms(), may be needed to verify SHA256 certs with certain versions of OpenSSL.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5108 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-01-31 00:15:25 +00:00
Jilles Tjoelker
532e3f5d19
Use one SSL_CTX per connection, use default trusted CAs if nothing specified.
...
This allows useful use of -ssl_verify without
-ssl_cafile/-ssl_capath, using OpenSSL's default trusted CAs.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5107 dbcabf3a-b0e7-0310-adc4-f8d773084564
2010-01-31 00:13:05 +00:00
Wouter Coekaerts
bb4ce4562b
Check if an SSL certificate matches the hostname of the server we are connecting to
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-12-28 12:15:18 +00:00
Emanuele Giaquinta
b38b75bbb4
Add forgotten g_io_channel_set_close_on_unref call to close the config file fd
...
after saving, patch by Sven Wegener.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-10-23 21:17:03 +00:00
Jilles Tjoelker
aab41042fc
Make several signals without parameters available to perl again.
...
In particular, this includes the "beep" signal.
Submitted by Matt Sparks
Bug #674
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5100 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-09-06 21:27:38 +00:00
Jilles Tjoelker
60113c0b31
Show all nicks instead of just the first in an /accept * listing.
...
Bug #704
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-09-06 20:47:18 +00:00
Jilles Tjoelker
178cd0acfb
Add active_window_ignore_refnum option
...
With active_window_ignore_refnum = ON, the current behavior
for the active_window key (meta-a by default) is preserved:
windows are cycled in the order of most recent activity,
highest activity first.
With active_window_ignore_refnum = OFF, the old behavior is
used: windows are cycled in the order of most recent
activity, where ties of equally high activity are broken by
refnums. Windows with lower refnums and equal activity will
be chosen first.
Submitted by Matt Sparks
Bug #667
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-09-02 21:22:37 +00:00
Jilles Tjoelker
cb68d5f4e6
Tell OpenSSL that our write buffer may move (although the content remains the same).
...
This fixes disconnects when sending large amounts of data
to the server.
Note that it assumes that write retries will retry the same
data; a reasonable assumption, but it is not necessary for
any normal write().
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-09-02 20:55:13 +00:00
Jilles Tjoelker
3c30196ad4
autolog: change some characters illegal in Windows filenames to underscores
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5085 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-08-13 21:16:22 +00:00
Alexander Færøy
ae656a49ba
s/Splitted/Split/. Typo spotted by Gerfried Fuchs (Rhonda at IRCnet)
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-07-29 11:48:08 +00:00
Alexander Færøy
7b81897287
Move the autolog_ignore_targets logic a bit around; fixes #673 .
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-07-22 19:45:51 +00:00
Jilles Tjoelker
38306ad488
Allow ctrl+home/ctrl+end to go to the beginning/end of scrollback.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-05-22 12:48:02 +00:00
Jilles Tjoelker
1f9c560a74
Fix out of bounds access in event_wallops().
...
bug #662
Submitted by: nemo
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5068 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-05-15 11:54:33 +00:00
Jilles Tjoelker
48e87773f0
Accept 354 (WHOX reply) as a /who reply too (for redirection).
...
Ignore the parameters for matching because 354 does
not have a fixed format.
This helps irssi-proxy with clients that use WHOX,
such as xchat (away checking). WHOX works on ircu
and charybdis 3.1 servers.
Bug #671
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5064 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-05-13 19:27:20 +00:00
Jilles Tjoelker
3400958570
Ensure type matches format string in /uptime.
...
Garbled output could happen if time_t was a different size from long.
bug #665
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-04-17 12:42:41 +00:00
Emanuele Giaquinta
4ec53567a5
Remove leftover.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5059 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-04-05 19:04:25 +00:00
Emanuele Giaquinta
fadb9f9edf
Fix r4998 change, declare 'environ'.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5058 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-04-05 18:04:59 +00:00
Jilles Tjoelker
c4bd1631bb
Make the time duration parser stricter.
...
This makes /set server_reconnect_time = 10min fail
instead of setting the time to 0.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5057 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-04-03 22:09:17 +00:00
Jilles Tjoelker
bb92a2dbc7
Show numerics directed at channels in the channel window.
...
This is about numerics where the target parameter is
a channel, i.e. ":<server> <numeric> <#channel> ..."
Usually, this parameter is the user's nick or an asterisk.
An example is the numeric ircd-ratbox and charybdis send
to channel operators on a successful /knock.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-04-03 17:49:58 +00:00
Wouter Coekaerts
dde30e63d6
Correct previous commit: fix away checking
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-15 16:25:42 +00:00
Wouter Coekaerts
d81ec45378
Fix /NOTIFY list when nick is seen joining (bug #642 )
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-10 22:18:01 +00:00
Wouter Coekaerts
e5fee8869c
Include hostmask in 001 event sent by proxy (bug #650 )
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-10 21:36:35 +00:00
Jilles Tjoelker
afdb462c59
Remove unused variables.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-01 00:22:29 +00:00
Jilles Tjoelker
0764675409
Remove unused variable.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 23:09:33 +00:00
Jilles Tjoelker
5f05c7ca7a
Ensure variable is initialized.
...
Make sure not to set connection_lost if the server was
already disconnected.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 22:48:41 +00:00
Emanuele Giaquinta
66b223c49b
Remove unused variable.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 21:51:53 +00:00
Emanuele Giaquinta
1d9db4db9a
Remove unused variable.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5028 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 21:41:47 +00:00
Jilles Tjoelker
4f3b7696a0
Correct assertions.
...
Found using llvm static analyzer.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 20:51:22 +00:00
Jilles Tjoelker
8a6b0224b9
Add the command send/expire timeout only when needed.
...
This was the last always-on <1s timer.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5026 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 18:15:14 +00:00
Jilles Tjoelker
25b3a531be
Once a second seems sufficient for the expando timer.
...
These seem to change once a second at most, typically.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5025 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 18:02:48 +00:00
Jilles Tjoelker
2dd265ef39
Check for stale flood entries when lines come in, avoiding a 0.5 second timeout.
...
The timeout is now every 5 seconds and serves to
remove entries that do not send messages anymore.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5024 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28 12:43:00 +00:00
Jilles Tjoelker
c57f58dea5
Move to a single /join function, avoiding confusion on "/join -window".
...
patch by exg
bug #644 , thanks for the useful bug report
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-27 14:32:33 +00:00
Jilles Tjoelker
d979a991c8
Check for SIGCONT using a custom GSource instead of every 0.5 second.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5022 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-27 14:20:35 +00:00
Jilles Tjoelker
cb1f07352a
Reject invalid level specifications in /set.
...
Most of these have names that end in "_level".
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21 21:17:51 +00:00
Jilles Tjoelker
946e7784b0
Make explicit how long the arrays for prefix_add and prefix_del are.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5020 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21 17:55:12 +00:00
Jilles Tjoelker
145f566f19
Use i_isspace to make this clearer.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5019 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21 17:34:13 +00:00
Jilles Tjoelker
fe5ebc57a9
Make an invalid boolean /set a CLIENTERROR instead of CLIENTCRAP.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21 17:22:32 +00:00
Jilles Tjoelker
115a7fc355
Reject obviously invalid numbers in /set.
...
A limitation of the settings model is that any value
that fits in an int is accepted, e.g. negative port
numbers.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21 17:20:13 +00:00
Wouter Coekaerts
4ea8f3141e
emit "window item moved" instead of "window item remove" and "window item new" when a window item is moved to another window
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5012 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-13 18:57:55 +00:00
Alexander Færøy
859d434c60
Prefer g_path_get_dirname() over g_dirname().
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5010 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-10 20:45:27 +00:00
Alexander Færøy
7c02529402
Add /set autolog_ignore_targets.
...
Allows you to avoid specific targets from being logged via autolog.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5006 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-09 20:00:17 +00:00
Alexander Færøy
f53f106dc6
Don't tokenizee target since it wont contain more than one entry anyway.
...
Poke me if this breaks for you.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-09 17:51:24 +00:00
Alexander Færøy
2fffcf5a77
Code Cleanup:
...
Use g_string_printf() instead of g_string_sprintf() (which is considered deprecated.)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08 17:57:19 +00:00
Alexander Færøy
c561ba35e6
Code Cleanup:
...
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08 17:22:42 +00:00
Alexander Færøy
32e01a5a06
Add strarray_find_dest(). Useful for checking whether a server_tag/target or target is found in a vector of strings.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5002 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-07 23:03:24 +00:00
Emanuele Giaquinta
b12bd857a5
Call PERL_SYS_INIT3() and PERL_SYS_TERM() as documented in perlembed(1).
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-23 17:57:49 +00:00
Emanuele Giaquinta
db1b74b7f9
Fix 'defination' typo.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-20 14:15:01 +00:00
Emanuele Giaquinta
9fd6a3f3cf
Replace invalid utf-8 bytes with U+FFFD when drawing a line.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-18 12:46:57 +00:00
Emanuele Giaquinta
03545934e9
Emit 'print starting' with the correct argument in printtext_string{,window}.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-18 11:55:27 +00:00
Emanuele Giaquinta
508f8e1ddb
Add Irssi::UI::Window::get_history_lines to get the content of a window's
...
history.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4993 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-17 22:33:29 +00:00
Emanuele Giaquinta
822e6caee8
Revert r4871, it breaks /script reset.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-17 22:28:47 +00:00
Emanuele Giaquinta
2129c4b229
Properly unload the original script when using /script load to reload it.
...
bug #525 , patch by Lukas Mai.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4991 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-16 22:02:02 +00:00
Emanuele Giaquinta
4534ef242d
Use an io channel to write the config file.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-16 17:12:27 +00:00
Jilles Tjoelker
d993ce7b06
Use PERL_SYS_INIT3 with the correct pointer type for argv.
...
This fixes perl crashes on startup on some machines.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-15 22:21:31 +00:00
Emanuele Giaquinta
b2566682ee
Fix minor leak.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-15 11:02:23 +00:00
Emanuele Giaquinta
1da5914177
Remove unused and odd function.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-14 17:53:57 +00:00
Emanuele Giaquinta
01042aec2d
Fix typos.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-14 17:19:42 +00:00
Emanuele Giaquinta
2f06196ffb
Fix last change.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4983 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-13 18:51:25 +00:00
Emanuele Giaquinta
fd6bd4d829
Remove broken and unused format to add an indent function to a line.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4982 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-13 18:31:31 +00:00
Emanuele Giaquinta
9dcea776a1
Remove buggy /scrollback redraw - scrollback_save_formats.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-10 18:38:08 +00:00
Emanuele Giaquinta
b9cbba2ae2
Use window_get_theme.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-10 17:57:38 +00:00
Emanuele Giaquinta
5b4e05c553
Factor out printformat_module_dest_charargs function from
...
printformat_module_dest_args and use it in printformat_perl to remove code
duplication.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-10 15:00:06 +00:00
Emanuele Giaquinta
edc7dc26fe
Remove memory chunks in favour of memory slices.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4978 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-08 12:39:11 +00:00
Emanuele Giaquinta
79df89b30a
Add defines for memory slices functions for compatibility with glib
...
versions older than 2.10.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-08 11:39:27 +00:00
Emanuele Giaquinta
5b76b1585f
Remove useless code, cur_line is always the last line of the textbuffer.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4976 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-04 15:56:54 +00:00
Emanuele Giaquinta
8cc7a02b4d
Rewrite pidwait using g_child_watch_add.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-30 11:51:27 +00:00
Emanuele Giaquinta
baba2b7505
recvlen must be signed.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4974 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-30 10:39:21 +00:00
Emanuele Giaquinta
c1e214367d
Use net_receive in sig_exec_input_reader.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-30 01:20:09 +00:00
Emanuele Giaquinta
725ccc249d
Check server's connected flag rather than net-sendbuffer pointers in
...
sig_server_quit.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22 01:07:11 +00:00
Emanuele Giaquinta
ad66af3c10
Remove useless net-sendbuffer init/deinit functions.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22 00:11:33 +00:00
Emanuele Giaquinta
590ce173b3
Remove buffers GSList, it is unused since r1023.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22 00:06:49 +00:00
Emanuele Giaquinta
bae9c1db7a
Fix r4961 change, irssi-core.pl is transformed in a format string so literals
...
% must be escaped. Patch by Lukas Mai.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4969 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-17 18:56:56 +00:00
Jilles Tjoelker
fe4c5abe28
Preserve op/halfop/voice when /upgrading from before the prefixes change
...
(r4922). This also restores them when /upgrading from
a revision between r4922 and this one.
Note that other prefixes are still lost when /upgrading
from pre-r4922 irssi.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-13 21:42:42 +00:00
Jilles Tjoelker
251d956ddc
prefix_add(): copy correct number of bytes
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-12 22:04:37 +00:00
Emanuele Giaquinta
1b7296dc5f
Revert r4964, at least one script uses ypos.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-12 10:42:14 +00:00
Emanuele Giaquinta
feb95100ce
Remove ypos field of TEXT_BUFFER_VIEW_REC, it is used to compute the row
...
position where to draw a new line and if the view is at the bottom of the
textbuffer, but the same information can be computed more easily by other
means.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-11 20:59:21 +00:00
Emanuele Giaquinta
f9f031826f
Remove methods to create/destroy TextBuffer and TextBufferView and low level
...
api to add/remove lines, scripts should be fine using Window::print_after and
TextBufferView::remove_line.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-10 10:21:04 +00:00
Emanuele Giaquinta
29a56d7974
Add print_after method to Window perl object analogous to
...
gui_printtext_after but which also expands formats and forces a full
line.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-10 09:35:25 +00:00
Emanuele Giaquinta
0327b7d5dc
Clean up script loading in general.
...
Don't leak local variables to eval'd code.
Set filename/line number to get better error messages from perl.
Use three-arg open and lexical filehandles to avoid surprises.
Include error reason in message for unopenable scripts.
Don't wrap script code in sub handler { } - this avoids spurious warnings and
should at least allow __END__ to work properly.
Patch by Lukas Mai.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4961 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09 21:42:51 +00:00
Emanuele Giaquinta
7982a86420
Fix undefined behavior due to modifying PL_na twice between sequence points.
...
Patch by Lukas Mai.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09 18:16:49 +00:00
Emanuele Giaquinta
20c362a93d
Remove resize method of TextBufferView perl object, it is not useful
...
and dangerous.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09 18:02:53 +00:00
Emanuele Giaquinta
d71aea5b2b
Remove internal utf8 functions in favour of glib ones.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09 11:59:16 +00:00
Emanuele Giaquinta
cba6199958
Cosmetic.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09 11:45:23 +00:00
Emanuele Giaquinta
48d0135d3e
Make some functions static.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 17:11:00 +00:00
Emanuele Giaquinta
770c906a1c
Simplify.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 16:32:56 +00:00
Emanuele Giaquinta
8c64738cdc
Add perl_signal_args_to_c() to convert signal parameters from Perl to C values,
...
and make Irssi::signal_emit/Irssi::signal_continue use it. Also make
perl_call_signal() turn NULLs into undef, so we can recover them in
perl_signal_args_to_c(), which is its inverse operation.
Patch by Lukas Mai.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 16:06:11 +00:00
Emanuele Giaquinta
0cea011470
Fix NETSPLIT_SERVER_REC substitution in get-signals.pl, reported by Lukas Mai.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08 15:45:49 +00:00
Emanuele Giaquinta
9ef51b0567
Simplify, isalnum && !isdigit == isalpha.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-07 23:30:00 +00:00
Emanuele Giaquinta
43bed5bb09
Simplify and remove dead code.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-07 15:49:04 +00:00
Emanuele Giaquinta
04a028d8c9
Simplify and remove dead code, MAIN_WINDOW_TEXT_HEIGHT(rec) >= WINDOW_MIN_SIZE
...
always holds.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06 17:02:27 +00:00
Emanuele Giaquinta
fe9b63ef65
Always preserve the active mainwindow in mainwindows_resize_smaller,
...
prompted by report by Henri Kemppainen.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06 12:36:41 +00:00
Emanuele Giaquinta
a644a200c1
Fix leak introduced in r1855.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06 12:29:51 +00:00
Jilles Tjoelker
8994731d1b
Add a notice to src/perl/perl-signals-list.h that it is autogenerated.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4944 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-05 23:59:49 +00:00
Emanuele Giaquinta
14b9462ae4
Factor computation of fg/bg.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-05 13:55:23 +00:00
Emanuele Giaquinta
6c0463fbf7
Manually inline cell_width.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-03 20:14:58 +00:00
Emanuele Giaquinta
a266ce8d97
Simplify.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-03 19:09:54 +00:00
Emanuele Giaquinta
a065f97f87
Recode outgoing irc quit messages.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02 16:13:15 +00:00
Emanuele Giaquinta
9459ac8127
Fix r1569, assign a proper mask to PRINT_FLAG_UNSET_LINE_START.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02 13:14:09 +00:00
Emanuele Giaquinta
cba15593f2
Aux-sort settings by key in settings_get_sorted.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4938 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 19:29:41 +00:00
Emanuele Giaquinta
997a25c522
Factor the code to send an irc action into a function.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 18:35:10 +00:00
Emanuele Giaquinta
3f9148d0e3
Add function to set minimum/maximum size for a statusbar item.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 18:18:59 +00:00
Emanuele Giaquinta
545b0d5de8
Add public header with interfaces to manage statusbar items, bug #535 .
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01 18:12:52 +00:00
Emanuele Giaquinta
227e90e52b
Simplify statusbar_item_default_handler by merging update_statusbar_bg and
...
reverse_controls and by using a GString.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 23:14:43 +00:00
Jilles Tjoelker
672022461a
Improve SSL error display.
...
Display more detailed error messages about SSL and
fix assertion failure warnings on some SSL errors.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 22:48:39 +00:00
Emanuele Giaquinta
c335a16f71
Make needlessly global variable local where used.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4932 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 14:48:54 +00:00
Emanuele Giaquinta
75666168b7
Do not check for fcntl.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30 14:33:14 +00:00
Jilles Tjoelker
ee34525905
Revert r4924, the comment is correct after all.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 19:38:00 +00:00
Emanuele Giaquinta
184e4071c1
Remove obsolete part of comment.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 18:01:04 +00:00
Emanuele Giaquinta
a8680fb7da
Amend fix for bug #392 , assume utf-8 encoding for an ascii string in
...
which no escape character occurs.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 10:45:58 +00:00
Emanuele Giaquinta
ccb8e04a01
Fix r4920 change.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4927 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29 08:31:42 +00:00
Emanuele Giaquinta
d6be6b9cff
Factor code to check if a string is ascii only into a function.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 23:01:45 +00:00
Jilles Tjoelker
3ddd984bfc
Allow /ban, /unban, /kickban, /knockout if channel is not synced.
...
Requesting ban lists from an unsynced channel will ask
them from the server, banning a user whose u@h irssi
does not know will ban nick!*@* and only bans irssi
knows about can be removed.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4925 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 20:43:59 +00:00
Jilles Tjoelker
6fe433ca0b
Remove obsolete/wrong part of comment (irc server cmdcount).
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 18:49:31 +00:00
Jilles Tjoelker
89cd47bf3a
Allow storing multiple "other" prefixes such as +q and +a.
...
Original patch by JasonX, somewhat changed by exg and me.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28 00:16:51 +00:00
Emanuele Giaquinta
3f0743e749
Do not strip the comma in a mirc color if it is not followed by a digit, bug
...
#250 .
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-24 23:22:44 +00:00
Emanuele Giaquinta
be57a4e3e1
Remove apparently useless indirection through stub libtool library
...
files for libperl.a and DynaLoader.a when building perl support as
module.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-23 09:48:48 +00:00
Emanuele Giaquinta
da86080d40
Move check on term_type outside of strlen_big5.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-18 09:59:54 +00:00
Emanuele Giaquinta
ba002bbc13
Revert r4912.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-18 09:21:36 +00:00
Emanuele Giaquinta
9e247274d1
Do not call skip_target on a non irc server in irc 'own_public'
...
handler, based on a patch by Gabor Adam Toth.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4915 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 16:28:09 +00:00
Emanuele Giaquinta
718d85ceab
Do not check in irc cmd_away that the active item server is an irc
...
server, it prevents /away from working when the active item server is
not an irc one. The check is already performed in
irc_server_send_away, so /away -one is unchanged. Patch by Gabor Adam
Toth.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 16:09:44 +00:00
Emanuele Giaquinta
ca5f4ec1f9
Simplify sending of the first pasted line.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16 09:19:27 +00:00
Wouter Coekaerts
f5d38ab5a2
Handle indent in textbuffer_line2text. This fixes indentation in /lastlog and buf.pl.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15 22:04:57 +00:00
Emanuele Giaquinta
621761cff3
Handle bold/blink attributes like other attributes rather than mapping them to
...
the eighth bit of the color. The formats KBGCRMYW and the mirc colors are now
mapped to colors 8-15. fe-text translates colors 8-15 to bold/blink+0-7 if the
terminal supports only 8 colors.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15 21:51:07 +00:00
Emanuele Giaquinta
169c55b949
Simplify, use 'o' printf conversion specifier to print number in octal.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 23:13:57 +00:00
Jilles Tjoelker
c5109787eb
Remove /wallchops, do not suggest other commands in /help wall.
...
The only major ircd supporting /wallchops also supports
/notice @#channel.
The /wall command has used /notice @#channel (if it is
supported which is pretty much everywhere) for a while
and so it can be used without problems on large channels.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 21:00:05 +00:00
Emanuele Giaquinta
27be963a86
Recode outgoing irc away messages, bug #412 .
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 20:49:48 +00:00
Emanuele Giaquinta
cf41f6d45d
Export server_send_away and use it in irc-servers-reconnect.c:sig_connected
...
instead of duplicating the code.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 20:31:41 +00:00
Emanuele Giaquinta
877c64a08c
Add perl __WARN__ handler for scripts, bug #427 .
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12 18:04:39 +00:00
Emanuele Giaquinta
f0647439a9
Add Irssi::command_parse_options function to parse options for a command which
...
have been set with Irssi::command_set_options.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4896 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-11 23:33:47 +00:00
Emanuele Giaquinta
7b529aa530
Remove get_utf8_char/utf16_char_to_utf8 in favour of glib
...
g_utf8_get_char_validated/g_unichar_to_utf8.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4893 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-10 11:59:31 +00:00
Emanuele Giaquinta
04ea54a1a0
recode.h include fixup.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-10 00:31:00 +00:00
Emanuele Giaquinta
1b27be4abc
Emit message irc own_{action,notice,wall} and message dcc own{,_action} with
...
message in client encoding.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 23:53:40 +00:00
Emanuele Giaquinta
9003a61629
Move recoding of outgoing messages into irc send_message routine. Handlers for
...
message own_{private,public} now receive the message in the client encoding.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 23:33:24 +00:00
Emanuele Giaquinta
9ce4352e1d
Move recoding of incoming quit messages to irc 'event quit' handler.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 23:06:37 +00:00
Emanuele Giaquinta
c647f8b206
Revert part of r4041. It is not clear which bug it is supposed to fix, and the
...
change seems wrong anyway because notice/action message is already recoded in
fe-events.c:event_notice/ctcp_action.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4888 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09 19:37:25 +00:00
Emanuele Giaquinta
110f94ceb6
Recode a WALL message also when sending a notice to @#channel.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-08 22:09:20 +00:00
Emanuele Giaquinta
483589efb5
Recode an incoming quit message once with a nick charset preference rather than
...
doing it for every joined channel the user was in with a channel charset
preference.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-04 14:05:57 +00:00
Emanuele Giaquinta
b555e18985
When returning G_IO_STATUS_ERROR in irssi_ssl_{read,write} create a GError with
...
the openssl error string.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 14:49:48 +00:00
Emanuele Giaquinta
fc85d71d12
Cleanup error handling in irssi_ssl_{read,write}. Return G_IO_STATUS_AGAIN if
...
openssl error is SSL_WANT_{READ,WRITE}, G_IO_STATUS_ERROR otherwise.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 14:02:00 +00:00
Jochen Eisinger
f8461d39bc
introduce the type Irssi::Irc::Client and signals to communicate with proxy
...
clients to allow for scripting parts of the irssi-proxy.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 12:13:36 +00:00
Emanuele Giaquinta
73b18f2672
Fix r4879 change.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02 07:34:35 +00:00
Jilles Tjoelker
aa39fba88d
Remove the refcount on LINE_REC.
...
It seems to have no clear purpose.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-01 17:56:56 +00:00
Jilles Tjoelker
875adf35a0
Fix a memory leak with /lastlog -count and rejected (too much) /lastlog.
...
The matched lines would not be freed when they expired
from the buffer.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4878 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-31 10:57:32 +00:00
Jilles Tjoelker
c955bcd672
Also display 407 numerics that are not "duplicate channel".
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4877 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-28 17:29:49 +00:00
Emanuele Giaquinta
86a5e8085a
Remove scrollback_levelclear_levels setting and add a 'level' option to
...
'sb levelclear' to specify a comma separated list of levels.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-21 11:09:51 +00:00
Emanuele Giaquinta
5e4c08d8a1
Fix r4743 change, avoid sign extension.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4875 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-08 22:58:27 +00:00
Jilles Tjoelker
e563de4b81
Fix display of ratbox-style operspy whois (/whois !nick).
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-30 23:55:04 +00:00
Jilles Tjoelker
6e1d887a7a
Ignore DNS not found errors when considering reconnect.
...
Contrary to the standards, these are often transient.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4873 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-25 16:34:02 +00:00
Jilles Tjoelker
84e1e871e7
Fix crash on startup if perl is compiled in.
...
bug #618
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4872 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-23 16:05:47 +00:00
Emanuele Giaquinta
47f129e0a5
Call PERL_SYS_INIT3() and PERL_SYS_TERM() as documented in perlembed(1), patch
...
by Gerfried Fuchs (debian bug #495059 ).
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4871 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-22 11:54:32 +00:00
Emanuele Giaquinta
9fa8cbe7a2
Revert recode changes r4483 and r4715.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-02 13:15:38 +00:00
Emanuele Giaquinta
d788673eb9
Set null encoding for file channels.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-01 12:38:58 +00:00
Jilles Tjoelker
3540d21ee1
Include various overheads in /sb status memory count.
...
Overheads caused by the "view" cache are not included.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-19 21:57:52 +00:00
Emanuele Giaquinta
21abb51130
Cache charset related data rather than computing it everytime recode_{in,out}
...
is called.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-10 22:49:00 +00:00
Emanuele Giaquinta
f84a7d9e2b
Add 'actlist_names' option to add active items names in 'act' statusbar item.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4860 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-10 10:21:00 +00:00
Emanuele Giaquinta
8c482d03a9
Pass NULL to settings_set_str to reset term_charset to its default
...
value rather than hardcoding the string.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-06 22:19:57 +00:00
Emanuele Giaquinta
1aa6cbc3f9
Remove kludge and add the 'setup changed' handler with higher priority
...
so that term_charset validation is performed before any use.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-06 22:07:56 +00:00
Wouter Coekaerts
1a79bd055c
Fix /set hilight_level not taking effect immediately (bug #598 ). Patch by exg.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-06-04 19:33:00 +00:00
Emanuele Giaquinta
1e3e062b24
Simplify, append directly to GString rather than allocating a
...
temporary string.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-31 13:18:43 +00:00
Jilles Tjoelker
278dfd7f76
Reduce some memory waste in the scrollback buffer.
...
Formerly, TEXT_CHUNK_REC was slightly more than a page.
Due to glib changes (GMemChunk -> GSlice), this is now
malloced directly, and many mallocs round up allocations
larger than a page to page boundaries.
On a whole this seems to save about 10%.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4853 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-30 23:17:37 +00:00
Emanuele Giaquinta
a01f13202f
Fix leak.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-27 18:19:34 +00:00
Jilles Tjoelker
647c3cb4da
Read more bytes at a time from servers.
...
(at most 2048 instead of 512)
This should reduce syscalls and TCP packets.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-24 20:55:27 +00:00
Emanuele Giaquinta
d917a439da
Cosmetic.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-24 15:43:12 +00:00
Emanuele Giaquinta
58d050db7c
Fix minor leak.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4847 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 11:19:43 +00:00
Emanuele Giaquinta
82d6797306
Reindent.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 10:05:44 +00:00
Emanuele Giaquinta
3236daa97a
Fix leaks.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 09:59:59 +00:00
Emanuele Giaquinta
54f5beb8f5
Do nothing in word_complete if erase is true and we are not continuing
...
a completion.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4844 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 09:47:40 +00:00
Emanuele Giaquinta
ae18e36735
Fix command description.
...
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4842 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23 07:44:16 +00:00
Emanuele Giaquinta
f053542dcf
Extend net_sendbuffer by adding a LINEBUF_REC member and a net_sendbuffer_receive_line
...
function to read linewise from the associated io channel.
Rewrite irc/dcc/proxy read logic on top of it.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-22 22:38:29 +00:00
Jilles Tjoelker
9f99376a8a
Allow increasing the send buffer to 1MB/connection, and warn if that is exceeded.
...
It should really close connections that exceed the
limit, but does not do that yet.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4840 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-22 21:42:29 +00:00
Emanuele Giaquinta
ba80576b1e
Remove some global variables used to store settings values, instead get the
...
values when needed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-19 21:55:04 +00:00
Emanuele Giaquinta
547e3defc2
Add 'list' option to bind command to list all the available commands and remove
...
hardcoded list in bind help.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4835 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-19 11:25:14 +00:00
Wouter Coekaerts
f9376ec8e7
Improve descriptions of key bind items
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4834 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-18 20:49:20 +00:00
Emanuele Giaquinta
548e5115bb
Add 'word_completion_backward' command to scroll backwards in the completion
...
list, bug #313 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-17 13:12:21 +00:00
Emanuele Giaquinta
4faa743972
Pass NULL to settings_set_str to reset recode_fallback to its default
...
value rather than hardcoding the string, fixes also a possible invalid
g_free reported by Sven Wegener.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4829 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-17 09:42:23 +00:00
Emanuele Giaquinta
b8ac543f82
Stop the 'complete word' signal in the default completer when the
...
channel name completion list is non empty, bug #316 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-16 12:46:09 +00:00
Emanuele Giaquinta
24fe627a25
Complete server tags for /window server.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-15 17:17:53 +00:00
Emanuele Giaquinta
37b8c55640
Use a GString rather than g_strdup_printf to build the format string.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-15 16:54:01 +00:00
Emanuele Giaquinta
aa002fa78c
Re-add sort by level / aux-sort by refnum and re-map actlist_sort
...
'level' value to it. Add 'level,recent' value for sort by level /
aux-sort by most recent activity. Requested by tomaw.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4824 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-15 10:54:03 +00:00
Emanuele Giaquinta
764f311a8b
Use g_get_charset to check if the locale codeset is UTF-8.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-14 09:11:31 +00:00
Emanuele Giaquinta
b44bcd68cb
Use g_get_charset to retrieve the locale codeset.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-14 08:58:04 +00:00
Emanuele Giaquinta
c54fa04781
Remove theme format and signal doc for no more notify idle code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-14 08:29:33 +00:00
Emanuele Giaquinta
fd44be823e
Use g_input_add_poll to create a watcher for an fd.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-13 14:43:33 +00:00
Emanuele Giaquinta
e592a1f085
Remove note about the need to restart irssi in windows_layout_saved
...
theme format, bindings are instantly effective now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-13 14:35:02 +00:00
Emanuele Giaquinta
97da8b64f4
Set PL_perl_destruct_level to 1 before calling perl_destruct, without
...
it /script reset may cause irssi to crash.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4817 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-13 14:27:03 +00:00
Emanuele Giaquinta
b85e843297
Update notify_list theme format for idle option removal.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4816 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-12 23:46:33 +00:00
Emanuele Giaquinta
09afda5234
Make some functions static.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-28 22:35:31 +00:00
Emanuele Giaquinta
e32e6fea4b
Make some variables static.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-28 09:27:13 +00:00
Emanuele Giaquinta
cad6fb2e19
Refactor code to create a watcher for an fd into a function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4813 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-25 08:42:47 +00:00
Emanuele Giaquinta
e88bd31323
Use term_add_unichar to print ucs-4 chars.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4812 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 20:44:04 +00:00
Emanuele Giaquinta
83ad9855e7
Reindent.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4811 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 20:23:17 +00:00
Emanuele Giaquinta
a6090c7f8f
Remove no longer needed kludge to inhibit writing in the last cell.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 17:32:55 +00:00
Emanuele Giaquinta
951a0de704
Fix leak with $L expando.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4809 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-21 14:00:02 +00:00
Emanuele Giaquinta
eb6ee3136f
Simplify.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4808 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-20 10:27:32 +00:00
Emanuele Giaquinta
0957ac5dfe
Simplify computation of TERM_REC fields offsets using G_STRUCT_OFFSET/G_STRUCT_MEMBER_P.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-20 09:24:12 +00:00
Emanuele Giaquinta
7bd938542e
Remove non-working detach/attach code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4806 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-19 15:01:16 +00:00
Emanuele Giaquinta
e361d2f498
Remove the need to buffer input by moving the 'gui key pressed' events
...
generation into term_gets.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-16 21:14:05 +00:00
Emanuele Giaquinta
77dd63ac83
Make last_{fg,bg,flags} members of TEXT_BUFFER_REC.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4804 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-16 20:32:36 +00:00
Emanuele Giaquinta
2aac604293
Remove workaround no longer needed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-11 21:27:12 +00:00
Emanuele Giaquinta
0b9a3f4aef
Factor strchr call.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-08 13:02:56 +00:00
Emanuele Giaquinta
b2c8ba134b
Slightly optimize update of activity list when a window is destroyed.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4801 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-06 19:19:46 +00:00
Emanuele Giaquinta
2e78cb54e0
Really make actlist_sort = level match active_window ordering.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4800 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-06 19:07:38 +00:00
Emanuele Giaquinta
e2362f7884
Partly revert r4796, it is not a bug but by design that
...
recode_fallback is honored only when the terminal encoding is utf-8.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 17:07:37 +00:00
Emanuele Giaquinta
c280030608
Restore the behaviour of active_window to go to the window with most recent activity
...
between the ones with highest data level, and make actlist_sort = level match this
ordering.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 14:09:01 +00:00
Emanuele Giaquinta
68763eb4e8
Cosmetics.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 13:11:22 +00:00
Emanuele Giaquinta
76fb9b6ac2
Fix logic in recode_in:
...
Honour recode_fallback also when the terminal encoding is not utf-8.
Return the string as it is when the terminal encoding is utf-8, the
string is valid utf-8, and the first conversion failed, rather than
trying again the same conversion.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-05 13:07:26 +00:00
Emanuele Giaquinta
2f13aacf43
Change type of 'chr' argument in terminfo_repeat/term_addch to 'char'.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4795 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-04 08:41:44 +00:00
Emanuele Giaquinta
e8ae6d827d
Always use g_realloc rather than using g_malloc when the pointer
...
is NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-02 11:07:03 +00:00
Emanuele Giaquinta
d39d949b79
Print warning messages to stderr rather than to stdout.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-31 21:55:12 +00:00
Emanuele Giaquinta
f50b700ed3
Set is_readable/is_writeable/use_buffer flags.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4792 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 14:13:52 +00:00
Emanuele Giaquinta
f34b9bba3b
Make irssi_ssl_{seek,close} call giochan->funcs->io_{seek,close}
...
rather than g_io_channel_{seek,close}.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 14:05:39 +00:00
Emanuele Giaquinta
26a1d639e7
Use g_io_channel_unref rather than g_io_channel_close for file
...
channels.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 13:30:52 +00:00
Emanuele Giaquinta
1ffed412c6
Implement linebuf_find using memchr.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 13:23:12 +00:00
Emanuele Giaquinta
fa50bb7209
Remove useless assignment.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4787 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30 09:54:53 +00:00
Emanuele Giaquinta
683738e935
Move autorun_startup in fe-common-core.c and remove autorun.{c,h}.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4785 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-29 18:15:34 +00:00
Emanuele Giaquinta
7e4bc5c7f4
Remove unneeded includes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4784 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-29 10:26:05 +00:00
Emanuele Giaquinta
7e1128029f
Move net_disconnect_later declaration from network.h to net-disconnect.h.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-29 10:25:15 +00:00
Emanuele Giaquinta
d198fa0abb
Use g_io_channel_seek_position in irssi_ssl_seek.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4782 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 23:03:17 +00:00
Emanuele Giaquinta
cd9e7e110a
Remove useless uses of replace_chars.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 18:30:26 +00:00
Emanuele Giaquinta
cdaf0c72e8
Make strstr_full_case internal.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4778 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 12:59:26 +00:00
Emanuele Giaquinta
3dcfe43579
Move selection of string searching function out of the loop by using a
...
function pointer.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4777 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28 12:42:27 +00:00
Emanuele Giaquinta
be3818930a
Remove unused global use_ssl and ssl_* settings.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4776 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 19:13:38 +00:00
Emanuele Giaquinta
010a6e99ae
Revert unrelated changes slipped in r4774.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 19:10:26 +00:00
Emanuele Giaquinta
546e06c8b5
Fix typo.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 18:40:37 +00:00
Emanuele Giaquinta
8ccdc7267f
Simplify recode target computation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 14:51:06 +00:00
Emanuele Giaquinta
52053f1717
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4772 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 13:27:17 +00:00
Emanuele Giaquinta
4b4980badd
Replace tab between else and opening brace with space.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 13:19:41 +00:00
Emanuele Giaquinta
81ef5de591
Remove silly macro.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4770 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 13:02:55 +00:00
Emanuele Giaquinta
074b121858
Remove trailing whitespace.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4769 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-15 12:58:20 +00:00
Emanuele Giaquinta
31c341ff56
Replace missed strncasecmp calls with g_ascii_strncasecmp.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 19:06:32 +00:00
Emanuele Giaquinta
dee3b35ba2
Honour -channels preference for ignore -replies, fix bug #227 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4766 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 18:57:58 +00:00
Emanuele Giaquinta
aea2e737f9
Make /layout reset take effect immediately.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4765 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 12:39:35 +00:00
Emanuele Giaquinta
ca1bb6a8ed
Make ignore exceptions take precedence over ignores in all cases, as documented.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4764 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 12:25:01 +00:00
Emanuele Giaquinta
db5b348b5e
Remove code duplication in ignore_check.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4763 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 11:54:43 +00:00
Emanuele Giaquinta
aa602a00ac
Do not check for standard C headers.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4761 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-14 10:34:34 +00:00
Emanuele Giaquinta
e1713c17cb
After last change paste_entry includes the key before the one
...
that begins the pasting, so do not add the same key to paste_buffer,
otherwise it will show up twice.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-12 09:59:35 +00:00
Emanuele Giaquinta
30aee7b46c
Move lib-config typedefs in iconfig.h.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 14:55:46 +00:00
Emanuele Giaquinta
fb7736fb21
Use struct name rather than typedef name in pointer declaration.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4758 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 14:52:56 +00:00
Emanuele Giaquinta
9da9751aca
Document config_node_set_str.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4757 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 14:32:04 +00:00
Emanuele Giaquinta
4ca476d465
Fix typos.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4756 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 13:26:33 +00:00
Emanuele Giaquinta
75352a5998
Keep documentation for public api only in headers to avoid duplication.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-11 13:25:33 +00:00
Emanuele Giaquinta
88a7492566
Remove unused macros.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 21:31:35 +00:00
Emanuele Giaquinta
f74cc02f97
Disable versioning for the proxy module, patch by darix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 15:21:45 +00:00
Emanuele Giaquinta
da232b18c1
Make line_add_colors part of the textbuffer api.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 12:05:43 +00:00
Emanuele Giaquinta
a3526caf41
Make a copy of the entry buffer only when a paste begins rather than
...
everytime a key is pressed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 09:48:02 +00:00
Emanuele Giaquinta
02a10e4f9c
Do not buffer keys when waiting for paste confirmation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 23:57:28 +00:00
Emanuele Giaquinta
37381fe1bc
Simplify history handling in key_send_line.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4745 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 23:03:45 +00:00
Emanuele Giaquinta
ef47cde2b9
Rename variable.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4744 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 18:16:50 +00:00
Emanuele Giaquinta
b5fe742ace
Replace usage of get_utf8_char with g_utf8_get_char_validated and
...
factor the corresponding code into a function.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4743 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 18:08:40 +00:00
Emanuele Giaquinta
fee983d9fc
Replace usage of get_utf8_char with g_utf8_get_char_validated.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 16:41:20 +00:00
Emanuele Giaquinta
72930e0be3
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 12:17:55 +00:00
Emanuele Giaquinta
7df46597e1
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 12:01:16 +00:00
Emanuele Giaquinta
496d82ac48
Fix indentation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 11:13:09 +00:00
Emanuele Giaquinta
a3021ccf5f
Use GIOChannel API to read a file linewise.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4736 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 11:08:44 +00:00
Emanuele Giaquinta
2b0ebef911
Remove unneeded includes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4735 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07 19:33:23 +00:00
Emanuele Giaquinta
f93befe282
g_mem_set_vtable must be called before using any other GLib functions.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4734 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07 15:11:24 +00:00
Emanuele Giaquinta
8c3e50489f
Remove useless PERL_LIBTOOL indirection.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4731 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-07 10:56:38 +00:00
Emanuele Giaquinta
3e37906cf7
Remove long unmaintained botnet module.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 18:15:51 +00:00
Emanuele Giaquinta
af3b0b2b93
Replace g_strdup+g_str{up,down} with g_ascii_str{up,down}.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 10:42:23 +00:00
Emanuele Giaquinta
40f7904a1a
Remove unneeded upcasing (level_get matching is case-insensitive).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-04 09:48:49 +00:00
Emanuele Giaquinta
65f43a705c
Group together declarations for string functions.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-03 12:33:17 +00:00
Emanuele Giaquinta
cb7d969963
Rename some variables.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-03 01:57:50 +00:00
Emanuele Giaquinta
2e63374f31
Use g_strchomp to remove trailing whitespace.
...
This fixes an invalid read, when the string is empty, reported by Enrico Scholz.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-02 19:54:34 +00:00
Jilles Tjoelker
4e2fcc71ae
Show setter/time in +I lists, if sent by the server.
...
Code mostly copied from +e.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-20 20:28:07 +00:00
Emanuele Giaquinta
0eb386ecd8
Move output recoding in irc_send_cmd_full.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16 23:28:53 +00:00
Emanuele Giaquinta
a0400dc3d2
Rename config.h to irssi-config.h to avoid collisions.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16 11:13:45 +00:00
Emanuele Giaquinta
f1a00f7643
Fix argument name in declaration.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4712 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-15 23:44:46 +00:00
Emanuele Giaquinta
e79829b6a5
Remove unneeded includes.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4709 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05 15:03:33 +00:00
Emanuele Giaquinta
1ea1c6f813
Remove check for ancient default.theme.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05 01:15:38 +00:00
Emanuele Giaquinta
4fb888ce80
Remove support for perl 5.004 and older.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4706 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-05 01:01:06 +00:00
Emanuele Giaquinta
ffe5bd6930
Remove trailing whitespace.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-04 15:30:38 +00:00
Emanuele Giaquinta
dfb91dc79a
Fix deps.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-04 00:30:38 +00:00
Emanuele Giaquinta
ab8da71d29
Remove popt and use glib GOption commandline option parser
...
(glib-2.6 is now the minimum required version).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-03 16:48:02 +00:00
Emanuele Giaquinta
c403b70de4
Remove broken by design /set translation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 18:36:57 +00:00
Emanuele Giaquinta
ee59980363
Remove unneeded include.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 18:05:05 +00:00
Emanuele Giaquinta
feab8e7503
Fix indentation.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 17:54:51 +00:00
Emanuele Giaquinta
2d417002bb
Remove term-curses.h (was added for cuix).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4695 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-02 10:13:42 +00:00
Emanuele Giaquinta
036b1d3300
Reset colors and attributes on newline.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-01 16:02:56 +00:00
Emanuele Giaquinta
2fbde1a24e
Properly initialize and reset last_{fg,bg}.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-28 11:07:11 +00:00
Emanuele Giaquinta
3e700f4b20
Do not export iopt_tables pointer.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-25 12:43:16 +00:00
Emanuele Giaquinta
e13216adf7
Update the terminfo backend to query the 'colors' capability and support more
...
than 16 colors (sync from icecap).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4687 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-25 11:20:40 +00:00
Emanuele Giaquinta
3e5ad97676
Do not assume that bit 0x80 enables blink, rather call set_blink when
...
blink is requested.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4686 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-24 13:39:17 +00:00
Emanuele Giaquinta
fab544bdbe
Add function to set blink to the terminfo backend.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4685 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-24 09:47:08 +00:00
Emanuele Giaquinta
ac006c3442
Remove empty function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-24 09:40:10 +00:00
Emanuele Giaquinta
f5194e296d
Remove undocumented /RAWQUOTE command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4676 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 17:30:14 +00:00
Emanuele Giaquinta
3edcc7a611
Reindent.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4675 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 15:44:05 +00:00
Emanuele Giaquinta
b9a26388b5
Simplify.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4674 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 15:41:12 +00:00
Emanuele Giaquinta
3c7c3941d7
Remove .cvsignore files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:49:10 +00:00
Emanuele Giaquinta
7b08caa814
Remove unneeded resets of paste_keycount (check_pasting will reset it
...
at the next call).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4670 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:06:46 +00:00
Emanuele Giaquinta
f7856f2071
Move code to insert paste prompt into its own function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4669 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 10:50:50 +00:00
Jilles Tjoelker
7d30a05879
Apply -usermode before -autosendcmd.
...
The -usermode is now implicitly treated as a requested
usermode change; the MODE command setting it is not
redirected. This is good because user MODE may or may
not give a reply and this could be confused with the MODE
message indicating the initial usermode.
Possible issue here: '-' modes in -usermode persist only
until you change your umode via /mode.
Bug #548
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4668 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-23 16:48:24 +00:00
Emanuele Giaquinta
6331ffdc2b
Revert r2471, having the erase commands clear the cutbuffer when the
...
line is empty is annoying and not useful.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4667 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-12 12:35:14 +00:00
Emanuele Giaquinta
cce9683658
Simplify is_valid_charset by just checking with g_iconv_open that the
...
conversion is supported.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-09 16:10:07 +00:00
Emanuele Giaquinta
1b99b57e4f
Add 'active' tag for active logs in /log output.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-09 14:39:06 +00:00
Emanuele Giaquinta
519b8f1b8d
Simplify itemcmp.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4656 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 23:36:33 +00:00
Emanuele Giaquinta
fee12d7e84
Remove gettext leftover.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4652 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 14:29:08 +00:00
Emanuele Giaquinta
1d74d1e21f
Reindent.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4651 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 13:06:55 +00:00
Emanuele Giaquinta
338834c08c
Fix typo.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4650 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-05 13:04:48 +00:00
Emanuele Giaquinta
474699f14d
Remove unneeded casts.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4647 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-20 13:34:45 +00:00
Emanuele Giaquinta
66080034ee
Fix last change.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4646 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-19 10:34:40 +00:00
Jilles Tjoelker
d5ea8d7bbc
autolog: do not create *.log, send it to <your nick>.log instead
...
*.log resulted from server notices to * (as sent by
ratbox) for example, and was subsequently interpreted
as a wildcard (note that only * alone is a wildcard for
log targets).
Bug #533
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4645 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-18 21:33:11 +00:00
Jilles Tjoelker
0efac764f6
Pass through (redirect) WHOWAS reply to proxy clients.
...
Bug #490 (patch from Alex Schumann)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-18 21:21:51 +00:00
Emanuele Giaquinta
c1b446e5ed
Saner fix for bug #35 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4642 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17 21:50:31 +00:00
Emanuele Giaquinta
5c91508b78
Reload the layout after saving it, fix bug #35 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4641 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17 16:42:21 +00:00
Jilles Tjoelker
18f2a0fc67
Do not allow /ping by itself to ctcp ping a channel.
...
This is like the new /ver behaviour.
Bug #542 , patch by Geert with tweaks by exg
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-17 16:35:47 +00:00
Emanuele Giaquinta
5bf14bbbe5
Fix grammar errors, patch by Mikael Magnusson.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4639 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-16 11:30:37 +00:00
Jilles Tjoelker
90b66dbe6c
Rework redirections to deal with multiple concurrent redirects better.
...
These mostly happen when doing remote whois and the
target server is slow.
The code uses the source server but will try to do what it
can if servers think they need to mask it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-14 23:02:40 +00:00
Jilles Tjoelker
fabecae6e6
Fix mode display in whois with unreal (379 numeric).
...
Bug #479
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4637 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-03 00:24:55 +00:00
Jilles Tjoelker
55c1685999
Remove a space that messed up alignment in whois mode replies.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4636 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-03 00:06:47 +00:00
Jilles Tjoelker
c4d88a3b72
Fix RPL_WHOISHOST (378) code and strip off the "*@" from the hostname.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4635 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02 22:41:24 +00:00
Jilles Tjoelker
ffb294ae3f
Add support for RPL_WHOISACTUALLY (338), both ratbox and ircu style.
...
Note that the ratbox style only shows ip, this appears as
hostname: <ip> which is slightly different from the other
real host numerics.
Bug #428
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4634 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02 22:40:36 +00:00
Jilles Tjoelker
7a48e35b34
Unbreak the build by removing idle_check_time from Irssi::Irc::Notifylist.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-02 12:02:45 +00:00
Jilles Tjoelker
78dad04c7b
Remove /notify -idle, it can only work with not-nice automated remote whois.
...
(causes infrequent "server load too heavy" etc)
If people really want this, they should write a script.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-31 22:58:44 +00:00
Emanuele Giaquinta
d9782fab84
Fallback on rename also when errno is ENOSYS/EOPNOTSUPP because
...
FUSE/BSD sets this value when link is not available.
Based on a patch by Juuso Tähkäpää, bug 536.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4631 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-29 15:37:31 +00:00
Wouter Coekaerts
37468a8641
Same for s/-fullword/-full/
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-22 16:45:48 +00:00
Emanuele Giaquinta
9fd8510d87
Handle server == NULL case in skip_target, fix regression with irssi-icb.
...
Patch by Stuart Henderson, bug #539 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4627 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-22 13:27:56 +00:00
Jilles Tjoelker
5f6a7547ee
Recognize 431/461 (not enough parameters) as end of whois reply.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-18 20:47:44 +00:00
Wouter Coekaerts
d5f4c983ec
Make /hilight output -mask instead of -nickmask, consistent with the parameter it expects.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-18 18:35:12 +00:00
Jilles Tjoelker
b99baa96a5
Also copy oper status when an already known user joins another channel.
...
(Realname and away status were already copied.)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4623 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-16 17:26:59 +00:00
Jilles Tjoelker
94c6e008ad
Update oper status from userhost reply.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4622 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-16 17:20:12 +00:00
Jilles Tjoelker
b0b26b6e77
Get -kicks and -msgs from TARGMAX and MAXTARGETS 005 tokens.
...
We do not do this for WHOIS because the resulting replies
tend to be buggy and inconsistent.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4617 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-12 15:09:12 +00:00
Geert Hauwaerts
4f03840ba8
Fix broken URI.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-11 16:02:27 +00:00
Jilles Tjoelker
c5b4e72382
Make alt/meta+arrow keys work in recent versions of xterm.
...
Bug #496
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4603 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-24 17:13:21 +00:00
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
Emanuele Giaquinta
fda5181dbd
Oops.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4524 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-26 12:00:15 +00:00
Jilles Tjoelker
f8eada63c7
Pick up host changes on charybdis and ircu servers (396 numeric).
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4523 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 23:27:27 +00:00
Emanuele Giaquinta
4f98e29bab
Make word commands unicode friendly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 23:21:38 +00:00
Emanuele Giaquinta
8a9da9cf2d
Add function to delete the whole cell under the cursor and use it for
...
delete_character.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4521 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 22:21:39 +00:00
Emanuele Giaquinta
ceea629e3e
Move the cursor cell-wise in utf8.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4520 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 22:13:24 +00:00
Emanuele Giaquinta
a429e2bf23
Forbid insertion of a character with width 0 as the first character in
...
the prompt.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4519 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 22:06:32 +00:00
Emanuele Giaquinta
a8741bd799
Replace utf8_width with Markus Kuhn's wcwidth.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4518 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-25 21:56:30 +00:00
Emanuele Giaquinta
24bf34c6ca
Move 'version' option in main.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4511 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-24 00:44:29 +00:00
Emanuele Giaquinta
841cd8d0cf
Cleanup option handling.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4510 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-24 00:25:36 +00:00
Emanuele Giaquinta
afa4292466
Farewell glib-1.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 23:13:29 +00:00
Jilles Tjoelker
cb1287ab63
If we get a ERR_NOSUCHNICK for the nick "*", display
...
the text in the numeric rather than a fixed "no such
nick/channel". This often contains more information for
at least ircu/ratbox/charybdis (Target left IRC with
failed text when /msg crosses quit/split).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4508 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 20:07:12 +00:00
Jilles Tjoelker
bf937e5e69
Fix recognition of realnames starting with spaces in /who replies.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4507 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 19:29:38 +00:00
Jochen Eisinger
433c3795ae
add fe_common to the list of possible submodules
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 16:38:28 +00:00