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

4570 Commits

Author SHA1 Message Date
kyak
b065f2a011 Use HOST_NAME_MAX for userhost and hostname expandos
Use HOST_NAME_MAX instead of hardcoded 100 for userhost
and hostname expandos.
2015-08-29 15:36:05 +03:00
kyak
b7d82ecdce Use "(none)" as fallback for hostname and userhost expandos
Use "(none)" instead of "??" for hostname and userhost expandos
when these can't be reliably detected.
2015-08-29 15:32:22 +03:00
kyak
19760679eb In expando_hostname, set *free_ret to TRUE
*free_ret must be set to TRUE in both cases, since we return
some newly initialised memory
2015-08-29 15:29:57 +03:00
kyak
0435331912 Clean up in hostname expando before return
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.
2015-08-26 09:34:48 +03:00
kyak
8e71d6ec73 Add expandos for hostname
See http://bugs.irssi.org/index.php?do=details&task_id=829
2015-07-19 09:45:50 +03:00
Geert Hauwaerts
6fcafc5993 1k+ windows are now the default formatting (#223)
1k+ windows are now the default formatting (#223)
2015-06-12 21:13:45 +02:00
Geert Hauwaerts
fb5513ef4a Merge pull request #257 from GeertHauwaerts/master
Clarify the help for /LIST (#228)
2015-06-12 20:48:50 +02:00
Geert Hauwaerts
b90402b7fc Proper removal of sb_search.pl (#143)
Proper removal of sb_search.pl (#143)
2015-06-12 20:44:32 +02:00
Geert Hauwaerts
e2eb2483b7 Updated the man page (#251)
Updated the man page (#251)
2015-06-12 20:41:47 +02:00
Geert Hauwaerts
a663d2f674 Updated the bundled scripts to their latest version (#143)
Updated the bundled scripts to their latest version (#143)

Removed sb_search.pl which is not contributed into the script archive, I
will poke coekie about it.
2015-06-12 19:40:15 +02:00
Geert Hauwaerts
788f181ecb Merge pull request #258 from irssi/revert-232-master
Revert "Bug fix - docdir is ignored during installation."
2015-06-12 19:06:48 +02:00
Geert Hauwaerts
d222c11f74 Revert "Bug fix - docdir is ignored during installation." 2015-06-12 18:50:55 +02:00
Geert Hauwaerts
4cc6fdaaab Add server check in irc_server_connect (#208)
Fail instead of crash, if irc_server_connect is called without object.
(#208)
2015-06-12 17:44:13 +02:00
Geert Hauwaerts
a79f150a76 Clarify the help for /LIST (#228)
Clarify the help for /LIST (#228)
2015-06-12 17:23:49 +02:00
Geert Hauwaerts
01510b7d9e Merge pull request #247 from FreeFull/patch-1
lastlog doc fix
2015-06-12 16:44:07 +02:00
Geert Hauwaerts
7978d58202 Merge pull request #252 from ailin-nemui/patch-2
Update sb_search.pl
2015-06-12 16:43:43 +02:00
ailin-nemui
fa782ae6bc Update sb_search.pl
make it easier to bind sb search to a key
2015-05-29 14:09:55 +02:00
Filip Szczepański
ae742f3f13 lastlog doc fix
Only the filename can come right after `-file`. Having `-force` in that position causes an `Irssi: Could not open lastlog: No such file or directory` error.
2015-05-14 13:06:50 +01:00
Alexander Færøy
c122a2a226 Merge pull request #241 from pstray/master
Change a hash lookup so it compiles
2015-04-21 00:17:40 +02:00
Alexander Færøy
9540a60c52 Merge pull request #232 from dimkr/master
Bug fix - docdir is ignored during installation.
2015-04-21 00:14:39 +02:00
Peder Stray
6b56f098e9 Change g_hash_table_contains() for compatibility with glib < 2.32 2015-04-20 08:01:01 +02:00
Alexander Færøy
c7b428bdaf Merge pull request #240 from hloeung/master
trivial: Minor cosmetic changes fixing docs as per review from ahf.
2015-04-18 16:25:18 +02:00
Haw Loeung
9f77dd802d trivial: Minor cosmetic changes fixing docs as per review from ahf. 2015-04-18 13:53:07 +10:00
Alexander Færøy
eb0f09073c Merge pull request #199 from ailin-nemui/config-parser
Make config parser more robust
2015-04-17 21:23:03 +02:00
Alexander Færøy
03be2861dc Merge pull request #235 from dequis/g_strcmp0
Change all strcmp() to g_strcmp0() to handle nulls gracefully
2015-04-17 21:13:18 +02:00
Alexander Færøy
ef5ac430c7 Merge pull request #238 from hloeung/master
ssl: Add option to specify SSL cipher suite preference list
2015-04-17 21:10:00 +02:00
Haw Loeung
349ed35ce0 ssl: Fixed call to SSL_CTX_set_cipher_list() only when ssl_ciphers specified and warn when no cipher suite could be selected. 2015-04-15 00:44:07 +10:00
Haw Loeung
50e955e342 ssl: Add option to specify SSL cipher suite preference. 2015-04-14 18:07:35 +10:00
dequis
9890daca79 Handle nulls properly in the g_strcmp0() for glib<2.16
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);
2015-04-11 15:09:53 -03:00
dequis
ef0877f484 Define g_strcmp0 to strcmp if the glib version is older than 2.16 2015-04-07 23:01:09 -03:00
dequis
f14199d9c1 Change all strcmp() to g_strcmp0() to handle nulls gracefully
Just a string replacement (but i did check every one of them)

    sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2015-04-07 22:41:05 -03:00
Alexander Færøy
9ffe52ec5e Merge pull request #233 from dgl/hilight-fix
Make sure NO_ACT isn't cleared when -actcolor %n is used
2015-04-08 03:32:45 +02:00
Alexander Færøy
8d2ea2d7ce Merge pull request #234 from Adam-/master+sni
Add SNI support
2015-04-07 21:19:43 +02:00
Adam
28aaa653cf Add SNI support 2015-04-07 15:01:57 -04:00
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
Dima Krasner
be8c3c378a Bug fix - docdir is ignored during installation. 2015-04-07 12:14:20 +03: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
Alexander Færøy
1f87dd361e Merge pull request #226 from ailin-nemui/scriptassist
Sync from scripts: Fix scriptassist broken on unload
2015-02-21 11:59:59 +01:00
Ailin Nemui
6ce8a64118 Fix scriptassist broken on unload
This is a regression introduced in
c5ad61b4b0 where one `defined' statement
got removed in error while cleaning up warnings.
2015-02-20 23:17:23 +01: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
6b08cbe906 Merge pull request #124 from dgl/git-version
Include commit and if the tree is dirty in builds of -head versions
2015-02-17 01:10:38 +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
Alexander Færøy
dd58bd5f7b Merge pull request #218 from mauke/patch-1
accept freenode extbans in /ban [#150]
2015-02-16 17:28:08 +01: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