xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dewe...@apache.org
Subject cvs commit: xml-batik/sources/org/apache/batik/transcoder/print PrintTranscoder.java
Date Fri, 25 Jun 2004 01:41:52 GMT
deweese     2004/06/24 18:41:52

  Modified:    samples/solitaire klondike.svg towers.svg
               samples/solitaire/cards default.svg
               samples/solitaire/script board.js card.js pile.js
               samples/tests/spec/interactivity cursor.svg
               samples/tests/spec/paints radialGradient2.svg
               sources/org/apache/batik/bridge BridgeContext.java
                        CursorManager.java DocumentLoader.java
                        PaintServer.java
                        SVGDecoratedShapeElementBridge.java
                        SVGImageElementBridge.java
                        SVGLineElementBridge.java SVGTextElementBridge.java
                        SVGUseElementBridge.java
               sources/org/apache/batik/css/engine CSSContext.java
                        CSSEngine.java
               sources/org/apache/batik/css/parser Scanner.java
               sources/org/apache/batik/ext/awt
                        LinearGradientPaintContext.java
               sources/org/apache/batik/gvt/text GlyphLayout.java
               sources/org/apache/batik/swing JSVGScrollPane.java
               sources/org/apache/batik/transcoder
                        SVGAbstractTranscoder.java
               sources/org/apache/batik/transcoder/print
                        PrintTranscoder.java
  Log:
  1) Big change in the handling of loaded documents.
     When a new Document is loaded a new BridgeContext is created for
     it.  This prevents most issues with Memory leaks as the new
     document doesn't get 'attached to' the BridgeContext for the
     main document.  It also means that each document get's it's
     own CSS engine as it should.
  
     The major change here is that the Document Loader no longer has
     an associated BridgeContext. So when it loads a document it no
     longer does a BridgeContext.initialize.
  
     However BridgeContext.getReferencedElement will create the
     'sub' BridgeContext and initialize the document before returning
     it.  Things are still a little hokey since it isn't generally
     safe to 'dispose' of such a subContext because the document could
     currently be shared in several instances.  However I think that
     currently the Document is the only object that has 'outside'
     references in the new setup - so the whole thing can go to
     GC.
  
     This appears to fix the image memory leak.
  
  2) Line element no longer has a fill associated with it.
  
  3) Fixed bug #29416 - problem with empty quotes in CSS.
  
  4) Index out of bounds error fixed in linear gradient.
  
  5) AOI problem in PrintTranscoder now fixed.
  
  6) Null Pointer exception when PrintingTranscoding documents
     using SVG fonts is fixed (the BridgeContext was being
     disposed of too early).
  
  7) PrintTranscoder now uses UserAgent to report exceptions
     rather than silently swallowing them.
  
  8) Fixed some minor bugs in the GlyphLayout code for flow regions.
  
  9) Very minor tweaks in JSVGScrollPane.
  
  Revision  Changes    Path
  1.2       +2 -5      xml-batik/samples/solitaire/klondike.svg
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/solitaire/klondike.svg.diff?r1=1.1&r2=1.2
  
  
  1.2       +16 -12    xml-batik/samples/solitaire/towers.svg
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/solitaire/towers.svg.diff?r1=1.1&r2=1.2
  
  
  1.2       +12 -8     xml-batik/samples/solitaire/cards/default.svg
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/solitaire/cards/default.svg.diff?r1=1.1&r2=1.2
  
  
  1.2       +104 -77   xml-batik/samples/solitaire/script/board.js
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/solitaire/script/board.js.diff?r1=1.1&r2=1.2
  
  
  1.2       +2 -2      xml-batik/samples/solitaire/script/card.js
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/solitaire/script/card.js.diff?r1=1.1&r2=1.2
  
  
  1.2       +113 -110  xml-batik/samples/solitaire/script/pile.js
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/solitaire/script/pile.js.diff?r1=1.1&r2=1.2
  
  
  1.7       +1 -3      xml-batik/samples/tests/spec/interactivity/cursor.svg
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/tests/spec/interactivity/cursor.svg.diff?r1=1.6&r2=1.7
  
  
  1.4       +4 -2      xml-batik/samples/tests/spec/paints/radialGradient2.svg
  
  http://cvs.apache.org/viewcvs/xml-batik/samples/tests/spec/paints/radialGradient2.svg.diff?r1=1.3&r2=1.4
  
  
  1.76      +74 -7     xml-batik/sources/org/apache/batik/bridge/BridgeContext.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/BridgeContext.java.diff?r1=1.75&r2=1.76
  
  
  1.11      +5 -2      xml-batik/sources/org/apache/batik/bridge/CursorManager.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/CursorManager.java.diff?r1=1.10&r2=1.11
  
  
  1.21      +3 -18     xml-batik/sources/org/apache/batik/bridge/DocumentLoader.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/DocumentLoader.java.diff?r1=1.20&r2=1.21
  
  
  1.14      +26 -13    xml-batik/sources/org/apache/batik/bridge/PaintServer.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/PaintServer.java.diff?r1=1.13&r2=1.14
  
  
  1.9       +30 -18    xml-batik/sources/org/apache/batik/bridge/SVGDecoratedShapeElementBridge.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/SVGDecoratedShapeElementBridge.java.diff?r1=1.8&r2=1.9
  
  
  1.65      +59 -21    xml-batik/sources/org/apache/batik/bridge/SVGImageElementBridge.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/SVGImageElementBridge.java.diff?r1=1.64&r2=1.65
  
  
  1.13      +27 -1     xml-batik/sources/org/apache/batik/bridge/SVGLineElementBridge.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/SVGLineElementBridge.java.diff?r1=1.12&r2=1.13
  
  
  1.92      +2701 -2701xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java.diff?r1=1.91&r2=1.92
  
  
  1.41      +28 -14    xml-batik/sources/org/apache/batik/bridge/SVGUseElementBridge.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/bridge/SVGUseElementBridge.java.diff?r1=1.40&r2=1.41
  
  
  1.9       +6 -1      xml-batik/sources/org/apache/batik/css/engine/CSSContext.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/css/engine/CSSContext.java.diff?r1=1.8&r2=1.9
  
  
  1.38      +5 -3      xml-batik/sources/org/apache/batik/css/engine/CSSEngine.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/css/engine/CSSEngine.java.diff?r1=1.37&r2=1.38
  
  
  1.15      +1336 -1338xml-batik/sources/org/apache/batik/css/parser/Scanner.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/css/parser/Scanner.java.diff?r1=1.14&r2=1.15
  
  
  1.11      +26 -15    xml-batik/sources/org/apache/batik/ext/awt/LinearGradientPaintContext.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/ext/awt/LinearGradientPaintContext.java.diff?r1=1.10&r2=1.11
  
  
  1.58      +13 -7     xml-batik/sources/org/apache/batik/gvt/text/GlyphLayout.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/gvt/text/GlyphLayout.java.diff?r1=1.57&r2=1.58
  
  
  1.5       +10 -2     xml-batik/sources/org/apache/batik/swing/JSVGScrollPane.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/swing/JSVGScrollPane.java.diff?r1=1.4&r2=1.5
  
  
  1.18      +26 -26    xml-batik/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java.diff?r1=1.17&r2=1.18
  
  
  1.29      +69 -33    xml-batik/sources/org/apache/batik/transcoder/print/PrintTranscoder.java
  
  http://cvs.apache.org/viewcvs/xml-batik/sources/org/apache/batik/transcoder/print/PrintTranscoder.java.diff?r1=1.28&r2=1.29
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Mime
View raw message