summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-ignore.c
AgeCommit message (Collapse)Author
2016-07-12Minor cosmetic fix in /unignore error message.LemonBoy
Reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577202
2016-01-03Don't break the API.LemonBoy
Have a ignore_find_full method that is the one that all the new code should be using and provide some working stubs for ignore_find and ignore_find_noact.
2016-01-03Clean up the ignore_find API to make it more powerful.LemonBoy
This way we prevent the creation of duplicate ignores since the old code skipped the ignore_find call when a pattern was specified. It should also cover all the cases where the ignores would be wrongly overwritten, such as the case outlined in #78.
2015-11-09Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible.LemonBoy
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
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-07-04Merge pull request #80 from dgl/noactAlexander Færøy
Change NO_ACT so it can be combined with other levels
2014-06-30Change NO_ACT so it can be used in addition to other ignoresDavid Leadbeater
This results in a more flexible system and is less surprising as it means levels can be used in the way they normally can in an ignore. As an example the current approach to NO_ACT provides no way to let HILIGHTS be shown, with this change /set activity_hide_targets can be recreated with: /ignore #channel NO_ACT /ignore #channel -except -regexp -pattern . NO_ACT HILIGHTS (but obviously this can be configured in many more ways if desired).
2014-06-30Make it more obvious if -pattern wasn't provided to a regexp /ignoreDavid Leadbeater
2010-07-13Bug #748: Fix /ignore -network. Patch by pyropeterWouter Coekaerts
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5175 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-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-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-03-06Fix memleak in several commands that used cmd_return_error when they should ↵Wouter Coekaerts
be using cmd_param_error, by Toby Peterson (Bug 213) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11s/ircnet/network/ - patch by Joost VunderinkTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3270 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-08Added -ircnet option to /IGNORE. Patch by Valentin BatzTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3259 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-16When ignoring without any options, don't print the []Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2964 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-10-14Better message for /IGNORETimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-18/IGNORE -pattern now always assumes you want to create a new ignore. If youTimo Sirainen
wish to update existing, /UNIGNORE it first. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-08/IGNORE list: Show the -pattern and also show if the regexp is invalid.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2223 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18When printing /IGNORE list, if there's no ignores print theTimo Sirainen
IGNORE_NO_IGNORES format which wasn't used before for anything.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2049 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-08-04/UNIGNORE - skip spaces at end of line.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15New /IGNOREs weren't immediately effective for nicks in channel. Some smallTimo Sirainen
fixes for unignoring levels with /IGNORE. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-14/IGNORE: -word -> -full, like it's with /HILIGHT.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-05-11/IGNORE now defaults to ALL levelTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03fe-common/irc/flood removed. Some autoignore / ignore -time updates.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1330 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03ignore_get_key() moved to fe-common, fixed printing "*" ignore key.Timo Sirainen
Doesn't print unignore messages when /RELOADing config. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-22Autoignore fixes by fuchs (not tested, hope it works ;)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1281 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-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
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-10-13Forgot to move fe-ignore to core.Timo Sirainen
/unignore now complains if you don't give parameters to it. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@737 dbcabf3a-b0e7-0310-adc4-f8d773084564