summaryrefslogtreecommitdiff
path: root/src/fe-text
AgeCommit message (Collapse)Author
2017-01-03Merge branch 'master' into 'security'Nei
Sync to master See merge request !6
2017-01-03Merge pull request #585 from ailin-nemui/win_seqailin-nemui
g_sequence backing for window list
2017-01-03switch for gregex and regex.hAilin Nemui
2017-01-02Use the RAW flag when building the regexps.LemonBoy
Also, plugged a memory leak when retrieving the match position.
2017-01-02Rebase against master.LemonBoy
2017-01-02Remove the regexp_compiled field.LemonBoy
It was made redundant by the introduction of the pointer to the GRegex structure. Silence the compiler warning in textbuffer.c about preg being initialized by setting it to NULL.
2017-01-02Use GLib's regexp interface (backed by PCRE)LemonBoy
2016-12-21Merge pull request #587 from ailin-nemui/sbar_crashailin-nemui
add assertion to statusbar_read_group
2016-12-19Fix oob read on invalid utf8 in term_addstrJoseph Bisch
2016-12-15reset background for mirc colour 99ailin-nemui
fix #571
2016-12-15add assertion to statusbar_read_groupailin-nemui
fix #564
2016-12-13manually redraw the activity list on expose onlyailin-nemui
might speed up /foreach query /unquery
2016-10-23Kill bell_beeps.Alexander Færøy
Fixes #524
2016-08-24Fix an OOB access in the cutbuffer implementation.LemonBoy
2016-08-12remove broken dummy modeailin-nemui
2016-08-04remove curses terminal and ncurses macroailin-nemui
2016-06-25check for NULL in statusbar_more_updatedailin-nemui
fixes crash due to invalid access of active_win members when the more indicator is triggered without an active window
2016-06-05Factor out some redundant code and remove hashtable_get_keysLemonBoy
2016-05-18Merge pull request #480 from xavierog/handle-utf8-nicks-with-mk_wcwidthailin-nemui
Handle utf8 nicks with mk_wcwidth()
2016-05-13Simplify scrlen_str() using string_width().Xavier G
2016-05-13Leverage string_policy().Xavier G
2016-05-13Move utf8.{h,c} from fe-common/core to core.Xavier G
2016-05-03Fix some ANSI C issues.pisculichi
2016-03-29Improve cutbuffer handlingailin-nemui
* Adds two new keys which you can bind in /bind: yank_next_cutbuffer: Revert to the previous last deleted text append_next_kill: Append next deletion * Consecutive kills are now appended to the current cutbuffer
2016-03-22Make use of terminal application keys configurableailin-nemui
adds a new setting term_appkey_mode which can enable or disable the use of keyboard transmit (application keys) mode. Fixes #430
2016-03-22Merge pull request #452 from LemonBoy/terminfo-cupailin-nemui
Don't call terminfo_cont() twice on resume
2016-03-22Merge pull request #457 from ailin-nemui/fix_450ailin-nemui
fix race condition in terminal init
2016-03-22Merge pull request #458 from ailin-nemui/fix_449ailin-nemui
Properly toggle bracketed paste mode on stop/cont
2016-03-22Don't call terminfo_cont() twice on resumeLemonBoy
Fixes some weirdness when using ^Z with zsh.
2016-03-22Properly toggle bracketed paste mode on stop/contailin-nemui
Fixes #449
2016-03-22fix race condition in terminal initailin-nemui
remove the tcgetattr call to a single time on irssi load instead of querying it each time. Fixes #450
2016-03-22cutbuffer: do not unconditionally use replace when noop was requestedailin-nemui
2016-02-24Make pasting warning appear when long pastes are going to be split into many ↵Manish Goregaokar
lines
2016-02-24use a #define'd LINE_SPLIT_LIMIT instead of hardcoding 400Manish Goregaokar
2016-02-10fix whitespaceTodd A. Pratt
2016-01-30remove memory allocation check, spaces to tabsTodd A. Pratt
2016-01-30add an append operation to cut buffer handlingTodd A. Pratt
2016-01-26Merge pull request #353 from toddpratt/masterailin-nemui
Allow for prepending to the cutbuffer in addition to replacing it.
2016-01-08reorder history add and fixesailin-nemui
2015-12-15Merge pull request #306 from dequis/bracketed-pasteailin-nemui
Implement paste detection via the bracketed paste mode 2: bracket pasterer
2015-12-13Bracketed paste: fix nitpick from ahf's reviewdequis
Thanks ahf
2015-12-12Bracketed paste: Adjust paste line count if there's text after newlinesdequis
With bracketed paste, "a\nb" will result in two lines being pasted, because it's a single thing, with an end marker which the timeout based pastes don't have. Due to the way term_gets() counts lines, that input will have paste_line_count == 1. This can be misleading. This code adjusts it by looking at the last character, and increasing the count if it finds anything that isn't a newline.
2015-12-12Disable timeout-based paste detection if paste_use_bracketed_mode is ondequis
2015-12-09Merge branch 'master' of github.com:irssi/irssiTodd A. Pratt
2015-12-09Remove all WIN32 ifdefs (unifdef -UWIN32)dequis
Just use cygwin. This looks like it wasn't enough to do anything useful, and I don't think anyone cares about supporting win32 the hard way.
2015-12-09Merge pull request #174 from ailin-nemui/entry-prompt-coloursailin-nemui
reimplement format and length logic for the entry prompt
2015-11-22Use 'isblank()' instead of a custom macroLemonBoy
2015-11-22Correct a wrong use of the 'paste_buffer' variableFabian Kurz
The function "static void paste_buffer_join_lines(GArray *buf)" in "src/fe-text/gui-readline.c" is supposed to join lines from the GArray pointed to by *buf under certain circumstances. In the code of the function "buf" is actually used for getting the length of the GArray, but to get a pointer to the data, "paste_buffer->data" is used; paste_buffer is defined in the scope of the whole file. This delivers the desired result, because this function is only called once, with "paste_buffer" as the argument. If paste_buffer_join_lines() will ever be used with a different argument, it will fail.
2015-11-14use the enum name which was the original intended changeTodd A. Pratt
2015-11-13fix indentation, undelete line not meant to be deleted.Todd A. Pratt