Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread J.H.
Dirk Stöcker schrieb: > Hello, > > in revision 805 I implemented a new feature I want to know your opinions > about: > > Virtual nodes. > > When in select mode and the displayed way is long enough, in the middle of > the way a little + is added. When clicking this, a new node is created, > which

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread David Earl
On 18/08/2008 08:38, J.H. wrote: > Dirk Stöcker schrieb: >> Hello, >> >> in revision 805 I implemented a new feature I want to know your opinions >> about: >> >> Virtual nodes. >> >> When in select mode and the displayed way is long enough, in the middle of >> the way a little + is added. When cl

[josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread J.H.
Hi, it seems like this is a recurring topic on this mailing list, but this only goes to show that there is an issue burning many people: the JOSM architecture and design has countless deficits, but there is little hope of fixing them while the Plugin-"API" consists of tons of public fields. In kno

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, David Earl wrote: >> That would have been high on my list to implement as well... > > Why would you want it, when SHIFT+CLICK does this? Or do you want it > *exactly* half way? If you add a new node, I guess there are two things > you might want to do next - extend a way from

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, J.H. wrote: > This boils down to the following approach: > - Assess which plugins are considered critical. Already done. These are the ones we update frequently. > - Make the source code of critical plugins available in the SVN > repository if not already there. Contacting

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Shaun McDonald
Dirk Stöcker wrote: > On Mon, 18 Aug 2008, J.H. wrote: > > [..] > >> - Identify plugins which might just as well be moved into the JOSM code >> base (I'm sure there's plenty of code which doesn't have to be a plugin). >> > > Unglue is the only candidate ATM. > Add the AgPhoto plugin, as

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Shaun McDonald wrote: >>> - Identify plugins which might just as well be moved into the JOSM code >>> base (I'm sure there's plenty of code which doesn't have to be a plugin). >>> >> >> Unglue is the only candidate ATM. >> > Add the AgPhoto plugin, as it is way more memory eff

Re: [josm-dev] JOSM Ubunbtu debugger searched

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Mark Williams wrote: > I don't get an exception, but I do find the preference dialog buttons Ok, then the fix does work :-) > are not displayed correctly (ie at all) in a Ubuntu system - they go off > the bottom of the box, and there is no scroll facility to retrieve them. >

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dirk Stöcker
Nice, quoting myself :-) > On Mon, 18 Aug 2008, David Earl wrote: > >>> That would have been high on my list to implement as well... >> >> Why would you want it, when SHIFT+CLICK does this? Or do you want it >> *exactly* half way? If you add a new node, I guess there are two things >> you might wa

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dirk Stöcker wrote, on 18.08.2008 10:42: | If you have an old very inaccurate way [...] | and you want to change that to the GPS | track you have. You have to switch dozens of times between S and A to | create nodes, drag them, create more, check them

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Petr Nejedly
Dirk Stöcker napsal(a): > Hello, > > in revision 805 I implemented a new feature I want to know your opinions > about: > > Virtual nodes. > > When in select mode and the displayed way is long enough, in the middle of > the way a little + is added. When clicking this, a new node is created, >

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-18 Thread Petr Nejedly
Petr Nejedly napsal(a): > Dirk Stöcker napsal(a): >> On Mon, 11 Aug 2008, Frederik Ramm wrote: >> >>> Gerv also hinted at the fact that JOSM is written in a way that is >>> somewhat untypical for Java, and whenever a newcomer to JOSM programming >>> said "this is all bullshit let's refactor it whol

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Lennard voor den Dag
Dirk Stöcker wrote: > - Implement drawing ways in select mode and Add is no longer required and >you have modeless editing. Start drawing mode using a key and ESC to >stop is probably the best way to do this. Is C like "C"reate already >used? 'C'ombine Ways -- Lennard

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Maarten Deen
On Mon, Aug 18, 2008 at 02:04:49PM +0200, Lennard voor den Dag wrote: > Dirk St?cker wrote: > > > - Implement drawing ways in select mode and Add is no longer required and > >you have modeless editing. Start drawing mode using a key and ESC to > >stop is probably the best way to do this. I

Re: [josm-dev] JOSM - validator

2008-08-18 Thread Tobias Wendorff
Hi, Dirk Stöcker schrieb: > Why don't use the plugin installation in JOSM-Preferences? Amazing ... I swear, it wasn't there yesterday :-) Thanks! Best regards, Tobias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org

Re: [josm-dev] Update Plugins fails

2008-08-18 Thread Raphael Studer
> Solution for the dumb: Try removing the whole plugin directory on your > other machine and redownload the whole set. When this works, fine. If not > we need to find the reason. > > In my opinion computers sometimes do what they want. Reinstalling and > deleting is the best in these situations :-)

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread David Earl
On 18/08/2008 13:18, Maarten Deen wrote: > This also circumvents the half broken option of placing nodes with SHIFT-CLICK > (half broken because it always adds a segment to the node you placed > before you release SHIFT). No it doesn't. That's the whole point of the SHIFT modifier. Just click add

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Matthias Julius
Dirk Stöcker <[EMAIL PROTECTED]> writes: > After a bit of thinking it is much easier: Adding a listener, which > checks presses in Add-Modus and switches back to Select-Mode in case > was pressed. > > You still have the modes, but that would not affect workflow at all. It doesn't make much di

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Maarten Deen
On Mon, Aug 18, 2008 at 02:01:09PM +0100, David Earl wrote: > On 18/08/2008 13:18, Maarten Deen wrote: > >This also circumvents the half broken option of placing nodes with > >SHIFT-CLICK > >(half broken because it always adds a segment to the node you placed > >before you release SHIFT). > > No

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread David Earl
On 18/08/2008 14:13, Maarten Deen wrote: > On Mon, Aug 18, 2008 at 02:01:09PM +0100, David Earl wrote: >> On 18/08/2008 13:18, Maarten Deen wrote: >>> This also circumvents the half broken option of placing nodes with >>> SHIFT-CLICK >>> (half broken because it always adds a segment to the node yo

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Matthias Julius
Maarten Deen <[EMAIL PROTECTED]> writes: > Press 'A' or 'N' or select the 'Draw Nodes' tool. Press and hold > SHIFT and click a few nodes. These nodes are drawn without a segment. > So far so good. Now release SHIFT and move the mouse. You will see a > segment that starts from the last node you en

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Matthias Julius wrote: Dirk Stöcker <[EMAIL PROTECTED]> writes: After a bit of thinking it is much easier: Adding a listener, which checks presses in Add-Modus and switches back to Select-Mode in case was pressed. You still have the modes, but that would not affect work

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Petr Nejedly wrote: > I just don't like the appearance of the "virtual nodes". Could you turn them > into > small (nonzoomed), thin red plus signs instead of rendering them the same > style > as the way they sit on? Sure. In SimplePaintVisitor there is one function drawing

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Maarten Deen
David Earl wrote: > On 18/08/2008 14:13, Maarten Deen wrote: >> Press 'A' or 'N' or select the 'Draw Nodes' tool. Press and hold >> SHIFT and click a few nodes. These nodes are drawn without a segment. >> So far so good. Now release SHIFT and move the mouse. You will see a >> segment that starts f

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Matthias Julius
Maarten Deen <[EMAIL PROTECTED]> writes: > You have just redefined the meaning of "shift-click". > No key or mouse combination with a special key I know of changes when you > release either key. JOSM is the first application I encounter that does so. > Simple example: use shift and left mousebutt

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Robin Rattay
J.H. schrieb: > - Introduce an API version management for plugins (let a plugin return > its expected API version. Assume pre-version-management version on > NoSuchMethodError). > - Make it easy for refactorers to run a workspace with all the > (critical) plugins checked out. > - By the way of refa

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Maarten Deen
Matthias Julius wrote: > Maarten Deen <[EMAIL PROTECTED]> writes: > >> You have just redefined the meaning of "shift-click". >> No key or mouse combination with a special key I know of changes when you >> release either key. JOSM is the first application I encounter that does so. >> Simple exampl

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Dermot McNally
2008/8/18 Petr Nejedly <[EMAIL PROTECTED]>: > I just don't like the appearance of the "virtual nodes". Could you turn them > into > small (nonzoomed), thin red plus signs instead of rendering them the same > style > as the way they sit on? I love this new functionality, which as you say, is per

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Frederik Ramm
Hi, >> Add the AgPhoto plugin, as it is way more memory efficient than the >> builtin photo linking. > > Frederik? > I do not use photos, so I'm not the right contact here. I don't either but I have heard a number of reports that Agpifoj was indeed better than what we have built in, so throw ou

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Matthias Julius
Maarten Deen <[EMAIL PROTECTED]> writes: > Matthias Julius wrote: >> Maarten Deen <[EMAIL PROTECTED]> writes: >> >>> You have just redefined the meaning of "shift-click". >>> No key or mouse combination with a special key I know of changes when you >>> release either key. JOSM is the first appli

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Frederik Ramm
Hi, > Therefore I propose to refactor the current code base under the > following assumptions: > - It is not possible NOT to break compatibility with any plugin, so we > better don't even try. Anyone who refactors JOSM and willingly breaks plugins (that are checked in to SVN and are in use) demo

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Petr Nejedly
Dirk Stöcker napsal(a): > On Mon, 18 Aug 2008, Petr Nejedly wrote: > >> I just don't like the appearance of the "virtual nodes". Could you turn them >> into >> small (nonzoomed), thin red plus signs instead of rendering them the same >> style >> as the way they sit on? > > Sure. In SimplePaintV

Re: [josm-dev] Update Plugins fails

2008-08-18 Thread Frederik Ramm
Hi, Raphael Studer wrote: > After restarting josm and try to update them again, the same plugins > needed an update witch take again less then a second. Here's a long-ish explanation of the way JOSM deals with plugins. Please, please, everybody print this out and pin it to the wall or maybe eve

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-18 Thread Petr Nejedly
Evgeny Mandrikov napsal(a): > Why are you using ant instead of maven in JOSM-NG? The obvious answer is 42 of course... Guess what. I just created a new J2SE project in NetBeans and it created an ant script for me with all the bells and whistles. It helps me debug, it helps me profile. On the othe

[josm-dev] add-node idioticy

2008-08-18 Thread Henry Loenwind
Hi, who had the brain-dead idea to put add-node hotspots into SELECT mode, exactly where we used to click to SELECT ways before---and to leave out a configuration setting to turn it off? cu Henry PS: pissed, because I just found a couple of added nodes in my command stack and have to redo my

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Dermot McNally
2008/8/18 Henry Loenwind <[EMAIL PROTECTED]>: > PS: pissed, because I just found a couple of added nodes in my command > stack and have to redo my last 20 minutes of work because I don't know > where they are and don't want to upload bogus nodes... And that excuses rudeness on this scale directed

Re: [josm-dev] Update Plugins fails

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Frederik Ramm wrote: > Other plugins are again one step more complex. They use the SVN revision > number as their version and thus make manual intervention unnecessary. > There is a catch, however, at least with subversion under Linux. If you > make a change to the plugin, the

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-18 Thread Petr Nejedly
Jonathan Bennett napsal(a): > Petr Nejedly wrote: >> When thinking of it now, I don't think starting josm-ng was a bad idea. >> It allowed me to prototype my ideas quickly and some of the ideas can >> still be taken from josm-ng and ported to josm. > > > Petr, just out of interest, why didn't you

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Henry Loenwind wrote: > who had the brain-dead idea to put add-node hotspots into SELECT mode, > exactly where we used to click to SELECT ways before---and to leave out > a configuration setting to turn it off? First: You should learn to behave. Second: It can be turned off,

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-18 Thread Petr Nejedly
Frederik Ramm napsal(a): > Can we make it mandatory in the future for everyone whining about JOSM's > programming model to explain why they're not working on JOSM-NG? ;-) So I can whine all the time... -- Petr "Nenik" Nejedly, NetBeans/Sun Microsystems, http://www.netbeans.org 355/113 -- Not t

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-18 Thread Petr Nejedly
Nic Roets napsal(a): > On Mon, Aug 11, 2008 at 8:11 PM, Frederik Ramm <[EMAIL PROTECTED]> wrote: >> But with JOSM-NG sitting around untouched by anyone but Petr himself, >> and this for the best part of a year, the argument that a properly >> designed JOSM would attract more programmers rings hollo

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Dermot McNally wrote: >> PS: pissed, because I just found a couple of added nodes in my command >> stack and have to redo my last 20 minutes of work because I don't know >> where they are and don't want to upload bogus nodes... > > And that excuses rudeness on this scale direc

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Henry Loenwind
Maarten Deen wrote: > So far so good. Now release SHIFT and move the mouse. You will see a > segment that starts from the last node you entered. > That is my gripe with the SHIFT-CLICK option. It works until you release > SHIFT, which makes it broken. Oops, then the brakes in my car are broken, t

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Frederik Ramm
Hi, >> Anything else is fine with me as long as you don't go overboard >> "refactoring", i.e. change what needs to be changed and leave the rest >> alone (no wholesale refactoring just to be compliant with what people >> call "standard practice"). > This is not about some fancy ivory tower pa

[josm-dev] Selecting members in Relation Editor

2008-08-18 Thread Juergen Buchner
Hello, find attached another usability improvement for the relation editor: When starting the relation editor from within the properties dialog the corresponding members will be selected. If necessary the the member list will be scrolled accordingly. Eg. if you want to edit a role of a way / node

Re: [josm-dev] Virtual nodes was: add-node idioticy

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Dermot McNally wrote: > And that excuses rudeness on this scale directed against somebody else > giving up his personal time for the project? I think you need to watch > your temper. I also just noticed the selecting difficulties caused by > the placement of the otherwise very

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dirk Stöcker wrote, on 18.08.2008 21:28: | | Third: These crosses are very obvious. If you did not see them, I can't | help you. Hello Dirk, I cannot see any crosses when I select a GPX layer in the layers list. I often use this because all ways will

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Maarten Deen
Matthias Julius wrote: > Maarten Deen <[EMAIL PROTECTED]> writes: >> Or, if not node was selected, a node with a segment is created > > No, there is no segment created. There is only a line shown from the > node to the mouse pointer to indicate that a segment would be created > if you place/sele

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Dirk Stöcker
On Mon, 18 Aug 2008, Bodo Meissner wrote: > I cannot see any crosses when I select a GPX layer in the layers list. I > often use this because all ways will be displayed in dark gray colour > which makes it easier to see the GPX tracks. Need to test if the element is in active layer. Display is co

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread David Earl
On 18/08/2008 18:31, Maarten Deen wrote: > Matthias Julius wrote: > There is the catch. Shift-Click and a node without a segment is created. > Release > the shift and the segment is created. The only way to create a node without a > segment is to created two nodes. Then the first is created with

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread Maarten Deen
David Earl wrote: > On 18/08/2008 18:31, Maarten Deen wrote: >> Matthias Julius wrote: >> There is the catch. Shift-Click and a node without a segment is created. >> Release >> the shift and the segment is created. The only way to create a node without >> a >> segment is to created two nodes. T

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Petr Nejedly
Robin Rattay napsal(a): > J.H. schrieb: >> - Introduce an API version management for plugins (let a plugin return >> its expected API version. Assume pre-version-management version on >> NoSuchMethodError). >> - Make it easy for refactorers to run a workspace with all the >> (critical) plugins chec

Re: [josm-dev] Bug 595 - Virtual nodes - Comments requested

2008-08-18 Thread David Earl
On 18/08/2008 23:14, Maarten Deen wrote: > David Earl wrote: >> On 18/08/2008 18:31, Maarten Deen wrote: >>> Matthias Julius wrote: >>> There is the catch. Shift-Click and a node without a segment is created. >>> Release >>> the shift and the segment is created. The only way to create a node with

Re: [josm-dev] Difference between JOSM and JOSM-NG

2008-08-18 Thread Petr Nejedly
Till Amma napsal(a): > It is good to know that there are two approaches right now. JOSM-ng for > the guys liking encapsulated, design pattern driven code. And the existing > JOSM providing a more loose access to fields making it easier to implement > things. Kind of marketing follows Sorry, I co

Re: [josm-dev] add-node idioticy

2008-08-18 Thread Florian Heer
Dirk Stöcker schrieb: > Hmm. Good question. I thought that mode should only be usable in active > layer. Enabling the display is probably easier than fixing the selection > :-) > just fix #371 :-) Regards, Florian Ps: SCNR ___ josm-dev mailing l

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Ulf Lamping
Frederik Ramm schrieb: > >> I don't see that NG or NG-2 would fly at this point. > > I don't see why not. Well, I hope you actually *do* see the point - as I know personally that you're really not an ignorant :-) I'm astonished why everybody is so eager about > fussing around with a piece of

Re: [josm-dev] Refactoring of the JOSM architecture vs. Plugins

2008-08-18 Thread Brent Easton
>If there is great demand from the community (and there obviously is), >you as a project develop lead shouldn't simply say "I don't like it ..." >- so we don't do it. This statement pretty much sums up my experience with OSM in general and is the reason I no longer contribute. The project lea