Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-09 | Strip the trailing whitespace from /join commands. | LemonBoy | |
Fixes #99 for great good. | |||
2015-11-09 | Add an option to strip trailing whitespace when parsing commands | LemonBoy | |
2015-11-09 | Merge pull request #313 from isundil/master | ailin-nemui | |
Fix #45 Make it easy to delete default channels, servers and networks | |||
2015-11-09 | Merge pull request #341 from dequis/strsplit-len-fix | ailin-nemui | |
Fix invalid reads in strsplit_len when splitting on spaces | |||
2015-11-09 | strsplit_len: make it look more like the original version | dequis | |
2015-11-09 | strsplit_len: use strlen() directly instead of a remaining_len variable | dequis | |
2015-11-01 | Merge pull request #320 from irssi/ahf/add-setting-type-any | dx | |
Fix warnings | |||
2015-10-23 | Fix invalid reads in strsplit_len when splitting on spaces | dequis | |
The symptom for this one is randomly getting lines split before the last word, even if there's no need for splitting. Also, this function is only reached if recode is on, and iconv failed (for example, due to an incorrect source charset). Thanks to vague for finding this and providing valgrind logs. The loop that looks for spaces tried to read backwards from the end of the current line, with the end being determined by len. Assuming strsplit_len() with len=400, this meant accessing str[399] in the first iteration. For strings that don't need splitting, this means an invalid read always. If that invalid read happens to hit garbage that has a space character, (len - offset) points after the end of string, which isn't a problem for g_strndup() since it stops at the first null, and no splitting happens. If the garbage doesn't have any spaces, it splits by the last word. This commit avoids that loop entirely if (remaining_len > len). It also changes the way it iterates over the string to be much less confusing. | |||
2015-10-08 | Fix /reconnect RECON-1 saying "Reconnection tag 1 not found" | dequis | |
Turns out it was fixing the wrong string, and trying to do atoi("RECON-1") instead of atoi("1"). "/reconnect 1" worked, but "/reconnect RECON-1" gave that confusing error message. | |||
2015-10-03 | Add SETTING_TYPE_ANY and replace -1 with it. | Alexander Færøy | |
2015-10-03 | Include write-buffer.h in log-away.c | LemonBoy | |
Silence a warning and make the world a better place. | |||
2015-10-02 | Add missing null terminator to the g_build_path() varargs | dequis | |
Lemon broke it a few commits ago. | |||
2015-10-02 | Merge pull request #316 from LemonBoy/fix_mem_leak | Geert Hauwaerts | |
Fix a memory leak. | |||
2015-10-02 | Flush the dirty buffer to disk | LemonBoy | |
Given a big enough write_buffer_size and a long enough write_buffer_timeout it might be possible to show the user an incomplete or empty awaylog. Patch by: Petteri Aimonen | |||
2015-10-02 | Fix a memory leak. | LemonBoy | |
g_get_current_dir() returns a heap-allocated string. | |||
2015-10-01 | Fix return value of server_setup_remove_chatnet | isundil | |
2015-10-01 | Updated server removal | isundil | |
Removing network will also remove attached channels | |||
2015-10-01 | Fix #45 Make it easy to delete default channels, servers and networks | isundil | |
Removing network will now also remove all attached servers | |||
2015-09-24 | Added functionality to create dir if dir specified in rawlog filename | Jari Matilainen | |
2015-09-23 | Merge pull request #297 from vague666/hilight_nick_matches | ailin-nemui | |
Add new setting to modify behaviour of hilight_nick_matches to match anywhere in message Fixes #56 | |||
2015-09-22 | Fix return value from nick_match_msg_everywhere, remove #include 'settings.h' | Jari Matilainen | |
2015-09-22 | Fix return value from nick_match_msg_everywhere | Jari Matilainen | |
2015-09-22 | Add new setting to optionally modify behaviour of hilight_nick_matches | Jari Matilainen | |
Fix indentation Remove unused variables that crept into the nick_match_msg_everywhere function | |||
2015-09-22 | Revert "Network and IPv{4,6} related changes" | ailin-nemui | |
2015-09-21 | Ding dong the switch is dead | LemonBoy | |
2015-09-21 | Initial work to make irssi respect the resolved ip order | LemonBoy | |
Ip's aren't selected using random() anymore, also select the ip version by using getaddrinfo and some proper hints. | |||
2015-09-19 | Merge remote-tracking branch 'origin' into sasl | LemonBoy | |
2015-09-11 | SASL support | LemonBoy | |
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-10 | Merge pull request #248 from LemonBoy/chantypes | Alexander Færøy | |
Implement CHANTYPES support | |||
2015-09-02 | Fix two minor issues outlined in the PR#222 | LemonBoy | |
irc-cap.c has now a licence header. A minor style fix in misc.c | |||
2015-05-15 | Implement CHANTYPES support | LemonBoy | |
2015-05-05 | Implement support for IRCv3.1 CAP negotiation | LemonBoy | |
2015-04-17 | Merge pull request #199 from ailin-nemui/config-parser | Alexander Færøy | |
Make config parser more robust | |||
2015-04-17 | Merge pull request #235 from dequis/g_strcmp0 | Alexander Færøy | |
Change all strcmp() to g_strcmp0() to handle nulls gracefully | |||
2015-04-15 | ssl: 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-14 | ssl: Add option to specify SSL cipher suite preference. | Haw Loeung | |
2015-04-07 | Change all strcmp() to g_strcmp0() to handle nulls gracefully | dequis | |
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c | |||
2015-04-07 | Add SNI support | Adam | |
2015-02-17 | add CONFIG_REC to config_node_section* APIs | Ailin 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-05 | Merge pull request #152 from sebth/master | Alexander Færøy | |
Try to split long lines on spaces | |||
2014-12-16 | Merge pull request #133 from pjcj/master | Alexander Færøy | |
Speed up /reload when there are many ignores. | |||
2014-12-08 | Documentation fix for #185 | Geert Hauwaerts | |
Documentation fix for #185 | |||
2014-12-06 | Merge pull request #171 from vlajos/typofixes-vlajos-20141108 | Alexander Færøy | |
typo fixes - https://github.com/vlajos/misspell_fixer | |||
2014-12-03 | Check for unix sockets when reconnecting | Guillaume BROGI | |
2014-11-20 | Correctly parse unix sockets servers in the config | Guillaume BROGI | |
2014-11-08 | typo fixes - https://github.com/vlajos/misspell_fixer | Veres Lajos | |
2014-10-19 | Try to split long lines on spaces | Sebastian 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-15 | Disable SSLv3 | Alexander Færøy | |
2014-10-11 | Remove unnecessary NULL check | Alexander Færøy | |
Fixes: #135 | |||
2014-09-30 | Fix use-after-free bug with cached settings values | Alexander Færøy | |
This patch fixes a couple of use-after-free bugs when caching various string related setting values. Fixes: #143 |