hello freemind developers,
I am working on the freeplane debian package which requires a simplyhtml
(0.16.05) package. Freemind 1.0.0beta9 uses simplyhtml 0.15.x. I would
like to avoid creating a separate package for simplyhtml in freeplane vs
Simplyhtml 0.16.05 contains a few search fixes (+ one other fix, + a
"paste as plain-text" option which you don't currently use) and
Since the search code ("PseudoDamerauLevenshtein.java") is included in the
simplyhtml source code, it is basically compatible with freemind.
In the 0.16.05 search dialog ("FindReplaceDialog") there is a new "Approximate"
check box which needs two things to work:
(1) some translations:
(one _could_ also add other translation strings, mostly tooltips, see jbInit() here:
(2) double threshold = Double.parseDouble(Util.getPreference("approximate_search_threshold", null));
IMHO there are four options for fixing the simplyhtml-freemind relationship:
(a) Update simplyhtml ("0.16.06") to disable the "Approximate" checkbox
(don't display it) when running freemind
(freemind could be detected by
"Util.getPreference("approximate_search_threshold", null) == null")
(b) fix the two problems above in freemind (I can help with this)
(C) create another simplyhtml debian package for freeplane
(d) ignore this issue until freemind is actually packaged (currently only
0.9.0 is packaged)
In the long run we need solution (b). It's really just adding a few
properties, but it may be too late to change translation strings for
freemind 1.0.0? (a) is the quick solution (which may be used only for freemind 1.0.0).
I'd like to avoid (C).
What do you think?
thanks for your post. I've implemented proposal b). It is available in the git repo.
I have two comments regarding this:
- simplyhtml 0.16.05 requires Java5 (mostly due to enums), but here:
you state that Java4 is still supported for freemind.
This is not an issue for the debian package, because nearly all Debian
users have java >=5, but it may be relevant for the normal 1.0 release.
- you committed this:
- <classpathentry kind="lib" path="lib/SimplyHTML/SimplyHTML.jar" sourcepath="/simplyHtml/src"/>
+ <classpathentry kind="lib" path="lib/SimplyHTML/SimplyHTML.jar" sourcepath="/home/foltin/java/simplyhtml/simplyhtml"/>
I will test this briefly as soon as 1.0.0beta10 is out.
Log in to post a comment.