1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00
Commit Graph

4553 Commits

Author SHA1 Message Date
LemonBoy
16c71cf1fb Implement CHANTYPES support 2015-05-15 17:07:30 +02: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
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
Geert Hauwaerts
e2462b7839 Merge pull request #214 from pierrot14/master
Fix comment in default.theme: msgownnick -> ownnick
2015-02-01 23:39:15 +01:00
Pablo Martín Báez Echevarría
378cab29f4 Fix comment in default.theme: msgownnick -> ownnick 2015-02-01 20:24:05 -02:00
Geert Hauwaerts
93ef4d0aa6 Merge pull request #213 from ailin-nemui/patch-1
Fix the lastlog help
2015-02-01 22:51:49 +01:00
ailin-nemui
a26a909af0 Fix the lastlog help
Correct some confusing inaccuracies and document a parameters that got lost on the rewrite.
2015-02-01 19:21:59 +01:00
Geert Hauwaerts
dff7e049b8 Merge pull request #212 from dequis/lastleg
/help lastlog: Clarify usage of -<level> parameter
2015-01-31 16:40:18 +01:00
dequis
7ca9c86445 /help lastlog: Clarify usage of -<level> parameter 2015-01-31 11:49:01 -03:00
Alexander Færøy
2027e73977 Merge pull request #204 from KindOne-/master
Do not let the ctcp action of an inital query go into the status window.
2015-01-17 23:33:32 +01: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
Geert Hauwaerts
b1de3c3f38 Merge pull request #202 from incognico/remove-splitlong-pl
Remove splitlong.pl, it is enabled natively (#1)
2015-01-13 19:26:19 +01:00
Nico R. Wohlgemuth
dfc65d959e Remove splitlong.pl, it is enabled natively (#1) 2015-01-13 18:44:16 +01: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