summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-08-29In expando_hostname, set *free_ret to TRUEkyak
*free_ret must be set to TRUE in both cases, since we return some newly initialised memory
2015-08-26Clean up in hostname expando before returnkyak
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-24Merge pull request #222 from LemonBoy/cap-supportAlexander Færøy
[RFC] CAP support
2015-08-20Send the CAP LS after sending the proxy stringsLemonBoy
Patch by @dequis
2015-07-25Replace \n with \r\n in irssiproxy source, fixes bugblha303
2015-07-19Add expandos for hostnamekyak
See http://bugs.irssi.org/index.php?do=details&task_id=829
2015-06-14Fix 'address already in use' when changing irssiproxy_portsdequis
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.
2015-06-14Rename /proxy command to /irssiproxy for claritydequis
2015-06-14Merge branch 'master' into irssiproxydequis
Conflicts: src/irc/proxy/listen.c
2015-06-121k+ windows are now the default formatting (#223)Geert Hauwaerts
1k+ windows are now the default formatting (#223)
2015-06-12Add server check in irc_server_connect (#208)Geert Hauwaerts
Fail instead of crash, if irc_server_connect is called without object. (#208)
2015-05-31Improve ischannel_func (#253)LemonBoy
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).
2015-05-15Implement CHANTYPES supportLemonBoy
2015-05-05Implement support for IRCv3.1 CAP negotiationLemonBoy
2015-04-20Change g_hash_table_contains() for compatibility with glib < 2.32Peder Stray
2015-04-17Merge pull request #199 from ailin-nemui/config-parserAlexander Færøy
Make config parser more robust
2015-04-17Merge pull request #235 from dequis/g_strcmp0Alexander Færøy
Change all strcmp() to g_strcmp0() to handle nulls gracefully
2015-04-15ssl: Fixed call to SSL_CTX_set_cipher_list() only when ssl_ciphers specified ↵Haw Loeung
and warn when no cipher suite could be selected.
2015-04-14ssl: Add option to specify SSL cipher suite preference.Haw Loeung
2015-04-11Handle nulls properly in the g_strcmp0() for glib<2.16dequis
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-07Define g_strcmp0 to strcmp if the glib version is older than 2.16dequis
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2015-04-08Merge pull request #233 from dgl/hilight-fixAlexander Færøy
Make sure NO_ACT isn't cleared when -actcolor %n is used
2015-04-07Add SNI supportAdam
2015-04-07Make sure NO_ACT isn't cleared when -actcolor %n is usedDavid Leadbeater
Fixes issue #227.
2015-03-01Merge pull request #217 from Lohhari/lastlog-dateAlexander Færøy
Added a -date parameter to /lastlog to prepend each row with the ...
2015-02-24Add help files for proxy moduleHans Nielsen
2015-02-24Fix whitespaceHans Nielsen
2015-02-24Add port to proxy client struct for Perl scriptsHans Nielsen
2015-02-24Add boolean toggle for irssiproxy being enabledHans Nielsen
2015-02-24Make proxy messages include more detail and add status commandHans Nielsen
2015-02-24Change around connection signals in proxy moduleHans Nielsen
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-17Merge pull request #225 from dequis/silence-unused-value-warningsAlexander Færøy
Silence unused value warnings in perl binding code
2015-02-17fix crash in layout code when encountering wrong configAilin Nemui
2015-02-17Make the config parser more robustAilin Nemui
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-17Refuse to load broken configs on irssi startAilin Nemui
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-17Warn the user instead of crashing on wrong configAilin Nemui
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-17add CONFIG_REC to config_node_section* APIsAilin Nemui
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-16Merge pull request #115 from ailin-nemui/fix-hat-keyAlexander Færøy
Make ^ key and Ctrl+^ key usable with /BIND
2015-02-16Silence unused value warnings in perl binding codedequis
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-16lastlog.c is a mix of tab and space indentation. My changes now use tabs.Vesa Pirila
2015-02-08accept freenode extbans in /ban [#150]mauke
2015-02-08Added customization possibility for the lastlog date format, lastlog_dateVesa Pirila
2015-02-08Added a -date parameter to /lastlog to prepend each row with the row's dateVesa Pirila
2015-01-17Do not let the ctcp action of an inital query go into the status window.KindOne
2015-01-05Merge pull request #191 from dgl/config-errorAlexander Færøy
Die if the wrong type of node is found when traversing config
2015-01-05Merge pull request #152 from sebth/masterAlexander Færøy
Try to split long lines on spaces
2014-12-16Merge pull request #164 from ailin-nemui/fix-ansi-resetAlexander Færøy
Fix reset of attributes with ansi
2014-12-16Merge pull request #133 from pjcj/masterAlexander Færøy
Speed up /reload when there are many ignores.
2014-12-16Merge pull request #189 from dequis/colorless-green-ideas-blink-furiouslyAlexander Færøy
Fix blinking/bold text in terminals with no color support