summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-10-02Merge pull request #319 from LemonBoy/awaylog-flushGeert Hauwaerts
Flush the dirty buffer to disk
2015-10-02Flush the dirty buffer to diskLemonBoy
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-02Kill an unneeded declarationLemonBoy
2015-10-02Even simpler logicLemonBoy
2015-10-02Rework the logic to avoid allocating memoryLemonBoy
2015-10-02Fix the display of utf8 sequences in the guiLemonBoy
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-02Fix a memory leak.LemonBoy
g_get_current_dir() returns a heap-allocated string.
2015-10-02Merge pull request #294 from dequis/key-states-rescan-recursion-limitdx
Limit recursion depth of key/combo expansion in key_states_scan()
2015-10-02Don't set the usermode field if blankLemonBoy
Fixes FS#919
2015-10-02Save the sasl state in the sessionLemonBoy
This is seemingly required to have irssi re-authenticate after a restart.
2015-10-01Fix return value of server_setup_remove_chatnetisundil
2015-10-01Updated server removalisundil
Removing network will also remove attached channels
2015-10-01Fix #45 Make it easy to delete default channels, servers and networksisundil
Removing network will now also remove all attached servers
2015-09-29Make sure sasl settings are defined before printing them outJari Matilainen
2015-09-29Add sasl info to /network list output if availableJari Matilainen
2015-09-27Handle 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-27Handle 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-27Create paste_bracketed_middle() function to handle small pastesdequis
"Small" as in ending in the same sig_input() call where they started
2015-09-27Fix some minor style issuesdequis
2015-09-27Send last line of bracketed paste together with the restdequis
2015-09-27paste_bracketed_end: Fix rest length calculationdequis
2015-09-27Save the part of the paste buffer after the bp_end marker for laterdequis
Also move relevant code to a paste_bracketed_end() function
2015-09-27Improve bracketed paste start/end detectiondequis
- Use a keybinding to detect the start of a bracketed paste - Iterate over the paste buffer looking for the end marker
2015-09-27Get rid of the non-portable memmemLemonBoy
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-27Enable the bracketed paste mode on demandLemonBoy
2015-09-27Replace some hairy logic with g_array_remove_rangeLemonBoy
In the hope it'll do the same under the hood.
2015-09-27TogglesLemonBoy
2015-09-27Implement the bracketed paste modeLemonBoy
As an alternative method of paste detection, more reliable but might not be supported by all the VTs.
2015-09-26Merge pull request #304 from LemonBoy/sasl_user_optionsailin-nemui
Allow the user to set and modify the SASL parameters
2015-09-26Allow the user to set and modify the SASL parametersLemonBoy
The /NETWORK ADD command now is able to modify the SASL mechanism, the username and the password on a chatnet basis.
2015-09-24Applied patch from fs#275 to make /hilight -mask -line work properlyJari Matilainen
2015-09-24Added functionality to create dir if dir specified in rawlog filenameJari Matilainen
2015-09-24Merge pull request #301 from dequis/dcc-get-ntfs-temp-bugGeert Hauwaerts
dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mounts
2015-09-23dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mountsRobert C Jensen
Patch from debian bug 696963 [1] Fixes github bug #220 and flyspray bug 867 [2] [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696963 [2]: http://bugs.irssi.org/index.php?do=details&task_id=867
2015-09-23Merge pull request #298 from dequis/multi-prefixGeert Hauwaerts
Add multi-prefix to list of capabilities to request
2015-09-23Drop some glib version checks that are not needed anymoredequis
The g_strcmp0 fallback in particular was broken since it was used in a few places as a GCompareFunc, and macros don't work that way. Yes, that one was my fault, but nobody complained :D
2015-09-23Add multi-prefix to list of capabilities to requestdequis
Turns out event_names_list() in irc-nicklist.c already handles this. event_who() just ignores it, which is probably a good idea since some of the irc servers I tested this with have a bug that results in sending multiple prefixes in the NAMES reply but not in the WHO one (they were forks of ircd-hybrid before 7.3.0) And NAMES always happens, anyway. WHO is omitted sometimes for huge channels.
2015-09-22sig_message_irc_op_public: fix nickmode lookup, use cleantarget insteaddequis
2015-09-23Merge pull request #297 from vague666/hilight_nick_matchesailin-nemui
Add new setting to modify behaviour of hilight_nick_matches to match anywhere in message Fixes #56
2015-09-22Fix return value from nick_match_msg_everywhere, remove #include 'settings.h'Jari Matilainen
2015-09-22Fix return value from nick_match_msg_everywhereJari Matilainen
2015-09-22Add new setting to optionally modify behaviour of hilight_nick_matchesJari Matilainen
Fix indentation Remove unused variables that crept into the nick_match_msg_everywhere function
2015-09-22Revert "Network and IPv{4,6} related changes"ailin-nemui
2015-09-22Merge pull request #290 from LemonBoy/ipv6ailin-nemui
Network and IPv{4,6} related changes
2015-09-22fe_channel_skip_prefix: fix return value (FALSE/NULL isn't valid)dequis
The return value is a char*, and here it was false which is 0 which is more or less the same as null. That could have been a crash somewhere, the functions that call this don't expect null ever.
2015-09-22Fix #291, "/msg +#channel incorrectly shows up as Nick:@#channel"dequis
Just passing the full target to the "message irc op_public" signal handler and letting it do the cleanup. The fe_channel_skip_prefix() call in event_privmsg() is kept because recode_in() needs a real channel name, but There was similar code in sig_message_own_wall(), but that one is correct - the /wall command always sends NOTICE @#chan, so I added a comment down there to make it clear.
2015-09-21Limit recursion depth of key/combo expansion in key_states_scan()dequis
Fixes FS#817 - "SegFault when executing bind command", which provides the test case "/bind cleft key meta", which is stupid but now it doesn't break things. The limit of 100 is arbitrary, it means roughly 140 stack frames total. The flyspray ticket mentions it crashes at 512, in my system it goes all the way to 149677 stack frames. http://bugs.irssi.org/index.php?do=details&task_id=817
2015-09-21Fix FS#905, mangled text when pasted line length exceeds 400dequis
http://bugs.irssi.org/index.php?do=details&task_id=905 Not using the patch from that ticket, the issue turned out to be that (dest - last_lf_pos) returned number of unichr, not bytes, so that's 4 times less than what the size parameter of memmove() should be.
2015-09-21Merge pull request #267 from kyak/masterailin-nemui
Add expandos for hostname
2015-09-21Ding dong the switch is deadLemonBoy