summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-messages.c
AgeCommit message (Collapse)Author
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_printf() instead of g_string_sprintf() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5004 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Allow storing multiple "other" prefixes such as +q and +a.Jilles Tjoelker
Original patch by JasonX, somewhat changed by exg and me. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-10recode.h include fixup.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Move recoding of outgoing messages into irc send_message routine. Handlers forEmanuele Giaquinta
message own_{private,public} now receive the message in the client encoding. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Move recoding of incoming quit messages to irc 'event quit' handler.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-04Recode an incoming quit message once with a nick charset preference rather thanEmanuele Giaquinta
doing it for every joined channel the user was in with a channel charset preference. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-02Revert recode changes r4483 and r4715.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4867 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-23Fix leaks.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4845 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-16Move output recoding in irc_send_cmd_full.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-16Fix comment.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-06-06Add g_strdup forgotten in r4471.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4542 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-05-05Move input recoding in irc_server_event.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-29Use dynamic storage for return value of channel_get_nickmode.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-12fixed recoding of own messages.Valentin Batz
recode after expand_emphasis remove the redundant call to setlocale(LC_CTYPE, ) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10Make the compiler happy by replacing 'const char *' by 'char *'.Valentin Batz
Pass the pointer to the SERVER_REC to dcc_ctcp_message. Recode 'own' messages back for printing just before they actually get printed. (ugly but more effective than adding all the signals in fe-recode and doing it there) Replaced SERVER_REC by IRC_SERVER_REC in dcc-chat.c since it's belongs to IRC(makes the compiler happy again). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07Don't apply emphasis on _foo_^ if it's a nick (Bug 52)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20Added <tag>/<target> support for recode.Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06Fixed possible printing bug with quit messages when the message is printed ↵Valentin Batz
in the statuswindow git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06Fix HILIGHT -actcolor -mask (Bug 131)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, ↵Valentin Batz
fixed bug 106 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20isupport patch by David LeadbeaterTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-11Changed some checks i_isspace() -> ' ' so that TAB isn't included in checks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3130 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-04make printnicks globalTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3044 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-31"message own_public" should be printed with channel's visible_name, notTimo Sirainen
name. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2831 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-08/SET hilight_nick_matches - NO disables hilighting your own nick atTimo Sirainen
beginning of line. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2760 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-25some nick change events didn't print the address parameter.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-12address parameter was missing from /FORMAT invite, nick_changed, kick andTimo Sirainen
topic. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2669 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
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-20Added halfop support for nick modes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19Actually :) The /SET show_own_nick_change_once is still there, but it's OFFTimo Sirainen
by default now, and printing the own nick changes just don't trigger window activity. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2099 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19/SET show_own_nickchange_once ON - show own nick changes only in activeTimo Sirainen
window instead of every channel you've joined. This is the default now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Hilight fixes - mode lines shouldn't be hilighted accidentally anymore.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1633 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-28Nick changes were printed twice in queries.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1586 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26use signal_add_last() to bind the "message xxx" signals when printing them,Timo Sirainen
so that scripts/modules can stop the signal without affecting the rest of the functionality. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1571 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-04added server_change_nick() function for servers.[ch]. Lots of fixes forTimo Sirainen
support to multiple identical nicks. Should work now properly :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-20multi identical nick fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-18Support for multiple identical nicknames.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1241 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28Emphasis are now expanded with own public/private messages. Added someTimo Sirainen
checks when not to expand: before _word_ must be space or beginning of the line, next char after _word_ must not be '_' or '*'. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28Ignoring updates. Added support for nickmatch cache. One ignore can'tTimo Sirainen
have both except and normal levels. Nick ignoring checks now with both old and new nicks. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1155 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28nicklist_find() now finds only full nicks, nicklist_find_mask() findsTimo Sirainen
nick masks. This fixes *a* and similiar emphasis where irssi tried to find nick mask *a* instead of nick *a*. Also, emphasis with highascii didn't work unless emphasis_multiword was set ON. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1143 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-21Highlighting updates. -word renamed to -full. Added new -word optionTimo Sirainen
meaning to highlight only the found word in line. Removed -nonick option but added -line which means pretty much the same. -actcolor specifies what color to show in activity list, default is the same as -color. Also uses the nick cache to match nickmasks faster. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1139 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-16added channel parameter to quit/nick messagesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1127 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-09Highlighting cleanups. Added /HILIGHT -priority option.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07In core/module-formats.h: IRCTXT_ -> TXT_Timo Sirainen
Added "message irc ctcp" signal to print CTCPs git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 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