summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-30Don't expand ALL when combined with NEVER/NO_ACTDavid Leadbeater
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-30Warn with error if regexp ignore fails to parseDavid Leadbeater
2014-06-30Make it more obvious if -pattern wasn't provided to a regexp /ignoreDavid Leadbeater
2014-06-30Initial implementation of 256 colour support for IrssiTom Feist
This patch implements some 256 colour support for Irssi up from the previous 16 colours. Initial parsing of the %x/%X format codes is implemented and the parser accounts in advances the char* for that. The colour attributes are widened from 4 to 8 bit. The colour protocol is changed to a new format. Some pointers to remaining work are written in the comment in textbuffer.h. Note that Irssi already does support requesting 256 colours from the terminal in the original source code, so this part did not have to be touched.
2014-06-30Merge pull request #11 from ailin-nemui/print_text_after_time-apiAlexander Færøy
add print_text_after_time to specify time stamp for lines
2014-06-29Merge pull request #62 from dgl/prefix-nick-flagsAlexander Færøy
Use PREFIX from 005 to decide if a nick flag is of op level
2014-06-29Merge pull request #52 from dgl/stack-cleanupAlexander Færøy
Correct use of perl stack macros
2014-06-29Merge pull request #49 from dgl/stackemAlexander Færøy
Move PUTBACK to within the scope which uses the stack
2014-06-27add print_text_after_time to specify time stamp for linesAilin Nemui
add signal for line removal from textbuffer
2014-06-27Use PREFIX from 005 to decide if a nick flag is of op levelDavid Leadbeater
Fixes #61.
2014-06-27s/INCLUDES/AM_CPPFLAGS/gDave Reisner
Silences warnings on recent automake such as: src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-27Merge pull request #44 from dajohi/g_basenameAlexander Færøy
Replace deprecated g_basename with g_path_get_basename.
2014-06-27Merge pull request #59 from ailin-nemui/perl-pl-naAlexander Færøy
get rid of PL_na
2014-06-27Merge pull request #60 from dgl/perl-no-get-contextAlexander Færøy
Define PERL_NO_GET_CONTEXT in all perl source files
2014-06-27Correct use of perl stack macrosDavid Leadbeater
Further to pull #49 this is the result of an audit of the use of perl stack macros. There were several cases where PUTBACK was being called where the stack pointer could be out-of-date. Also some misc. cleanup where the macros were used needlessly.
2014-06-27Switch to using G_DISCARD for call_pvDavid Leadbeater
PUTBACK was being called even for the error path which didn't use the stack. Emitting the "script error" signal can involve running Perl code (Irssi:core::destroy) therefore the stack can be reallocated. This can result in the perl stack being corrupted because the local stack pointer is out of date (although as it's use of freed memory the crash is not always instant).
2014-06-26Add missing includeDavid Leadbeater
Silences: listen.c:320:3: warning: implicit declaration of function ‘ascii_strup’ [-Wimplicit-function-declaration]
2014-06-26Remove unused variables to silence compiler warningsDavid Leadbeater
2014-06-26Add some missing casts to silence compiler warningsDavid Leadbeater
2014-06-25cleanup char* casts and replace one useless SvPV with SvPV_nolenAilin Nemui
2014-06-24Define PERL_NO_GET_CONTEXT in all perl source filesDavid Leadbeater
This removes the calls to Perl_get_context() that get automatically added to XS code for ancient source code compatibility reasons. The result is about a ~60K size reduction in the binary (based on comparing two 64-bit stripped irssi binaries compiled --with-perl-staticlib).
2014-06-24get rid of PL_naLukas Mai
2014-06-22Replace deprecated g_basename with g_path_get_basename.David Hill
2014-06-21Merge pull request #53 from dajohi/bracesAlexander Færøy
Fix compiler warning.
2014-06-21Merge pull request #50 from dajohi/cmd_null_derefAlexander Færøy
Avoid potential null dereferences.
2014-06-20Do not break strict-aliasing rules.David Hill
dcc-send.c:296:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
2014-06-20Fix compiler warning.David Hill
network.c:63:2: warning: missing braces around initializer [-Wmissing-braces] network.c:63:2: warning: (near initialization for 'ip4_any.ip.__u6_addr') [-Wmissing-braces]
2014-06-20Avoid potential null dereferences.David Hill
2014-06-19Merge pull request #14 from ailin-nemui/ignore-activityAlexander Færøy
NO_ACT level to ignore activity
2014-06-19Merge pull request #20 from ailin-nemui/broken-signal-parserAlexander Færøy
fix signals parser
2014-06-18fix signals parserAilin Nemui
2014-06-18Add NO_ACT levelTom Feist
This patch adds a new NO_ACT level that can be used with /ignore to ignore activity notifications
2014-06-18Merge pull request #42 from dgl/no-dancerAlexander Færøy
Revert "add d,q,f and J to CHANMODES default, to work a bit better with ...
2014-06-18Merge pull request #23 from ailin-nemui/perl-format_get_textAlexander Færøy
fix implementation of format_get_text script api
2014-06-18Merge pull request #22 from ailin-nemui/perl-package-fixesAlexander Færøy
Correct the packages of the scripting API
2014-06-18Merge pull request #12 from ailin-nemui/no-split-utf8Alexander Færøy
no split utf8 from the bug tracker
2014-06-18Fix UTF-8 character corruption every 32kb of text bufferKuang-che Wu
2014-06-16Revert "add d,q,f and J to CHANMODES default, to work a bit better with ↵David Leadbeater
dancer and possibly others" This is no longer relevant and most ircds now send a correct isupport message. This reverts commit b832f1f7b2c4a692786d5d52904a2bdf4d14354f.
2014-06-16Add -usermode to /NETWORK syntaxDavid Leadbeater
2014-06-16fix implementation of format_get_text script apiAilin Nemui
2014-06-16correct package of server gui_printtext_afterAilin Nemui
2014-06-16fix package of term_refresh_* script apiAilin Nemui
2014-06-15speed up nicklist by using hashAilin Nemui
2014-06-15speed up window_item_find by interning name and removing call to channel_findAilin Nemui
2014-06-15Disallow unloading of static modulesJaroslav Škarvada
2014-06-15Merge pull request #37 from dajohi/g_ascii_strcasecmpAlexander Færøy
g_strcasecmp -> g_ascii_strcasecmp
2014-06-15g_strcasecmp -> g_ascii_strcasecmpDavid Hill
2014-06-15Merge pull request #36 from dajohi/g_tree_foreachAlexander Færøy
Replace deprecated g_tree_traverse with g_tree_foreach.