Age | Commit message (Collapse) | Author |
|
The SERVER ADD completion was missing the -! and -noautosendcmd options.
|
|
Fixed a compiler warning for statusbar_redraw.
|
|
Make configure checks able to build with -Werror
|
|
|
|
I fixed a bug where the statusbar was not redrawn after reading the
settings.
|
|
I updated the banner displayed when you start Irssi for the first time
and I have added a banner that will be displayed everytime you start
Irssi.
|
|
This is technically wrong as it then gets used as an IPv4 sockaddr, but it only
needs to be some 0s so this is easier than changing the IPADDR data structure or
adding a new API.
|
|
fix compiler warnings in extended colour code
|
|
Also fix a few compiler warnings, this combined with pull #82 allows me to build
with CFLAGS="-Werror -Wall".
|
|
Change NO_ACT so it can be combined with other levels
|
|
|
|
256 colour support for Irssi
|
|
Make it more obvious if -pattern wasn't provided to a regexp /ignore
|
|
Warn with error if regexp ignore fails to parse
|
|
|
|
256 colour patch is cleaned up and the remaining cases are made work,
this includes especially Theme support, which was not implemented
before. Changes not related to colours were reverted again, making a
review of the two patches against master easier to follow.
As a byproduct of the Hex-colour code parser, the 24bit colours are
also implemented. Actually using them in the terminal is guarded by a
compile time switch (as well as a run time switch), as it breaks the
existing colour protocol and requires additional storage.
To make a seamless usage, down-conversion is provided for 8 and 16
colours.
Diverging from Tom's approach, the colour protocol is reverted back to
the original one. Unfortunately, the changes required in the Theme
engine will break the API.
For more details, please refer to the patch documentation at either
http://irssi-docs.wikispaces.com/Notes-256-Colour or
https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour
|
|
|
|
|
|
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.
|
|
|
|
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).
|
|
|
|
|
|
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.
|
|
add print_text_after_time to specify time stamp for lines
|
|
Use PREFIX from 005 to decide if a nick flag is of op level
|
|
Correct use of perl stack macros
|
|
Move PUTBACK to within the scope which uses the stack
|
|
add signal for line removal from textbuffer
|
|
Fixes #61.
|
|
Silences warnings on recent automake such as:
src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
|
|
Replace deprecated g_basename with g_path_get_basename.
|
|
get rid of PL_na
|
|
Define PERL_NO_GET_CONTEXT in all perl source files
|
|
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.
|
|
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).
|
|
Silences:
listen.c:320:3: warning: implicit declaration of function ‘ascii_strup’ [-Wimplicit-function-declaration]
|
|
|
|
|
|
|
|
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).
|
|
|
|
|
|
Fix compiler warning.
|
|
Avoid potential null dereferences.
|
|
dcc-send.c:296:2: warning: dereferencing type-punned pointer
will break strict-aliasing rules
|
|
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]
|
|
|
|
NO_ACT level to ignore activity
|
|
fix signals parser
|