Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-08 | Merge remote-tracking branch 'origin/master' into bracketed-paste | dequis | |
2015-11-02 | Merge pull request #330 from dequis/xterm-keypad-enter | ailin-nemui | |
Add xterm's keypad enter, meta-O-M to "key return" bindings | |||
2015-11-01 | Merge pull request #320 from irssi/ahf/add-setting-type-any | dx | |
Fix warnings | |||
2015-10-28 | Preserve the sasl_ options across reconnects. | LemonBoy | |
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-06 | Add xterm's keypad enter, meta-O-M to "key return" bindings | dequis | |
From the 'kent' terminfo entry. Also applies to putty. Fixes #327 | |||
2015-10-04 | Merge pull request #318 from LemonBoy/fix-utf8-elements | ailin-nemui | |
Fix the display of utf8 sequences in the gui | |||
2015-10-04 | Fix the indentation. | LemonBoy | |
2015-10-03 | Merge pull request #314 from LemonBoy/sasl_session | dx | |
Save the sasl state in the session | |||
2015-10-03 | Remove check for >= 0 for unsigned unichar. | Alexander Færøy | |
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 | Set HOST_NAME_MAX to 255, if it's undefined. | Alexander Færøy | |
Thanks to Jilles and dx. Fixes #309 | |||
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 | Merge pull request #319 from LemonBoy/awaylog-flush | Geert Hauwaerts | |
Flush the dirty buffer to disk | |||
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 | Kill an unneeded declaration | LemonBoy | |
2015-10-02 | Even simpler logic | LemonBoy | |
2015-10-02 | Rework the logic to avoid allocating memory | LemonBoy | |
2015-10-02 | Fix the display of utf8 sequences in the gui | LemonBoy | |
term_addstr() had a long-standing fixme that suggested it didn't take into account the string encoding when calculating the string length. The BIG5 code path is untested. | |||
2015-10-02 | Fix a memory leak. | LemonBoy | |
g_get_current_dir() returns a heap-allocated string. | |||
2015-10-02 | Merge pull request #294 from dequis/key-states-rescan-recursion-limit | dx | |
Limit recursion depth of key/combo expansion in key_states_scan() | |||
2015-10-02 | Don't set the usermode field if blank | LemonBoy | |
Fixes FS#919 | |||
2015-10-02 | Save the sasl state in the session | LemonBoy | |
This is seemingly required to have irssi re-authenticate after a restart. | |||
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-29 | Make sure sasl settings are defined before printing them out | Jari Matilainen | |
2015-09-29 | Add sasl info to /network list output if available | Jari Matilainen | |
2015-09-27 | Handle empty bracketed pastes (or sequences of those) | dequis | |
Both cases were off-by-one mistakes erring on the side of being too conservative. This fixes these two harmless issues: - For a single empty paste, it required another keystroke before processing it - For a sequence of themcase, a single '~' was left in the input | |||
2015-09-27 | Handle a paste start marker right after an end one (ignore both) | dequis | |
This actually workarounds a bug with the "st" terminal, for which i've already submitted a patch, but irssi needs to be able to handle it decently too. | |||
2015-09-27 | Create paste_bracketed_middle() function to handle small pastes | dequis | |
"Small" as in ending in the same sig_input() call where they started | |||
2015-09-27 | Fix some minor style issues | dequis | |
2015-09-27 | Send last line of bracketed paste together with the rest | dequis | |
2015-09-27 | paste_bracketed_end: Fix rest length calculation | dequis | |
2015-09-27 | Save the part of the paste buffer after the bp_end marker for later | dequis | |
Also move relevant code to a paste_bracketed_end() function | |||
2015-09-27 | Improve bracketed paste start/end detection | dequis | |
- Use a keybinding to detect the start of a bracketed paste - Iterate over the paste buffer looking for the end marker | |||
2015-09-27 | Get rid of the non-portable memmem | LemonBoy | |
The sequences we're after are found at the beginning or at the end of the buffer, there's no need to scan the whole thing. | |||
2015-09-27 | Enable the bracketed paste mode on demand | LemonBoy | |
2015-09-27 | Replace some hairy logic with g_array_remove_range | LemonBoy | |
In the hope it'll do the same under the hood. | |||
2015-09-27 | Toggles | LemonBoy | |
2015-09-27 | Implement the bracketed paste mode | LemonBoy | |
As an alternative method of paste detection, more reliable but might not be supported by all the VTs. | |||
2015-09-26 | Merge pull request #304 from LemonBoy/sasl_user_options | ailin-nemui | |
Allow the user to set and modify the SASL parameters |