Re: [josm-dev] Add nodes and ways via remoteControl

2010-08-22 Thread Dirk Stöcker
On Sat, 21 Aug 2010, Sebastian Klein wrote: So each time the source code of remotecontrol.PermissionPref, remotecontrol.RequestHandler or remotecontrol.RequestHandlerErrorException changes, getVersion must return a new version number. This way wmsplugin can abort the registration and avoid an

Re: [josm-dev] Add nodes and ways via remoteControl

2010-08-22 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 22.08.2010 10:31, schrieb Dirk Stöcker: If you can automate it, it may work. Hello Dirk, this is impossible. I cannot automatically detect if there are incompatible changes in remotecontrol. Otherwise you will find, that updating the

Re: [josm-dev] Add nodes and ways via remoteControl

2010-08-22 Thread Sebastian Klein
Bodo Meissner wrote: Dirk Stöcker wrote: If you can automate it, it may work. this is impossible. I cannot automatically detect if there are incompatible changes in remotecontrol. Otherwise you will find, that updating the version tends to be forgotten more often than it is updated. We

Re: [josm-dev] WMS and remote-control

2010-08-22 Thread Sebastian Klein
Stephan Knauss wrote: Sebastian Klein wrote: So either the common protocol must be included in Josm core or another possible solution would be to use reflection. How about adding the basic functionality into core? Providing the listener and accepting commands. By default it will have no

Re: [josm-dev] Add nodes and ways via remoteControl

2010-08-22 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I added a getVersion method to remotecontrol. It returns an array of int values instead of an object with fields to avoid ClassNotFound when wmsplugin is loaded without remotecontrol. On compatible extensions the minor version should be incremented,

Re: [josm-dev] WMS and remote-control

2010-08-22 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 20.08.2010 16:33, schrieb Komяpa: If possible, would also be nice to have just zoom command [...] Done. see http://wiki.openstreetmap.org/wiki/JOSM/Plugins/RemoteControl#zoom_command Bodo -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10

Re: [josm-dev] Add nodes and ways via remoteControl

2010-08-22 Thread Sebastian Klein
Bodo Meissner wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 22.08.2010 22:40, schrieb Sebastian Klein: Bodo Meissner wrote: I added a getVersion method to remotecontrol. [...] On compatible extensions the minor version should be incremented, on incompatible changes the major version

Re: [josm-dev] Add nodes and ways via remoteControl

2010-08-22 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 22.08.2010 22:40, schrieb Sebastian Klein: Bodo Meissner wrote: I added a getVersion method to remotecontrol. [...] On compatible extensions the minor version should be incremented, on incompatible changes the major version should be

Re: [josm-dev] Add nodes and ways via remoteControl

2010-08-22 Thread Sebastian Klein
Bodo Meissner wrote: I added a getVersion method to remotecontrol. [...] On compatible extensions the minor version should be incremented, on incompatible changes the major version should be incremented and the minor version set to 0. What is the minor version good for? Sebastian