summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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-05-05Implement support for IRCv3.1 CAP negotiationLemonBoy
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-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-07Add SNI supportAdam
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-01-05Merge pull request #152 from sebth/masterAlexander Færøy
Try to split long lines on spaces
2014-12-16Merge pull request #133 from pjcj/masterAlexander Færøy
Speed up /reload when there are many ignores.
2014-12-08Documentation fix for #185Geert Hauwaerts
Documentation fix for #185
2014-12-06Merge pull request #171 from vlajos/typofixes-vlajos-20141108Alexander Færøy
typo fixes - https://github.com/vlajos/misspell_fixer
2014-12-03Check for unix sockets when reconnectingGuillaume BROGI
2014-11-20Correctly parse unix sockets servers in the configGuillaume BROGI
2014-11-08typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos
2014-10-19Try to split long lines on spacesSebastian Thorarensen
Try to split long lines on spaces to avoid words being splitted. This can be turned off with the option `split_line_on_space'. The code assumes that the terminal encoding has ASCII spaces.
2014-10-15Disable SSLv3Alexander Færøy
2014-10-11Remove unnecessary NULL checkAlexander Færøy
Fixes: #135
2014-09-30Fix use-after-free bug with cached settings valuesAlexander Færøy
This patch fixes a couple of use-after-free bugs when caching various string related setting values. Fixes: #143
2014-08-23Speed up /reload when there are many ignores.Paul Johnson
With many ignores (a few thousand) /reload could take so long that connections were dropped. The problem is that nickmatch_rebuild() was being called for every ignore. The easy solution is to only call it once at the end.
2014-08-05Fix rawlog saving after dac67a5 broke itDavid Leadbeater
2014-07-12Avoid using uninitalized values.David Hill
2014-07-07Fix Clang warningsAlexander Færøy
This patch fixes a few warnings emitted by clang by removing the initialization of the list by itself.
2014-07-06Fix minor coding style issues in message splittingSebastian Thorarensen
2014-07-06Allow `server.split_message' being NULLSebastian Thorarensen
Now a module can set `server.split_message = NULL' to disable message splitting, instead of having to implement the function.
2014-07-06Replace an indent of eight spaces with a tabSebastian Thorarensen
2014-07-06Properly split long IRC messagesSebastian Thorarensen
This commit adds handling of long IRC messages to the core. In contrast to the `splitlong.pl' plugin, multi-byte encoded and recoded messages are properly split. To allow for this, a new function has been added to the server struct: `split_message'. `split_message' returns a string array with the message splitted to substrings of a length that the server can handle. If a protocol module doesn't have any limit, it can simply return a singleton array with a copy of the message. The `MSG' chat command now calls `split_message' before `send_message', and emits `message own_public' / `message own_private' with each substring, so that the string splitting will be visible in the UI. `split_message' in the IRC module uses `recode_split' which in turn uses iconv to properly split multi-byte encoded (and recoded) messages.
2014-07-06Check return values from some syscalls and warn if they failDavid Leadbeater
2014-07-06Initialize in6 correctlyDavid Leadbeater
This is technically wrong as it then gets used as an IPv4 sockaddr, but it only needs to be some 0s so this is easier than changing the IPADDR data structure or adding a new API.
2014-07-06Make configure checks able to build with -WerrorDavid Leadbeater
Also fix a few compiler warnings, this combined with pull #82 allows me to build with CFLAGS="-Werror -Wall".
2014-07-04Merge pull request #80 from dgl/noactAlexander Færøy
Change NO_ACT so it can be combined with other levels
2014-06-30Make /ignore -replies work with NO_ACTDavid Leadbeater
2014-06-30Don't expand ALL when combined with NEVER/NO_ACTDavid Leadbeater
2014-06-30Change NO_ACT so it can be used in addition to other ignoresDavid Leadbeater
This results in a more flexible system and is less surprising as it means levels can be used in the way they normally can in an ignore. As an example the current approach to NO_ACT provides no way to let HILIGHTS be shown, with this change /set activity_hide_targets can be recreated with: /ignore #channel NO_ACT /ignore #channel -except -regexp -pattern . NO_ACT HILIGHTS (but obviously this can be configured in many more ways if desired).
2014-06-30Warn with error if regexp ignore fails to parseDavid Leadbeater
2014-06-27s/INCLUDES/AM_CPPFLAGS/gDave Reisner
Silences warnings on recent automake such as: src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-26Add some missing casts to silence compiler warningsDavid Leadbeater
2014-06-20Fix compiler warning.David Hill
network.c:63:2: warning: missing braces around initializer [-Wmissing-braces] network.c:63:2: warning: (near initialization for 'ip4_any.ip.__u6_addr') [-Wmissing-braces]
2014-06-18Add NO_ACT levelTom Feist
This patch adds a new NO_ACT level that can be used with /ignore to ignore activity notifications
2014-06-15speed up nicklist by using hashAilin Nemui
2014-06-15speed up window_item_find by interning name and removing call to channel_findAilin Nemui
2014-06-15Merge pull request #33 from dajohi/modules_loadAlexander Færøy
Silence a compiler warning.
2014-06-15Silence a compiler warning.David Hill
If the first g_module_symbol call failed, module_deinit was set to value2, which is uninitialized. Move the assignment after checking variable found to silence the warning.
2014-06-15Replace deprecated g_io_channel_close with g_io_channel_shutdown.David Hill
g_io_channel_close flushes the buffer and does not return errors. g_io_channel_shutdown(handle, TRUE, NULL) keeps that behavior.
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2014-01-11Add -ssl_pass to /connect and /serverAlexander Færøy
Fixes: Bug #305 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2014-01-10- Applied a patch from Jaroslav Škarvada (FTBFS if ↵Geert Hauwaerts
"-Werror=format-security" flag is used | https://bugzilla.redhat.com/show_bug.cgi?id=1037139) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-25Clean-up after ourselvesAlexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2013-06-23Add TLSA related signalsAlexander Færøy
This patch adds 3 new signals: * tlsa avalable: emitted if TLSA is available for a given domain. * tlsa verification success: emitted if the TLSA check was successful. * tlsa verification failed: emitted if the TLSA check was unsuccessful. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5220 dbcabf3a-b0e7-0310-adc4-f8d773084564