Re: suspendProcessing() and dispose() memory leak

2005-02-21 Thread Archie Cobbs
d resume() should say that they are "requests" to suspend/resume the update manager, and that multiple requests can get consolidated, and that the listener events are reports of what actually happened, etc. -Archie ________

Re: Batik drawing in the wrong thread?

2005-02-16 Thread Archie Cobbs
ch simpler, rendering path which > may avoid the GC issue as well). Thanks for the help & insights. I'll post to the list if I learn anything more. -Archie __ Archie Cobbs *CTO, Awarix* htt

Re: Batik drawing in the wrong thread?

2005-02-16 Thread Archie Cobbs
the correct way to do that?) See also bug #6174796. Bug #4587651 has a nice 100% reproducible test case. If this is indeed the problem, perhaps a FAQ entry would be in order. Thanks, -Archie ______ Archie Cobbs *CTO, A

Batik drawing in the wrong thread?

2005-02-16 Thread Archie Cobbs
than the AWT thread. Is this analysis correct? Or is the stack trace legitimate? Thanks, -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com * Confidentiality Notice: This e-mail message,

Re: idea to show modified source in Batik

2005-02-10 Thread Archie Cobbs
} ); -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com * Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contai

Re: serialized applet

2004-12-17 Thread Archie Cobbs
files compress very well, e.g. 90%. -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL

Re: Batik memory leak

2004-12-15 Thread Archie Cobbs
leaked). Thanks Thomas! -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Batik memory leak

2004-12-14 Thread Archie Cobbs
on this problem. -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Batik memory leak

2004-12-13 Thread Archie Cobbs
and it is hard for me to see where the leak occurs, but I am very interested in finding it. Any chance of a reproducible test case? I'll try to come up with one as soon as time permits... hopefully it won't be too hard. Thanks, -Archie ______

Re: Batik memory leak

2004-12-13 Thread Archie Cobbs
Archie Cobbs wrote: >> Are you certain that the nodes you remove are going to GC? >>I suspect they are not (this may be a Batik problem or it may >>be a problem in your app). Note that this can't be a Memento >>problem since it uses soft references. > > I pi

Re: Batik memory leak

2004-12-13 Thread Archie Cobbs
, this takes >> a couple of days to occur. > >What type of objects are you adding/removing? Text/use/image? I'm adding mostly references to pre-defined icons and text. >But if you remove nodes from the DOM and keep no references from > your code the &

Batik memory leak

2004-12-13 Thread Archie Cobbs
Any help or insights greatly appreciated. Thanks, -Archie __________ Archie Cobbs *CTO, Awarix* http://www.awarix.com * Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) a

Re: Bogus SVG XML output

2004-12-09 Thread Archie Cobbs
e same node, using different namespaces, yet they would not know how to choose unique prefixes for those namespaces. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com * Confidentiality Notice: This e-mail message, including any

Re: Bogus SVG XML output

2004-12-09 Thread Archie Cobbs
ix tags are mere artifacts of the way XML documents are encoded as flat files, and are not actually part of the DOM. So IMHO this is a fairly serious bug that makes it difficult to reliably export dynamically modified documents. -Archie __ Archie Cobbs *

Bogus SVG XML output

2004-12-09 Thread Archie Cobbs
arf on it. I'm using JDK 1.4.2... this could be a JDK bug as well. Thanks, -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com - TEST PROGRAM

Re: accessing UpdateManager before the canvas is displayed

2004-12-09 Thread Archie Cobbs
ou could add the JSVGCanvas to a JFrame that is never set visible. The document should render I think if you say jframe.pack() even though you haven't yet said jframe.setVisible(). -Archie ______ Archie Cobbs *CTO,

Re: java.lang.OutOfMemoryError

2004-12-01 Thread Archie Cobbs
ing up the heap. http://www.khelekore.org/jmp/ E.g.: java -Xrunjmp:nomethods ... -Archie __ Archie Cobbs *CTO, Awarix* http://www.awar

Re: mouse actions in JSVGCanvas changeable or deactivate ?

2004-12-01 Thread Archie Cobbs
iersEx() & MouseEvent.SHIFT_DOWN_MASK) == 0 && me.getButton() == MouseEvent.BUTTON1; } } Our custom ZoomInteractor is similar. -Archie ______ Archie Cobbs *

Re: Right Justified Text

2004-11-30 Thread Archie Cobbs
can scale, clip, stretch (or not) as desired using preserveAspectRatio and friends. I haven't actually tried this yet though... -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com * Co

Re: NullPointerException in getBBox().getX()

2004-11-30 Thread Archie Cobbs
Thomas DeWeese wrote: If you didn't catch it this is now fixed in CVS. Thanks! -Archie __ Archie Cobbs *CTO, Awarix* http://www.awari

Re: NullPointerException in getBBox().getX()

2004-11-26 Thread Archie Cobbs
PointerExceptions when loading and analyzing the map. 1. Is this a bug? If so, is there a simple patch to fix? 2. Otherwise, what do you recommend as a workaround? E.g. I could have a fill with opacity of 0.0001% that wouldn't be visible. Thanks again for your help! -Archie __

Re: NullPointerException in getBBox().getX()

2004-11-24 Thread Archie Cobbs
the room somehow, and our strategy was to find the bounding box of the room's polygon and use the center of that as a close approximation. We need to compute the centers of the rooms when the map is loaded and before any rooms are filled in. -Archie __

NullPointerException in getBBox().getX()

2004-11-23 Thread Archie Cobbs
Thanks, -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com * Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain c

Re: Probem to save the svg file using DOMUtilities.writeDocument

2004-11-10 Thread Archie Cobbs
eption e1) { > e1.printStackTrace(); > } > > the piece of my svg file is attached Dumb question... are you calling "writer.close()" to force flushing the output? -Archie

Re: Strange rendering glitch

2004-11-04 Thread Archie Cobbs
Feel free to, it can be a good place to collect information if > nothing else. Will do, thanks. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Strange rendering glitch

2004-11-04 Thread Archie Cobbs
in the update manager thread. Thanks for any insights, -Archie P.S. Should I file a bug even though I don't have a test case (yet)? __ Archie Cobbs *CTO, Awarix* http://www.awarix.com * Conf

Re: Best way to learn SVG?

2004-10-16 Thread Archie Cobbs
ribute is a lot faster than e.g., adding and removing the entire node. -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com -

SVG pretty printer bug

2004-10-08 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: How do I mouse-click on an SVG element and change it's color

2004-10-05 Thread Archie Cobbs
tSVGDocument(); elem = (SVGElement)svg.getElementById("element-id-123"); elem.setAttributeNS(null, "fill", "#ff"); -Archie __________ Archie Cobbs *

Re: Questions about UpdateManager

2004-08-20 Thread Archie Cobbs
you might consider is using visibility (not display). > So if each room has two or three views I would create all of them > and then adjust visibility so the desired one is showing. Hadn't thought of that idea-- it definitely sounds like a good one. T

Re: Questions about UpdateManager

2004-08-19 Thread Archie Cobbs
at's interesting is that it seems that adding/modifying the "fill" attribute of a directly updates slightly faster than adding a new element which references the with a different "fill". Must be due to the creation of a new GVT node

Re: Questions about UpdateManager

2004-08-18 Thread Archie Cobbs
uspend() and resume() (as described in aforementioned bug)). Can you confirm that this is indeed the case? Thanks, -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ---

Questions about UpdateManager

2004-08-18 Thread Archie Cobbs
MAIL PROTECTED]&msgNo=3958 Thanks, -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EM

Re: JSVGCanvas and viewBox

2004-08-09 Thread Archie Cobbs
er plugin parts outside the viewBox can be seen when I zoom out. > Can I changed this behaviour of JSVGCanvas some way? Just a guess.. try adding overflow="visible" to the top level svg element? -Archie _________

Re: How do I display unicode (non-ascii) characters using SVGGraphics2D?

2004-07-14 Thread Archie Cobbs
> are Unicode characters though. You may need to use different corresponding Unicode values. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

UpdateManager

2004-07-09 Thread Archie Cobbs
le updates while making a bunch of changes, so that all the changes can take effect at once, improving speed. Thanks, -Archie ______ Archie Cobbs *CTO, Awarix*

Re: exception when i

2004-07-08 Thread Archie Cobbs
, and so must be a bug in the VM, some native library, etc. You could try filing a bug with your VM vendor. -Archie __________ Archie Cobbs *CTO, Awarix

Cancelling document loading, etc.

2004-05-26 Thread Archie Cobbs
do anyway?) Thanks, -Archie ______ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Copying/Cloning a GVT CompositeNode.

2004-05-26 Thread Archie Cobbs
ode corresponding to the target > of the use and the use's translations, thus achieving the same > effect as I intended by cloning a GrahicsNode. Glad that worked... it's still an open question (to me) whether one method is more "correct", faster, etc. than the

Re: What jars required for SVGGraphics2D

2004-05-23 Thread Archie Cobbs
ild a JAR file containing only & exactly the files you need for your app. -Archie __________ Archie Cobbs *CTO, Awarix* http://www.awarix.com

Threading questions

2004-05-19 Thread Archie Cobbs
itslef as soon as a new change is made? Has anyone had to do manual "buffering" of DOM changes to avoid the rendering getting to far behind? Thanks, -Archie __________ Archie Cobbs *CTO, Awari

Re: Copying/Cloning a GVT CompositeNode.

2004-05-19 Thread Archie Cobbs
, "href", "#" + iconId); use.setAttribute("visibility", "visible"); use.setAttribute("x", "" + x); use.setAttribute("y", "" + y); topNode.appendChild(use); You must do this within this update thre

Re: sec unclas:An element of success in printing svg to scale usi ng FOP.

2004-05-18 Thread Archie Cobbs
Pentony, Paul wrote: > viewbox='0 0 800 400' preserveAspectRatio="xMinYMin meet"> ^^^ Shouldn't that be "viewBox" instead of "viewbox" ? -Archie ______ Archie

Re: Dynamic modification of the DOM

2004-04-07 Thread Archie Cobbs
t; to the namespace assoicated with that particular element tag). Which would imply (?) that you can add an attribute with no namespace prefix and it should do the right thing. Thanks, -Archie ______ Archie Cobbs

Re: Dynamic modification of the DOM

2004-04-07 Thread Archie Cobbs
Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]