﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
3931,Doesn't work because of double slashes in URLs,defect,0.11,Louis Cordier,new,2008-10-17T13:27:59+02:00,2009-10-27T21:06:22+01:00,"I installed it under Trac 0.11.2 and it seems not to work properly, at least not with Firefox 3.0.3 under Ubuntu Hardy.

The flash itself is starting but the Freemind viewer isn't loading.
I checked the resulting source code (after the Javascript does it's work) with the Firebug plugin for Firefox and I found that all links start with a double slash '`//`', i.e. the SWF is linked to `//chrome/freemind/swf/visorFreemind.swf`, but also all other URLs like the one for the actual Freemind file, the CSS file, etc.

After removing the second slash with the Firebug edit function the visorFreemind is finally loading, but without loading the mindmap (which seems to be an other issue).
",Martin Scharrer
3938,Enhance code to resolve TracLinks,enhancement,0.11,Louis Cordier,reopened,2008-10-20T00:24:37+02:00,2008-10-21T13:58:03+02:00,"The code to resolve the TracLinks to full HTML href's ('!attachment:file' to '/attachment/wiki/foobar/file') needed by the flash plugin is at the moment self written. 
Every TracHacks macro seem to re-write its own implementation, while this is actual a basic functionality which should be provided by the Trac API itself.

I opened a Trac ticket to request this, [trac:ticket:7728], and also found an appropriate solution which uses the Trac wiki engine to resolve the TracLinks. Please have a look on the  [http://trac.edgewall.org/attachment/ticket/7728/hrefexample.py ticket attachment]. The code could be easily taken over to the FreemindMacro and would !add complete, fully working support of all current and future TracLinks. ",Martin Scharrer
3961,Flash 10 & Firefox,defect,0.11,Louis Cordier,new,2008-10-21T18:02:54+02:00,2017-10-30T04:51:03+01:00,"I've noticed that both RHEL5 Firefox 3.0.2 with Flash 10 and Windows XP SP3 Firefox 3.1 beta with Flash 10 won't load the flash plugin at all.  The URL for the flash browser of http://www.efectokiwano.net/mm/ however does load correctly.  This seems to lead me to believe there is an issue with the way flash is called via the macro.  I have the following debug output:

FreemindMacro Debug Log
=======================
{{{
time: 20081021T153912Z
version: 
content: wiki://GemsBmcUsage/filename.mm,debug
args: [u'wiki://GemsBmcUsage/filename.mm', u'debug']
kwargs: {}
formatter.href.base: /trac/development
}}}

script: 
{{{#!js
            $(document).ready(function() {
                $(""#flashcontent01"").mouseover(function() {
                    document.visorFreeMind01.focus();
                });
                
                var fo = new FlashObject(""/trac/development/chrome/freemind/swf/visorFreemind.swf"", ""visorFreeMind01"", ""100%"", ""100%"", 6, ""#9999ff"");
                
                fo.addParam(""quality"",""high"");
                fo.addParam(""bgcolor"",""#a0a0f0"");
                fo.addVariable(""openUrl"",""_blank"");
                fo.addVariable(""startCollapsedToLevel"",""3"");
                fo.addVariable(""maxNodeWidth"",""200"");
                fo.addVariable(""mainNodeShape"",""elipse"");
                fo.addVariable(""justMap"",""false"");
                fo.addVariable(""initLoadFile"",""/trac/development/raw-attachment/wiki/GemsBmcUsage/filename.mm"");
                fo.addVariable(""defaultToolTipWordWrap"",200);
                fo.addVariable(""offsetX"",""left"");
                fo.addVariable(""offsetY"",""top"");
                fo.addVariable(""buttonsPos"",""top"");
                fo.addVariable(""min_alpha_buttons"",20);
                fo.addVariable(""max_alpha_buttons"",100);
                fo.addVariable(""scaleTooltips"",""false"");
                fo.addVariable(""baseImagePath"",""/trac/development/raw-attachment/wiki/GemsBmcUsage/"");
                fo.addVariable(""CSSFile"",""/trac/development/chrome/freemind/css/flashfreemind.css"");
                //fo.addVariable(""toolTipsBgColor"",""0xa0a0f0"");
                //fo.addVariable(""genAllShots"",""true"");
                //fo.addVariable(""unfoldAll"",""true"");
                fo.write(""flashcontent01"");
            });
}}}",anonymous
4936,Load mmfile faild if its name has chinese character,defect,0.11,Louis Cordier,new,2009-04-17T05:20:29+02:00,2009-04-17T05:20:29+02:00,"load mmfile faild if its name has chinese character (and maybe other none-ascii char)

original freeMindFlashBrowser works fine

macro string (on my site):  {{{[[Freemind(wiki://SandBox/时间计划.mm)]]}}}

{{{
FreemindMacro Debug Log
=======================

time: 20090417T024324Z
version: 
content: wiki://SandBox/时间计划.mm,debug
args: [u'wiki://SandBox/\u65f6\u95f4\u8ba1\u5212.mm', u'debug']
kwargs: {}
formatter.href.base: /trac/main
script: 

            $(document).ready(function() {
                $(""#flashcontent01"").mouseover(function() {
                    document.visorFreeMind01.focus();
                });
            });
            
            // url: /trac/main/raw-attachment/wiki/SandBox/时间计划.mm
            // base: /trac/main/raw-attachment/wiki/SandBox/
}}}

environment : python 2.5 , trac 0.11.4 , apache 2.2.9 with modpython 3.3.1 , firefox 3.0.8 , win2003

real name of the attachment file on the server is '%E6%97%B6%E9%97%B4%E8%AE%A1%E5%88%92.mm', but display corectly in the url of attachment of wiki page

sorry for my poor english",anonymous
