Age | Commit message (Collapse) | Author |
|
Send smkx/rmkx sequence at terminal init
|
|
Enter the "application" mode when setting up the terminal, this improves the
compatiblity with the standards; as a side effect now DEL key works ootb when
irssi is run in the suckless's st terminal.
|
|
irc-cap.c has now a licence header.
A minor style fix in misc.c
|
|
|
|
|
|
How did this extra break cripple in here?
|
|
Use HOST_NAME_MAX instead of hardcoded 100 for userhost
and hostname expandos.
|
|
Use "(none)" instead of "??" for hostname and userhost expandos
when these can't be reliably detected.
|
|
*free_ret must be set to TRUE in both cases, since we return
some newly initialised memory
|
|
Clean up the vector resulting from g_strsplit before
returning from expando_hostname(). Also, use g_strdup()
instead of g_strconcat() to return the pointer to hostname.
|
|
[RFC] CAP support
|
|
Patch by @dequis
|
|
|
|
See http://bugs.irssi.org/index.php?do=details&task_id=829
|
|
When changing the value of irssiproxy_ports to use a different network
name in a port that was already bound (so like changing from asd=6667 to
sdf=6667) it would throw "address already in use".
This fixes it by delaying the add_listen() calls after all the
remove_listen() were called.
|
|
|
|
Conflicts:
src/irc/proxy/listen.c
|
|
1k+ windows are now the default formatting (#223)
|
|
Fail instead of crash, if irc_server_connect is called without object.
(#208)
|
|
The function now skips all the leading characters that are in the STATUSMSG. If
the server didn't send the STATUSMSG option then it's assumed to be "@+" for
compatibility with bahamut 2.4 (sic).
|
|
|
|
|
|
|
|
Make config parser more robust
|
|
Change all strcmp() to g_strcmp0() to handle nulls gracefully
|
|
and warn when no cipher suite could be selected.
|
|
|
|
I wrote some tests to compare the behavior but I don't know where to put
them, so i'm including them here:
assert(g_strcmp0("a", "b") == -1);
assert(g_strcmp0(NULL, "a") == -1);
assert(g_strcmp0("a", NULL) == 1);
assert(g_strcmp0("b", "a") == 1);
assert(g_strcmp0("a", "a") == 0);
assert(g_strcmp0(NULL, NULL) == 0);
|
|
|
|
Just a string replacement (but i did check every one of them)
sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
|
|
Make sure NO_ACT isn't cleared when -actcolor %n is used
|
|
|
|
Fixes issue #227.
|
|
Added a -date parameter to /lastlog to prepend each row with the ...
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Silence unused value warnings in perl binding code
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Make ^ key and Ctrl+^ key usable with /BIND
|
|
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
|
|
|
|
|