<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/xchat-ruby/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/xchat-ruby/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 12 Feb 2016 03:43:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xchat-ruby/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#8 won't load</title><link>https://sourceforge.net/p/xchat-ruby/bugs/8/?limit=25#8daa</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gwon</dc:creator><pubDate>Fri, 12 Feb 2016 03:43:30 -0000</pubDate><guid>https://sourceforge.netd77258fde2761ac6b1bf8664b83f40c2cb224bd3</guid></item><item><title>won't load</title><link>https://sourceforge.net/p/xchat-ruby/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;LOG&lt;br /&gt;
Python interface loaded&lt;br /&gt;
Perl interface loaded&lt;br /&gt;
Tcl plugin for XChat - Version 1.64 &lt;br /&gt;
Copyright 2002-2005 Daniel P. Stasinski&lt;br /&gt;
&lt;a href="http://www.scriptkitties.com/tclplugin/" rel="nofollow"&gt;http://www.scriptkitties.com/tclplugin/&lt;/a&gt;&lt;br /&gt;
Tcl interface loaded&lt;br /&gt;
AutoLoad failed for: /home/karim/.xchat2/xchat-ruby.so&lt;br /&gt;
libruby.so.1.8: cannot open shared object file: No such file or directory&lt;/p&gt;
&lt;p&gt;I'm using  Ubuntu 12.04, gnome classic. Though I'm positive that doesn't matter. &lt;/p&gt;
&lt;p&gt;I did as the INSTALL file instructs that is copy xchat-ruby.so to ~/.xchat2.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karim</dc:creator><pubDate>Thu, 10 Jan 2013 07:14:08 -0000</pubDate><guid>https://sourceforge.nete5b71bc49326a4be17d79b271ff10bcd5864722d</guid></item><item><title>won't load</title><link>https://sourceforge.net/p/xchat-ruby/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 8 has been modified: won't load&lt;br/&gt;
Edited By: gwon (gwon)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;br/&gt;
_milestone updated: '' =&amp;gt; u'v1.0 (example)'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kaecy</dc:creator><pubDate>Thu, 10 Jan 2013 07:14:08 -0000</pubDate><guid>https://sourceforge.netc56d7100e03ebf26bf0a0e0cee579ca8446e905c</guid></item><item><title>[PATCH] Crash with XChat 2.8.6</title><link>https://sourceforge.net/p/xchat-ruby/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using XChat 2.8.6 (debian package xchat 2.8.6-2), xchat-ruby intermittently causes xchat to segfault (generally within a minute of connection).&lt;/p&gt;
&lt;p&gt;It appears that xchat previously terminated some of its string arrays with empty strings; it now appears to terminate them with NULL pointers.&lt;/p&gt;
&lt;p&gt;The attached patch checks for NULL pointers as well as empty strings, replaces deprecated STR2CSTR() with StringValueCStr(), and adds a few missing CheckType()s.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Levi Bard</dc:creator><pubDate>Mon, 28 Jul 2008 14:45:54 -0000</pubDate><guid>https://sourceforge.net79d4c409f5e25439ecdecfe541609f9ff09b4eb0</guid></item><item><title>Module loading bug</title><link>https://sourceforge.net/p/xchat-ruby/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;/rb exec require 'gtk2'&lt;/p&gt;
&lt;p&gt;Ruby error executing hook 'rb': can't convert false into String&lt;br /&gt;
/usr/lib/ruby/site_ruby/1.8/gtk2.rb:13:in `init'&lt;br /&gt;
/usr/lib/ruby/site_ruby/1.8/gtk2.rb:13&lt;br /&gt;
(/rb exec):1:in `require'&lt;br /&gt;
(/rb exec):1:in `rb_command_exec'&lt;br /&gt;
(eval):461:in `eval'&lt;br /&gt;
(eval):519:in `rb_command_exec'&lt;br /&gt;
(eval):461:in `rb_command_hook'&lt;br /&gt;
(eval):212:in `call'&lt;br /&gt;
(eval):212:in `process_command_hook'&lt;br /&gt;
(eval):228:in `process_hook'&lt;br /&gt;
(eval):225:in `each'&lt;br /&gt;
(eval):225:in `process_hook'&lt;br /&gt;
(eval):212:in `process_command_hook'&lt;/p&gt;
&lt;p&gt;/rb exec require 'gtk2'&lt;/p&gt;
&lt;p&gt;The second time it executes cleanly and works.&lt;/p&gt;
&lt;p&gt;xchat-ruby-plugin.rb&lt;/p&gt;
&lt;p&gt;def module_load( file )&lt;br /&gt;
$LOAD_PATH.dup.unshift( "" ).each do |path|&lt;br /&gt;
f = path + ( path.length &amp;gt; 0 ? "/" : "" ) + file&lt;br /&gt;
if File.exist? f&lt;br /&gt;
File.open( f, "r" ) do |fh|&lt;br /&gt;
lines = fh.readlines.join&lt;br /&gt;
module_eval lines&lt;br /&gt;
end&lt;br /&gt;
return true&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
raise "could not load \"#{file}\""&lt;br /&gt;
end&lt;/p&gt;
&lt;p&gt;Removing either of these two lines:&lt;br /&gt;
lines = fh.readlines.join&lt;br /&gt;
module_eval lines&lt;br /&gt;
stops the error but stops the file from loading.&lt;/p&gt;
&lt;p&gt;The "false" may be coming from elsewhere as I have tried checking for lines == false&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 23 Apr 2007 14:50:52 -0000</pubDate><guid>https://sourceforge.netb53b543fe7b1ef9d10ec40b15c262003f18acfef</guid></item><item><title>print with 3 arguments not implemented</title><link>https://sourceforge.net/p/xchat-ruby/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;/rb exec print("hello","server","#channel")&lt;br /&gt;
/rb exec puts("hello","server","#channel")&lt;br /&gt;
/rb exec print_fmt("hello","server","#channel")&lt;br /&gt;
/rb exec puts_fmt("hello","server","#channel")&lt;br /&gt;
Ruby error executing hook 'rb': wrong number of arguments (3 for 2)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 23 Apr 2007 14:42:59 -0000</pubDate><guid>https://sourceforge.netb90440936fd07ae32170fc709ac4d3fd4249368f</guid></item><item><title>Support for Mac OS X 10.4 Universal</title><link>https://sourceforge.net/p/xchat-ruby/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here is an xcode project for compiling a universal shared library on Mac &lt;br /&gt;
OS X 10.4. Looks as though this is dead though.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JD Morgan</dc:creator><pubDate>Thu, 19 Oct 2006 23:00:48 -0000</pubDate><guid>https://sourceforge.net8584ed6125fb369149e89d2ae743b27a7f76216e</guid></item><item><title>print_fmt uses puts instead of print</title><link>https://sourceforge.net/p/xchat-ruby/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;print_fmt is essentially the same as puts_fmt as it uses puts as well.&lt;/p&gt;
&lt;p&gt;def print_fmt( *args )&lt;br /&gt;
return if args.length &amp;lt; 1&lt;br /&gt;
args[0] = format( args[0] )&lt;br /&gt;
return puts( *args ) &amp;lt;- should be print( *args )&lt;br /&gt;
end&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 19 Sep 2005 13:28:39 -0000</pubDate><guid>https://sourceforge.net045de8e3d52659d9b7acb0ac8f20c7e241b6cb96</guid></item><item><title>does not compile on amd64 without -fpic</title><link>https://sourceforge.net/p/xchat-ruby/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Compiling the code shows:&lt;br /&gt;
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:&lt;br /&gt;
xchat-ruby.o: relocation R_X86_64_32 can not be used&lt;br /&gt;
when making a shared object; recompile with -fPIC&lt;br /&gt;
xchat-ruby.o: could not read symbols: Bad value&lt;br /&gt;
collect2: ld returned 1 exit status&lt;br /&gt;
make: *** [xchat-ruby.so] Error 1&lt;/p&gt;
&lt;p&gt;adding "-fpic" to the CFLAGS in the make file fixes the&lt;br /&gt;
problem.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Perry Lorier</dc:creator><pubDate>Mon, 18 Oct 2004 10:43:07 -0000</pubDate><guid>https://sourceforge.net957dae5a28ef0d75ca8f898632a55e5ee97f929c</guid></item><item><title>XChat segfaults, problem with static_ruby_custom_timer_hook?</title><link>https://sourceforge.net/p/xchat-ruby/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I wrote a Ruby script for XChat that checks XQF's &lt;br /&gt;
LaunchInfo.txt every 2 seconds. Nick, awaymessage etc. &lt;br /&gt;
will be changed, when the script has found serverinfos in &lt;br /&gt;
this file. You can find it here: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.thunfisch.org/~thunfisch/dev/misc/xchat-xqf.rb" rel="nofollow"&gt;http://www.thunfisch.org/~thunfisch/dev/misc/xchat-xqf.rb&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The comments are mostly in german, sorry for that. &lt;/p&gt;
&lt;p&gt;XChat segfaults after a while everytime I load the script. &lt;br /&gt;
I attached the gdb backtrace, but I really don't know &lt;br /&gt;
whether it's helpful or not. &lt;/p&gt;
&lt;p&gt;Here some information about my computer: &lt;/p&gt;
&lt;p&gt;Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1, &lt;br /&gt;
glibc-2.3.4.20040619-r1, 2.6.8-rc2-nitro4) &lt;br /&gt;
================================================================= &lt;br /&gt;
System uname: 2.6.8-rc2-nitro4 i686 AMD Athlon(tm) XP &lt;br /&gt;
1600+ &lt;br /&gt;
Gentoo Base System version 1.5.2 &lt;br /&gt;
distcc[22484] (dcc_mkdir) ERROR: &lt;br /&gt;
mkdir /var/tmp/portage/.distcc/state failed: No such file or &lt;br /&gt;
directory [disabled] &lt;br /&gt;
ccache version 2.3 [enabled] &lt;br /&gt;
Autoconf: sys-devel/autoconf-2.59-r4 &lt;br /&gt;
Automake: sys-devel/automake-1.8.5-r1 &lt;br /&gt;
ACCEPT_KEYWORDS="x86 ~x86" &lt;br /&gt;
AUTOCLEAN="yes" &lt;br /&gt;
CFLAGS="-march=athlon-xp -mmmx -msse -m3dnow &lt;br /&gt;
-mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -pipe &lt;br /&gt;
-funroll-loops -falign-functions=4" &lt;br /&gt;
CHOST="i686-pc-linux-gnu" &lt;br /&gt;
COMPILER="gcc3" &lt;br /&gt;
CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" &lt;br /&gt;
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" &lt;br /&gt;
CXXFLAGS="-march=athlon-xp -mmmx -msse -m3dnow &lt;br /&gt;
-mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -pipe &lt;br /&gt;
-funroll-loops -falign-functions=4" &lt;br /&gt;
DISTDIR="/usr/portage/distfiles" &lt;br /&gt;
FEATURES="autoaddcvs buildpkg ccache keeptemp &lt;br /&gt;
keepwork noclean sandbox usersandbox" &lt;br /&gt;
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ &lt;br /&gt;
&lt;a href="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" rel="nofollow"&gt;http://ftp.snt.utwente.nl/pub/os/linux/gentoo&lt;/a&gt; &lt;br /&gt;
&lt;a href="http://mirror.switch.ch/mirror/gentoo/" rel="nofollow"&gt;http://mirror.switch.ch/mirror/gentoo/&lt;/a&gt; &lt;br /&gt;
ftp://mirror.switch.ch/mirror/gentoo/ &lt;br /&gt;
&lt;a href="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" rel="nofollow"&gt;http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/&lt;/a&gt;" &lt;br /&gt;
MAKEOPTS="-j2" &lt;br /&gt;
PKGDIR="/usr/portage/packages" &lt;br /&gt;
PORTAGE_TMPDIR="/var/tmp" &lt;br /&gt;
PORTDIR="/usr/portage" &lt;br /&gt;
PORTDIR_OVERLAY="/usr/local/portage" &lt;br /&gt;
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" &lt;br /&gt;
USE="3dnow X aalib acpi alsa apm arts avi berkdb cdr &lt;br /&gt;
crypt directfb divx4linux encode esd fbcon foomaticdb gdbm &lt;br /&gt;
gif gnome gphoto2 gpm gtk gtk2 guile imlib jpeg kde libg++ &lt;br /&gt;
libwww live mad mikmod mmx motif mpeg ncurses nls nptl &lt;br /&gt;
oggvorbis opengl oss pam pdflib perl png python qt &lt;br /&gt;
quicktime readline ruby sdl slang spell sse ssl tcltk tcpd &lt;br /&gt;
tetex theora truetype x86 xml2 xmms xosd xv xvid zlib" &lt;/p&gt;
&lt;p&gt;If there's anything else I can do, let me know. &lt;br /&gt;
Thanks and regards &lt;/p&gt;
&lt;p&gt;Thunfisch &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thunfisch</dc:creator><pubDate>Mon, 16 Aug 2004 16:40:22 -0000</pubDate><guid>https://sourceforge.netdd25482fe7aeea74b7e5b6ac7939f01433f42791</guid></item></channel></rss>