Re: [josm-dev] livegps plugin update for new gpsd 2.9x (future 3.0) protocol

2010-06-09 Thread Dirk Stöcker
On Wed, 9 Jun 2010, Gleb Smirnoff wrote: > Here is update. I've made LiveGpsAcquirer to support both old and > new protocols. Also a lot of code was tossed, rewritten and cleaned > up. So better look at the final file than at a diff. See it in attach. Checked in and released jar. We'll wait for

Re: [josm-dev] livegps plugin update for new gpsd 2.9x (future 3.0) protocol

2010-06-09 Thread Gleb Smirnoff
Here is update. I've made LiveGpsAcquirer to support both old and new protocols. Also a lot of code was tossed, rewritten and cleaned up. So better look at the final file than at a diff. See it in attach. Dirk helped me with establishing test harness for old protocol. Thanks! However, testing

Re: [josm-dev] livegps plugin update for new gpsd 2.9x (future 3.0) protocol

2010-06-09 Thread Bodo Meissner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 09.06.2010 10:08, schrieb Dirk Stöcker: > On Wed, 9 Jun 2010, Gleb Smirnoff wrote: > >> I am used to a practice when foreign source is maintained in $REPO/vendor, >> where new releases of foreign source are imported. And this code doesn't >> partic

Re: [josm-dev] livegps plugin update for new gpsd 2.9x (future 3.0) protocol

2010-06-09 Thread Dirk Stöcker
On Wed, 9 Jun 2010, Gleb Smirnoff wrote: > D> * Copy the source directly into src. This is fine when you strip them > D> down to bare minimum and modify them. If not, the first two approaches > D> seem to be better regarding updates. > > Why does 3) require stripping to bare minimum? I'd

Re: [josm-dev] livegps plugin update for new gpsd 2.9x (future 3.0) protocol

2010-06-09 Thread Gleb Smirnoff
On Wed, Jun 09, 2010 at 09:29:16AM +0200, Dirk St?cker wrote: D> > F> > Can you please comment on including foreign code in plugin? What is the D> > F> > correct procedure? The situation seems similar to the org.apache.tools.bzip2 D> > F> > in the core josm repo. D> > F> D> > F> The JOSM plugin i

Re: [josm-dev] livegps plugin update for new gpsd 2.9x (future 3.0) protocol

2010-06-09 Thread Dirk Stöcker
On Wed, 9 Jun 2010, Gleb Smirnoff wrote: > F> I think it is fair to assume that there will be a lot of two-year-old > F> Linux distributions around. We cannot force people to upgrade their > F> distribution just because they want to use the plugin. Did the version > F> of gpsd that shipped with De