Short patches: Difference between revisions

From FreeMind
Jump to navigationJump to search
m (Reverted edit of 69.50.184.214, changed back to last version by 69.50.187.90)
(-navigation bar: moved to MediaWiki:Sidebar)
 
(21 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<table><tr>
<table><tr>
<td valign=top>
{{Navigation_bar}}
<td>&nbsp;
<td width=600>
<td width=600>


Let us put short patches directly here.
Let us put short patches directly here.


![ free rape videos sample | http://free-rape-videos-sample.hozed.ipupdater.com ]
===Patch resizing images upon zoom===
![ botanical drawings of hermaphrodite marijuana plants | http://botanical-drawings-of-hermaphrodite-marijuana-plants.dvd.ipupdater.com ]
 
![ date rape pill | http://date-rape-pill.rpm.homeunix.com ]
Our user ''Mario Claerhout'' has written to us: Since I like FreeMind so much I decided to add a little contribution. Attached you find an altered NodeView.java which contains following modification :
![ simpons rape cartoons tgp | http://simpons-rape-cartoons-tgp.promoz.ipupdater.com ]
Nodes containing images are now also resized when zooming.
![ hawaiian ladyboy | http://hawaiian-ladyboy.port.ipupdater.com ]
I did this by adding the method:
![ transsexual escorts and older | http://transsexual-escorts-and-older.aso.ipupdater.com ]
 
![ lesbian tranny | http://lesbian-tranny.so.ipupdater.com ]
  private String resizeImage(String text) {
![ free movies of a shemale fucking a woman | http://free-movies-of-a-shemale-fucking-a-woman.so.ipupdater.com ]
![ missouri sexual assault deception | http://missouri-sexual-assault-deception.rpm.homeunix.com ]
    JLabel imageLabel=new JLabel(text);
![ canadian shemale | http://canadian-shemale.so.ipupdater.com ]
    Dimension prefSize=imageLabel.getPreferredSize();
![ shemale sex free | http://shemale-sex-free.tar.ipupdater.com ]
    int width=(int)(prefSize.width * map.getZoom());
![ www shemale | http://www-shemale.dvd.ipupdater.com ]
    int height=(int)(prefSize.height * map.getZoom());             
![ hawaii transexual escorts | http://hawaii-transexual-escorts.port.ipupdater.com ]
    String result=text.replaceAll("(<html>.*?<img src=\".*?\")",
![ free rape fantasy stories | http://free-rape-fantasy-stories.promoz.ipupdater.com ]
                                  "$1 width=\""+width+"\" height=\""+height+"\"");
![ chicks with dicks philadelphia | http://chicks-with-dicks-philadelphia.port.ipupdater.com ]
    System.out.println(result);
![ top shemale escorts | http://top-shemale-escorts.directory.ipupdater.com ]
    return result;
![ gangbang rape thumbs | http://gangbang-rape-thumbs.so.merseine.nu ]
![ sex snuff and cannibalism | http://sex-snuff-and-cannibalism.tar.homeunix.com ]
  }
![ definition of rape | http://definition-of-rape.raped.blogdns.com ]
 
![ cinema rape scenes | http://cinema-rape-scenes.tar.homeunix.com ]
</table>
![ bdsm submissive women stories | http://bdsm-submissive-women-stories.brut.homeunix.com ]
![ hermaphrodites art | http://hermaphrodites-art.so.ipupdater.com ]
![ hot shemale | http://hot-shemale.port.ipupdater.com ]
![ date rape teens | http://date-rape-teens.tar.homeunix.com ]
![ women licking ass free galleries | http://women-licking-ass-free-galleries.promoz.ipupdater.com ]
![ shemales free pix | http://shemales-free-pix.ftperr.ipupdater.com ]
![ shemales xxx | http://shemales-xxx.ftperr.ipupdater.com ]
![ most extreme elimination challenge dvd | http://most-extreme-elimination-challenge-dvd.tgz.homelinux.com ]
![ free extreme porn | http://free-extreme-porn.so.merseine.nu ]
![ free stories rape | http://free-stories-rape.raped.blogdns.com ]
![ bdsm emblem | http://bdsm-emblem.pr.serveftp.org ]
![ cartoon shemales | http://cartoon-shemales.tar.ipupdater.com ]
![ asian newhalf movies shemales | http://asian-newhalf-movies-shemales.rpm.ipupdater.com ]
![ bdsm forced feminization | http://bdsm-forced-feminization.raped.blogdns.com ]
![ transsexual operations | http://transsexual-operations.directory.ipupdater.com ]
![ straitjacket bondage | http://straitjacket-bondage.tar.homeunix.com ]
![ bondage bdsm women sexslave book collection | http://bondage-bdsm-women-sexslave-book-collection.raped.blogdns.com ]
![ devil rape cartoon sex | http://devil-rape-cartoon-sex.tgz.homelinux.com ]
![ shemales free pics | http://shemales-free-pics.aso.ipupdater.com ]
![ secretary rape | http://secretary-rape.raped.blogdns.com ]
![ ladyboy tgirl shemale transexual | http://ladyboy-tgirl-shemale-transexual.port.ipupdater.com ]
![ free shemale anal pics | http://free-shemale-anal-pics.pro.ipupdater.com ]
![ incest rape vids | http://incest-rape-vids.hozed.ipupdater.com ]
![ lolita sex rape | http://lolita-sex-rape.pr.serveftp.org ]
![ free indian shemales | http://free-indian-shemales.directory.ipupdater.com ]
![ ebony party shemale | http://ebony-party-shemale.so.ipupdater.com ]
![ daterape and songs | http://daterape-and-songs.tar.homeunix.com ]
![ forced sex change girl | http://forced-sex-change-girl.raped.blogdns.com ]
![ florida and sexual assault | http://florida-and-sexual-assault.tar.homeunix.com ]
![ sexual assault announcements | http://sexual-assault-announcements.tgz.homelinux.com ]
![ picpost ladyboy | http://picpost-ladyboy.directory.ipupdater.com ]
![ hardcore she male | http://hardcore-she-male.tar.ipupdater.com ]
![ transsexual escorts italy | http://transsexual-escorts-italy.directory.ipupdater.com ]
![ free shemale web sites | http://free-shemale-web-sites.aso.ipupdater.com ]
![ sex bondage kink | http://sex-bondage-kink.raped.blogdns.com ]
![ second degree sexual assault | http://second-degree-sexual-assault.rpm.homeunix.com ]
![ madison shemale | http://madison-shemale.tar.ipupdater.com ]
![ young rape stories | http://young-rape-stories.tar.homeunix.com ]
![ defense of mental disease sexual assault decision | http://defense-of-mental-disease-sexual-assault-decision.pr.serveftp.org ]
![ shemale thumbnail post | http://shemale-thumbnail-post.rpm.ipupdater.com ]
![ bondage rape teen girls | http://bondage-rape-teen-girls.raped.blogdns.com ]
![ free pics of asian shemales to marry | http://free-pics-of-asian-shemales-to-marry.pro.ipupdater.com ]
![ vanity and shemale | http://vanity-and-shemale.ftperr.ipupdater.com ]
![ shemale brothel | http://shemale-brothel.aso.ipupdater.com ]
![ raped brides | http://raped-brides.rpm.homeunix.com ]
![ download free shemale movies | http://download-free-shemale-movies.tgz.ipupdater.com ]
![ transexual bars new york city | http://transexual-bars-new-york-city.tgz.ipupdater.com ]
![ forced sex with dog | http://forced-sex-with-dog.hozed.ipupdater.com ]
![ she male sex slave | http://she-male-sex-slave.pro.ipupdater.com ]
![ ladyboy ladyboy | http://ladyboy-ladyboy.tgz.ipupdater.com ]
![ vancouver shemale escort | http://vancouver-shemale-escort.rpm.ipupdater.com ]
![ shemale clips xxx video | http://shemale-clips-xxx-video.rpm.ipupdater.com ]
![ gay asian shemale cock | http://gay-asian-shemale-cock.tgz.ipupdater.com ]
![ porn star barbie shemale | http://porn-star-barbie-shemale.dvd.ipupdater.com ]
![ transexuals nude | http://transexuals-nude.dvd.ipupdater.com ]
![ transvestite chat | http://transvestite-chat.rpm.ipupdater.com ]
![ bdsm erotic stories | http://bdsm-erotic-stories.bz.homeftp.net ]
![ cruel hearted man | http://cruel-hearted-man.rpm.homeunix.com ]
![ free rape sex movie | http://free-rape-sex-movie.bz.homeftp.net ]
![ escorts michigan shemale | http://escorts-michigan-shemale.port.ipupdater.com ]
![ transgendered slaves | http://transgendered-slaves.so.ipupdater.com ]
![ rape and fantasy | http://rape-and-fantasy.tar.homeunix.com ]
![ new york shemale escort | http://new-york-shemale-escort.pro.ipupdater.com ]
![ saddam torture | http://saddam-torture.hozed.ipupdater.com ]
![ football rape uk | http://football-rape-uk.pr.serveftp.org ]
![ free asian shemale galleries | http://free-asian-shemale-galleries.pro.ipupdater.com ]
![ free rape vidos | http://free-rape-vidos.raped.blogdns.com ]
![ transexuelle krefeld duesseldorf | http://transexuelle-krefeld-duesseldorf.tar.ipupdater.com ]
![ shemale escorts and porn stars | http://shemale-escorts-and-porn-stars.tgz.ipupdater.com ]
![ shemale sex videos | http://shemale-sex-videos.tar.ipupdater.com ]
![ cruel rape celeb | http://cruel-rape-celeb.raped.blogdns.com ]
![ ladyboy thai asian pics | http://ladyboy-thai-asian-pics.aso.ipupdater.com ]
![ ladyboy nat | http://ladyboy-nat.so.ipupdater.com ]
![ shemale toonz | http://shemale-toonz.aso.ipupdater.com ]
![ free pics transexuals | http://free-pics-transexuals.ftperr.ipupdater.com ]
![ shemale escorts london | http://shemale-escorts-london.so.ipupdater.com ]
![ free rape sex forced fantasy pics | http://free-rape-sex-forced-fantasy-pics.raped.blogdns.com ]
![ brutal rape feminization | http://brutal-rape-feminization.rpm.homeunix.com ]
![ transsexual heartbreakers and vhs | http://transsexual-heartbreakers-and-vhs.so.ipupdater.com ]
![ chicks with dicks hahaha | http://chicks-with-dicks-hahaha.aso.ipupdater.com ]
![ history of torture | http://history-of-torture.rpm.homeunix.com ]


===Patch to compile with Java 5===
===Patch to compile with Java 5===
Line 154: Line 70:
               }
               }
               if (withClosingTag) {
               if (withClosingTag) {
[[Category:Development]]

Latest revision as of 11:30, 25 February 2011

Let us put short patches directly here.

Patch resizing images upon zoom

Our user Mario Claerhout has written to us: Since I like FreeMind so much I decided to add a little contribution. Attached you find an altered NodeView.java which contains following modification : Nodes containing images are now also resized when zooming. I did this by adding the method:

 private String resizeImage(String text) {

   JLabel imageLabel=new JLabel(text);
   Dimension prefSize=imageLabel.getPreferredSize();
   int width=(int)(prefSize.width * map.getZoom());
   int height=(int)(prefSize.height * map.getZoom());              
   String result=text.replaceAll("(<html>.*?<img src=\".*?\")",
                                 "$1 width=\""+width+"\" height=\""+height+"\"");
   System.out.println(result);
   return result;

 }

Patch to compile with Java 5

(You'll need to remove the space at the start of each line)

diff -ur freemind/freemind/main/XMLElement.java freemind-loz/freemind/main/XMLElement.java
--- freemind/freemind/main/XMLElement.java 2003-11-03 11:00:10.000000000 +0000
+++ freemind-loz/freemind/main/XMLElement.java 2004-11-12 20:46:18.568427860 +0000
@@ -480,9 +480,9 @@
         this.children = new Vector();
         this.entities = entities;
         this.lineNr = 0;
-        Enumeration enum = this.entities.keys();
-        while (enum.hasMoreElements()) {
-            Object key = enum.nextElement();
+        Enumeration enumb = this.entities.keys();
+        while (enumb.hasMoreElements()) {
+            Object key = enumb.nextElement();
             Object value = this.entities.get(key);
             if (value instanceof String) {
                 value = ((String) value).toCharArray();
@@ -2194,10 +2194,10 @@
         writer.write('<');
         writer.write(this.name);
         if (! this.attributes.isEmpty()) {
-            Enumeration enum = this.attributes.keys();
-            while (enum.hasMoreElements()) {
+            Enumeration enumb = this.attributes.keys();
+            while (enumb.hasMoreElements()) {
                 writer.write(' ');
-                String key = (String) enum.nextElement();
+                String key = (String) enumb.nextElement();
                 String value = (String) this.attributes.get(key);
                 writer.write(key);
                 writer.write('='); writer.write('"');
@@ -2224,9 +2224,9 @@
         } else {
             writer.write('>');
             writer.write('\n');
-            Enumeration enum = this.enumerateChildren();
-            while (enum.hasMoreElements()) {
-                XMLElement child = (XMLElement) enum.nextElement();
+            Enumeration enumb = this.enumerateChildren();
+            while (enumb.hasMoreElements()) {
+                XMLElement child = (XMLElement) enumb.nextElement();
                 child.write(writer);
             }
             if (withClosingTag) {