<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/prefuse/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/prefuse/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 16 Oct 2009 12:45:39 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/prefuse/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>NumberRangeModel setValueRange() for double values</title><link>https://sourceforge.net/p/prefuse/patches/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When you work with a NumberRangeModel that is initialized with double values, setting the value range with the method  setValueRange()  yields an unexpected result (a tiny range close to the minimum is selected).&lt;/p&gt;
&lt;p&gt;The bug is in updateRange(), where the double range is transformed to an int range from 0 to 10,000.&lt;br /&gt;
The problem is that the multiplication with 10,000 happens *after* the intermediate result is converted to int.&lt;br /&gt;
So, v and e are either 0 or 10,000. &lt;/p&gt;
&lt;p&gt;The same bug and patch should apply to NumberRangeModel that are initialized with long values. (I did not test it.)&lt;/p&gt;
&lt;p&gt;NumberRangeModel that are initialized with int values are not affected by this issue, because they do not need such an transformation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex</dc:creator><pubDate>Fri, 16 Oct 2009 12:45:39 -0000</pubDate><guid>https://sourceforge.netb0e402b5498d2fa4a6dbf27ac104148265941e07</guid></item><item><title>Bug: graph edges not connected with nodes</title><link>https://sourceforge.net/p/prefuse/patches/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When FlareVis inside a canvas sometime edges not moving with nodes (not connected)&lt;br /&gt;
This problem solving by one line:&lt;/p&gt;
&lt;p&gt;In the class 'flare.animate.Tween' see function step():&lt;/p&gt;
&lt;p&gt;internal override function step(ef:Number):void&lt;br /&gt;
{&lt;br /&gt;
// run the interpolators&lt;br /&gt;
for each (var i:Interpolator in _interps) {&lt;br /&gt;
i.interpolate(ef);&lt;br /&gt;
}&lt;br /&gt;
DirtySprite.renderDirty(); // ADD ME TO SOLVE THIS BUG&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexey Ivanov</dc:creator><pubDate>Fri, 02 Oct 2009 12:08:25 -0000</pubDate><guid>https://sourceforge.net4d93e7a9e323a9979833b0019daa82c4c65f021c</guid></item><item><title>Don't show empty tooltip with multiple fields</title><link>https://sourceforge.net/p/prefuse/patches/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If ToolTipControl is activated for a VisualItem, which has other fields than the ToolTipControl, it won't have any text to display in the tooltip. Therefore, it should not even show the tooltip.&lt;/p&gt;
&lt;p&gt;For a ToolTipControl that is configured with a single field, this already works in prefuse beta-20071021.&lt;br /&gt;
My patch makes a ToolTipControl with multiple field work correctly.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex</dc:creator><pubDate>Fri, 07 Aug 2009 08:34:28 -0000</pubDate><guid>https://sourceforge.net1fbe6b454251d6d96dc10f19318f7dc052e814be</guid></item><item><title>TypeLib.getNumericType bug</title><link>https://sourceforge.net/p/prefuse/patches/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I found a bug in prefuse.util.TypeLib concerning a check it does on its parameters. Described here: &lt;a href="http://sourceforge.net/forum/forum.php?thread_id=3269051&amp;amp;forum_id=343013"&gt;http://sourceforge.net/forum/forum.php?thread_id=3269051&amp;amp;forum_id=343013&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 10 May 2009 14:36:12 -0000</pubDate><guid>https://sourceforge.net476c877f801d9eae9742d2aaf89202d5cbf58fd2</guid></item><item><title>Flare: AxisLayout - setting preferredMin/Max when stacking</title><link>https://sourceforge.net/p/prefuse/patches/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, setting AxisLayout::x/yScale::preferredMin/Max  has no effect when AxisLayout::x/yStacked = true.  To fix the problem, comment out the following lines from the end of AxisLayout.as.  Note: I haven't observed any unintended side effects of this patch, but that doesn't mean there aren't any!&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;if (_xStacks) { &lt;br /&gt;
_xBinding.scaleType = ScaleType.LINEAR; &lt;br /&gt;
// _xBinding.preferredMin = 0; &lt;br /&gt;
// _xBinding.preferredMax = xmax; &lt;br /&gt;
} &lt;br /&gt;
if (_yStacks) { &lt;br /&gt;
_yBinding.scaleType = ScaleType.LINEAR; &lt;br /&gt;
// _yBinding.preferredMin = 0; &lt;br /&gt;
// _yBinding.preferredMax = ymax; &lt;br /&gt;
} &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">golgo32</dc:creator><pubDate>Sun, 02 Nov 2008 19:35:29 -0000</pubDate><guid>https://sourceforge.net4ea6fa3cebf4ce6943127d9951b0ad26a0d5752f</guid></item><item><title>Memory leak patch</title><link>https://sourceforge.net/p/prefuse/patches/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Attached is a patch to address a memory leak issue I was having. The problem is that ExpressionListeners were getting added to the VisiblePredicate constants and never cleaned up. My solution was to override addExpressionListener(...) in the TRUE and FALSE convenience instances to do nothing (since they are constant, there should never be a change and therefor ExpressionListeners will never need to be notified). &lt;/p&gt;
&lt;p&gt;To accomplish this I had to make AbstractExpression.addExpressionListener(...) non final. &lt;/p&gt;
&lt;p&gt;Please chime in if this is not the correct solution. &lt;/p&gt;
&lt;p&gt;(ode_m0nkey&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">(ode_m0nkey</dc:creator><pubDate>Wed, 21 May 2008 22:53:15 -0000</pubDate><guid>https://sourceforge.net7d5778594d5f7bf44c8b6049c999945298bd9e5c</guid></item><item><title>Increase ActivityManager stack depth</title><link>https://sourceforge.net/p/prefuse/patches/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The default stack depth for the JVM (256kB) will only allow for just over 2000 nodes in a graph before the NBodyForce causes a StackOverflowError.&lt;/p&gt;
&lt;p&gt;This patch increases that limit to 1MB just for the ActivityManager thread, to allow for presumably 2000^4 (larger than Integer.MAX_VALUE anyway.)  It does use an API call in Java 1.4 though, and I wasn't sure if Prefuse was maintaining compatibility for any versions older than that.&lt;/p&gt;
&lt;p&gt;You can get a similar effect by using the -Xss1M parameter to the JVM, but that would increase the size of all threads, which will penalise you if you have a large number of threads.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Trejkaz</dc:creator><pubDate>Thu, 24 Jan 2008 00:37:00 -0000</pubDate><guid>https://sourceforge.neta022b1ee121ba1410bdfff8899f6184006db6d82</guid></item><item><title>Display.pan fix</title><link>https://sourceforge.net/p/prefuse/patches/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Fix for Bug 1770531.&lt;br /&gt;
&lt;a href="http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1770531&amp;amp;group_id=98962&amp;amp;atid=622645"&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=1770531&amp;amp;group_id=98962&amp;amp;atid=622645&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Trejkaz</dc:creator><pubDate>Thu, 09 Aug 2007 01:11:33 -0000</pubDate><guid>https://sourceforge.netda64cb933a9255ac3a60ea614fac9d166f86037e</guid></item><item><title>Patch so TreeMLWriter does not write out null attributes.</title><link>https://sourceforge.net/p/prefuse/patches/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;TreeML defines attributes that each node in the tree can choose to implement. When TreeMLReader reads in a node which doesn't implement a certain attribute, it places a null object in the row of that attribute's column. However, When TreeMLWriter writes a graph that contains a null attribute, it introduces the attribute to the node and assigns its value to the string "null". This means that writing in and immediately writing out a TreeML file adds in a bunch of new attribute tags that were previously not there. I don't know whether or not this behavior is intentional, but it can be fixed by changing the line...&lt;/p&gt;
&lt;p&gt;xml.tag(Tokens.ATTR, attr, vals, 2);&lt;/p&gt;
&lt;p&gt;to...&lt;/p&gt;
&lt;p&gt;if (vals[1] != null) {&lt;br /&gt;
xml.tag(Tokens.ATTR, attr, vals, 2);&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Micah</dc:creator><pubDate>Mon, 23 Jul 2007 14:06:42 -0000</pubDate><guid>https://sourceforge.nete55766caefc72d2d832c74e3c6e3ed846ced8b17</guid></item><item><title>Patch so TreeMLWriter does not write out null attributes.</title><link>https://sourceforge.net/p/prefuse/patches/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;TreeML defines attributes that each node in the tree can choose to implement. When TreeMLReader reads in a node which doesn't implement a certain attribute, it places a null object in the row of that attribute's column. However, When TreeMLWriter writes a graph that contains a null attribute, it introduces the attribute to the node and assigns its value to the string "null". This means that writing in and immediately writing out a TreeML file adds in a bunch of new attribute tags that were previously not there. I don't know whether or not this behavior is intentional, but it can be fixed by changing the line...&lt;/p&gt;
&lt;p&gt;xml.tag(Tokens.ATTR, attr, vals, 2);&lt;/p&gt;
&lt;p&gt;to...&lt;/p&gt;
&lt;p&gt;if (vals[1] != null) {&lt;br /&gt;
xml.tag(Tokens.ATTR, attr, vals, 2);&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Micah</dc:creator><pubDate>Fri, 20 Jul 2007 16:50:24 -0000</pubDate><guid>https://sourceforge.net615f7c36b99bcdda32d3172b7d707cfef0055c64</guid></item></channel></rss>