Hi, I have another patch that will break plugins and possibly other things. It replaces direct access to PleaseWaitDialog with ProgressMonitor interface. It should fix exceptions caused by modifications of PleaseWaitDialog by multiple threads and also allows grouping of tasks - useful especially for Download data around track function.
I'm not sure when it will be applied (or whether it will be applied) as I don't have svn account, but the patch should be finished and attached to the #2782 ticket today. There is no workaround, plugins must be rewritten to use the new progress monitor. Fortunattely it's usually quite easy and I will try to fix plugins myself if I get time. On Sun, Jul 19, 2009 at 12:50 PM, Karl Guggisberg<[email protected]> wrote: > Hi, > > I have a new version of JOSM in which I got rid of the global Main.ds. I > hesitate to check it in, though, mainly because it won't work with current > plugins. > > If you are a plugin developer/maintainer you may have a look at this class: > > http://svn.openstreetmap.org/applications/editors/josm/plugins/tageditor/src > /org/openstreetmap/josm/plugins/tageditor/josm/CompatibilityUtil.java > > It provides a kind of "compatibility layer" to the tageditor plugin such > that it runs in JOSM with and without Main.ds. You may consider to update > your plugins in a similar way. If opposition isn't overwhelming I'll check > in the new JOSM version by the end of next week. Expect it to be a little > bit unstable, you may encounter a few NPEs. > > Regards > Karl > > > > > > > > > > > _______________________________________________ > josm-dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/josm-dev > _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
