[josm-dev] JOSM without Main.ds

Karl Guggisberg karl.guggisberg at guggis.ch
Sun Jul 19 12:27:12 BST 2009


Hi,

I'm looking forward to this patch! As soon as it is available we should
consider to remove the many dependencies to the global
Main.pleaseWaitDialog, in particular from the IO subsystem.

Regards
Karl

-----Ursprüngliche Nachricht-----
Von: josm-dev-bounces at openstreetmap.org
[mailto:josm-dev-bounces at openstreetmap.org] Im Auftrag von Jiri Klement
Gesendet: Sonntag, 19. Juli 2009 13:05
An: josm-dev at openstreetmap.org
Betreff: Re: [josm-dev] JOSM without Main.ds

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<karl.guggisberg at guggis.ch> 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/tagedit
> or/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
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>

_______________________________________________
josm-dev mailing list
josm-dev at openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev





More information about the josm-dev mailing list