summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-09-21Initial work to make irssi respect the resolved ip orderLemonBoy
Ip's aren't selected using random() anymore, also select the ip version by using getaddrinfo and some proper hints.
2015-09-20Merge pull request #278 from LemonBoy/sasldx
SASL support
2015-09-21Use formats instead of g_warningLemonBoy
Add some copyright headers here and there too.
2015-09-20More format warnings removed.Alexander Færøy
2015-09-20Fix formatting warnings.Alexander Færøy
2015-09-20Merge pull request #288 from irssi/ahf/kill-gcdx
Remove Garbage Collection support.
2015-09-20Fix warning.Alexander Færøy
Add comment on the use of ??) in C, since that string isn't entirely obvious to people who are reading the code.
2015-09-20Remove Garbage Collection support.Alexander Færøy
GC support was never enabled by default and nobody in the current development team seems to care about it.
2015-09-20Fix warning.Alexander Færøy
2015-09-20Use g_string_append() instead of g_string_append_c() for string.Alexander Færøy
2015-09-20Use g_string_append() instead of g_string_append_c() for string.Alexander Færøy
2015-09-19Merge remote-tracking branch 'origin' into saslLemonBoy
2015-09-19Add setting to configure rejoin on reconnect behaviourJari Matilainen
Closes #169
2015-09-19Merge pull request #283 from LemonBoy/unset-crnlailin-nemui
Clear the ICRNL flag
2015-09-19Modify the terminal initialization sequenceLemonBoy
We disable the ICRNL flag to make Enter independent from ^J from the keybinding point of view since the former will now send ^M, leaving the user free to remap ^J without trapping itself into the irssi session because of a broken Enter key. Also disable the software flow control because we don't expect anyone to run irssi over a serial console; we gain some more freedom by having ^Q and ^S freely mappable by the user.
2015-09-18Add two missing #include "fe-irc-channels.h"dequis
Fixes #285
2015-09-19Merge pull request #259 from dequis/irssiproxyailin-nemui
Updates for irssiproxy
2015-09-11Don't handle 908 as a critical failureLemonBoy
"if the mechanism is unknown, 908 is optional, 904 (or equivalent error condition) is required"
2015-09-11Parse the error string received by the serverLemonBoy
So that in case of SASL failure the user sees a nice error message.
2015-09-11Consider the SASL handshake successful on 903LemonBoy
2015-09-11Handle event 906 and 908LemonBoy
2015-09-11Explicitly set the authorization id during the PLAIN handshakeLemonBoy
On error show the user the message sent by the server.
2015-09-11Replace spaces with tabsLemonBoy
2015-09-11Address all the points outlined in the first reviewLemonBoy
Replace G_SOURCE_REMOVE with FALSE for the compatibility sake. Zero the timeout id after g_source_remove and when exipred. Save the sasl_* options in sig_chatnet_saved().
2015-09-11SASL supportLemonBoy
The only supported methods are PLAIN and EXTERNAL, the latter is untested as of now. The code gets the values from the keys named sasl_{mechanism,username,password} specified for each chatnet.
2015-09-10Merge pull request #248 from LemonBoy/chantypesAlexander Færøy
Implement CHANTYPES support
2015-09-09Move the function prototypes in a separate headerLemonBoy
2015-09-09Merge pull request #276 from LemonBoy/terminfo-application-modeAlexander Færøy
Send smkx/rmkx sequence at terminal init
2015-09-06Send smkx/rmkx sequence at terminal initLemonBoy
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.
2015-09-02Fix two minor issues outlined in the PR#222LemonBoy
irc-cap.c has now a licence header. A minor style fix in misc.c
2015-09-02Introduce some more chantypes awarenessLemonBoy
2015-09-02Whitespace fixLemonBoy
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-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