aesTRYERY / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

atlassian changes to xhtmlrenderer #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Just a suggestion ...
May be you can get changes from atlassian and merge with yours
https://svn.atlassian.com/svn/public/atlassian/vendor/xhtmlrenderer-8.0/tags/8.3
-atlassian/

Original issue reported on code.google.com by srb...@gmail.com on 11 Feb 2011 at 12:46

GoogleCodeExporter commented 8 years ago
What bugs or improvements are present in the above ?

Original comment by miroslav...@gmail.com on 13 Apr 2011 at 5:55

GoogleCodeExporter commented 8 years ago
I came across atlassian link when i am looking for update and fixes for 
flyingsaucer.

https://github.com/orbeon/flyingsaucer/commit/340e141ad3130d44ddf86c9865e1f5c626
389750

src/java/org/xhtmlrenderer/swing/ImageResourceLoader.java View file @ 340e141
... ... 
@@ -35,7 +35,7 @@ public class ImageResourceLoader {
35  35  

36  36  
     private final int _imageCacheCapacity;
37  37  

38      
-    private RepaintListener _repaintListener = NO_OP_REPAINT_LISTENER;
    38  
+    private RepaintListener _repaintListener = NO_OP_REPAINT_LISTENER;  
39  39  

40  40  

41  41  
     public ImageResourceLoader() {
... ... 
@@ -98,6 +98,8 @@ public class ImageResourceLoader {
98  98  

99  99  
     public synchronized void clear() {
100 100 
         _imageCache.clear();
    101 
+        // ORBEON
    102 
+        _loadQueue.kill();
101 103 
     }
102 104 

103 105 
     public ImageResource get(final String uri) {
src/java/org/xhtmlrenderer/swing/SwingReplacedElementFactory.java View file @ 
340e141
... ... 
@@ -278,6 +278,8 @@ public class SwingReplacedElementFactory implements 
ReplacedElementFactory {
278 278 
      */
279 279 
     public void reset() {
280 280 
         forms = null;
    281 
+        // ORBEON
    282 
+        imageResourceLoader.clear();
281 283 
         //imageComponents = null;
282 284 
     }
283 285 

Original comment by srb...@gmail.com on 21 Apr 2011 at 2:31