Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System OpenBSD
  • Severity Medium
  • Priority Normal
  • Reported Version Irssi SVN
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Colin DIDIER (errtu) - 2007-10-08

FS#535 - fe-text headers & deal with statusbar in modules

The only API to deal with statusbar is in fe-text/statusbar.h. But this header is in noinst_HEADERS in fe-text/Makefile.am so it won't be installed.

If this header isn't available, modules (in C) which want to deal with statusbar won't build.

I suggest this header (fe-text/statusbar.h and maybe some others in fe-text/) should be installed (in /usr/.../include/irssi...).

This task does not depend on any other tasks.

Uli M (ulim)
Sunday, 13 July 2008, 13:16 GMT
I'd really like to see this fixed. I developed a module irssi-otr [1] for Off-The-Record Messaging (OTR) [2] in which I use the statusbar. As a workaround I currently download statusbar.h, mainwindows.h, and term.h during the build process from the web svn. I've attached a patch that seems to solve the problem.

Thanks,

Uli

[1] http://irssi-otr.tuxfamily.org/
[2] http://www.cypherpunks.ca/otr/
Colin DIDIER (errtu)
Wednesday, 29 October 2008, 02:52 GMT
For irssi-xmpp I have just copied a slightly modified statusbar.h (so it doesn't need mainwindows.h and term.h) into the sources of irssi-xmpp.

See:
http://cvs.gna.org/cvsweb/irssi-xmpp/src/fe-text/include/irssi/src/fe-text/?cvsroot=irssi-xmpp

And when I need to deal with statusbars I just include this file (statusbar.h):
http://cvs.gna.org/cvsweb/irssi-xmpp/src/fe-text/xep/text-composing.c?rev=1.1;content-type=text%2Fplain;cvsroot=irssi-xmpp
Emanuele Giaquinta (ayin)
Monday, 01 December 2008, 18:21 GMT
I added a public header statusbar-item.h with the necessary interfaces. The struct SBAR_ITEM_REC is opaque, so I added a function statusbar_item_set_size to set min_size/max_size in the callback. Is it fine for you?

Loading...