pkgsrc changes: ssl option removed as it no longer works (it was default on)
Changes
Improved the /STATUSBAR commands (#858)
/SET no longer shows = between setting and value (#886)
/CUBES removed from default config (available as script) (#956)
/1 /2 /3 … removed from default config (available as new setting window_number_commands) (#958)
Always redraw the screen on resize. By David Phillips (#896)
Private notices intended for channels are now displayed on the channel (new setting notice_channel_context) (#959)
Additions
Imported the “Off-the-record” module into Irssi tree (#854, #589, #196)
Initial support for sideways split windows (#697, #431, #224, #807, FS#310, #947, #955, #989)
Change the implementation of wcwidth. This is used to calculate the width of emojis on your terminal screen (#917, #720)
Make the wcwidth functions available from Perl (#973): string_width(str) string_chars_for_width(str, width) wcwidth(char)
Added completion_keep_word setting (#979)
Allow activity_hide_targets to hide activity in itemless windows (#967, #997, #1001, #1003)
Added activity_hide_visible setting (#990)
Allow hiding of lines through the /IGNORE system (#901, #900, #892, #890, #884, #937)
Add window_default_hidelevel setting. By Doug Freed (#941)
Add activity_hide_window_hidelevel setting, defaulting to ON (#938)
Add autolog_only_saved_channels setting, to autolog only channels that are in the config (#968)
Add format support for the input line. By Ben Paxton, originally by Jonas Hurrelmann (#764, FS#621, #1004) use Irssi::TextUI; gui_input_set_extent(pos, text) gui_input_set_extents(pos, len, left, right) gui_input_clear_extents(pos, len) gui_input_get_extent(pos) gui_input_get_text_and_extents() gui_input_set_text_and_extents(…)
Parsing of IRCv3 CAP 3.2 (#775, #869)
Show CAP-related events in the user interface (#918, #916, #870, #704)
Continue using separators when addressing multiple nicks with tab completion. By Manish Goregaokar (#822)
Bind Shift-tab by default. By Niklas Luokkala (#830, #829)
Fuzzing more things (#913, #780, #813)
Fixes
Disconnect SASL properly in case the SASL module got unloaded from server (#931, #629, #618, #616)
Fix backward completion jumping to the first instead of last word (#979)
Improve empty topic handling (#961, #905, #911, #897, #888)
Prevent config truncation when no space left. By dequis and Lukas Waymann (#922, #925, #910, #909, #906, #871, #817)
Also time-out servers in lookup phase (#866, #130)
Fix build with LibreSSL 2.7. By Dorian Harmans (#865)
Fix a crash when appending to a textbuffer without line. Reported by Jari Matilainen (#862)
Fix segfault on sending large messages (#803, #796, #802)
Fix segfault on invalid statusbar config (#993, #994)
Fix random memory writes on restoring queries of foreign protocols (#999, #1000)
Make default keybinds deletable (#859, #507)
Fix freeze when resizing Irssi very small (#946)
Compare channels case-insensitively, avoiding confusions with the config file (#857, #856)
Fix DCC GET on Android. By Martin Staron (#844)
Improve rawlog performance (#957)
Fix nick escaping erroneously escaping quotes (#978, #974, #709)
Protect against theme recursion, improve padding performance, limit alignment padding. Credit to Oss-Fuzz (#835, #851, #850, #846, #848)
Fix recursive loop in replaces (#833, GL#23)
Fix headers for compilation of C modules (#939)
Documentation. By Zero King (#814). (#852)
Sync NEWS, docs, scripts (#849, #855)
Build system (#868, #867, #985, #988)
Fix build on IBM i and AIX. By Calvin Buckley (#975)
Misc fixes (#840, #839, #843, #953, #962). Tests (#806, #875, #905, #964, #1011). Fuzzing (#929).
Fix the resetting of window hiddenlevel (#861)
Fix clearing of hidelevel in layout (#951)
Fix accessing unallocated text when checking entry position (#928, #930)
Fix uninitialised memory on empty lines (#873, GL#31, #878, #877, #907, #914)
Fix use-after-free on expiration of hidden lines (#948)
Fix use-after-frees. By Maya Rashish (#919)
Fix out of bounds access in help display when window width is small (#949)
Fix paste_join_multiline (#970, #971)
Correctly check for errno when displaying SSL errors. By Janik Rabe (#895)
Fix wrong signal emission argument count (#965)
Documentation (#920). Sync NEWS, scripts (#849)
Fix Perl detection on MacOS. By Dominyk Tiller (#927)
Misc fixes. By Jaroslav Škarvada (#981, #982)
irssi-{xmpp,icb}: catch up with distinfo file.
1.1.1:
Restore compatibility with OpenSSL < 1.0.2 (#820, #831)
Fix test compilation on some platforms (#815, #816)
Fix portability and backwards compatibility of test runner (#818, #845)
Also contains all changes from 1.0.7:
Prevent use after free error during the execution of some commands. Found by Joseph Bisch (GL#17, GL!24).
Revert netsplit print optimisation due to crashes (#465, #809, #812, #819, #824).
Fix use after free when SASL messages are received in unexpected order (GL#26, GL!33).
Fix null pointer dereference in the tab completion when an empty nick is joined (GL#24, GL!31).
Fix use after free when entering oper password (GL#22, GL!32).
Fix null pointer dereference when too many windows are opened (GL#27, #837).
Fix out of bounds access in theme strings when the last escape is incomplete. Credit to Oss-Fuzz (#842).
Fix out of bounds write when using negative counts on window resize (GL#25, GL#29, #836).
Minor help correction. By William Jackson (#834).
v1.0.6 2018-01-07 The Irssi team <staff@irssi.org>
- Fix invalid memory access when reading hilight configuration
(#787, #788).
- Fix null pointer dereference when the channel topic is set
without specifying a sender (GL#20, GL!25).
- Fix return of random memory when using incomplete escape
codes (GL#21, GL!26).
- Fix heap buffer overflow when completing certain strings
(GL#19, GL!27).
- Fix return of random memory when using an incomplete
variable argument (GL#18, GL!28).
This even makes it an option, to disable it if necessary. It is enabled by
default here since it remains disabled by default at run-time:
/set colors_ansi_24bit
Bumps PKGREVISION.
"Go for it" maya@
build, and this update includes a security fix.
v1.0.2 2017-03-10 The Irssi team <staff@irssi.org>
- Prevent some null-pointer crashes (GL!9).
- Fix compilation with OpenSSL 1.1.0 (#628, #597).
- Correct dereferencing of already freed server objects during
output of netjoins. Found by APic (GL!10, GL#7).
- Fix in command arg parser to detect missing arguments in tail place
(#652, #651).
- Fix regression that broke incoming DCC file transfers (#667, #656).
- Fix issue with escaping \ in evaluated strings (#669, #520).
This needs glib2 to run, and glib2 depends on perl, so no reason not to
support perl scripting here.
Requested by Dominik Bialy in PR 52008.
Bump PKGREVISION.
irssi 0.8.21 is a maintenance release without any new features.
Changes:
- Correct a NULL pointer dereference in the nickcmp function found by
Joseph Bisch (GL#1)
- Correct an out of bounds read in certain incomplete control codes
found by Joseph Bisch (GL#2)
- Correct an out of bounds read in certain incomplete character
sequences found by Hanno Böck and independently by J. Bisch (GL#3)
- Correct an error when receiving invalid nick message (GL#4, #466)
previously it would create a world readable file containing chat
logs when /upgrade was used.
while a security fix, you have to jump through many hoops to be
affected by it - we don't enable perl scripts by default, we
don't run that perl script by default, and you'd have to know that
/upgrade exists in the first place, and run on a system where world
readability of files is a concern.
still, grab upstream update, bump PKGREVISION.
Changes:
v0.8.19 2016-03-23 The Irssi team <staff@irssi.org>
- Fixed regression when joining and parting channels on IRCnet (#435)
- Fixed SASL EXTERNAL (#432)
- Fixed regression when not using SASL (#438)
- Fixed incorrect SSL disconnects when using SSL from modules/scripts
(#439)
- Fixed regression where proxy_string could not be configured or
certain file transfers could not be accepted (#445)
- Fixed storing layout of !channels (#183)
- Fixed restoration of bracketed paste mode on quit (#449)
- Make the usage of meta-O for cursor keys configurable with
/set term_appkey_mode off
v0.8.18 2016-02-13 The Irssi team <staff@irssi.org>
* Modules will now require to define a
void MODULENAME ## _abicheck(int *version)
method to ensure that they are compiled against the correct Irssi
version.
* The signature of "message private" has been changed to
5: server, message, nick, address, target
in order to support "self messages". Module authors should
implement this change if they are using this signal.
* Removing networks will now remove all attached servers and channels
(#45).
* The proxy module now has an /irssiproxy command.
* sb_search has been moved to scripts.irssi.org
* WIN32 has been completely removed (it had not been working and is
lacking a maintainer.)
* Garbage Collection support has been removed. This will hardly have any
effect for anyone given that it has been unsupported for several years.
+ CAP SASL PLAIN login is now supported natively.
+ Paste bracket markers can be requested from terminal with
/set paste_use_bracketed_mode on
+ "Self messages" generated by some bouncers can now be received in the
proper window.
+ Try to split long lines on spaces to avoid words being splitted. Adds
a new option: 'split_line_on_space' which defaults to on.
+ Add setting hilight_nick_matches_everywhere (#56).
+ The config parser is more robust and prints out better diagnostics on
incorrect config files.
+ Ctrl+^ (FS#721) and Ctrl+J can now be bound.
+ Command history can be cleared with /window history -clear
+ /hilight -mask -line is now supported (FS#275).
+ CHANTYPES are now supported.
+ Improved reload speed of ignores.
+ Add -date feature to /lastlog
+ irssiproxy can be more easily enabled and disabled.
+ Expando for hostname (FS#829).
+ UNIX sockets can now also be specified in the config file.
+ Disable SSLv3 due to the POODLE vulnerability.
+ SSL ciphers can now be specified per server.
+ Added SNI support for SSL.
- /ignore now respects -pattern on merge (#78).
- irssiproxy (BNC) module now uses correct line endings.
- Fix missing lines on large pastes (FS#905).
- Correctly preserve STATUSMSG prefixes (#291).
- Fix infinite recursion in key bindings (FS#817).
- Fix incomplete awaylog caused by buffering.
- Fix calculation of UTF-8 string length display in some cases.
- Fix some Perl warnings related to @ISA.
- EXEC windowitems now get proper references on the Perl side.
- Incremental help file improvements.
- ANSI attributes are now properly reset.
- Fixed regression where text would blink when terminal lacks color
support.
- Permit the usage of Freenode extban syntax in /ban (#150)
- Fixed regression in scriptassist on unload of scripts.
- Fixed regression in -actcolor %n
PR pkg/48866 from Leonardo Taccari
Changes (from http://www.irssi.org/news/ChangeLog ):
Features:
* Add -noautosendcmd to /SERVER and /CONNECT. Passing this option will
force Irssi to not execute the content of the autosendcmd
chatnet-setting upon connect.
* Accept names replies with nick!user@host instead of just nick, if they
are enabled (see bug #805).
* Set window binds for channel items as sticky when re-creating window
binds as part of /layout save. This fixes the bug where previously
saved channel windows forgets their window number upon reconnect.
* Add experimental support for DNSSEC DANE validation of certificates.
* Strip the argument for boolean options (see bug #769).
* Freenode have been readded to the list of networks in the default
configuration file.
* Disabled support for the insecure SSLv2 protocol.
* Various documentation enhancements.
* Add -ssl_pass to /connect and /server (see bug #305).
Bugfixes:
* Fix crashing bug that can happen if the terminal height decreases
before the first window is created.
* Fixed minor compiler warnings.
* Fixed possible crashing bug when processing an octal escape sequence.
* Fixed the /ignore -network option (see bug #748).
* Fixed signal handling for /exec'd commands. Irssi now sends the signal
to the process group id instead of the process id.
* Fixed segfault generated by SSL disconnections (see bug #752).
* Fix compilation when build with -Werror=format-security. Patch by
Jaroslav Skarvada.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Features:
* Make /reset an alias for /set -default.
* Make /unset an alias for /set -clear.
* Allow ctrl+home / ctrl+end to go to the beginning / end of scrollback.
* Accept WHOX reply (354 numeric) as a /who reply.
* Show numerics directed at channels in the channel window.
* The time duration parser is more strict now.
Bugfixes:
* Fix out of bounds access in event_wallops().
* Build fix for OS X.
* Fix the autolog_ignore_targets logic to work correctly with manually opened log files (see bug #673).
Also contains security fix for CVE-2009-1959 (patch-ab).
Based on patch provided by Leonardo Taccari in PR 41785.
ChangeLog for 0.8.13
Features:
* Reject some obviously invalid values in /set.
* Add perl bindings for Window::get_history_lines
* Use an io channel to write the config file.
* Use memory slices instead of memory chunks for text buffer.
* Remove methods to create/destroy TextBuffer and TextBufferView and low
level api to add/remove lines, scripts should be fine using
Window::print_after and TextBufferView::remove_line.
* Add print_after method to Window perl object analogous to
gui_printtext_after but which also expands formats and forces a full line.
* Better mapping of signal parameters to Perl. All signals used in scripts
now need to be registered with Irssi::signal_register.
* Add public header with interfaces to manage statusbar items (bug #535)
* Recode: assume utf-8 encoding for an ascii string in which no escape
character occurs (bug #392).
* Allow /BAN, /UNBAN, /KICBAN, /KNOCKOUT if channel is not synced.
Requesting ban lists from an unsynced channel will ask them from the
server, banning a user whose u@h irssi does not know will ban nick!*@* and
only bans irssi knows about can be removed.
* Allow storing multiple "other" prefixes such as +q and +a (original patch
by JasonX)
* Add /set autolog_ignore_targets for cherry-picking targets that shouldn't
get logged.
* Add support for 16 colors. Formats KBGCRMYW and mirc colors are now mapped
to colors 8-15. fe-text translates colors 8-15 to bold/blink+0-7 if the
terminal supports only 8 colors. If your theme uses one of the high color
formats and you really want bold you can change %FMT<string> to %fmt%_%_,
it will work fine in all irssi versions.
* Better 005 PREFIX support (bug #580).
* Display 407 numerics other than "duplicate channel".
* Fix display of ratbox-style operspy whois.
* Recode outgoing irc away messages (bug #412).
* Recode outgoing irc quit messages.
* Remove scrollback_levelclear_levels setting and add a 'level' option to
'sb levelclear' to specify a comma separated list of levels.
* Add perl __WARN__ handler for scripts (bug #427).
* Add Irssi::command_parse_options function to parse options for a command.
* Revert recode changes introduced in 0.8.12.
* Add completion for /WINDOW SERVER.
* Support for reading kicks/msgs from TARGMAX/MAXTARGETS 005 tokens.
* Enhancements to the redirections code.
* Support for RPL_WHOISACTUALLY (338 numeric) for both ratbox and ircu
(bug #428).
* -idle option of /notify is gone.
* /layout save now makes window-channel bindings instantly effective
(bug #35).
* /ping without arguments does not send anymore a ctcp ping to a channel
(bug #542).
* Track IRC operator status of nicks a bit better.
* new 'actlist_names' option to add active items names in 'act' statusbar
item.
* new 'word_completion_backward' command to scroll backwards in the
completion list.
* add 'list' option to /bind to print all the available commands.
* show setter/time in +I lists
* apply -usermode before -autosendcmd (bug #548).
* reduce memory usage of the scrollback buffer and make the display in /sb
status more accurate (higher).
* fix data getting dropped when a lot is sent at a time (e.g. when attaching
to irssi-proxy, bug #528).
* introduce the type Irssi::Irc::Client and signals to communicate with
proxy clients to allow for scripting parts of the irssi-proxy.
* Add sb_search.pl, a script for /SCROLLBACK SEARCH
Bugfixes:
* Fix /NOTIFY list when nick is seen joining (bug #642).
* Include hostmask in 001 event sent by proxy (bug #650).
* Be more power-friendly: don't run any always-on <1s timers (bug #641).
* Don't get confused by a failed /JOIN -window (bug #644).
* Properly initialize embedded Perl (PERL_SYS_INIT3).
* Replace invalid utf-8 bytes with U+FFFD when drawing a line.
* Properly unload the original script when using /script load to reload it.
(bug #525, patch by Lukas Mai)
* Clean up script loading in general:
* Don't leak local variables to eval'd code.
* Set filename/line number to get better error messages from perl.
* Use three-arg open and lexical filehandles to avoid surprises.
* Include error reason in message for unopenable scripts.
* Don't wrap script code in sub handler { } - this avoids spurious
warnings and should at least allow __END__ to work properly. (Patch by
Lukas Mai)
* Fix NETSPLIT_SERVER_REC in signals for Perl.
* Remove buggy /SCROLLBACK redraw and /SET scrollback_save_formats.
* Always preserve the active mainwindow when resizing.
* Ignore DNS not found errors when considering reconnect.
* Do not strip the comma in a mirc color if it is not followed by a digit
(bug #250).
* Fix building perl module with perl-5.10 (bug #630).
* fix leak with $L expando.
* fix possible crash with /script reset.
* ignore exceptions take precedence over ignores in all cases.
* honour -channels preference for ignore -replies (bug #227).
* Fix mode display in whois with unreal (379 numeric) (bug #479).
* Fix regressions that prevented external modules from building/working
(bugs #537#539).
* Fix /set hilight_level not taking effect immediately (bug #598).
* Fix bold, blinking and indentation in /LASTLOG and buf.pl.
- Recode support
- Isupport (005 numeric)
- Passive DCC support.
- Many memleak fixes.
- Network specific ignoring.
- Updated internal error handling.
- Complete 64bit support.
- Revised default aliases.
- Updated paste detection and settings.
- Tons of bugfixes.
- Other changes
The 'pre-install' hack from the pr is no longer needed after a fix from
jlam. Don't delete the patch-ae, which was removed in the pr.
Recode support won't work at the moment on NetBSD.
Bump the version for irssi-icb, due too the upgrade of irssi.