Re: [josm-dev] JOSM version detect

2009-04-12 Thread Shaun McDonald
On 6 Apr 2009, at 19:28, Frederik Ramm wrote: > Hi, > > What I have just committed seems to work all right with 0.5 and 0.6 > servers. The cancel and error situation handling still needs to be > checked and probably improved. Also, I have to check whether it always > behaves right when dealing wi

Re: [josm-dev] JOSM version detect

2009-04-08 Thread Jonathan Bennett
Dirk Stöcker wrote: > You should update. What do you think how I did compile the server stats? I generally do keep up with SVN, and that wasn't the problem. The problem was that I wasn't expecting to find the code to set the header in the file for the "About" box. I can see why it's been done th

Re: [josm-dev] JOSM version detect

2009-04-06 Thread Frederik Ramm
Hi, > I will modify JOSM to store a version number with each data set. When > you load data from a file, it has the version number given in the file. > When you download data from the server, JOSM will (for performance) > first try the configured version number but if that fails, it will make

Re: [josm-dev] JOSM version detect

2009-04-03 Thread Dirk Stöcker
On Fri, 3 Apr 2009, Jonathan Bennett wrote: >> I think it should already be possible to display a special message inside >> the StartUp page when old versions are used. Writing a Trac-Plugin to >> analyze the HTTP headers would be required for this. > > I notice JOSM doesn't appear to send a custo

Re: [josm-dev] JOSM version detect

2009-04-03 Thread Frederik Ramm
Hi, Jonathan Bennett wrote: > I notice JOSM doesn't appear to send a custom User-Agent header at the > moment -- I'll see if I can produce a patch. What were the reasons for > hanging onto sun.net.www.protocol.http.Handler again? The requirement to be able to send HTTP DELETE requests with payloa

Re: [josm-dev] JOSM version detect

2009-04-02 Thread Dirk Stöcker
On Fri, 3 Apr 2009, Frederik Ramm wrote: > We must expect many people to download a new JOSM version over the next > few weeks because they know they'll need it to work with API 0.6. Any > features we want to force onto users, now is the time ;-) Serverstats currently indicate following: Last st

[josm-dev] JOSM version detect

2009-04-02 Thread Frederik Ramm
Hi, currently, you have to configure the API version that JOSM should use, and you can configure a number of additional version numbers that JOSM will accept on input. Which is quite stupid to make configurable, because it's all in the code - no matter what you configure, you will not be a