This is the mail archive of the
frysk-cvs@sources.redhat.com
mailing list for the frysk project.
frysk-gui/frysk dom/DOMImage.java dom/DOMFrysk ...
- From: mcvet at sourceware dot org
- To: frysk-cvs at sourceware dot org
- Date: 3 Jan 2007 21:58:37 -0000
- Subject: frysk-gui/frysk dom/DOMImage.java dom/DOMFrysk ...
- Reply-to: frysk at sourceware dot org
CVSROOT: /cvs/frysk
Module name: frysk-gui
Changes by: mcvet@sourceware.org 2007-01-03 21:58:37
Modified files:
frysk/dom : DOMImage.java DOMFrysk.java DOMFactory.java
DOMLine.java DOMFunction.java ChangeLog
frysk/gui/srcwin: SourceWindow.java ChangeLog
Log message:
frysk-core/frysk/dom:
2007-01-03 Mike Cvet <mcvet@redhat.com>
* DOMFactory.java (createDOM): Use the proc's command field as the
new DOMFrysk parameter.
(clearDOMSourceMap): Added. Clears the specified DOMImage's DOMSource
HashMap.
* DOMImage.java: Applied GNU formatting.
(sourceMap): Added. Cache for DOMSource objects. Fixes #3821.
(addFunction): Set this as the parent Object for the new DOMFunction.
(getSource): First check the HashMap to see if the requested DOMSource
is contained first. If not, create as usual and insert into cache.
Substantial improvement over previous method, fixing #3821.
(getFunction): Set this as the parent Object for all these new
DOMFunctions.
(findFunction): Replaces SourceWindow.getFunctionXXX; better and
faster.
(clearSourceMap): Clears this DOMImage's source HashMap.
* DOMFrysk.java: Applied GNU formatting.
(imageMap): Added. Cache for DOMImage objects, fixing #3821.
(getImage): Check the global HashMap for the requested DOMImage,
if it isn't there, create and insert into the cache.
* DOMFunction.java: Applied GNU formatting.
(setParent): Added.
(getSource): Instead of iterating and creating new DOMImages each time,
grab the requested DOMSource out of the parent DOMImage's HashMap.
* DOMLine.java: Applied GNU formatting.
frysk-gui/frysk/gui/srcwin:
2006-01-03 Mike Cvet <mcvet@redhat.com>
* SourceWindow.java (getFunctionXXX): Removed. Use
DOMImage.findFunction() instead.
(generateProcStackTrace): Switch to calling
DOMImage.findFunction(). Clear the DOMSource cache after
the new SourceWindow is finished.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/dom/DOMImage.java.diff?cvsroot=frysk&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/dom/DOMFrysk.java.diff?cvsroot=frysk&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/dom/DOMFactory.java.diff?cvsroot=frysk&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/dom/DOMLine.java.diff?cvsroot=frysk&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/dom/DOMFunction.java.diff?cvsroot=frysk&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-core/frysk/dom/ChangeLog.diff?cvsroot=frysk&r1=1.68&r2=1.69
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/SourceWindow.java.diff?cvsroot=frysk&r1=1.161&r2=1.162
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/srcwin/ChangeLog.diff?cvsroot=frysk&r1=1.365&r2=1.366