summaryrefslogtreecommitdiff
path: root/src/fe-common/core/hilight-text.c
AgeCommit message (Collapse)Author
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2009-02-21Reject invalid level specifications in /set.Jilles Tjoelker
Most of these have names that end in "_level". git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5021 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-06-04Fix /set hilight_level not taking effect immediately (bug #598). Patch by exg.Wouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-31Simplify, append directly to GString rather than allocating aEmanuele Giaquinta
temporary string. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4854 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-28Remove useless uses of replace_chars.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4781 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-22Same for s/-fullword/-full/Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-18Make /hilight output -mask instead of -nickmask, consistent with the ↵Wouter Coekaerts
parameter it expects. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4625 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
2005-02-11Fixed output of /hilight (add a space after -levels if any).Valentin Batz
Added recode to dcc-chat, patch by Jean-Yves Lefort git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3708 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-13Fix readded (changed) hilights being in config twice, resulted in duplicate ↵Wouter Coekaerts
hilights or removed hilights coming back (Bug 39) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3293 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-06/HILIGHT listing was missing space sometimesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3092 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28Added time, size and level setting types. Breaks some settings - I'll addTimo Sirainen
automatic converter to these settings later. Meanwhile you CVS users can fix your config files yourself :) Time settings allow using "days", "hours", "minutes", "seconds" and "milliseconds" or several of their abbreviations. For example "5d 4h 5msecs". Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their abbrevations. For example "5MB". Level settings are currently handled pretty much the way they were before. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14Better print /HILIGHT lines. Also cleanup for /IGNORE lines.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-19hilight + keyboard fixes so it's possible for xirssi to modify them.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2816 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-11-actcolor %n now means that the activity isn't changed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02Comments are now allowed everywhere in config files.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-14warning fixedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-04Don't match nicks in -nick hilights.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-19/HILIGHT -actcolor didn't work with -nick (which was default)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2100 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-22fixed a small memory leakTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1643 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16added another hilight kludgeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1636 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-26"print text finished" -> "gui print text finished". Added %[options] formatTimo Sirainen
for printing text. The syntax for options is [+-]<option>[+-]<option>... Currently supports options 't' = timestamp, 'T' = server tag, 's' = line_start, 'S' = line_start_irssi. -s or -S means don't print the line_start. For example %[-st+T] would never print line_start or timestamp to line, but would always print server tag to line. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1569 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-31removed "print text stripped" signal, the stripped text is now sent inTimo Sirainen
"print text" signal's third parameter git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17/HILIGHT -full didn't work, and -word was treated as -word + -full. UpdatedTimo Sirainen
/HELP hilight. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-17Hilighting updates. /HILIGHT -color, /SET hilight_color and /SETTimo Sirainen
hilight_act_color now use %codes for specifying color. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1402 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22Word highlighting was buggyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1286 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22strip_real_length(): initialize last_color_pos and last_color_len toTimo Sirainen
-1. Word hilighting crashed if there was no colors set in the line.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19Highlight colors can now have background color set with fg,bg. WorksTimo Sirainen
with activity list too, useful for example blinking. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10/SET hilight_act_color - default color to use for highlighting inTimo Sirainen
activity line git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-31Print the color hilight with two digits so it won't accidentally use theTimo Sirainen
next char if it's numeric. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28/SET hilight_levels -> hilight_levelTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-26nickmatch-cache wasn't initialized if there wasn't hilights = { ... }Timo Sirainen
block in config file git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1142 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-22Removed MSGS from hilight_level, not very useful IMHOTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1141 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-13/SET activity_levels, hilight_levels, noact_channels ->Timo Sirainen
activity_msg_levels, activity_hilight_levels, activity_hide_targets. Added /SET hilight_levels to specify the default level for /HILIGHTs git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1109 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
2000-11-26config changes, CONFIG_REC is now required parameter forTimo Sirainen
config_node_set_int/bool() and config_node_add_list() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22hilight-text: whops, bugfix went wrong :)Timo Sirainen
fe-text: removed the warning that happened when calling printbeep() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-22bugfixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@857 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-12Text printing changes. Formats are now optionally saved to each line soTimo Sirainen
later if you used /format it would change the old lines too. However the actual line changing doesn't work yet :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@836 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28Cleaned up printtext.c, split part of it to formats.cTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30multiprotocol updates. SILC prints channel and private messages nowTimo Sirainen
using the same message formats as IRC. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26Lots of moving stuff around - hopefully I didn't break too much :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Added syntaxes of all commands in comments, they're going to be used toTimo Sirainen
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-19Removed notices from default highlight levelTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@494 dbcabf3a-b0e7-0310-adc4-f8d773084564