Re: [josm-dev] JOSM Fail

2009-01-16 Thread Petr Nejedly
Sascha Silbe napsal(a): On Fri, Jan 16, 2009 at 01:08:35PM +0100, Pieren wrote: +1 for making this harder to activate (separate mode, ctrl+drag, whatever). It's pretty annoying when trying to select a region in a densely mapped area. -1 -1 I'm moving ways. I cannot say every day but I

Re: [josm-dev] [PATCH] Make start-up feel faster by asynchronously loading the MOTD.

2008-11-17 Thread Petr Nejedly
Michel Marti napsal(a): Since loading and parsing the MOTD from the wiki now takes place in a separate thread, the main GUI will be ready for action (much) earlier (especially on slow network links). Signed-off-by: Michel Marti [EMAIL PROTECTED] ---

[josm-dev] testing server

2008-10-09 Thread Petr Nejedly
After a longer pause, I'd like to move on with -ng and implement server I/O. Is there a public testing server or do I have to deploy one locally to test the implementation (and e.g. 0.6 API)? I don't like to test against live server and while I do plan writing a mock server for unit testing, I

Re: [josm-dev] JOSM charset

2008-09-03 Thread Petr Nejedly
Dirk Stöcker napsal(a): On Tue, 2 Sep 2008, Frederik Ramm wrote: now that I found a charset conflict in measurement plugin: Is there any definition in which charset the jar files are? You mean the java source code files? I don't see why they should be anything else than good old 7-byte

Re: [josm-dev] Combining mappaint styles

2008-08-27 Thread Petr Nejedly
Dirk Stöcker napsal(a): On Wed, 27 Aug 2008, Ulf Lamping wrote: My first thought was to use something like a specially dashed (dotted, ...) way, but that would be hard to distinguish from other dashed stuff (like tracks) and also probably hard to visually get for very short bridges (tunnels).

Re: [josm-dev] Performance optimizations

2008-08-25 Thread Petr Nejedly
Dirk Stöcker napsal(a): Hello, Jörg Henne ist currently developing a set of performance improvements for JOSM. Find the patch here: http://www.dstoecker.eu/2008-08-21.patch Here his note: --- Attached you'll find a patch against JOSM #813 which enhances the performance of certain

Re: [josm-dev] Performance optimizations

2008-08-23 Thread Petr Nejedly
Dirk Stöcker napsal(a): Hello, Jörg Henne ist currently developing a set of performance improvements for JOSM. Find the patch here: http://www.dstoecker.eu/2008-08-21.patch It would be fine if Jörg cold separate the real functional patch from all the unrelated formatting changes. It is

Re: [josm-dev] Path to spatial index [long][Was: Refactoring of the JOSM architecture vs. Plugins]

2008-08-22 Thread Petr Nejedly
jh napsal(a): Petr Nejedly schrieb: Right. You do some attempts on relation rendering, so filtering them will come handy. Not because there are many of them (to the contrary), but because the index API would be very simple then: IterableOsmPrimitive giveMeAllThePrimitivesInside(Bounds

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, which can

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 wholesale I told

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 SimplePaintVisitor

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

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 checked out.

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

2008-08-11 Thread Petr Nejedly
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 wholesale I told them to please find

Re: [josm-dev] i18n -- why not Locales Bundles?

2008-08-05 Thread Petr Nejedly
of the xnap-commons library lacks the translation functions used. You should use the lib/gettext-commons-0.9.jar that is part of the checkout. I believe Petr Nejedly has successfully run JOSM with NetBeans. You can use the following (maybe slightly outdated) patch to turn your JOSM checkout

Re: [josm-dev] downloading data along a gpx track

2008-07-11 Thread Petr Nejedly
mariner napsal(a): Hi there, There is one feature I am really missing in JOSM. It's the ability to donwload the data of OSM near a gpx track. I would like to place a feature request here on the list. It would be great to get only the data from JOSM, which is really important. This is

Re: [josm-dev] Resource Handling in josm-ng

2008-06-19 Thread Petr Nejedly
Raphael Studer napsal(a): So the only thing I'm working on is the stylesheet, but not verry succsesfull.. Don't know what i did wrong, but now it works. I copied the josm elemstyles.xml and it's verry fast :) Yes, it is*. Now let's make it really usable too *) Last week I tried

Re: [josm-dev] Resource Handling in josm-ng

2008-06-04 Thread Petr Nejedly
Raphael Studer napsal(a): Hi, I tried to use the josm-ng and get a null pointer at org.openstreetmap.josmng.view.osm.Style.parseRules (Line 69) while opening the /styles/standard/elemstyles.xml file. To fix this, I had to add the styles folder somewhere in the eclipse project

Re: [josm-dev] Resource Handling in josm-ng

2008-06-04 Thread Petr Nejedly
Raphael Studer napsal(a): I don't know if Eclipse uses ant to build projects. Or if this can be defined somewhere.. I don't know either, but I'm sure eclipse can easily handle multiple source roots. See the josm's .classpath file. I will need to implement richer style semantics for the HiFi

Re: [josm-dev] Resource Handling in josm-ng

2008-06-04 Thread Petr Nejedly
Petr Nejedly napsal(a): Raphael Studer napsal(a): I don't know if Eclipse uses ant to build projects. Or if this can be defined somewhere.. I don't know either, but I'm sure eclipse can easily handle multiple source roots. See the josm's .classpath file. I will need to implement richer

Re: [josm-dev] Starting a new way with one selected

2008-05-19 Thread Petr Nejedly
David Earl napsal(a): At present if you are in the Draw Nodes mode and you have nothing selected, you can SHIFT+CLICK to (a) add a new node in a blank area, or (b) add a new node in an existing way, or (c) select an existing node in the middle of a way, or (d) select an existing node at the

Re: [josm-dev] [PATCH 01/26] Enhance OsmPrimitive a bit

2008-04-30 Thread Petr Nejedly
Dave Hansen napsal(a): On Tue, 2008-04-29 at 15:20 +0200, Frederik Ramm wrote: @Override public final boolean equals(Object obj) { - if (obj == null || getClass() != obj.getClass() || id == 0 || ((OsmPrimitive)obj).id == 0) + if (obj == null || getClass() !=

Re: [josm-dev] Building JOSM with NetBeans

2008-03-22 Thread Petr Nejedly
Frederik Ramm napsal(a): 2. anyone got Netbeans running in a slow graphics environment and happy with their profiling tools? I guess there is a big problem thanks to antialiasing+alpha blending, which, in remote-X environment, basically means fetching actual image bits from the display to

[josm-dev] josm-ng progress

2008-02-14 Thread Petr Nejedly
... is limited. Well, I have declared I have little time for the baby (have real babies to look after ;-) among other things), but I manage to make a commit from time to time. For now I concentrate on the very basics of the design, as the initial implementation was made in the mode of do the

Re: [josm-dev] JOSMng prototype [resend]

2008-02-09 Thread Petr Nejedly
Gervase Markham napsal(a): Petr Nejedly wrote: For running with all the mappaint bells and whistles, run: java -classpath /path/to/josm.jar:dist/josm-ng.jar org.openstreetmap.josmng.ui.Main To be more precise, run: $ ant jar $ java -classpath /path/to/josm.jar:dist/josm-ng.jar:lib

Re: [josm-dev] JOSMng prototype [resend]

2008-02-09 Thread Petr Nejedly
Gervase Markham napsal(a): Petr Nejedly wrote: This worked for me (i.e. rendering was mappaint-like): java -classpath JOSM.jar:dist/josm-ng.jar:lib/swing-layout-1.0.3.jar org.openstreetmap.josmng.ui.Main smacks forehead My copy of josm.jar was too old. I just downloaded josm-latest.jar

Re: [josm-dev] JOSMng prototype [resend]

2008-02-09 Thread Petr Nejedly
Gervase Markham napsal(a): Petr Nejedly wrote: Performance isn't as good (well, it is doing more work) and I get some Lines wider than 1px are much more expensive to paint and the stock style sets 2px even to residential ways. I think it would be entirely reasonable to draw them narrower

Re: [josm-dev] josm on ubuntu 8.04 alpha

2008-02-07 Thread Petr Nejedly
carlo mecozzi napsal(a): I tried to launch josm on ubuntu 8.04 alpha3 does not work. this is the output: [EMAIL PROTECTED]:~$ josm [...] Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xb5265767] http://ubuntuforums.org/showthread.php?t=613938