summaryrefslogtreecommitdiff
path: root/src/fe-common/core/chat-completion.c
AgeCommit message (Collapse)Author
2018-02-06Merge branch 'nonick' into 'security'Nei
please give us nicks See merge request irssi/irssi!31
2018-01-25please give us nicksailin-nemui
2018-01-20Insert colons after completing nicks preceded by a list of other ↵Manish Goregaokar
autocompleted nicks When pinging two people, typing `nick1<tab> nick2<tab> message` for autocompletion will get you `nick1: nick2 message`, which is kinda confusing. We only insert the colon after the first autocompleted nick, because if a nick is used in the middle of the sentence it's mentioning the person but not targeting the message at them. However, this breaks down when we try to ping a list of people. There should be a colon in front of each separating the names from the message. only having a colon at the end of the nick list works too, but it seems like the IRC convention is to just use multiple colons. This patch makes it so that autocompleting a nick after a list of existing autocompleted nicks at the beginning of the message will include a colon.
2017-06-22remove constailin-nemui
2017-06-19fix weird n-fold unescapingailin-nemui
2017-03-06Revert "Quote the filename when dcc requests are auto accepted."ailin-nemui
2017-02-22Handle file names with quotes.LemonBoy
Let's repurpose escape_string and make it more flexible by letting us choose the characters to escape.
2016-11-08add completion_empty_line settingLauri Tirkkonen
2016-06-13Add a completion_match_case setting.LemonBoy
2016-06-13Be smart about case-matching the nicks.LemonBoy
If the prefix contains an uppercase letter then don't use the case-insensitive search functions.
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-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2011-10-30Replace remaining usage of deprecated g_strdown(). Follow-up to r5138.Jase Thew
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5208 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-16Stop the 'complete word' signal in the default completer when theEmanuele Giaquinta
channel name completion list is non empty, bug #316. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-15Complete server tags for /window server.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-14Make completer for action/msg/query more self-contained by completing nicks inEmanuele Giaquinta
the active channel. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4443 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-25Add completion for /window goto.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-14Fixed a bug where the completion history can grow without bound, patch by ↵Valentin Batz
Toby Peterson git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-14Fixed leaking in chat-completion (http://bugs.irssi.org/?do=details&id=249), ↵Valentin Batz
patch by Toby Peterson git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20Recode patch by decadix/sennethTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-10fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3200 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-31don't crash with /set completion_keep_privates 0Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-11-21completion_msg() is now publicTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3019 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-16Adde -servertag to /MSG completion always with >1 connected servers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14Complete tags to /RECONNECT tooTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14More tab completion: /DISCONNECT, /SERVER ADD|REMOVE, /STATSTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16comment updateTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-16'\' characters in nicks were skipped when sending messages in queries.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01comment updateTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01the -nick fix broke things :) now a proper fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2863 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-07-01fixed query to work with nicks beginning with '-' charTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-07Empty lines can be now sent to /EXEC -interactive windows.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-04/AWAY reason tab completion shouldn't append space at the end.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26/ALIAS and /UNALIAS completion, patch by c0ffee.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-26/AWAY reason tab completion, patch by c0ffee.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2824 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-02Added completion for /LOAD and /WINDOW ITEM MOVE.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-16/ACTION supports -servertag now and tab completion works with it like withTimo Sirainen
/MSG. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2484 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-13That msg completion nick thing broke some other completions in msgs window,Timo Sirainen
like /SET. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2434 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11In msgs window, you can now complete anywhere /MSG completion nicks (eg.Timo Sirainen
/ignore nick<tab>) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2430 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10/MSG completion should work with /QUERY as wellTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2413 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10/BIND meta-k erase_completion - support for removing completion data.Timo Sirainen
Currently this works only with /MSG completion, so eg. /MSG nick <meta-k> removes nick from completion list and jumps to next completion. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2407 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-03Added target_type to send_message(), -channel and -nick parameters to /MSGTimo Sirainen
to specify if it's supposed to be to channel/nick. /MSG -channel is used automatically by irssi when sending messages to channel (the "normal" way without /msg). This should help with protocols that don't have any channel name prefixes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2383 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-27toupper(), tolower(), isspace(), is..etc..() aren't safe with chars in someTimo Sirainen
systems, use our own is_...() functions now instead. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-22removed some unused code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2335 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-10When /SET expand_escapes was ON, \012 and \015 should be treated as newlinesTimo Sirainen
so that text after them is sent as privmsgs, not as direct commands to server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added WINDOW_REC declaration to common.h, removed unneeded #include ↵Timo Sirainen
"servers.h" from fe-windows.h which broke several files, added the #include in them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564