summaryrefslogtreecommitdiff
path: root/src/fe-common/core/hilight-text.c
AgeCommit message (Collapse)Author
2017-11-03Keep a copy of the strings coming from the configLemonBoy
The "HILIGHT_REC" structure used to keep a pointer to the "servertag" string, owned by the "CONFIG_NODE", causing a double-free.
2017-06-05get rid of new_textailin-nemui
2017-06-04Refactor regex and implement UTF8 mode for GRegexailin-nemui
- with non-unicode byte to Private Use Area A mapping - move all ifdefs to iregex.h file only
2017-01-31Merge pull request #590 from LemonBoy/hi-minorailin-nemui
Minor cleanup in the highlighting signal.
2017-01-03switch for gregex and regex.hAilin Nemui
2017-01-02Use the RAW flag when building the regexps.LemonBoy
Also, plugged a memory leak when retrieving the match position.
2017-01-02Remove the regexp_compiled field.LemonBoy
It was made redundant by the introduction of the pointer to the GRegex structure. Silence the compiler warning in textbuffer.c about preg being initialized by setting it to NULL.
2017-01-02Use GLib's regexp interface (backed by PCRE)LemonBoy
2016-12-18Minor cleanup in the highlighting signal.LemonBoy
2016-06-05Replace strarray_length with g_strv_lengthLemonBoy
2016-04-30Increased ABI versionisundil
2016-04-29Added case-sensitive regexp matching for hilightsisundil
2016-04-29changed command-line -case to -matchcaseB Thibault
2016-04-29Ref #421 (Add an option to make /hilight case sensitive)B Thibault
Allow use of /hilight -case exAMPle (compatible with other options) Added matchcase to hilight config file (exemple: { text = exAMPle; matchcase = yes; } )
2016-04-29retabB Thibault
2015-12-28keep track of address in text_dest for hilight purposesailin-nemui
2015-12-15Merge pull request #303 from vague666/fs275ailin-nemui
Applied patch from fs#275 to make /hilight -mask -line work properly
2015-11-09/hilight list print output with enabled flags, except when -word and -nick ↵Jari Matilainen
are used
2015-09-24Applied patch from fs#275 to make /hilight -mask -line work properlyJari Matilainen
2015-04-17Merge pull request #199 from ailin-nemui/config-parserAlexander Færøy
Make config parser more robust
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2015-04-07Make sure NO_ACT isn't cleared when -actcolor %n is usedDavid Leadbeater
Fixes issue #227.
2015-02-17add CONFIG_REC to config_node_section* APIsAilin Nemui
this adds the CONFIG_REC * to the config_node_section and config_node_section_index APIs as they will require access to the config cache later on to make the config parser more robust.
2014-07-07cleanup hilight -network patchAilin Nemui
2014-07-07FS#155 hilight -tagManuel Leiner
2014-06-30Remove NO_ACT if we see a user specified hilightDavid Leadbeater
In this path we can't look up ignores again because the print text signal doesn't know the nick, etc. Instead just show it. The user can use -actcolor %n or make the hilight more specific if desired.
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