summaryrefslogtreecommitdiff
path: root/src/fe-common/core/chat-completion.c
AgeCommit message (Collapse)Author
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
2001-11-19Actually, we do want to have the space after nick completion.. :) It's muchTimo Sirainen
more often wanted than not, and I can't really think of any way to figure out if we want space or not. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Don't add space after tab-completed nicks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-01server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). AddedTimo Sirainen
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21/TOPIC <tab> inserts the topic in active channel.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Typofix - might have caused a crash if channel was destroyed with /WINDOWTimo Sirainen
CLOSE. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1753 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08Added function expand_escapes() which handles now escaping /EVAL and inputTimo Sirainen
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e (ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-10Joins to channel now adds the nick to completion list.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1548 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22nick completion: don't add the same nick to completion list twice.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1515 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22nonstrict completion bugfixes, my mistakes :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1514 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-22/SET completion_strict OFF - specifies if the tab nick completion shouldTimo Sirainen
ignore non-alphanumeric characters. Alieases are now completed in command completion. Patch by fuchs. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1513 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-09DCC chat nicks are in /MSG completion list now if chat isn't in query.Timo Sirainen
Sending actions to non-query DCC chats now display the target. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1193 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14Minor speed enhancementTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1116 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-11Some signed/unsigned warnings removed. Don't call fe_exec_init/deinit in win32Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1104 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-06When msg list is full, remove old messages, not new messages..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-04fixed minor memory leakTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01added "message own_public" and "message own_private" events that areTimo Sirainen
sent when /msg command is used. this way we don't need to parse the /msg's options everywhere. also efnet @#channels support works now better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17Improved nick_match_msg() - it shouldn't give wrong matches as easilyTimo Sirainen
anymore. Also supports multiple targets in one line (nick1,nick2: hello) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@996 dbcabf3a-b0e7-0310-adc4-f8d773084564