summaryrefslogtreecommitdiff
path: root/src/fe-common/core/chat-completion.c
AgeCommit message (Collapse)Author
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
2000-12-04In queries the queried nick was always added to completion list even ifTimo Sirainen
the word to be completed didn't start with the same characters git-svn-id: http://svn.irssi.org/repos/irssi/trunk@952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-02Nick completion now completes nicks from all channels in active window,Timo Sirainen
except when completing the first word in line only nicks in active channel are completed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18compiler warning fixes + one real bug in dcc-chatTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@850 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14/connect + /server server/chatnet completion by tommik.Timo Sirainen
Completion works now with commands that optionally could have subcommands, like /server l<tab> could return list (subcommand) or localhost (server). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@751 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14Moved nick/msg/channel completion to core with some cleanups.Timo Sirainen
Moved ignore checking to fe-ignore-messages.c. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@750 dbcabf3a-b0e7-0310-adc4-f8d773084564