Bodo Meissner wrote:
 Am 20.08.2010 01:59, schrieb Stephan Knauss:

The command is not only undocumented, but also the option to disable the command is not available in the config dialog. And default is enable...

The more I think about it the stronger gets my urge to change this behavior...

That's what I did now... 22702

I agree. My latest changes to implement remote control for wmsplugin made it impossible to change the default for an individual command. I think I should change this. I guess this will be an incompatible change, that means people who update only remotecontrol but not wmsplugin will probably get a hard error. I will also implement a function to request the API version of the remotecontrol plugin. So in future wmsplugin will not use remotecontrol if it is too new.

There will always be people who have an old version of remotecontrol and now install wmsplugin and vice versa.

Imho a hard error (especially "class not found") is not an option. Wms should not give an error since it uses reflection to find and execute the handler register method of remotecontrol.

On the other hand remotecontrol should be able to handle multiple versions of the handler protocol or give a warning to the console, if the handler cannot be accepted for some reason.

Sounds awfully complicated, but that's what you signed up for. :)


Sebastian

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to